/* =========================================================
   Casa de Repouso Anos Dourados — v2 "editorial / arco"
   Paleta quente: osso/linho + dourado (logo) + verde-pinho
   Tipografia: Fraunces (expressiva) · Inter
   Motivo: o ARCO — a portaria que acolhe (vem do logo em arco)
   ========================================================= */

:root {
  --bone:    #FAF5EC;
  --linen:   #F2E9D9;
  --sand:    #E8DAC2;
  --cream:   #FFFDF8;
  --ink:     #302A20;
  --ink-2:   #6E6455;
  --gold:    #B3894C;
  --gold-d:  #8A6835;
  --gold-l:  #D8BC85;
  --green:   #3B4A3C;
  --green-d: #2B372D;
  --sage:    #7C8A6F;
  --line:    rgba(48, 42, 32, 0.12);
  --line-l:  rgba(255, 253, 248, 0.18);

  --shadow-sm: 0 2px 12px rgba(48, 42, 32, 0.06);
  --shadow-md: 0 18px 46px rgba(48, 42, 32, 0.10);
  --shadow-lg: 0 34px 80px rgba(48, 42, 32, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --arch: 50% 50% 12px 12px / 40% 40% 3% 3%;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bone);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden; width: 100%;
}
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-l); color: var(--ink); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.italic { font-style: italic; color: var(--gold-d); font-weight: 300; }

/* Sublinhado desenhado à mão (dourado) */
.uline { position: relative; font-style: italic; color: var(--gold-d); font-weight: 300; }
.uline::after {
  content: ""; position: absolute; left: -1%; right: -1%; bottom: -0.14em; height: 0.42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='18' viewBox='0 0 320 18' preserveAspectRatio='none'%3E%3Cpath d='M5 12 C 70 3 130 3 175 9 S 260 15 315 6' fill='none' stroke='%23B3894C' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 100%; pointer-events: none;
}

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
section[id], #topo { scroll-margin-top: 125px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 1.2rem;
}
.eyebrow-gold { color: var(--gold-d); }
.eyebrow-light { color: var(--gold-l); }
.eyebrow-dot { width: 24px; height: 1px; background: currentColor; }

.section-head { max-width: 42ch; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 44ch; }
.section-head.center .eyebrow { justify-content: center; }
.section-sub { margin-top: 1rem; color: var(--ink-2); font-size: 1.06rem; }

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--green); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.6rem; border-radius: 100px; font-weight: 600; font-size: 0.97rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-sm { padding: 0.62rem 1.25rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--gold-l), var(--gold-d)); color: #fff; box-shadow: 0 10px 26px rgba(138,104,53,0.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(138,104,53,0.42); }
/* Botões que abrem o WhatsApp — sempre no verde do zap */
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #1BA653); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,0.34); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,211,102,0.46); }
.btn-link { color: var(--ink); font-weight: 500; padding-inline: 0.4rem; }
.btn-link:hover { color: var(--gold-d); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 0.85rem;
  background: transparent;
  pointer-events: none;
  transition: padding-block 0.3s var(--ease);
}
.site-header[data-scrolled] { padding-block: 0.5rem; }
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(calc(100% - 2rem), var(--container));
  height: 72px;
  padding: 0 0.7rem 0 1.1rem;
  border: 1px solid rgba(179,137,76,0.14);
  border-radius: 22px;
  background: rgba(255,253,248,0.82);
  box-shadow: 0 12px 34px rgba(48,42,32,0.10);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  pointer-events: auto;
  transition: height 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
.site-header[data-scrolled] .header-inner {
  height: 62px;
  background: rgba(255,253,248,0.95);
  box-shadow: 0 14px 40px rgba(48,42,32,0.14);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 0 auto;
}
.brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 5px 10px rgba(48,42,32,0.14));
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header[data-scrolled] .brand-mark { width: 47px; height: 47px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-name { font-family: var(--serif); font-size: 1.26rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.brand-tag { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d); }

.nav { position: relative; flex: 0 0 auto; display: flex; }
.nav-list {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-list a {
  position: relative;
  display: block;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.28s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a.active { color: var(--green-d); }

/* Pílula deslizante que acompanha hover/seção ativa (segmented nav) */
.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216,188,133,0.34), rgba(179,137,76,0.15));
  border: 1px solid rgba(179,137,76,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 6px 16px rgba(138,104,53,0.14);
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height;
  transition:
    transform 0.42s var(--ease),
    width 0.42s var(--ease),
    height 0.42s var(--ease),
    opacity 0.3s var(--ease);
}
/* Sem JS: mantém um destaque simples no hover/ativo */
html:not(.js) .nav-list a:hover,
html:not(.js) .nav-list a.active { background: rgba(179,137,76,0.12); }

.header-actions {
  display: flex;
  align-items: center;
  flex: 1 0 auto;
  justify-content: flex-end;
  gap: 0.6rem;
}
/* Telefone: escondido no cabeçalho; o número aparece só dentro do menu mobile */
.header-phone { display: none; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-d); }
.header-phone span { display: none; }

