/* =========================================================
   Dr. Ricardo Costi — Perícia Médica & Assistência Técnica
   Design System
   Paleta: Azul-marinho profundo + Dourado  |  Tipografia: Cinzel / Playfair / Inter
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Cores principais */
  --navy-900: #0b1c33;
  --navy-800: #0e2340;
  --navy-700: #132c4f;
  --navy-600: #1b3a63;
  --navy-500: #27507f;

  --gold-700: #9c7c33;
  --gold-600: #b8924a;
  --gold-500: #c9a24b;
  --gold-400: #d8b86a;
  --gold-300: #e7d29a;

  --cream: #faf8f3;
  --cream-100: #f3efe6;
  --paper: #ffffff;

  --ink: #16233a;
  --ink-soft: #43546b;
  --ink-muted: #788396;
  --line: #e7e2d6;
  --line-soft: #efeae0;

  /* Tipografia */
  --font-brand: "Cinzel", "Times New Roman", serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaçamento / layout */
  --container: 1180px;
  --container-narrow: 880px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(11, 28, 51, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 28, 51, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 28, 51, 0.18);
  --shadow-gold: 0 14px 34px rgba(184, 146, 74, 0.30);

  /* Gradientes */
  --grad-navy: linear-gradient(155deg, #143058 0%, var(--navy-800) 48%, var(--navy-900) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 55%, var(--gold-700) 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold-500);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.text-gold { color: var(--gold-600); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.section-head h2 { margin-top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }

.btn--gold {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(184, 146, 74, 0.42); }

.btn--navy {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--navy:hover { transform: translateY(-3px); background: var(--navy-700); }

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-700); transform: translateY(-3px); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-3px); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.02rem; }

/* ---------- Header / Navegação ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding-block: 14px;
}
.header.scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img { height: 46px; width: auto; transition: filter 0.4s ease; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  transition: color 0.4s ease;
}
.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 4px;
}
/* Estado sobre o hero (header transparente) */
.header:not(.scrolled) .brand__name { color: #fff; }
.header:not(.scrolled) .nav__menu a { color: rgba(255,255,255,0.86); }
.header:not(.scrolled) .nav__toggle span { background: #fff; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}
.nav__mobile-head { display: none; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav__menu a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--gold-600); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta { margin-left: 0.5rem; }

/* Elementos exclusivos do menu mobile — ocultos no desktop */
.nav__desc, .nav__more, .nav__cta-note { display: none; }
.nav__footer { display: contents; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}
.nav__toggle span {
  width: 26px; height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--navy-800);}
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--navy-800);}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(102deg, rgba(9, 20, 37, 0.95) 0%, rgba(11, 28, 51, 0.84) 48%, rgba(14, 38, 66, 0.62) 100%),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 150px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero::before {
  /* textura sutil de brasão / luz dourada */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(201,162,75,0.18) 0%, rgba(201,162,75,0) 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(216, 184, 106, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-300);
  background: rgba(201, 162, 75, 0.08);
  margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(216,184,106,0.18); }
.hero h1 { color: #fff; }
.hero h1 .hl {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 24px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}
.hero__cta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__trust {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__trust .t {
  display: flex;
  flex-direction: column;
}
.hero__trust .t b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-300);
  font-weight: 600;
}
.hero__trust .t span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.66);
  letter-spacing: 0.02em;
}

