/* =========================================================
   Dra. Rafaella Tubertini — Médica Nutróloga
   Paleta e tipografia baseadas no folder da marca
   ========================================================= */

:root {
  /* Cores da marca */
  --cream: #f6f2ec;
  --sand: #ede7df;
  --paper: #fffdfa;
  --slate: #4e6273;
  --slate-dark: #34434f;
  --night: #2b3640;
  --ink: #3a4550;
  --muted: #5f6b76;
  --gold: #d4b750;
  --gold-light: #e8d08a;
  --gold-deep: #9a7b2a;
  --gold-text: #7e6420;
  --line: rgba(78, 98, 115, 0.16);
  --whatsapp: #25d366;

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --radius-lg: 30px;
  --header-h: 78px;
  --shadow-sm: 0 4px 18px rgba(52, 67, 79, 0.07);
  --shadow: 0 18px 50px rgba(52, 67, 79, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--slate-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p, li, blockquote { text-wrap: pretty; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--gold-deep);
}

h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
h3 { font-size: 1.35rem; }

strong { font-weight: 600; color: var(--slate-dark); }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--header-h) - 4px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--slate-dark);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Elementos base ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow--light { color: var(--gold-light); }
.ic-brilho { width: 13px; height: 13px; fill: var(--gold); flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, #e6cb6c 0%, #d4b750 45%, #bf9d50 100%);
  color: #2b2a22;
  box-shadow: 0 8px 22px rgba(191, 157, 80, 0.32);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(191, 157, 80, 0.42);
}

.btn-ghost {
  border-color: var(--slate);
  color: var(--slate-dark);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--slate);
  color: var(--cream);
  transform: translateY(-2px);
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}
.note--center { text-align: center; margin-top: 32px; }

.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 17px; height: 17px; fill: var(--gold); }

/* Ornamentos do folder */
.orn { position: absolute; pointer-events: none; }
.orn-slate { fill: var(--slate); }
.orn-gold { fill: var(--gold); }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes flutuar {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.08); }
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s, height 0.35s;
}
.site-header.is-scrolled {
  background: rgba(246, 242, 236, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(52, 67, 79, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { width: auto; height: 44px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.main-nav a:not(.btn) {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--slate-dark);
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.6px;
  background: var(--slate-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  background:
    linear-gradient(90deg, rgba(246, 242, 236, 0.94) 0%, rgba(246, 242, 236, 0.8) 42%, rgba(246, 242, 236, 0.1) 78%),
    url("../img/textura-marmore.webp") center / cover no-repeat,
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 32px;
  min-height: min(calc(100svh - var(--header-h)), 820px);
}

.hero-text { padding-block: 40px 72px; align-self: center; }

.hero h1 {
  font-size: clamp(2.35rem, 1.2rem + 3.3vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
}
.hero-proof li {
  display: flex;
  flex-direction: column;
  padding-inline: 28px;
  border-left: 1px solid rgba(78, 98, 115, 0.22);
}
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
}
.hero-proof span { font-size: 0.88rem; color: var(--muted); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 560px;
}

.hero-halo {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(480px, 100%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 208, 138, 0.6) 0%, rgba(232, 208, 138, 0.22) 48%, rgba(232, 208, 138, 0) 70%);
}
.hero-halo::before,
.hero-halo::after {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(212, 183, 80, 0.55);
  border-radius: 50%;
}
.hero-halo::after { inset: 9%; border-color: rgba(212, 183, 80, 0.3); }

.hero-photo {
  position: relative;
  width: min(420px, 92%);
  max-height: 640px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 40px rgba(52, 67, 79, 0.16));
}

.orn-hero-1 { width: 74px; height: 74px; top: 12%; left: 4%; animation: girar 60s linear infinite; }
.orn-hero-2 { width: 46px; height: 46px; top: 8%; right: 10%; animation: girar 45s linear infinite reverse; }
.orn-hero-3 { width: 34px; height: 34px; top: 46%; left: 0; animation: flutuar 6s ease-in-out infinite; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink);
}
.float-card--rating { flex-direction: column; align-items: flex-start; gap: 4px; left: 0; bottom: 120px; }
.float-card--online { right: 0; top: 34%; }
.float-card .dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

/* ---------- Faixa animada ---------- */

.ribbon {
  overflow: hidden;
  background: var(--slate);
  color: var(--cream);
  padding-block: 18px;
}
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: faixa 42s linear infinite;
}
.ribbon-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  white-space: nowrap;
}
.ribbon-track svg { width: 16px; height: 16px; fill: var(--gold); flex: none; }
@keyframes faixa { to { transform: translateX(calc(-50% - 14px)); } }