/* Botão "Agendar visita" — verde do WhatsApp */
.nav-cta { gap: 0.5rem; }
.nav-cta-ico { width: 17px; height: 17px; }
.header-actions .btn-sm { padding: 0.66rem 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  background: rgba(242,233,217,0.7);
  border: 1px solid rgba(179,137,76,0.16);
  z-index: 120;
  transition: background 0.25s, border-color 0.25s;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s, background 0.25s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #1f2c21 url("/assets/hero-casa.jpg?v=2") center 40% / cover no-repeat;
  padding: 10.2rem 0 6.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(31, 44, 33, 0.28);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(31,44,33,0.08) 0%, rgba(31,44,33,0.55) 72%),
    linear-gradient(180deg, rgba(18,25,18,0.48) 0%, rgba(18,25,18,0.38) 42%, rgba(18,25,18,0.64) 87%, var(--green) 99%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-copy {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  color: #fff;
}
.hero .eyebrow {
  justify-content: center;
  color: rgba(255,253,248,0.9);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero h1 {
  margin-bottom: 1.4rem;
  color: #fff;
  font-size: 4.8rem;
  letter-spacing: 0;
  text-shadow: 0 4px 28px rgba(0,0,0,0.42);
}
.hero .uline { color: var(--gold-l); }
.hero .uline::after { opacity: 0.9; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.32)); }
.hero-lead {
  max-width: 52ch;
  margin: 0 auto 2.1rem;
  color: rgba(255,253,248,0.86);
  font-size: 1.18rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.38);
}
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.2rem;
  margin-bottom: 2.4rem;
}
.hero .btn-link {
  min-height: 48px;
  padding-inline: 1.25rem;
  border: 1px solid rgba(255,253,248,0.42);
  background: rgba(255,253,248,0.08);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero .btn-link:hover {
  color: #fff;
  background: rgba(255,253,248,0.16);
  border-color: rgba(255,253,248,0.62);
}
.hero-micro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.35rem;
  max-width: 680px;
  margin-inline: auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,253,248,0.28);
}
.hero-micro li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(255,253,248,0.82);
  font-size: 0.92rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.34);
}
.hero-micro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-l);
  box-shadow: 0 0 0 4px rgba(216,188,133,0.16);
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--green-d) 0%, var(--green) 58%, #33422E 100%);
  color: #EFE9DB; padding-block: clamp(5rem, 10vw, 8.5rem);
}
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 28%, rgba(216,188,133,0.12) 0%, rgba(43,55,45,0) 62%);
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto-text {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.3; letter-spacing: -0.015em; max-width: 22ch; margin-inline: auto; text-align: center; color: #F3EDDF;
}
.manifesto-text .italic { font-weight: 300; }
.manifesto .italic, .manifesto .uline { color: var(--gold-l); }

/* =========================================================
   DIFERENCIAL
   ========================================================= */
.diff {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--bone) 100%);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.diff::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 16%, rgba(216,188,133,0.22), transparent 32%),
    radial-gradient(circle at 90% 88%, rgba(179,137,76,0.12), transparent 34%);
  pointer-events: none;
}

/* ---- Layout claro: retrato do enfermeiro + texto ---- */
.diff-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.diff-figure {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 34px 70px rgba(48,42,32,0.2);
}
.diff-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
/* borda dourada sutil + leve sombra no pé (profundidade, sem escurecer tudo) */
.diff-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(179,137,76,0.3);
  box-shadow: inset 0 -80px 90px -60px rgba(31,44,33,0.5);
  pointer-events: none;
}
.diff-content { max-width: 560px; }
.diff-content .eyebrow { margin-bottom: 1.15rem; }
.diff-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.diff-content .italic { color: var(--gold-d); }
.diff-lead {
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 1.9rem;
}
.diff-lead strong { color: var(--ink); font-weight: 600; }
.diff-list { display: flex; flex-direction: column; gap: 0.95rem; }
.diff-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
.diff-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.diff-check::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 5px;
  width: 4px;
  height: 8.5px;
  border: solid var(--gold-l);
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(42deg);
}

/* =========================================================
   CUIDADO — lista editorial numerada
   ========================================================= */
.care {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bone) 0%, var(--cream) 100%);
}
.care::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 42% at 50% -2%, rgba(216,188,133,0.18), transparent 70%),
    radial-gradient(42% 42% at 90% 96%, rgba(179,137,76,0.10), transparent 70%);
  pointer-events: none;
}
.care .container { position: relative; z-index: 1; }

