/* ─────────────────────────────────────────────
   RENOVA · Landing Page
   Identidade: Sora + Urbanist
   Paleta: Azul Profundo / Verde Sóbrio / Bege / Off White
   ───────────────────────────────────────────── */

:root{
  --c-offwhite: #ECE4DA;
  --c-bege:     #E6D7C4;
  --c-bege-dk:  #d6c2a8;
  --c-verde:    #617568;
  --c-verde-dk: #4d5c52;
  --c-azul:     #212842;
  --c-azul-dk:  #161b30;
  --c-white:    #FFFFFF;
  --c-ink:      #1a1f33;
  --c-ink-soft: #4a5167;
  --c-mute:     #8a8479;
  --c-line:     #d8cdbf;
  --c-line-soft:#e5dccd;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body:    'Urbanist', system-ui, sans-serif;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --pad-section: clamp(80px, 9vw, 140px);
  --pad-x: clamp(24px, 5vw, 80px);

  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--c-offwhite);
  color: var(--c-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; }

/* ─────────── REVEAL ANIMATION ─────────── */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: calc(var(--rdelay, 0) * 1ms);
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────── TYPOGRAPHY ─────────── */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-verde);
  margin-bottom: 22px;
}
.eyebrow__dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-verde);
  display: inline-block;
}
.eyebrow--light{ color: var(--c-bege); }
.eyebrow--light .eyebrow__dot{ background: var(--c-bege); }

em { font-style: italic; font-family: var(--font-body); font-weight: 400; color: var(--c-verde); }

h1, h2, h3, h4, h5{
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--c-azul);
}

.section-title{
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  max-width: 18ch;
}
.section-title em{
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--c-verde);
}
.section-title--light{ color: var(--c-offwhite); }
.section-title--light em{ color: var(--c-bege); }

.section-lead{
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--c-ink-soft);
  max-width: 52ch;
  margin: 24px 0 0;
  line-height: 1.65;
}
.section-lead--right{ margin-left: auto; }

.ink-accent{ color: var(--c-verde); font-style: italic; font-weight: 300; font-family: var(--font-body); }

/* ─────────── BUTTONS ─────────── */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: var(--r-full);
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--sm  { font-size: 13px; padding: 9px 18px; }
.btn--md  { font-size: 14px; padding: 13px 22px; }
.btn--lg  { font-size: 15px; padding: 17px 32px; }

.btn--primary{
  background: var(--c-azul);
  color: var(--c-bege);
  border-color: var(--c-azul);
}
.btn--primary:hover{
  background: var(--c-azul-dk);
  border-color: var(--c-azul-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(33,40,66,.55);
}
.btn--primary svg{ transition: transform .3s var(--ease); }
.btn--primary:hover svg{ transform: translateX(4px); }

.btn--outline{
  background: transparent;
  color: var(--c-azul);
  border-color: var(--c-azul);
}
.btn--outline:hover{
  background: var(--c-azul);
  color: var(--c-bege);
}

.btn--ghost{
  background: transparent;
  color: var(--c-azul);
  border-color: rgba(33,40,66,.18);
}
.btn--ghost:hover{
  background: var(--c-azul);
  color: var(--c-bege);
  border-color: var(--c-azul);
}

.btn--quiet{
  background: transparent;
  color: var(--c-azul);
  text-decoration: underline;
  text-decoration-color: rgba(33,40,66,.3);
  text-underline-offset: 5px;
  padding: 17px 16px;
}
.btn--quiet:hover{
  text-decoration-color: var(--c-azul);
}

/* ─────────── HEADER ─────────── */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  transition: padding .35s var(--ease), background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding: 12px var(--pad-x);
  background: rgba(236, 228, 218, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: rgba(33,40,66,.08);
}
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-azul);
}
.brand-mark{
  width: 30px; height: 30px;
  color: var(--c-azul);
}
.brand-word{
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--c-azul);
}
.brand--light, .brand--light .brand-mark, .brand--light .brand-word{ color: var(--c-bege); }
.brand-logo{
  height: 100px;
  width: auto;
  display: block;
  transition: height .35s var(--ease);
}
.is-scrolled .brand-logo{
  height: 80px;
}
.footer__brand .brand-logo{
  height: 128px;
}

.primary-nav{
  display: flex;
  gap: 28px;
}
.primary-nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--c-azul);
  opacity: .65;
  position: relative;
  transition: opacity .2s;
  padding: 6px 0;
}
.primary-nav a:hover{ opacity: 1; }
.primary-nav a::after{
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-verde);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.primary-nav a:hover::after{
  width: 100%; left: 0;
}

.header-cta svg{ transition: transform .3s var(--ease); }
.header-cta:hover svg{ transform: translateX(3px); }

@media (max-width: 880px){
  .primary-nav { display: none; }
}