/* Cartão / brasão no hero */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero__shield {
  width: min(360px, 80%);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
  animation: float 6s ease-in-out infinite;
}
.hero__ring {
  position: absolute;
  width: min(420px, 92%);
  aspect-ratio: 1;
  border: 1px solid rgba(216,184,106,0.28);
  border-radius: 50%;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px dashed rgba(216,184,106,0.18);
  border-radius: 50%;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* faixa de valores sob o hero */
.values-strip {
  position: relative;
  z-index: 3;
  background: var(--navy-900);
  border-top: 1px solid rgba(216,184,106,0.18);
}
.values-strip__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 48px;
  padding-block: 20px;
}
.values-strip span {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.values-strip span:not(:last-child)::after {
  content: "◆";
  color: rgba(216,184,106,0.45);
  font-size: 0.6rem;
}

/* ---------- Risco (seção dor) ---------- */
.risk { background: var(--cream); }
.risk__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.risk__list { display: grid; gap: 18px; }
.risk__item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid #d98b7d;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.risk__item .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  color: #c0584a;
}
.risk__item h4 { font-family: var(--font-body); font-size: 1.02rem; color: var(--navy-800); margin-bottom: 3px; }
.risk__item p { font-size: 0.95rem; margin: 0; }
.risk__solution {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.risk__solution .ic { color: var(--gold-400); flex-shrink: 0; width: 28px; height: 28px; margin-top: 2px; }
.risk__solution p { color: rgba(255,255,255,0.85); margin: 4px 0 0; font-size: 0.98rem; }
.risk__solution strong { color: var(--gold-300); }

/* ---------- Cards genéricos / grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: 0.97rem; margin: 0; }
.card__link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-700);
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Áreas de atuação (lista compacta) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.area {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.area .ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--cream-100);
  color: var(--gold-700);
  border: 1px solid var(--line);
}
.area .ic svg { width: 22px; height: 22px; }
.area h4 { font-family: var(--font-body); font-size: 1.02rem; color: var(--navy-800); margin-bottom: 2px; }
.area p { font-size: 0.87rem; margin: 0; }

/* ---------- Para quem (públicos) ---------- */
.publicos { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.publicos::before {
  content:"";
  position:absolute; bottom:-30%; left:-10%;
  width:600px; height:600px;
  background: radial-gradient(circle, rgba(201,162,75,0.14), transparent 65%);
}
.publicos .section-head h2 { color: #fff; }
.publicos .section-head .lead { color: rgba(255,255,255,0.74); }
.persona {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.45s var(--ease), background 0.45s ease, border-color 0.45s ease;
}
.persona:hover { transform: translateY(-8px); background: rgba(255,255,255,0.07); border-color: rgba(216,184,106,0.4); }
.persona__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-gold);
  color: var(--navy-900);
  margin-bottom: 20px;
}
.persona__icon svg { width: 28px; height: 28px; }
.persona h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.persona ul { display: grid; gap: 12px; }
.persona li {
  display: flex; gap: 11px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
}
.persona li svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }

/* ---------- Sobre ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__photo {
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about__photo img { width: 70%; opacity: 0.95; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); }
/* foto real do médico preenchendo o quadro */
.about__photo--real { background: var(--cream-100); }
.about__photo--real img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 1; filter: none; }
.about__photo .ph-note {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.about__badge {
  position: absolute;
  bottom: -22px; right: -18px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  text-align: center;
}
.about__badge b { display:block; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-600); }
.about__badge span { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.04em; }

.about__content h2 { margin: 14px 0 18px; }
.about__content p { margin-bottom: 16px; }
.about__creds {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about__creds li {
  display: flex; gap: 10px;
  font-size: 0.94rem;
  color: var(--navy-800);
  font-weight: 500;
}
.about__creds svg { width: 19px; height: 19px; color: var(--gold-600); flex-shrink: 0; margin-top: 3px; }
.about__sign {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.about__sign .name { font-family: var(--font-brand); font-weight: 700; letter-spacing: 0.06em; color: var(--navy-800); }
.about__sign .role { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Como funciona (timeline) ---------- */
.process { background: var(--cream-100); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
  opacity: 0.5;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step__num {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold-500);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s ease, color 0.4s ease;
}
.step:hover .step__num { background: var(--grad-gold); color: var(--navy-900); transform: scale(1.08); border-color: transparent; }
.step h4 { font-family: var(--font-body); font-size: 1.05rem; color: var(--navy-800); margin-bottom: 8px; }
.step p { font-size: 0.9rem; margin: 0; }

/* ---------- Diferenciais (ética / técnica / imparcialidade) ---------- */
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar {
  text-align: center;
  padding: 44px 32px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar__icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-100);
  border: 1px solid var(--gold-300);
  color: var(--gold-600);
}
.pillar__icon svg { width: 38px; height: 38px; }
.pillar h3 { font-family: var(--font-brand); letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 12px; }
.pillar p { font-size: 0.96rem; margin: 0; }

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--navy-900); color: #fff; }
.testimonials .section-head h2 { color: #fff; }
.testimonials .section-head .lead { color: rgba(255,255,255,0.74); }
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--gold-500);
  opacity: 0.55;
  height: 28px;
  display: block;
}
.quote p { color: rgba(255,255,255,0.86); font-size: 1rem; font-style: italic; margin-bottom: 22px; }
.quote__author { display: flex; align-items: center; gap: 14px; }
.quote__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.quote__author b { color: #fff; font-size: 0.95rem; display: block; }
.quote__author span { color: rgba(255,255,255,0.6); font-size: 0.83rem; }
.t-stars { color: var(--gold-400); display: flex; gap: 3px; margin-bottom: 14px; }
.t-stars svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.faq__item.open { box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: left;
}
.faq__q .pm {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  position: relative;
  transition: background 0.35s ease, transform 0.35s ease;
}
.faq__q .pm::before, .faq__q .pm::after {
  content:""; position:absolute; top:50%; left:50%;
  width: 12px; height: 2px;
  background: var(--gold-700);
  transform: translate(-50%,-50%);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}
.faq__q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item.open .pm { background: var(--grad-gold); }
.faq__item.open .pm::before, .faq__item.open .pm::after { background: var(--navy-900); }
.faq__item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq__a-inner { padding: 0 26px 24px; }
.faq__a-inner p { font-size: 0.98rem; margin: 0; }

/* ---------- CTA / Contato ---------- */
.cta-final {
  background: var(--grad-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content:"";
  position:absolute; top:-40%; right:-5%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,162,75,0.18), transparent 62%);
}
.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact__info .eyebrow { color: var(--gold-300); }
.contact__info h2 { color: #fff; margin: 16px 0 18px; }
.contact__info > p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.contact__methods { display: grid; gap: 16px; }
.contact__method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.contact__method:hover { transform: translateX(6px); border-color: var(--gold-400); background: rgba(255,255,255,0.08); }
.contact__method .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-gold);
  color: var(--navy-900);
  display: grid; place-items: center;
}
.contact__method .ic svg { width: 22px; height: 22px; }
.contact__method span { display:block; font-size: 0.8rem; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; }
.contact__method b { color: #fff; font-size: 1.05rem; font-weight: 600; }

/* Formulário */
.contact__form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}
.contact__form h3 { margin-bottom: 6px; }
.contact__form .form-sub { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 0.85rem; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,162,75,0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 22px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold-600); }