/* arco decorativo atrás do título (o "teto") */
.care-head { position: relative; padding-top: 1.6rem; }
.care-arch {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -1.8rem;
  transform: translateX(-50%);
  width: min(640px, 96%);
  height: auto;
  pointer-events: none;
}
.care-head .eyebrow,
.care-head h2 { position: relative; z-index: 1; }

/* grid de cards */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.4rem, 5vw, 4rem);
}
.care-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 20px;
  background: rgba(255,253,248,0.72);
  border: 1px solid rgba(179,137,76,0.16);
  box-shadow: 0 10px 30px rgba(48,42,32,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
}
/* spotlight dourado que segue o cursor */
.care-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(216,188,133,0.32), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.care-card:hover {
  transform: translateY(-5px);
  border-color: rgba(179,137,76,0.42);
  box-shadow: 0 26px 54px rgba(48,42,32,0.13);
}
.care-card:hover::before { opacity: 1; }
.care-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  color: var(--gold-d);
  background: linear-gradient(150deg, rgba(216,188,133,0.28), rgba(179,137,76,0.12));
  border: 1px solid rgba(179,137,76,0.26);
}
.care-ico svg { width: 23px; height: 23px; }
.care-n {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  opacity: 0.45;
}
.care-card h3 { margin-bottom: 0.5rem; font-size: 1.18rem; }
.care-card p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; }

/* =========================================================
   CLIENTES ATENDIDOS / NÚMEROS
   ========================================================= */
.stats { background: var(--green); color: #EDE8DC; padding-block: clamp(3rem, 6vw, 4.5rem); margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 0.6rem; border-right: 1px solid var(--line-l); }
.stat:last-child { border-right: none; }
.stat-num { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold-l); line-height: 1; margin-bottom: 0.5rem; }
.stat-num em { font-size: 0.5em; font-style: normal; vertical-align: super; }
.stat-label { font-size: 0.9rem; color: rgba(237,232,220,0.82); }

/* =========================================================
   NOSSA EQUIPE
   ========================================================= */
.team { background: var(--bone); }
.team .section-head { max-width: 620px; }
#team-title { text-wrap: balance; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4; border-radius: var(--arch); margin-bottom: 1rem; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card:hover .team-photo { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(43,55,45,0.28)); }
.tp1 { background: linear-gradient(160deg, #d6c096, #a5865c); }
.tp2 { background: linear-gradient(160deg, #cbb48d, #8c724d); }
.tp3 { background: linear-gradient(160deg, #c3b393, #7f7351); }
.tp4 { background: linear-gradient(160deg, #b8c0a6, #63735a); }
.team-card figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.team-card figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; }
.team-card figcaption span { font-size: 0.86rem; color: var(--ink-2); }

/* =========================================================
   MISSÃO · VISÃO · VALORES
   ========================================================= */
.values { position: relative; overflow: hidden; background: var(--linen); }
.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 40% at 6% 0%, rgba(216,188,133,0.2), transparent 70%),
    radial-gradient(44% 44% at 98% 100%, rgba(179,137,76,0.12), transparent 72%);
  pointer-events: none;
}
/* Editorial moderno — frase grande à esquerda + índice de valores à direita */
.values-modern {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.4rem, 6vw, 5.5rem); align-items: center;
  max-width: 1080px; margin-inline: auto;
}
.values-lead .eyebrow { margin-bottom: 1.4rem; }
.values-mission {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.65rem, 3.1vw, 2.7rem); line-height: 1.24; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.values-mission .mi { font-style: italic; color: var(--gold-d); }

.values-index { display: flex; flex-direction: column; }
.values-index li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 0.5rem;
  border-top: 1px solid rgba(179,137,76,0.2);
  font-family: var(--sans); font-size: 1.02rem; font-weight: 500; color: var(--ink);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.values-index li:last-child { border-bottom: 1px solid rgba(179,137,76,0.2); }
.values-index li::before {
  content: ""; flex-shrink: 0; width: 8px; height: 9px;
  border-radius: 50% 50% 2px 2px / 60% 60% 3% 3%; background: var(--gold);
  transition: transform 0.25s var(--ease);
}
.values-index li:hover { color: var(--gold-d); padding-left: 1rem; }
.values-index li:hover::before { transform: scale(1.3); }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.quotes { background: linear-gradient(180deg, var(--green) 0%, var(--green-d) 100%); color: #EDE8DC; }
.quotes .section-head h2 { color: #fff; }
.quotes .section-head .italic { color: var(--gold-l); }

/* Grade simétrica — cards de altura igual, rodapés alinhados na base */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.quote-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(216,188,133,0.22);
  border-radius: 20px; padding: 1.9rem 1.8rem 1.7rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.quote-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216,188,133,0.5);
  background: rgba(255,255,255,0.085);
  box-shadow: 0 26px 54px rgba(0,0,0,0.24);
}
.quote-card p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.14rem; line-height: 1.55; color: #F4F0E6; margin: 0 0 1.5rem; }
.quote-card p::before { content: "\201C"; color: var(--gold-l); font-size: 2em; line-height: 0; vertical-align: -0.4em; margin-right: 0.06em; }
.quote-card footer { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; padding-top: 0.4rem; }
.quote-avatar {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--gold-l), var(--gold-d));
  color: #23301f; font-family: var(--serif); font-weight: 600; font-size: 1.18rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
}
.quote-meta { display: flex; flex-direction: column; }
.quote-name { font-weight: 600; color: #fff; }
.quote-role { font-size: 0.85rem; color: var(--gold-l); }

/* =========================================================
   A CASA / GALERIA
   ========================================================= */
.place { background: var(--cream); }
/* Bento — 1 destaque grande + tiles + faixa panorâmica */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.frame {
  position: relative; border-radius: 18px; overflow: hidden;
  display: flex; align-items: flex-end; background: var(--sand); cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.frame:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.frame:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 3px; }
.frame img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.frame:hover img { transform: scale(1.06); }
.frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(30,26,20,0.62)); }
.frame figcaption { position: relative; z-index: 2; color: #fff; font-family: var(--serif); font-size: 1.08rem; padding: 1.2rem 1.35rem; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.frame::before {
  content: ""; position: absolute; z-index: 3; top: 0.9rem; right: 0.9rem; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255,253,248,0.92) no-repeat center / 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6835' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-3.6-3.6M11 8v6M8 11h6'/%3E%3C/svg%3E");
  box-shadow: var(--shadow-sm); opacity: 0; transform: scale(0.8);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none;
}
.frame:hover::before, .frame:focus-visible::before { opacity: 1; transform: scale(1); }
/* posições do bento */
.g-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-b { grid-column: 3;     grid-row: 1; }
.g-c { grid-column: 4;     grid-row: 1; }
.g-d { grid-column: 3;     grid-row: 2; }
.g-e { grid-column: 4;     grid-row: 2; }
.g-f { grid-column: 1 / 5; grid-row: 3; }
.g-e img { object-position: center 38%; }
.g-f img { object-position: center 62%; }

