/* ============================================================
   FABRIC CLEAN — Tapetes, Cortinas e Estofados
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Roman-VF.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Italic-VF.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("../fonts/GlacialIndifference-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --navy: #0e2138;
  --navy-deep: #0a1a2e;
  --blue: #1f86c9;
  --blue-bright: #2f9ad6;
  --cream: #f4f2ee;
  --cream-soft: #f7f6f3;
  --ink: #1c1c1c;
  --ink-soft: #3a3a3a;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.22);

  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Glacial Indifference", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 80px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- TYPO HELPERS ---------- */
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }

.section { padding: clamp(60px, 9vw, 120px) var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---------- BUTTON ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  letter-spacing: 0.04em;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;
  padding: 16px 38px;
  background: transparent;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, transform 0.3s ease;
}
.btn:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn--dark { color: var(--navy); border-color: var(--navy); }
.btn--dark:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--navy);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); }
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--pad);
}
.nav__logo img { height: 74px; width: auto; display: block; }
.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.nav__links a {
  font-family: var(--serif);
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue-bright);
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad) 90px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  background-size: cover;
  background-position: center 78%;
  background-attachment: fixed;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 20, 35, 0.82) 0%, rgba(8, 20, 35, 0.5) 48%, rgba(8, 20, 35, 0.22) 100%);
}
.hero__inner { max-width: 620px; }
.hero h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
}

/* hero reveal animation */
.hero h1, .hero p, .hero .btn { opacity: 0; transform: translateY(24px); animation: rise 0.9s ease forwards; }
.hero p { animation-delay: 0.18s; }
.hero .btn { animation-delay: 0.34s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Em telas sem suporte fixo (mobile), usa scroll normal */
@media (max-width: 768px) {
  .hero__bg { background-attachment: scroll; inset: 0; }
}

/* ---------- REGIONS BAR ---------- */
.regions {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 18px 0;
}
.regions__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.regions:hover .regions__track { animation-play-state: paused; }
.regions__track span {
  font-family: var(--serif);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: 0.02em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TESTIMONIALS (carrossel vazado)
   ============================================================ */
.testi {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.testi h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.testi__sub {
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}
.testi__carousel {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi__viewport { overflow: hidden; flex: 1; }
.testi__track {
  display: flex;
  gap: 26px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi__card {
  flex: 0 0 calc((100% - 52px) / 3);
  position: relative;
  background: linear-gradient(160deg, rgba(47,154,214,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 44px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 270px;
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.testi__card::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 22px;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blue-bright);
  opacity: 0.35;
}
.testi__card:hover {
  border-color: var(--blue-bright);
  background: linear-gradient(160deg, rgba(47,154,214,0.18), rgba(255,255,255,0.03));
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}
.testi__stars { color: #f3c54b; letter-spacing: 3px; font-size: 1.05rem; }
.testi__card p { font-size: 1.02rem; color: rgba(255,255,255,0.92); flex: 1; line-height: 1.6; }
.testi__card cite {
  font-family: var(--serif);
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  color: var(--blue-bright);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.testi__nav {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: grid;
  place-items: center;
}
.testi__nav:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.testi__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.testi__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.testi__dot.active { background: var(--blue-bright); transform: scale(1.3); }

/* ============================================================
   ABOUT (two column)
   ============================================================ */
.about { background: var(--cream-soft); }
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: stretch;
}
.about__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--ink);
}
.about p { margin-bottom: 22px; color: var(--ink-soft); font-size: 1.05rem; }
.about ul { margin-top: 6px; display: grid; gap: 12px; }
.about li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.about li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.about__media {
  position: relative;
  min-height: 100%;
}
.about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--navy); color: var(--white); text-align: center; }
.services h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.services__sub { color: rgba(255,255,255,0.82); margin-bottom: 54px; font-size: 1.1rem; }
.services__grid {
  display: grid;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.svc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 4px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 40px;
  color: var(--white);
}
.svc__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.svc:hover .svc__bg { transform: scale(1.06); }
.svc--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 20, 35, 0.62);
}
.svc--plain { background: var(--blue); }
.svc h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 16px;
}
.svc p { max-width: 760px; color: rgba(255,255,255,0.94); }
.svc--wide { grid-column: 1 / -1; }
.services__row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   GALLERY / RESULTS
   ============================================================ */