/* ---------- Seções ---------- */

.section { position: relative; padding-block: clamp(72px, 9vw, 124px); }

.section-head {
  max-width: 700px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.section-head > p:last-child { color: var(--muted); margin: 0; }
.section-head--left { text-align: left; margin: 0; }
.section-head--left .btn { margin-top: 24px; }

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.about-visual { position: relative; display: flex; justify-content: center; }
.about-visual::before {
  content: "";
  position: absolute;
  inset: 10% 6% 0;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(180deg, var(--sand) 0%, #e4dccf 100%);
}
.about-visual img { position: relative; width: min(427px, 100%); }
.orn-about-1 { width: 64px; height: 64px; top: 4%; left: 0; animation: girar 55s linear infinite; }
.orn-about-2 { width: 30px; height: 30px; bottom: 18%; right: 2%; animation: flutuar 7s ease-in-out infinite; }

.subtitle {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--slate);
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.checklist { display: grid; gap: 12px; margin: 28px 0 32px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 183, 80, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -20 40 40'%3E%3Cpath fill='%239a7b2a' d='M0-20C1.6-6.5 6.5-1.6 20 0 6.5 1.6 1.6 6.5 0 20-1.6 6.5-6.5 1.6-20 0-6.5-1.6-1.6-6.5 0-20Z'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.signature { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.signature img { width: 210px; }
.signature span { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted); }

.insta-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 26px;
  padding: 10px 20px 10px 14px;
  border: 1px solid rgba(78, 98, 115, 0.28);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--slate-dark);
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease);
}
.insta-link svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.insta-link strong { font-weight: 500; color: inherit; }
.insta-link:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--cream);
  transform: translateY(-2px);
}
.insta-link:hover svg { color: var(--gold-light); }

/* Áreas de atuação */
.areas { background: var(--sand); }

.areas-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.area-card h3 { margin-top: 20px; }
.area-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.area-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 183, 80, 0.16);
}
.area-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area-icon svg.fill { fill: var(--gold-deep); stroke: none; }

.area-card--feature {
  padding: clamp(32px, 4vw, 48px);
  border: 0;
  overflow: hidden;
  background: linear-gradient(150deg, #566b7d 0%, var(--slate) 45%, #3c4d5b 100%);
  color: rgba(246, 242, 236, 0.86);
}
.area-card--feature::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(212, 183, 80, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(212, 183, 80, 0.06);
}
.area-card--feature h3 { color: var(--paper); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); }
.area-card--feature p { color: rgba(246, 242, 236, 0.82); font-size: 1.02rem; }
.area-card--feature .area-icon { background: rgba(212, 183, 80, 0.2); }
.area-card--feature .area-icon svg { stroke: var(--gold-light); }
.area-card--feature ul { display: grid; gap: 8px; margin-top: 24px; }
.area-card--feature li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--cream);
}
.area-card--feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 1.5px;
  background: var(--gold);
}