/* =========================================================
   MOMENTOS / O DIA A DIA
   ========================================================= */
.momentos { background: linear-gradient(180deg, var(--linen) 0%, var(--sand) 100%); padding-block: clamp(3.4rem, 6.5vw, 5.5rem); }
.section-sub { margin-top: 1rem; color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; max-width: 54ch; }
.section-head.center .section-sub { margin-inline: auto; }

/* Vídeo institucional — card horizontal com play; abre em tela cheia */
.video-feature { margin: clamp(2.6rem, 5vw, 3.8rem) auto clamp(0.4rem, 1.2vw, 0.9rem); max-width: 580px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: #17140F; cursor: pointer;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(179,137,76,0.28);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.video-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,17,12,0.18) 0%, transparent 34%, transparent 52%, rgba(20,17,12,0.74));
  transition: opacity 0.35s var(--ease);
}
.video-play-btn {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,253,248,0.94); color: var(--green-d);
  display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.video-play-btn svg { width: 32px; height: 32px; margin-left: 3px; }
.video-frame:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.09); background: #fff; }
.video-info {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.4rem; color: #fff; text-align: left;
  transition: opacity 0.35s var(--ease);
}
.video-dur { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 0.3rem; }
.video-info strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.7rem); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.video-frame.playing::after, .video-frame.playing .video-play-btn, .video-frame.playing .video-info { opacity: 0; pointer-events: none; }
.video-frame.playing video { object-fit: contain; }