/* ─────────── HERO ─────────── */
.hero{
  padding: calc(var(--pad-section) * 0.5 + 100px) var(--pad-x) calc(var(--pad-section) - 40px);
  position: relative;
}
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(97,117,104,.10), transparent 60%),
    radial-gradient(50% 40% at 10% 80%, rgba(230,215,196,.30), transparent 70%);
  pointer-events: none;
}
.hero__grid{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero__title{
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--c-azul);
  margin: 8px 0 28px;
}
.hero__sub{
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero__meta{
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--c-line);
  padding-top: 28px;
}
.meta-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-item strong{
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  color: var(--c-azul);
  letter-spacing: -0.02em;
}
.meta-item span{
  font-size: 12px;
  color: var(--c-mute);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* hero visual */
.hero__visual{
  position: relative;
  height: clamp(440px, 60vw, 620px);
}
.hero__photo{
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(33,40,66,.35);
}
.hero__photo--main{
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  animation: floaty 9s ease-in-out infinite;
}
.hero__photo--main img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__photo--side{
  bottom: 0; left: 0;
  width: 50%;
  aspect-ratio: 4/3;
  animation: floaty 11s ease-in-out infinite reverse;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__badge{
  position: absolute;
  left: -10px; top: 32%;
  background: var(--c-azul);
  color: var(--c-bege);
  padding: 14px 18px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -10px rgba(33,40,66,.4);
  z-index: 3;
  font-family: var(--font-body);
  animation: floaty 7s ease-in-out infinite;
}
.hero__badge svg{ flex-shrink: 0; }
.hero__badge strong{ display: block; font-family: var(--font-heading); font-size: 13px; font-weight: 600; }
.hero__badge span{ display: block; font-size: 11px; opacity: .8; margin-top: 2px; }

.hero__rule{
  max-width: var(--max);
  margin: 80px auto 0;
  border-top: 1px solid var(--c-line);
  padding-top: 24px;
  display: flex;
  justify-content: center;
}
.hero__rule span{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-mute);
}

@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ height: 480px; order: -1; max-width: 520px; }
  .hero__meta{ flex-wrap: wrap; }
}

/* ─────────── STRIP / MARQUEE ─────────── */
.strip{
  background: var(--c-azul);
  color: var(--c-bege);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.strip__track{
  display: flex;
  gap: 40px;
  animation: scroll 38s linear infinite;
  width: max-content;
}
.strip__group{
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.strip__group span:nth-child(even){ color: rgba(230,215,196,.4); }

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────── SECTIONS ─────────── */
.section{
  padding: var(--pad-section) var(--pad-x);
}
.section--alt{
  background: var(--c-bege);
}
.section--family{
  background: linear-gradient(180deg, var(--c-offwhite) 0%, #f1eadf 100%);
}
.section--dark{
  background: var(--c-azul);
  color: var(--c-offwhite);
}
.section--dark p, .section--dark li{ color: rgba(236,228,218,.7); }

.container{
  max-width: var(--max);
  margin: 0 auto;
}
.container--narrow{
  max-width: 880px;
}

.section-head{
  margin-bottom: 70px;
  max-width: 900px;
}
.section-head--split{
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
.section-head--centered{
  text-align: center;
  margin: 0 auto 70px;
  max-width: 720px;
}
.section-head--centered .eyebrow,
.section-head--centered .section-title{ display: inline-block; }
.section-head--centered .section-title{ max-width: none; }

@media (max-width: 800px){
  .section-head--split{ grid-template-columns: 1fr; }
}

/* ─────────── PLACEHOLDERS (image slots) ─────────── */
.placeholder{
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-bege) 0%, var(--c-offwhite) 100%);
}
.placeholder--photo{
  background:
    repeating-linear-gradient(45deg, rgba(33,40,66,.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--c-bege-dk) 0%, var(--c-bege) 100%);
}
.placeholder--bege{
  background:
    repeating-linear-gradient(45deg, rgba(33,40,66,.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--c-offwhite) 0%, var(--c-bege) 100%);
}
.placeholder--verde{
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--c-verde) 0%, var(--c-verde-dk) 100%);
  color: var(--c-bege);
}
.placeholder--dark{
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #2d3454 0%, #1a2038 100%);
  color: rgba(230,215,196,.6);
}
.placeholder--portrait{
  background:
    repeating-linear-gradient(45deg, rgba(33,40,66,.05) 0 2px, transparent 2px 14px),
    linear-gradient(170deg, var(--c-verde) 0%, var(--c-azul) 100%);
  color: var(--c-bege);
}
.placeholder__tag{
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--c-azul);
  background: rgba(255,255,255,.88);
  padding: 5px 9px;
  border-radius: var(--r-xs);
  max-width: calc(100% - 28px);
  backdrop-filter: blur(4px);
}
.placeholder--verde .placeholder__tag,
.placeholder--portrait .placeholder__tag,
.placeholder--dark .placeholder__tag{
  background: rgba(33,40,66,.7);
  color: var(--c-bege);
}