.results { background: var(--cream-soft); text-align: center; }
.results h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ink);
}
.results__sub { color: var(--ink-soft); margin-bottom: 48px; font-size: 1.08rem; }

/* mosaico dinâmico */
.mosaic {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}
.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd;
  aspect-ratio: 1 / 1;
}
.mosaic__item img,
.mosaic__item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.mosaic__item:hover img { transform: scale(1.07); }

/* botão play sobre vídeos */
.mosaic__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mosaic__play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%,-50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--navy);
}
.mosaic__item--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,20,35,0.22);
  z-index: 1;
  transition: opacity 0.3s ease;
}
.mosaic__play { z-index: 2; }
.mosaic__item.playing .mosaic__play,
.mosaic__item.playing::before { opacity: 0; pointer-events: none; }
.mosaic__play:hover { transform: scale(1.08); }

/* ============================================================
   WHY (pills)
   ============================================================ */
.why { background: var(--cream); text-align: center; }
.why h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.why__lead { color: var(--ink-soft); max-width: 720px; margin: 0 auto 48px; font-size: 1.1rem; }
.why__pills { max-width: 980px; margin: 0 auto; display: grid; gap: 18px; }
.pill {
  border: 1.5px solid #b9b6af;
  border-radius: 50px;
  padding: 20px 36px;
  text-align: left;
  color: var(--ink-soft);
  font-size: 1.05rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.pill:hover { border-color: var(--blue); background: var(--white); transform: translateY(-3px); }
.why__foot { max-width: 820px; margin: 48px auto 0; color: var(--ink-soft); }
.why__foot p { margin-bottom: 16px; }
.why__foot strong { color: var(--ink); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--navy); color: var(--white); }
.faq__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.faq h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  text-transform: uppercase;
  margin-bottom: 34px;
}
.faq__list { display: grid; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  text-align: left;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.01em;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-family: var(--serif);
  transition: transform 0.3s ease;
  color: var(--blue-bright);
}
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: rgba(255,255,255,0.85);
}
.faq__item.open .faq__a { max-height: 320px; padding: 0 40px 24px 0; }
.faq__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
}
.faq__media {
  position: relative;
  padding: 18px 0;
}
.faq__media::before, .faq__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.faq__media::before { top: 0; }
.faq__media::after { bottom: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta { background: var(--cream); padding: clamp(40px,7vw,90px) var(--pad); }
.cta__card {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  border: 1px solid #cdb89a;
  border-radius: 26px;
  padding: 18px;
}
.cta__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vw, 100px) clamp(24px, 6vw, 80px);
  color: var(--white);
}
.cta__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.cta__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(20, 14, 10, 0.42);
}
.cta__inner h2 {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.cta__inner p {
  max-width: 680px;
  margin-bottom: 36px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.95);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: var(--white); padding: 60px var(--pad) 0; }
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
  text-align: center;
  padding-bottom: 50px;
}
.footer__logo img { height: 84px; width: auto; margin: 0 auto; }
.footer__col h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col p { color: rgba(255,255,255,0.85); }
.footer__social { display: flex; gap: 18px; justify-content: center; margin-top: 6px; }
.footer__social a {
  width: 52px; height: 52px;
  border: 2px solid var(--white);
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.footer__social a:hover { background: var(--white); color: var(--navy); transform: translateY(-3px); }
.footer__social svg { width: 26px; height: 26px; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 1500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: transform 0.3s ease;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .testi__card { flex: 0 0 calc((100% - 26px) / 2); }
}

@media (max-width: 900px) {
  .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 0; height: clamp(320px, 70vw, 460px); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 1100; }
  .nav__logo img { height: 58px; }
  .services__row2 { grid-template-columns: 1fr; }
  .testi__card { flex: 0 0 100%; }
  .testi__nav { display: none; }
}

@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
}