/* Mural de recortes — polaroids levemente inclinadas (clima de álbum) */
.momentos-mural { position: relative; display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: clamp(0.9rem, 1.8vw, 1.7rem); padding-top: 44px; }
/* a cordinha do varal */
.momentos-mural::before {
  content: ""; position: absolute; z-index: 0; top: 16px; left: 0.5%; right: 0.5%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(120,92,58,0.5) 5%, rgba(120,92,58,0.55) 50%, rgba(120,92,58,0.5) 95%, transparent);
  border-radius: 2px;
}
.polaroid {
  --tilt: 0deg; position: relative; margin: 0;
  flex: 1 1 0; min-width: 0; max-width: 210px;
  background: #fffdf8; padding: 0.6rem 0.6rem 0.15rem; border-radius: 4px;
  box-shadow: 0 12px 28px rgba(48,42,32,0.18); cursor: zoom-in;
  transform: rotate(var(--tilt)); transform-origin: top center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* o prendedor de roupa (SVG) */
.polaroid::before {
  content: ""; position: absolute; z-index: 6; top: -30px; left: 50%; margin-left: -8px;
  width: 16px; height: 34px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 40'><defs><linearGradient id='w' x1='0' y1='0' x2='1' y2='0'><stop offset='0' stop-color='%23dcb87d'/><stop offset='.5' stop-color='%23c1934f'/><stop offset='1' stop-color='%23a1743d'/></linearGradient><linearGradient id='m' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23bcc0c4'/><stop offset='.45' stop-color='%23eef1f3'/><stop offset='1' stop-color='%23a7acb1'/></linearGradient></defs><rect x='1.6' y='1' width='14.8' height='38' rx='3.4' fill='url(%23w)'/><rect x='8.25' y='19' width='1.5' height='20' rx='.75' fill='%236e5230'/><rect x='.6' y='15.2' width='16.8' height='4.3' rx='2.1' fill='url(%23m)'/></svg>") no-repeat center / contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.34));
  transform: rotate(calc(-1 * var(--tilt))); transform-origin: bottom center;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; background: var(--sand); }
.polaroid figcaption { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-2); text-align: center; padding: 0.5rem 0.2rem 0.45rem; }
.polaroid:hover, .polaroid:focus-visible { transform: rotate(0deg) scale(1.05); box-shadow: 0 28px 54px rgba(48,42,32,0.3); z-index: 5; }
.polaroid:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 4px; }
.polaroid:nth-child(1) { --tilt: -3.5deg; }
.polaroid:nth-child(2) { --tilt: 2.5deg; }
.polaroid:nth-child(3) { --tilt: -1.5deg; }
.polaroid:nth-child(4) { --tilt: 3deg; }
.polaroid:nth-child(5) { --tilt: -2.5deg; }
.polaroid:nth-child(6) { --tilt: 1.5deg; }
.polaroid:nth-child(7) { --tilt: -2deg; }
.polaroid:nth-child(8) { --tilt: 3deg; }

.momentos-ig { text-align: center; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink-2); font-size: 0.98rem; }
.momentos-ig a { color: var(--gold-d); font-weight: 600; margin-left: 0.35rem; transition: color 0.25s; }
.momentos-ig a:hover { color: var(--gold); }

/* =========================================================
   SEÇÕES EM VERDE — quebram o ritmo das seções claras
   (mesmo verde do Manifesto; usadas em Equipe e Momentos)
   ========================================================= */