/* ─────────── IMÓVEIS (categorias) ─────────── */
.imoveis{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.imovel{
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.imovel:hover{
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -20px rgba(33,40,66,.18);
}
.imovel__media{
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.imovel__media .placeholder{
  transition: transform .8s var(--ease-out);
}
.imovel:hover .imovel__media .placeholder{
  transform: scale(1.06);
}
.imovel__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .8s var(--ease-out);
}
.imovel:hover .imovel__media img{
  transform: scale(1.06);
}
.imovel__index{
  position: absolute;
  top: 16px; left: 18px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-bege);
  background: rgba(33,40,66,.65);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: var(--r-full);
}
.imovel__body{
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.imovel__body h3{
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
}
.imovel__body p{
  font-size: 15.5px;
  color: var(--c-ink-soft);
  margin: 0 0 24px;
  line-height: 1.6;
}
.imovel__tags{
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--c-line-soft);
  padding-top: 20px;
}
.imovel__tags li{
  font-size: 12px;
  color: var(--c-verde);
  background: rgba(97,117,104,.08);
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: .02em;
}

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

/* ─────────── SERVICES ─────────── */
.services{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(33,40,66,.12);
  border-bottom: 1px solid rgba(33,40,66,.12);
}
.service{
  padding: 44px 36px;
  border-right: 1px solid rgba(33,40,66,.12);
  display: flex;
  flex-direction: column;
  transition: background .35s var(--ease);
  position: relative;
}
.service:last-child{ border-right: 0; }
.service:hover{
  background: rgba(33,40,66,.04);
}
.service--accent{
  background: rgba(97,117,104,.07);
}
.service--accent:hover{
  background: rgba(97,117,104,.12);
}

.service__head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.service__no{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--c-verde);
  border: 1px solid var(--c-verde);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service h3{
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  flex: 1;
}
.service p{
  color: var(--c-ink-soft);
  margin: 0 0 32px;
  font-size: 15.5px;
  line-height: 1.6;
}
.service__foot{
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-azul);
  padding-top: 24px;
  border-top: 1px solid rgba(33,40,66,.1);
}
.service__foot svg{ transition: transform .3s var(--ease); }
.service:hover .service__foot svg{ transform: translateX(4px); }

@media (max-width: 800px){
  .services{ grid-template-columns: 1fr; }
  .service{ border-right: 0; border-bottom: 1px solid rgba(33,40,66,.12); }
  .service:last-child{ border-bottom: 0; }
}

/* ─────────── FAMILY ─────────── */
.family{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.family__visual{
  position: relative;
  aspect-ratio: 4/5;
  max-width: 520px;
}
.family__photo{
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(33,40,66,.3);
}
.family__photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.family__photo--big{
  top: 0; left: 0;
  width: 78%; height: 80%;
}
.family__photo--small{
  bottom: 0; right: 0;
  width: 48%; height: 38%;
  border: 6px solid var(--c-offwhite);
}
.family__quote{
  position: absolute;
  bottom: -30px; left: -30px;
  background: var(--c-white);
  padding: 22px 26px;
  border-radius: var(--r-md);
  max-width: 280px;
  box-shadow: 0 24px 50px -20px rgba(33,40,66,.25);
  font-family: var(--font-body);
}
.family__quote p{
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink);
  margin: 8px 0 12px;
  font-weight: 400;
}
.family__quote em{ color: var(--c-verde); font-weight: 400; }
.family__sig{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.family__copy .section-title{ margin-bottom: 32px; }
.family__text p{
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.family__text strong{ color: var(--c-azul); font-weight: 600; }

.family__pillars{
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--c-line);
  padding-top: 32px;
}
.pillar__no{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--c-verde);
}
.pillar h4{
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 6px;
}
.pillar p{
  font-size: 13.5px;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 900px){
  .family{ grid-template-columns: 1fr; }
  .family__visual{
    max-width: 480px;
    width: 100%;
    /* margem extra embaixo para o card que sobressai */
    margin: 0 auto 120px;
    min-height: 380px;
    overflow: visible;
  }
  /* foto grande ocupa quase tudo */
  .family__photo--big{ width: 100%; height: 100%; }
  /* foto pequena escondida no mobile — pouco espaço com o card */
  .family__photo--small{ display: none; }
  /* citação saindo 70px para baixo da foto, ancorada à esquerda */
  .family__quote{
    position: absolute;
    bottom: -70px;
    left: 16px;
    max-width: calc(100% - 32px);
  }
}

/* ─────────── DIFFS ─────────── */
.diffs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.diff{
  background: var(--c-offwhite);
  padding: 36px;
  border-radius: var(--r-md);
  position: relative;
  transition: transform .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.diff::before{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--c-verde);
  transition: width .5s var(--ease-out);
}
.diff:hover{ transform: translateY(-4px); }
.diff:hover::before{ width: 100%; }
.diff__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.diff__no{
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-verde);
  font-weight: 600;
}
.diff__tag{
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-mute);
  background: var(--c-white);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.diff h3{
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
.diff p{
  font-size: 14.5px;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.55;
}

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

/* ─────────── PAYMENT ─────────── */
.payment{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.payment__copy .section-title{ margin-bottom: 32px; }
.payment__lead{
  font-size: 18px;
  color: var(--c-ink);
  margin: 0 0 20px;
  line-height: 1.55;
}
.payment__copy p{
  font-size: 15.5px;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
  line-height: 1.65;
}
.payment__copy strong{ color: var(--c-azul); font-weight: 600; }
.payment__highlight{
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--c-azul);
  margin: 28px 0 32px !important;
  padding: 24px;
  border-left: 2px solid var(--c-verde);
  background: rgba(97,117,104,.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-weight: 400;
  line-height: 1.5;
}

/* chart */
.payment__chart{
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: 0 24px 60px -25px rgba(33,40,66,.15);
  position: sticky;
  top: 100px;
}
.chart__head{
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line-soft);
  margin-bottom: 8px;
}
.chart__title{
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-azul);
  margin-bottom: 6px;
}
.chart__sub{
  font-size: 13px;
  color: var(--c-mute);
}
.chart__list{
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.chart__list::before{
  content: '';
  position: absolute;
  left: 11px; top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--c-line);
  z-index: 0;
}
.chart__row{
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--c-line-soft);
}
.chart__row:last-child{ border-bottom: 0; }
.chart__bullet{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-offwhite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 1px solid var(--c-line);
}
.chart__bullet span{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-verde);
}
.chart__bullet--done{ background: var(--c-azul); border-color: var(--c-azul); }
.chart__bullet--done span{ background: var(--c-bege); }
.chart__row--entry .chart__bullet{ background: var(--c-bege); border-color: var(--c-bege-dk); }
.chart__row--entry .chart__bullet span{ background: var(--c-azul); }