/* ---------- Footer ---------- */
.footer { background: #07172b; color: rgba(255,255,255,0.7); padding-top: 70px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand img { height: 54px; margin-bottom: 18px; }
.footer__brand p { font-size: 0.92rem; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer h5 {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 20px;
}
.footer ul { display: grid; gap: 11px; }
.footer ul a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.25s ease, padding 0.25s ease; }
.footer ul a:hover { color: var(--gold-300); padding-left: 4px; }
.footer__social { display: flex; gap: 12px; margin-top: 6px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}
.footer__social a:hover { background: var(--grad-gold); color: var(--navy-900); border-color: transparent; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom a:hover { color: var(--gold-300); }

/* Crédito do desenvolvedor */
.footer__credit-row {
  display: flex;
  justify-content: center;
  padding: 18px 0 28px;
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.3s ease;
}
.footer__credit-label {
  letter-spacing: 0.04em;
}
.footer__credit-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer__credit-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.footer__credit:hover .footer__credit-name { color: #ff5c95; }
.footer__credit:hover .footer__credit-logo { transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 16px rgba(255, 45, 122, 0.4); }

/* ---------- Botão fechar menu mobile (nível de body, acima do overlay) ---------- */
.nav__close {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1400;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--navy-800);
  border: 1px solid rgba(201, 162, 75, 0.4);
  box-shadow: 0 6px 16px rgba(11, 28, 51, 0.3);
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.menu-open .nav__close { display: grid; }
body.menu-open .nav__toggle { display: none; }
.nav__close:hover, .nav__close:active {
  transform: scale(1.06) rotate(90deg);
  background: var(--navy-700);
  border-color: var(--gold-500);
  box-shadow: 0 8px 22px rgba(11, 28, 51, 0.36);
}
.nav__close svg { width: 22px; height: 22px; display: block; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom) + 16px);
  z-index: 950;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s ease;
  animation: wa-pulse 2.6s infinite;
}
.wa-float:hover, .wa-float:active { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 0 0 0 rgba(37,211,102,0.34); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,0.38), 0 0 0 0 rgba(37,211,102,0); }
}
/* Esconde o WhatsApp quando o menu mobile está aberto (não competir com o CTA) */
body.menu-open .wa-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---------- Animação de revelação ----------
   Só esconde quando o JS está ativo (classe .js no <html>);
   sem JavaScript, todo o conteúdo permanece visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .hero__shield { width: 240px; }
  .about__grid { grid-template-columns: 1fr; gap: 70px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .steps::before { display: none; }
}