.section-green {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--green-d) 0%, var(--green) 58%, #33422E 100%) !important;
  color: #EFE9DB;
}
.section-green::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 22%, rgba(216,188,133,0.10) 0%, rgba(43,55,45,0) 60%);
}
.section-green > .container { position: relative; z-index: 1; }
.section-green .eyebrow, .section-green .eyebrow-gold { color: var(--gold-l); }
.section-green .eyebrow-dot { background: var(--gold-l); }
.section-green h2, .section-green h3 { color: #F3EDDF; }
.section-green .italic, .section-green .uline { color: var(--gold-l); }
.section-green .section-sub { color: rgba(237,232,220,0.82); }
/* Equipe em verde */
.section-green .team-card figcaption strong { color: #F3EDDF; }
.section-green .team-card figcaption span { color: rgba(237,232,220,0.72); }
/* Momentos em verde */
.section-green .reel-tag { color: var(--gold-l); }
.section-green .reel-copy h3 { color: #F3EDDF; }
.section-green .reel-copy > p { color: rgba(237,232,220,0.82); }
.section-green .momentos-ig { color: rgba(237,232,220,0.82); }
.section-green .momentos-ig a { color: var(--gold-l); }

/* =========================================================
   LIGHTBOX — ampliar fotos
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(0.4rem, 2vw, 1.4rem); padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 17, 12, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-stage { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; min-width: 0; max-height: 100%; margin: 0; cursor: zoom-out; }
.lightbox-stage img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96); transition: transform 0.3s var(--ease); cursor: default;
}
.lightbox.open .lightbox-stage img { transform: scale(1); }
.lightbox-stage figcaption { color: #EDE8DC; font-family: var(--serif); font-style: italic; font-size: 1rem; text-align: center; max-width: 60ch; }
.lightbox-close {
  position: absolute; top: clamp(0.8rem, 2vw, 1.6rem); right: clamp(0.8rem, 2vw, 1.6rem); z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.lightbox-nav {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.lightbox-prev { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-nav:hover { background: rgba(216,188,133,0.28); border-color: rgba(216,188,133,0.5); }
.lightbox-prev:hover { transform: translateX(-3px); }
.lightbox-next:hover { transform: translateX(3px); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 2px; }
@media (max-width: 560px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox-stage { grid-column: 1; }
  .lightbox-stage img { max-height: 74vh; }
  .lightbox-nav { position: absolute; bottom: 1.1rem; z-index: 2; }
  .lightbox-prev { left: 1.1rem; }
  .lightbox-next { right: 1.1rem; }
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--green-d) 0%, var(--green) 100%); color: #EDE8DC; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.contact-arc { position: absolute; top: -30%; left: -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216,188,133,0.16), transparent 65%); pointer-events: none; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: start; }
.contact-copy h2 { color: #fff; margin-bottom: 1.2rem; }
.contact-copy .uline { color: var(--gold-l); }
.contact-lead { color: rgba(237,232,220,0.82); font-size: 1.1rem; margin-bottom: 2rem; max-width: 42ch; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; align-items: center; gap: 0.9rem; font-size: 1.02rem; }
.contact-info a:hover { color: var(--gold-l); }
.ci-ico { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; align-items: center; justify-content: center; background: rgba(216,188,133,0.16); color: var(--gold-l); }
.ci-ico svg { width: 20px; height: 20px; }

.contact-form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg); }
.form-title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.opt-label { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bone); transition: border-color 0.25s, box-shadow 0.25s; }
.field textarea { resize: vertical; min-height: 68px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,188,133,0.28); background: #fff; }
.field input.invalid, .field select.invalid { border-color: #c0574e; box-shadow: 0 0 0 3px rgba(192,87,78,0.15); }

/* Dropdown moderno (combobox custom) — substitui o <select> nativo */
.select { position: relative; }
.select-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bone);
  color: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.select-trigger:hover { border-color: var(--gold-l); }
.select-trigger:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,188,133,0.28); background: #fff; }
.select.open .select-trigger { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,188,133,0.28); background: #fff; }
.select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-chevron { flex: none; display: grid; place-items: center; width: 20px; height: 20px; color: var(--gold-d); transition: transform 0.3s var(--ease); }
.select-chevron svg { width: 18px; height: 18px; }
.select.open .select-chevron { transform: rotate(180deg); }

.select-menu {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  max-height: 264px; overflow-y: auto;
  opacity: 0; transform: translateY(-6px) scale(0.99); transform-origin: top center; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.select.open .select-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.select-option {
  position: relative; padding: 0.62rem 0.85rem 0.62rem 2rem; border-radius: 9px; cursor: pointer;
  color: var(--ink-2); font-size: 0.98rem; line-height: 1.3;
  transition: background 0.18s, color 0.18s;
}
.select-option::before {
  content: ""; position: absolute; left: 0.85rem; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50% 50% 2px 2px / 60% 60% 3% 3%; /* motivo de arco (marca) */
  background: var(--gold); opacity: 0; transform: scale(0.4); transition: opacity 0.18s, transform 0.18s;
}
.select-option:hover, .select-option.active { background: var(--linen); color: var(--ink); }
.select-option[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.select-option[aria-selected="true"]::before { opacity: 1; transform: scale(1); }

.wa-ico svg { width: 20px; height: 20px; }
.form-hint { font-size: 0.82rem; color: var(--ink-2); text-align: center; margin-top: 0.9rem; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #23201A 0%, #1B1813 100%);
  color: #C9C1B2;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.8rem;
  border-top: 1px solid rgba(216,188,133,0.14);
}
/* Traço dourado no topo + brilho quente ao fundo (motivo do arco) */
.site-footer::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.footer-glow {
  position: absolute; z-index: -1; top: -40%; left: 50%; transform: translateX(-50%);
  width: min(760px, 90%); aspect-ratio: 1.6 / 1;
  background: radial-gradient(ellipse at center, rgba(179,137,76,0.20), transparent 68%);
  pointer-events: none;
}

/* ---- Faixa de convite (CTA) ---- */
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.4rem 2.5rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.5rem, 4vw, 2.6rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.4rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216,188,133,0.10), rgba(216,188,133,0.03));
  border: 1px solid rgba(216,188,133,0.18);
  box-shadow: inset 0 1px 0 rgba(255,253,248,0.04);
}
.footer-cta .eyebrow { margin-bottom: 0.5rem; }
.footer-cta-title { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3.2vw, 2.15rem); color: #fff; max-width: 20ch; }
.footer-cta-title .italic { color: var(--gold-l); font-weight: 300; }
.footer-cta-btn { flex-shrink: 0; }

/* ---- Colunas ---- */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 2.5rem 3rem;
  padding-bottom: clamp(2rem, 4vw, 2.8rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 34ch; }