.chart__row strong{
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-azul);
}
.chart__row span:not(.chart__bullet):not(.chart__week){
  display: block;
  font-size: 12.5px;
  color: var(--c-ink-soft);
  margin-top: 2px;
}
.chart__week{
  font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-verde);
  background: rgba(97,117,104,.08);
  padding: 4px 8px;
  border-radius: var(--r-xs);
}

@media (max-width: 900px){
  .payment{ grid-template-columns: 1fr; }
  .payment__chart{ position: static; }
}

/* ─────────── APP ─────────── */
.app{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.app__copy .section-title{ margin-bottom: 32px; }
.app__copy p{
  font-size: 16px;
  line-height: 1.65;
  color: rgba(236,228,218,.7);
  margin: 0 0 16px;
}
.app__bullets{
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app__bullets li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(236,228,218,.85);
}
.app__check{
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-verde);
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
}
.app__check::after{
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 7px; height: 3px;
  border-left: 1.5px solid var(--c-bege);
  border-bottom: 1.5px solid var(--c-bege);
  transform: rotate(-45deg);
}

/* phones */
.app__phones{
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone{
  position: absolute;
  width: 290px;
  border-radius: 38px;
  background: linear-gradient(180deg, #f7f1e7 0%, #ece4da 100%);
  padding: 14px;
  box-shadow:
    0 0 0 8px rgba(0,0,0,.18) inset,
    0 40px 80px -30px rgba(0,0,0,.5),
    0 20px 40px -20px rgba(0,0,0,.3);
}
.phone--back{
  width: 260px;
  transform: translateX(-90px) translateY(20px) rotate(-6deg);
  opacity: .55;
  filter: grayscale(.2);
}
.phone--front{
  z-index: 2;
  transform: translateX(40px) rotate(3deg);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateX(40px) rotate(3deg) translateY(0); }
  50%      { transform: translateX(40px) rotate(3deg) translateY(-8px); }
}
.phone__notch{
  width: 90px; height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  margin: -14px auto 8px;
}
.phone__screen{
  background: var(--c-offwhite);
  border-radius: 26px;
  overflow: hidden;
  padding: 18px;
  min-height: 480px;
  font-family: var(--font-body);
  color: var(--c-azul);
}
.phone__bar{
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.phone__bar span{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(33,40,66,.2);
}
.phone__bar span:first-child{ background: var(--c-verde); }
.phone__photo{
  height: 140px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.phone__list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone__item{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-ink-soft);
}
.phone__dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-azul);
}
.phone__dot--green{ background: var(--c-verde); }

.phone__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.phone__label{
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-verde);
}
.phone__day{
  font-size: 11px;
  color: var(--c-mute);
}
.phone__title{
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--c-azul);
  letter-spacing: -0.02em;
}
.phone__progress{
  height: 6px;
  background: rgba(33,40,66,.1);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 6px;
}
.phone__progress-fill{
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-verde), var(--c-azul));
  border-radius: var(--r-full);
  animation: progressFill 2.4s var(--ease-out) forwards;
  animation-delay: 1.2s;
}
@keyframes progressFill {
  to { width: 67%; }
}
.phone__progress-meta{
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--c-mute);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.phone__cards{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.phone__card{
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--c-white);
  padding: 8px;
  border-radius: var(--r-sm);
}
.phone__card-photo{
  width: 44px; height: 44px;
  border-radius: var(--r-xs);
  overflow: hidden;
  flex-shrink: 0;
}
.phone__card strong{
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-azul);
}
.phone__card span{
  font-size: 10.5px;
  color: var(--c-mute);
}
.phone__alert{
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--c-azul);
  color: var(--c-bege);
  padding: 12px 14px;
  border-radius: var(--r-sm);
}
.phone__alert-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-verde);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(97,117,104,.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(97,117,104,.3); }
  50%      { box-shadow: 0 0 0 8px rgba(97,117,104,.1); }
}
.phone__alert strong{
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
}
.phone__alert span{
  display: block;
  font-size: 10.5px;
  opacity: .75;
}

@media (max-width: 900px){
  .app{ grid-template-columns: 1fr; }
  .app__phones{ height: 540px; }
}

/* ─────────── PORTFOLIO ─────────── */
.portfolio__filter{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: end;
  justify-self: end;
}
.chip{
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--c-azul);
  border: 1px solid rgba(33,40,66,.2);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover{ border-color: var(--c-azul); }