/* Método */
.steps {
  counter-reset: passo;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: clamp(56px, 7vw, 88px);
}
.step {
  position: relative;
  padding-top: 30px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0 14px, var(--line) 14px);
}
.step:last-child::before { right: 0; }
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.why {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.why h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.why-text > p { color: var(--muted); }

.legend { display: grid; gap: 10px; margin: 26px 0 22px; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.swatch { width: 28px; height: 4px; border-radius: 4px; flex: none; }
.swatch--gold { background: #b8962e; }
.swatch--grey { background: #7a828a; }

.chart { margin: 0; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: rgba(78, 98, 115, 0.14); stroke-width: 1.5; }
.chart-axis line { stroke: var(--night); stroke-width: 2.5; }
.chart-ticks text {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  fill: var(--night);
  text-anchor: middle;
}
.chart-label { font-family: var(--font-sans); font-size: 20px; font-weight: 600; fill: var(--night); }
.chart-label--x { font-weight: 400; text-anchor: middle; }
.line { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.line--gold { stroke: #b8962e; }
.line--grey { stroke: #7a828a; stroke-width: 3.5; }
.dots--gold { fill: #b8962e; }
.dots--grey { fill: #7a828a; }

.js .why .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .why .dots { opacity: 0; transition: opacity 0.8s 1.6s; }
.js .why.is-visible .line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) 0.3s; }
.js .why.is-visible .dots { opacity: 1; }

/* História */
.story { background: var(--sand); overflow: hidden; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.story-text > p { color: var(--ink); }
.story-visual img { width: 100%; mix-blend-mode: multiply; }

.pull-quote {
  margin: 30px 0 0;
  padding: 6px 0 6px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.35;
  color: var(--slate-dark);
}

/* Resultados */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.result-card {
  display: block;
  width: 100%;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  text-align: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.result-card img { width: 100%; border-radius: 14px; }
.result-cap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-text);
}

/* Depoimentos */
.testimonials {
  background:
    linear-gradient(rgba(246, 242, 236, 0.6), rgba(246, 242, 236, 0.6)),
    url("../img/textura-marmore-suave.webp") center / cover no-repeat;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 28px;
}
.testimonial {
  position: relative;
  margin: 0;
  padding: 40px 32px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.testimonial::after {
  content: "\201D";
  position: absolute;
  right: 26px;
  bottom: -18px;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}
.testimonial blockquote {
  margin: 18px 0 26px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--slate-dark);
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.testimonial--highlight { border: 1.5px solid rgba(212, 183, 80, 0.7); transform: translateY(-18px); }

/* Atendimento online */
.online {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  background: linear-gradient(135deg, #566b7d 0%, var(--slate) 40%, var(--night) 100%);
  color: rgba(246, 242, 236, 0.85);
}
.online-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.online h2 { color: var(--paper); max-width: 18em; }
.online h2 em { color: var(--gold-light); }
.online p { max-width: 40em; }
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.countries li {
  padding: 7px 16px;
  border: 1px solid rgba(232, 208, 138, 0.45);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--cream);
}
.orn-online-1 { width: 150px; height: 150px; right: -40px; top: -90px; opacity: 0.14; animation: girar 80s linear infinite; }
.orn-online-2 { width: 34px; height: 34px; right: 22%; bottom: -30px; opacity: 0.8; animation: flutuar 6s ease-in-out infinite; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-serif);
  font-size: 1.14rem;
  color: var(--slate-dark);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1.6px;
  background: var(--gold-deep);
  transition: transform 0.35s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list details p { margin: 0 0 24px; padding-right: 40px; color: var(--muted); }
.faq-list a { color: var(--gold-text); font-weight: 500; }

/* Contato */
.contact {
  background:
    linear-gradient(rgba(246, 242, 236, 0.45), rgba(246, 242, 236, 0.45)),
    url("../img/textura-marmore.webp") center / cover no-repeat;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(28px, 4vw, 48px);
}
.contact-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.contact-logo { width: 210px; margin-bottom: 26px; }
.contact-card h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 28px; }

.wa-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--slate-dark); }
.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(78, 98, 115, 0.28);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e6273' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(212, 183, 80, 0.2);
}
.field input.is-invalid { border-color: #b4533c; box-shadow: 0 0 0 4px rgba(180, 83, 60, 0.12); }
.form-hint { margin: 0; text-align: center; font-size: 0.82rem; color: var(--muted); }

.info-list {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 250, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list div { display: grid; gap: 2px; line-height: 1.55; }
.info-list strong { font-family: var(--font-serif); font-size: 1.08rem; font-weight: 500; }
.info-list div > span,
.info-list div > a { color: var(--muted); font-size: 0.97rem; }
.info-list a { text-decoration: none; font-weight: 500; color: var(--slate-dark); }
.info-list a:hover { color: var(--gold-text); }
.info-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--slate);
  color: var(--gold-light);
}
.info-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.info-icon svg.solid { fill: currentColor; stroke: none; }

.map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--sand);
}
.map iframe { display: block; width: 100%; height: 300px; border: 0; filter: saturate(0.75); }

/* ---------- Rodapé ---------- */

.site-footer {
  background: var(--night);
  color: rgba(246, 242, 236, 0.72);
  padding-top: 64px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { width: 230px; margin-bottom: 20px; }
.footer-brand .crm { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--gold-light); }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a,
.footer-contact a { text-decoration: none; color: rgba(246, 242, 236, 0.8); transition: color 0.2s; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold-light); }
.footer-insta { display: inline-flex; align-items: center; gap: 8px; }
.footer-insta svg { width: 19px; height: 19px; color: var(--gold-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(246, 242, 236, 0.12);
  font-size: 0.82rem;
  color: rgba(246, 242, 236, 0.55);
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.wa-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-dark);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.wa-bubble img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.wa-float.show-bubble .wa-bubble,
.wa-float:hover .wa-bubble { opacity: 1; transform: none; }
.wa-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}
.wa-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulso 2.6s ease-out infinite;
}
.wa-btn svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover .wa-btn { transform: scale(1.06); }
@keyframes pulso {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  max-width: min(92vw, 640px);
  padding: 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.lightbox::backdrop { background: rgba(33, 41, 48, 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { width: 600px; max-width: 100%; border-radius: 14px; }
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--slate-dark);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox[open] { overflow: visible; }

/* ---------- Animações de entrada ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .testimonial--highlight[data-reveal].is-visible { transform: translateY(-18px); }

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .step:nth-child(3)::before { right: 0; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .menu-toggle { display: block; }
  .brand img { height: 34px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--cream);
    box-shadow: 0 24px 40px rgba(52, 67, 79, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { background: var(--cream); }
  .main-nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 20px; padding: 15px 22px; }

  .hero { background: linear-gradient(180deg, rgba(246, 242, 236, 0.9) 0%, rgba(246, 242, 236, 0.55) 60%, rgba(246, 242, 236, 0.25) 100%), url("../img/textura-marmore.webp") center / cover no-repeat, var(--cream); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding-block: 40px 24px; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; margin-bottom: 36px; }
  .hero-proof { justify-content: center; }
  .hero-visual { min-height: 0; padding-top: 24px; }
  .hero-photo { width: min(360px, 78%); }
  .hero-halo { bottom: 40px; width: min(400px, 92%); }

  .about-grid,
  .story-grid,
  .faq-grid,
  .contact-grid,
  .why { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin-inline: auto; }
  .story-visual { order: -1; max-width: 560px; margin-inline: auto; }
  .section-head--left { text-align: center; }

  .online-inner { grid-template-columns: 1fr; }
  .online-inner .btn { justify-self: start; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .testimonial--highlight,
  .js .testimonial--highlight[data-reveal].is-visible { transform: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .areas-featured,
  .results-grid { grid-template-columns: 1fr; }
  .results-grid { max-width: 420px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step {
    padding: 0 0 30px 64px;
    padding-top: 0;
  }
  .step::before {
    top: 8px;
    bottom: 0;
    left: 21px;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--line);
  }
  .step:last-child::before { display: none; }
  .step-num {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid rgba(212, 183, 80, 0.6);
    font-size: 1.05rem;
  }

  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .eyebrow--hero { flex-wrap: wrap; justify-content: center; row-gap: 4px; }
  .eyebrow--hero .sep { display: none; }
  .eyebrow--hero .crm { flex-basis: 100%; text-align: center; letter-spacing: 0.14em; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-wrap: nowrap; }
  .hero-proof li { flex: 1 1 0; padding-inline: 10px; }
  .hero-proof strong { font-size: 1.35rem; }
  .hero-proof span { font-size: 0.78rem; line-height: 1.35; }
  .float-card { font-size: 0.78rem; padding: 10px 12px; max-width: 170px; }
  .float-card--rating { bottom: 60px; }
  .float-card--online { display: none; }
  .orn-hero-1 { width: 52px; height: 52px; }
  .areas-grid { grid-template-columns: 1fr; }
  .testimonial { padding: 32px 24px 28px; }
  .chart-ticks text { font-size: 27px; }
  .chart-label { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-bubble { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-btn { width: 56px; height: 56px; }
  .online-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .why .line { stroke-dashoffset: 0; }
  .js .why .dots { opacity: 1; }
}