.footer-logo {
  width: 60px; height: 70px; object-fit: contain; flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.26));
}
.footer-signature { font-family: var(--serif); font-size: 1.28rem; line-height: 1.3; color: #fff; }
.footer-signature .italic { color: var(--gold-l); font-weight: 300; }
.footer-tag { font-size: 0.9rem; line-height: 1.6; color: #948B7B; }

.footer-col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col-title {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l);
  margin-bottom: 0.35rem;
}
.footer-col a { font-size: 0.94rem; color: #C9C1B2; width: fit-content; transition: color 0.25s, transform 0.25s; }
.footer-col a:hover { color: var(--gold-l); }
.footer-nav a:hover, .footer-col:not(.footer-contact) a:hover { transform: translateX(3px); }

.footer-contact a, .footer-address {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.94rem; color: #C9C1B2;
}
.footer-contact svg, .footer-address svg { flex-shrink: 0; color: var(--gold-l); opacity: 0.85; }
.footer-address { color: #948B7B; }

/* ---- Base ---- */
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 0.6rem 1.5rem; padding-top: 1.6rem; font-size: 0.83rem; color: #857D6E;
}
.footer-credit { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-credit a { display: inline-flex; align-items: center; opacity: 0.85; transition: opacity 0.25s; }
.footer-credit a:hover { opacity: 1; }
.footer-openleads { height: 22px; width: auto; display: block; }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,0.45); transition: transform 0.3s var(--ease); opacity: 0; transform: scale(0.6) translateY(20px); pointer-events: none; }
.wa-float.show { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; animation: waPulse 2.6s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse {
  0%   { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
/* bolinha "online" no botão */
.wa-online {
  position: absolute; top: 0; right: 0; width: 15px; height: 15px; box-sizing: border-box;
  border-radius: 50%; background: #5ef08f; border: 2.5px solid #123b22;
}
/* balãozinho de mensagem */
.wa-bubble {
  position: fixed; right: 20px; bottom: 88px; z-index: 91; width: 250px;
  background: #fff; border-radius: 16px 16px 4px 16px; padding: 0.9rem 1rem 0.95rem;
  box-shadow: 0 18px 44px rgba(20,17,12,0.24);
  opacity: 0; transform: translateY(12px) scale(0.92); transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); pointer-events: none;
}
.wa-bubble[hidden] { display: none; }
.wa-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-bubble::after {
  content: ""; position: absolute; bottom: -6px; right: 26px; width: 16px; height: 16px;
  background: #fff; transform: rotate(45deg); border-radius: 0 0 5px 0;
}
.wa-bubble-link { display: block; text-decoration: none; color: inherit; }
.wa-bubble-head {
  display: flex; align-items: center; gap: 0.42rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #1a9750; margin-bottom: 0.35rem;
}
.wa-bubble-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #25D366; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55); animation: waDot 1.8s infinite;
}
@keyframes waDot {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-bubble-msg { display: block; font-family: var(--sans); font-size: 0.9rem; line-height: 1.42; color: #3a3630; }
.wa-emoji { width: 1.15em; height: 1.15em; vertical-align: -0.24em; display: inline-block; }
.wa-bubble-x {
  position: absolute; top: 5px; right: 7px; width: 22px; height: 22px; padding: 0; border: none; cursor: pointer;
  background: none; color: #bcae95; font-size: 1.25rem; line-height: 1; border-radius: 50%;
  display: grid; place-items: center; transition: color 0.2s, background 0.2s;
}
.wa-bubble-x:hover { color: #6b6250; background: rgba(0,0,0,0.06); }

/* =========================================================
   REVELAÇÃO
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1040px) {
  .nav-list a { padding-inline: 0.72rem; }
}

@media (max-width: 860px) {
  .site-header { padding-block: 0.6rem; }
  .header-inner {
    display: flex;
    align-items: center;
    width: min(calc(100% - 1rem), var(--container));
    height: 64px;
    gap: 0.6rem;
    padding: 0 0.55rem 0 0.85rem;
    border-radius: 18px;
  }
  .site-header[data-scrolled] .header-inner { height: 60px; }
  .brand { margin-right: auto; }
  .brand-mark { width: 50px; height: 50px; }
  .site-header[data-scrolled] .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.14rem; }
  .brand-tag { font-size: 0.56rem; letter-spacing: 0.16em; }

  .nav, .header-actions { display: none; }
  .nav-pill { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  /* backdrop-filter cria bloco de contenção p/ position:fixed;
     desliga com o menu aberto para o overlay cobrir a tela inteira */
  .site-header.menu-open .header-inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  /* ---- Menu full-screen ---- */
  .site-header.menu-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    pointer-events: auto;
    background:
      radial-gradient(72% 46% at 50% 14%, rgba(216,188,133,0.18), transparent 70%),
      linear-gradient(168deg, #2C382E 0%, #1F2C21 100%);
    animation: menuFade 0.4s var(--ease);
  }
  .site-header.menu-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    counter-reset: navi;
  }
  .site-header.menu-open .nav-list li {
    border-top: 1px solid rgba(216,188,133,0.16);
    opacity: 0;
    transform: translateY(18px);
    animation: navItemIn 0.55s var(--ease) forwards;
  }
  .site-header.menu-open .nav-list li:last-child {
    border-bottom: 1px solid rgba(216,188,133,0.16);
  }
  .site-header.menu-open .nav-list li:nth-child(1) { animation-delay: 0.10s; }
  .site-header.menu-open .nav-list li:nth-child(2) { animation-delay: 0.16s; }
  .site-header.menu-open .nav-list li:nth-child(3) { animation-delay: 0.22s; }
  .site-header.menu-open .nav-list li:nth-child(4) { animation-delay: 0.28s; }
  .site-header.menu-open .nav-list li:nth-child(5) { animation-delay: 0.34s; }
  .site-header.menu-open .nav-list a {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    color: rgba(255,253,248,0.92);
    padding: 1.05rem 0.3rem;
    border-radius: 0;
    transition: color 0.3s var(--ease), padding-left 0.35s var(--ease);
  }
  .site-header.menu-open .nav-list a::before {
    counter-increment: navi;
    content: "0" counter(navi);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold-l);
    opacity: 0.65;
    transform: translateY(-0.55em);
  }
  .site-header.menu-open .nav-list a:hover,
  .site-header.menu-open .nav-list a.active {
    color: var(--gold-l);
    padding-left: 1.1rem;
  }

  /* Logo no topo do overlay */
  .site-header.menu-open .brand { position: relative; z-index: 106; }
  .site-header.menu-open .brand-text { display: none; }

  /* Ações no rodapé do overlay */
  .site-header.menu-open .header-actions {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: 2.6rem;
    transform: translateX(-50%);
    z-index: 106;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: min(84vw, 320px);
    pointer-events: auto;
  }
  .site-header.menu-open .header-phone {
    display: inline-flex;
    justify-content: center;
    gap: 0.55rem;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }
  .site-header.menu-open .header-phone span { display: inline; }
  .site-header.menu-open .header-phone svg { color: var(--gold-l); }
  .site-header.menu-open .nav-cta { width: 100%; }

  /* Hambúrguer vira X */
  .site-header.menu-open .nav-toggle { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
  .site-header.menu-open .nav-toggle span { background: #fff; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes navItemIn { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero h1 { font-size: 3.7rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .values-modern { grid-template-columns: 1fr; gap: 2.2rem; }
  .diff-inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .diff-figure { width: 100%; max-width: 400px; margin-inline: auto; }
  .diff-content { max-width: 640px; margin-inline: auto; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .g-a { grid-column: 1 / -1; grid-row: auto; }
  .g-b, .g-c, .g-d, .g-e { grid-column: auto; grid-row: auto; }
  .g-f { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    background-position: 55% center;
    padding: 8.6rem 0 5rem;
  }
  .hero-copy { max-width: 340px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-lead { max-width: 31ch; font-size: 1.02rem; }
  .hero-actions { width: 100%; gap: 0.85rem; margin-bottom: 2rem; }
  .hero .btn { width: 100%; max-width: 320px; min-width: 0; white-space: normal; }
  .hero-micro { flex-direction: column; align-items: center; gap: 0.55rem; }
  .diff-content h2 { font-size: clamp(1.8rem, 7.2vw, 2.3rem); }
  .diff-figure { max-width: 330px; }

  .care-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .momentos-reel { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.6rem; }
  .reel-copy { max-width: 44ch; }
  .momentos-mural { flex-wrap: wrap; padding-top: 0.5rem; }
  .momentos-mural::before { display: none; }
  .polaroid { --tilt: 0deg !important; margin-top: 0 !important; flex: 0 1 auto; width: clamp(148px, 40vw, 210px); max-width: none; }
  .polaroid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-l); }
  .footer-cta { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-cta-btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .brand-mark { width: 46px; height: 46px; }
  .site-header[data-scrolled] .brand-mark { width: 43px; height: 43px; }
  .brand-name { font-size: 1.06rem; }
  .brand-tag { display: none; }
  .hero { padding: 8.1rem 0 4.75rem; }
  .hero-copy { max-width: 320px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-actions .btn-lg { width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gallery { grid-template-columns: 1fr; gap: 0.9rem; }
  .g-a, .g-b, .g-c, .g-d, .g-e, .g-f { grid-column: 1; }
  .values-grid { gap: 0.9rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .team-photo, .frame { transition: none; }
  .v-marquee { animation: none; flex-wrap: wrap; justify-content: center; }
}