.chip.is-active{
  background: var(--c-azul);
  color: var(--c-bege);
  border-color: var(--c-azul);
}

/* ─────────── PORTFOLIO BENTO ─────────── */
.pf-project{
  margin-bottom: 72px;
}
.pf-project__head{
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}
.pf-project__num{
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--c-line);
  line-height: 1;
  letter-spacing: -.04em;
  flex-shrink: 0;
}
.pf-project__title{
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--c-azul);
  margin: 6px 0 0;
  line-height: 1.2;
}

/* bento grid — 3 cols, 3 rows */
.pf-bento{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px 280px;
  gap: 8px;
}
/* default positions */
.pf-bento .pf-bento__item:nth-child(1){ grid-column:1/3; grid-row:1/3; } /* hero */
.pf-bento .pf-bento__item:nth-child(2){ grid-column:3;   grid-row:1;   }
.pf-bento .pf-bento__item:nth-child(3){ grid-column:3;   grid-row:2;   }
.pf-bento .pf-bento__item:nth-child(4){ grid-column:1;   grid-row:3;   }
.pf-bento .pf-bento__item:nth-child(5){ grid-column:2;   grid-row:3;   }
.pf-bento .pf-bento__item:nth-child(6){ grid-column:3;   grid-row:3;   }
/* mirrored */
.pf-bento--mirror .pf-bento__item:nth-child(1){ grid-column:1; grid-row:1; }
.pf-bento--mirror .pf-bento__item:nth-child(2){ grid-column:2/4; grid-row:1/3; } /* hero */
.pf-bento--mirror .pf-bento__item:nth-child(3){ grid-column:1; grid-row:2; }
.pf-bento--mirror .pf-bento__item:nth-child(4){ grid-column:1; grid-row:3; }
.pf-bento--mirror .pf-bento__item:nth-child(5){ grid-column:2; grid-row:3; }
.pf-bento--mirror .pf-bento__item:nth-child(6){ grid-column:3; grid-row:3; }

/* 5-item mirror: último item ocupa colunas 2-4 na linha de baixo */
.pf-bento--mirror-5 .pf-bento__item:nth-child(4){ grid-column:1; grid-row:3; }
.pf-bento--mirror-5 .pf-bento__item:nth-child(5){ grid-column:2/4; grid-row:3; }

.pf-bento__item{
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0;
  cursor: zoom-in;
  background: var(--c-line-soft);
}
.pf-bento__item img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-out);
}
.pf-bento__item:hover img{ transform: scale(1.06); }
.pf-bento__item--centered img{ object-position: center center; }
.pf-bento__item::after{
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22,27,48,.28);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.pf-bento__item:hover::after{ opacity: 1; }