@media (max-width: 860px) {
  .grid-3, .grid-4, .areas-grid, .pillars__grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .risk__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .nav__toggle { display: flex; }

  /* ===== Menu full-screen premium ===== */
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1200;
    margin: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 28px max(28px, env(safe-area-inset-bottom) + 24px);
    background: #f8f6f0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav__links.open { opacity: 1; visibility: visible; }

  /* Cabeçalho: brasão + nome + frase institucional (entra com fade + slide down) */
  .nav__mobile-head {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
    padding-right: 56px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.55), transparent) 1;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }
  .nav__links.open .nav__mobile-head { opacity: 1; transform: none; }
  .nav__mobile-brand { display: flex; align-items: center; gap: 0.6rem; }
  .nav__mobile-brand img { height: 42px; width: auto; }
  .nav__mobile-brand span {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.05em;
    color: var(--navy-800) !important;
  }
  .nav__mobile-tagline {
    display: block;
    margin-top: 10px;
    max-width: 330px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(14, 35, 64, 0.6);
  }

  /* Itens com hierarquia premium: título serifado + microdescrição */
  .nav__menu {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding-top: clamp(14px, 3.5vh, 34px);
    overflow-y: auto;
  }
  .nav__menu a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .nav__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-800);
    transition: color 0.25s ease;
  }
  .nav__more { display: inline; }
  .nav__desc {
    display: block;
    margin-top: 3px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(14, 35, 64, 0.55);
  }
  /* separador: linha fina dourada com degradê horizontal */
  .nav__menu a::after {
    content: "";
    position: absolute;
    left: 14%; right: 14%;
    bottom: 0;
    width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 75, 0.55), transparent);
  }
  .nav__menu a:last-child::after { display: none; }
  .nav__menu a:hover .nav__title,
  .nav__menu a:active .nav__title { color: var(--gold-700); }

  .nav__links.open .nav__menu a { opacity: 1; transform: none; }
  .nav__links.open .nav__menu a:nth-child(1) { transition-delay: 0.14s; }
  .nav__links.open .nav__menu a:nth-child(2) { transition-delay: 0.20s; }
  .nav__links.open .nav__menu a:nth-child(3) { transition-delay: 0.26s; }
  .nav__links.open .nav__menu a:nth-child(4) { transition-delay: 0.32s; }
  .nav__links.open .nav__menu a:nth-child(5) { transition-delay: 0.38s; }

  /* Rodapé fixo do menu: CTA + nota (entra por último) */
  .nav__footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding-top: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease) 0.44s, transform 0.5s var(--ease) 0.44s;
  }
  .nav__links.open .nav__footer { opacity: 1; transform: none; }
  .nav__cta {
    margin: 0;
    width: 100%;
    padding: 1.15rem;
    font-size: 1.05rem;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(184, 146, 74, 0.34);
  }
  .nav__cta-note {
    display: block;
    margin-top: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(14, 35, 64, 0.55);
    text-align: center;
  }

  .header:not(.scrolled) .nav__menu a { color: var(--navy-800); }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .areas-grid, .pillars__grid, .t-grid, .steps, .about__creds, .form-row { grid-template-columns: 1fr; }
  .container { padding-inline: 24px; }

  /* Logo do topo melhor alinhada */
  .brand img { height: 42px; }
  .brand__tag { font-size: 0.58rem; }

  /* Hero mobile equilibrado */
  .hero { padding-top: 116px; padding-bottom: 60px; }
  .hero__inner { gap: 28px; }
  .hero__badge {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.85rem;
    margin-bottom: 18px;
    white-space: normal;
    flex-wrap: wrap;
    max-width: 100%;
    line-height: 1.45;
  }
  .hero h1 { font-size: 1.95rem; line-height: 1.18; }
  .hero__sub { font-size: 1.02rem; margin-top: 16px; line-height: 1.6; }
  .hero__cta { margin-top: 26px; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { margin-top: 28px; padding-top: 22px; gap: 18px 28px; }
  .hero__trust .t b { font-size: 1.45rem; }

  /* Brasão ~23% menor + círculos decorativos proporcionais */
  .hero__shield { width: 185px; }
  .hero__ring { width: min(280px, 76%); }
  .hero__ring::after { inset: 20px; }

  .footer__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
  .card, .persona, .contact__form { padding: 28px 22px; }

  /* WhatsApp: tamanho e distância segura no mobile */
  .wa-float {
    width: 58px; height: 58px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom) + 14px);
  }
}