/* zoom icon on hover */
.pf-bento__item::before{
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%,-50%) scale(.7);
  border-radius: 50%;
  background: rgba(230,215,196,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='18' height='18'%3E%3Ccircle cx='6.5' cy='6.5' r='4' fill='none' stroke='%23ece4da' stroke-width='1.5'/%3E%3Cpath d='M10 10l3 3' stroke='%23ece4da' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(230,215,196,.25);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.pf-bento__item:hover::before{
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}

@media (max-width: 800px){
  .pf-bento{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  /* default bento */
  .pf-bento .pf-bento__item:nth-child(1)         { grid-column:1/3; grid-row:1; }
  .pf-bento .pf-bento__item:nth-child(2)         { grid-column:1;   grid-row:2; }
  .pf-bento .pf-bento__item:nth-child(3)         { grid-column:2;   grid-row:2; }
  .pf-bento .pf-bento__item:nth-child(4)         { grid-column:1;   grid-row:3; }
  .pf-bento .pf-bento__item:nth-child(5)         { grid-column:2;   grid-row:3; }
  .pf-bento .pf-bento__item:nth-child(6)         { grid-column:1/3; grid-row:4; }
  /* mirror bento */
  .pf-bento--mirror .pf-bento__item:nth-child(2) { grid-column:1/3; grid-row:1; }
  .pf-bento--mirror .pf-bento__item:nth-child(1) { grid-column:1;   grid-row:2; }
  .pf-bento--mirror .pf-bento__item:nth-child(3) { grid-column:2;   grid-row:2; }
  .pf-bento--mirror .pf-bento__item:nth-child(4) { grid-column:1;   grid-row:3; }
  .pf-bento--mirror .pf-bento__item:nth-child(5) { grid-column:2;   grid-row:3; }
  .pf-bento--mirror .pf-bento__item:nth-child(6) { grid-column:1/3; grid-row:4; }
  /* mirror-5: 5 itens, sem 6º, linha 3 fica cheia */
  .pf-bento--mirror-5 .pf-bento__item:nth-child(4){ grid-column:1;   grid-row:3; }
  .pf-bento--mirror-5 .pf-bento__item:nth-child(5){ grid-column:2;   grid-row:3; }
}

@media (max-width: 600px){
  /* galeria em coluna única */
  .pf-bento{
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    grid-template-rows: none;
  }
  .pf-bento    .pf-bento__item:nth-child(n),
  .pf-bento--mirror .pf-bento__item:nth-child(n),
  .pf-bento--mirror-5 .pf-bento__item:nth-child(n){
    grid-column: 1;
    grid-row: auto;
  }
}

/* ─────────── LIGHTBOX ─────────── */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(14,17,30,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: lbIn .25s var(--ease);
}
.lightbox[hidden]{ display: none; }
@keyframes lbIn{
  from{ opacity: 0; }
  to  { opacity: 1; }
}
.lightbox__stage{
  max-width: min(90vw, 1200px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img{
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transition: opacity .2s;
}
.lightbox__nav{
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(230,215,196,.2);
  background: rgba(230,215,196,.08);
  color: var(--c-bege);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lightbox__nav:hover{ background: rgba(230,215,196,.2); }
.lightbox__nav--prev{ left: clamp(12px, 3vw, 40px); }
.lightbox__nav--next{ right: clamp(12px, 3vw, 40px); }
.lightbox__close{
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(230,215,196,.2);
  background: rgba(230,215,196,.08);
  color: var(--c-bege);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lightbox__close:hover{ background: rgba(230,215,196,.2); }
.lightbox__counter{
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 13px;
  color: rgba(230,215,196,.55);
  letter-spacing: .08em;
  font-family: var(--font-heading);
}

.portfolio__cta{
  margin-top: 60px;
  padding: 36px 44px;
  background: var(--c-white);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.portfolio__cta p{
  font-size: 16px;
  color: var(--c-ink-soft);
  margin: 0;
  max-width: 480px;
}
.portfolio__cta strong{ color: var(--c-azul); }

@media (max-width: 900px){
  .gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .gallery__item--wide{ grid-column: span 2; }
}
@media (max-width: 600px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery__item--tall, .gallery__item--wide{ grid-row: auto; grid-column: auto; }
}

/* ─────────── TESTIMONIALS ─────────── */
/* ── carousel wrapper ── */
.testimonials-carousel{ overflow: hidden; }
.testimonials-track{
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  align-items: stretch;
}

/* ── cards ── */
.testimonial{
  background: var(--c-offwhite);
  padding: 36px;
  border-radius: var(--r-md);
  margin: 0;
  color: var(--c-verde);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.testimonial--accent{
  background: var(--c-azul);
  color: var(--c-bege);
}
.testimonial__quote{
  color: var(--c-verde);
  margin-bottom: 24px;
  opacity: .55;
}
.testimonial blockquote{
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--c-azul);
  margin: 0 0 28px;
  flex: 1;
  letter-spacing: -0.01em;
}
.testimonial figcaption{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(33,40,66,.12);
}
.testimonial figcaption strong{
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-azul);
}
.testimonial figcaption span{
  display: block;
  font-size: 12px;
  color: var(--c-mute);
  margin-top: 2px;
}
/* accent overrides — após todas as regras base */
.testimonial--accent blockquote{ color: var(--c-bege); }
.testimonial--accent figcaption{ border-color: rgba(230,215,196,.15); }
.testimonial--accent figcaption strong{ color: var(--c-bege); }
.testimonial--accent figcaption span{ color: rgba(230,215,196,.6); }

/* ── nav ── */
.testimonials-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.carousel-btn{
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-azul);
  transition: all .2s var(--ease);
}
.carousel-btn:hover{
  background: var(--c-azul);
  color: var(--c-bege);
  border-color: var(--c-azul);
}
.carousel-dots{
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot{
  width: 8px; height: 8px;
  border-radius: 4px;
  background: var(--c-line);
  border: none;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.carousel-dot--active{
  width: 24px;
  background: var(--c-azul);
}

/* ─────────── FAQ ─────────── */
#faq .section-head{
  max-width: none;
}
#faq .section-title{
  max-width: none;
}
.faq{
  border-top: 1px solid var(--c-line);
}
.faq__item{
  border-bottom: 1px solid var(--c-line);
  padding: 4px 0;
}
.faq__item summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  color: var(--c-azul);
  letter-spacing: -0.01em;
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__item summary:hover{ color: var(--c-verde); }
.faq__icon{
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  position: relative;
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.faq__icon::before, .faq__icon::after{
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--c-azul);
  transition: opacity .25s, background .25s;
}
.faq__icon::before{
  width: 10px; height: 1.5px;
  transform: translate(-50%,-50%);
}
.faq__icon::after{
  width: 1.5px; height: 10px;
  transform: translate(-50%,-50%);
}
.faq__item[open] .faq__icon{
  background: var(--c-azul);
  border-color: var(--c-azul);
  transform: rotate(180deg);
}
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after{ background: var(--c-bege); }
.faq__item[open] .faq__icon::after{ opacity: 0; }

.faq__body{
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease-out);
}
.faq__item[open] .faq__body{
  max-height: 400px;
}
.faq__body p{
  font-size: 15.5px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin: 0 0 28px;
  padding-right: 60px;
}

/* ─────────── CTA FINAL ─────────── */
.section--cta{
  padding: 0;
  background: var(--c-azul);
}
.cta{
  position: relative;
  padding: var(--pad-section) var(--pad-x);
  background: var(--c-azul);
  color: var(--c-offwhite);
  overflow: hidden;
}
.cta::before{
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97,117,104,.25), transparent 70%);
  top: -200px; right: -200px;
}
.cta::after{
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,215,196,.06), transparent 70%);
  bottom: -150px; left: -100px;
}
.cta__inner{
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta__title{
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--c-offwhite);
  margin: 12px auto 28px;
  max-width: 18ch;
}
.cta__title em{
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  color: var(--c-bege);
}
.cta__lead{
  font-size: 17px;
  color: rgba(236,228,218,.7);
  max-width: 48ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.cta__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-bege) !important;
  color: var(--c-azul) !important;
  border-color: var(--c-bege) !important;
}
.cta__btn:hover{
  background: var(--c-offwhite) !important;
  border-color: var(--c-offwhite) !important;
  color: var(--c-azul) !important;
}

.cta__form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.cta__field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta__field--full{ grid-column: span 2; }
.cta__field label{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-bege);
  opacity: .7;
}
.cta__field input,
.cta__field select,
.cta__field textarea{
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-offwhite);
  background: rgba(236,228,218,.06);
  border: 1px solid rgba(230,215,196,.15);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  outline: none;
  transition: all .25s var(--ease);
  resize: none;
  width: 100%;
}
.cta__field input::placeholder,
.cta__field textarea::placeholder{ color: rgba(236,228,218,.35); }
.cta__field input:focus,
.cta__field select:focus,
.cta__field textarea:focus{
  border-color: var(--c-verde);
  background: rgba(236,228,218,.1);
}
.cta__field select{
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23E6D7C4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.cta__field select option{ background: var(--c-azul); color: var(--c-offwhite); }

.cta__submit{
  grid-column: span 2;
  margin-top: 12px;
  background: var(--c-bege);
  color: var(--c-azul);
  border-color: var(--c-bege);
  position: relative;
}
.cta__submit:hover{
  background: var(--c-white);
  border-color: var(--c-white);
}
.cta__submit-done{ display: none; }
.cta__form.is-sent .cta__submit{ background: var(--c-verde); color: var(--c-bege); border-color: var(--c-verde); pointer-events: none; }
.cta__form.is-sent .cta__submit-default{ display: none; }
.cta__form.is-sent .cta__submit-done{ display: inline-flex; align-items: center; gap: 10px; }

.cta__alt{
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(236,228,218,.55);
}
.cta__link{
  color: var(--c-bege);
  text-decoration: underline;
  text-decoration-color: rgba(230,215,196,.3);
  text-underline-offset: 4px;
  transition: text-decoration-color .25s;
}
.cta__link:hover{ text-decoration-color: var(--c-bege); }
.cta__sep{ opacity: .4; }

@media (max-width: 600px){
  .cta__form{ grid-template-columns: 1fr; }
  .cta__field--full, .cta__submit{ grid-column: span 1; }
}

/* ─────────── FOOTER ─────────── */
.footer{
  background: var(--c-azul-dk);
  color: var(--c-bege);
  padding: 60px var(--pad-x);
}
.footer__inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer__brand p{
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(230,215,196,.18);
  font-size: 13px;
  color: rgba(230,215,196,.55);
  max-width: 260px;
  line-height: 1.65;
}
.footer__meta{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 14px;
  color: rgba(230,215,196,.5);
  letter-spacing: .03em;
  text-align: right;
}
.footer__meta a{
  color: rgba(230,215,196,.65);
  transition: color .2s;
}
.footer__meta a:hover{ color: var(--c-bege); }

@media (max-width: 600px){
  .footer__inner{ flex-direction: column; align-items: flex-start; }
  .footer__meta{ align-items: flex-start; text-align: left; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — links secundários
   ═══════════════════════════════════════════════════════════════ */
.footer__links{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__link-btn{
  background: none;
  border: none;
  color: var(--c-bege);
  opacity: .55;
  cursor: pointer;
  font-size: 12.5px;
  font-family: var(--font-body);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}
.footer__link-btn:hover{ opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT BAR
   ═══════════════════════════════════════════════════════════════ */
.cookie-bar{
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  background: var(--c-azul);
  color: var(--c-offwhite);
  border-radius: var(--r-md);
  box-shadow: 0 16px 48px -12px rgba(33,40,66,.55);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  width: calc(100% - 48px);
  font-size: 13px;
  line-height: 1.55;
}
.cookie-bar p{ margin: 0; flex: 1; }
.cookie-bar__link{
  background: none; border: none;
  color: var(--c-bege);
  cursor: pointer;
  font-family: inherit; font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar__actions{ flex-shrink: 0; }
.cookie-bar__accept{
  background: var(--c-verde);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.cookie-bar__accept:hover{ opacity: .85; }

/* ═══════════════════════════════════════════════════════════════
   MODAIS — overlay base
   ═══════════════════════════════════════════════════════════════ */
.rn-overlay{
  position: fixed; inset: 0; z-index: 500;
  background: rgba(33,40,66,.55);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.rn-overlay.open{
  opacity: 1;
  pointer-events: all;
}

/* ── modal card ── */
.rn-modal{
  background: var(--c-offwhite);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px -24px rgba(33,40,66,.35);
  transform: translateY(20px);
  transition: transform .35s ease;
}
.rn-overlay.open .rn-modal{ transform: translateY(0); }

/* ── header ── */
.rn-modal__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--c-line-soft);
  flex-shrink: 0;
}
.rn-modal__header h2{
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-azul);
}
.rn-modal__sub{
  font-size: 13px;
  color: var(--c-mute);
  margin-top: 3px;
}
.rn-modal__close{
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  cursor: pointer;
  color: var(--c-mute);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: color .2s, border-color .2s;
}
.rn-modal__close:hover{ color: var(--c-azul); border-color: var(--c-azul); }

/* ── body scroll ── */
.rn-modal__body{
  overflow-y: auto;
  padding: 24px 28px 28px;
  flex: 1;
}

/* ── formulário ── */
.rn-form{
  overflow-y: auto;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.rn-form__group{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rn-form__group label:first-child{
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-mute);
}
.rn-form__group input,
.rn-form__group select,
.rn-form__group textarea{
  padding: 11px 14px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--c-white);
  color: var(--c-azul);
  transition: border-color .2s;
  -webkit-appearance: none;
}
.rn-form__group input::placeholder,
.rn-form__group textarea::placeholder{ color: var(--c-mute); opacity: .7; }
.rn-form__group textarea{ resize: vertical; min-height: 80px; line-height: 1.5; }
.rn-form__group input:focus,
.rn-form__group select:focus,
.rn-form__group textarea:focus{
  outline: none;
  border-color: var(--c-verde);
}
.rn-file-label{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px dashed var(--c-line);
  border-radius: 6px;
  background: var(--c-white);
  cursor: pointer;
  font-size: 13px;
  color: var(--c-mute);
  transition: border-color .2s, color .2s;
}
.rn-file-label:hover{ border-color: var(--c-verde); color: var(--c-azul); }
.rn-form__group input[type="file"]{ display: none; }
.rn-file-name{ font-size: 12px; color: var(--c-mute); margin-left: auto; }

.rn-submit{
  padding: 14px;
  background: var(--c-azul);
  color: var(--c-bege);
  border: none;
  border-radius: 7px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  margin-top: 4px;
  letter-spacing: .01em;
}
.rn-submit:hover{ opacity: .85; }
.rn-submit:disabled{ opacity: .45; cursor: not-allowed; }

.rn-feedback{
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  display: none;
}
.rn-feedback--ok{ background: rgba(97,117,104,.1); border: 1px solid rgba(97,117,104,.3); color: var(--c-verde); }
.rn-feedback--err{ background: rgba(180,50,50,.07); border: 1px solid rgba(180,50,50,.2); color: #8a2020; }

/* ── política de privacidade ── */
.rn-privacy-body h3{
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-azul);
  margin: 20px 0 6px;
}
.rn-privacy-body p,
.rn-privacy-body ul{ font-size: 13.5px; line-height: 1.75; color: var(--c-ink); margin-bottom: 12px; }
.rn-privacy-body ul{ padding-left: 18px; }
.rn-privacy-update{ color: var(--c-mute) !important; font-size: 11px !important; margin-top: 24px; }

@media (max-width: 560px){
  .cookie-bar{ flex-direction: column; align-items: flex-start; gap: 14px; bottom: 16px; }
  .rn-modal__header, .rn-form, .rn-modal__body{ padding-left: 20px; padding-right: 20px; }
}

/* ─────────────────────────────────────────────
   RESPONSIVIDADE — AJUSTES MOBILE
   ───────────────────────────────────────────── */

/* ── 480 px e abaixo ── */
@media (max-width: 480px){
  /* hero: reduz altura da imagem em telas muito pequenas */
  .hero__visual{ height: 260px; }

  /* botões hero empilhados */
  .hero__actions{ flex-direction: column; }
  .hero__actions .btn{ width: 100%; justify-content: center; text-align: center; }

  /* pillars da seção família em coluna única */
  .family__pillars{ grid-template-columns: 1fr; gap: 16px; }

  /* testemunhos: padding reduzido */
  .testimonial{ padding: 22px 20px; }
  .testimonial blockquote{ font-size: 16px; }

  /* FAQ: remove padding-right excessivo */
  .faq__body p{ padding-right: 0; }
  .faq__item summary{ padding: 20px 0; }

  /* chart: esconde badge da semana e simplifica grid */
  .chart__week{ display: none; }
  .chart__row{ grid-template-columns: 28px 1fr; gap: 10px; }

  /* imovel: reduz padding interno */
  .imovel__body{ padding: 20px; }

  /* serviços: reduz padding */
  .service{ padding: 30px 20px; }

  /* diffs: padding reduzido */
  .diff{ padding: 24px 20px; }
}

/* ─────────────────────────────────────────────
   SCROLLBAR PERSONALIZADA
   ───────────────────────────────────────────── */

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--c-verde) var(--c-offwhite); }

/* WebKit / Chrome / Safari / Edge */
::-webkit-scrollbar               { width: 6px; }
::-webkit-scrollbar-track         { background: var(--c-offwhite); }
::-webkit-scrollbar-thumb         { background: var(--c-verde); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover   { background: var(--c-verde-dk); }

/* ─────────────────────────────────────────────
   BARRA DE PROGRESSO DE SCROLL
   ───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-verde);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  transition: transform .08s linear;
  pointer-events: none;
}
