/* ==========================================================================
   Athos Documentos — LP Vigilância Sanitária (CMVS)
   Hosting: Turbo Cloud shared — vanilla HTML/CSS/JS
   Fonts: auto-hospedadas em assets/fonts/ (Playfair Display + DM Sans)
   ========================================================================== */

/* ─── @font-face — auto-hospedado ──────────────────────────────── */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/playfair-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Reset & Base ─────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--athos-gold) var(--athos-ink);
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--athos-ink); }
html::-webkit-scrollbar-thumb {
  background: var(--athos-gold);
  border-radius: 3px;
}
html::-webkit-scrollbar-thumb:hover { background: var(--gold-300); }

body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--athos-bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

/* ─── Design System Tokens ──────────────────────────────────────── */

:root {
  /* Brand palette */
  --athos-gold:  #c2ac52;
  --athos-navy:  #090B35;
  --athos-ink:   #06071F;
  --athos-bone:  #F5F3EE;

  /* Extended scales */
  --gold-300:    #d2bd56;
  --gold-400:    #c2ac52;
  --gold-500:    #9c8a30;
  --gold-600:    #7a6c25;
  --bone-50:     #FBFAF6;
  --bone-200:    #EAE6DB;
  --bone-300:    #D8D2BF;
  --navy-800:    #11144a;
  --navy-700:    #1c2063;
  --navy-300:    #7a80b8;
  --navy-200:    #b1b5d2;
  --navy-100:    #d8dae9;

  /* Semantic foreground */
  --fg-1:           var(--athos-navy);
  --fg-2:           #2a2d4a;
  --fg-3:           #5b5f78;
  --fg-muted:       #8a8da3;
  --fg-on-dark-1:   var(--athos-bone);
  --fg-on-dark-2:   #c8cadb;
  --fg-on-dark-3:   #8a8da3;
  --fg-on-gold:     var(--athos-ink);

  /* Rules */
  --rule-light:         rgba(9, 11, 53, 0.09);
  --rule-mid:           rgba(9, 11, 53, 0.16);
  --rule-on-dark-light: rgba(245, 243, 238, 0.09);
  --rule-on-dark-mid:   rgba(245, 243, 238, 0.16);
  --rule-gold:          rgba(194, 172, 82, 0.40);

  /* Shadows */
  --shadow-sm:   0 4px 12px rgba(9, 11, 53, 0.10), 0 1px 3px rgba(9, 11, 53, 0.06);
  --shadow-md:   0 14px 32px rgba(9, 11, 53, 0.14), 0 4px 10px rgba(9, 11, 53, 0.08);
  --shadow-gold: 0 16px 40px rgba(194, 172, 82, 0.24), 0 4px 12px rgba(194, 172, 82, 0.16);

  /* Typography */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, "Segoe UI", system-ui, sans-serif;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* Spacing — fluid with clamp() */
  --space-section:      clamp(72px, 9vw, 128px);
  --space-section-sm:   clamp(48px, 6vw, 96px);
  --space-section-hero: clamp(96px, 11vw, 148px);
  --space-content:      clamp(32px, 4vw, 64px);
  --space-element:      clamp(16px, 2.5vw, 32px);
  --space-tight:        clamp(10px, 1.5vw, 18px);
  --container-max:      1280px;
  --container-px:       clamp(24px, 5vw, 80px);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
}

/* ─── Layout ────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ─── Typography Utilities ──────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--athos-gold);
  line-height: 1;
}

.eyebrow--dark { color: var(--navy-300); }

.gold-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--athos-gold);
  border: none;
  margin-block: 20px;
}

.gold-rule--center { margin-inline: auto; }

/* ─── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.22s var(--ease-out), color 0.22s var(--ease-out),
              transform 0.15s var(--ease-out), box-shadow 0.22s var(--ease-out);
  padding: 14px 28px;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--athos-gold);
  color: var(--athos-ink);
}

.btn-primary:hover {
  background: var(--gold-300);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--athos-gold);
  border: 1.5px solid rgba(194, 172, 82, 0.45);
}

.btn-secondary:hover {
  background: rgba(194, 172, 82, 0.08);
  border-color: var(--athos-gold);
}

.btn-lg {
  font-size: 16px;
  padding: 18px 36px;
}

.btn-full { width: 100%; }

/* WhatsApp icon in button */
.btn-wa::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── Header ────────────────────────────────────────────────────── */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--athos-navy);
  border-bottom: 1.5px solid var(--rule-gold);
  /* Começa oculto acima da tela */
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

#site-header.header-visible {
  transform: translateY(0);
}

#site-header.header-visible.scrolled {
  box-shadow:
    0 1px 0 rgba(194, 172, 82, 0.22),
    0 8px 32px rgba(6, 7, 31, 0.60);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 35px; width: auto; }

/* ─── Section: Hero ─────────────────────────────────────────────── */

#hero {
  position: relative;
  background: var(--athos-ink) url('assets/hero-bg.webp') center center / cover no-repeat;
  padding-top: var(--space-section-hero);
  padding-bottom: var(--space-section-hero);
  overflow: hidden;
}

/* Overlay escuro — mais denso à esquerda (texto) e abre à direita (imagem respira) */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(6, 7, 31, 0.92) 0%,
      rgba(6, 7, 31, 0.80) 40%,
      rgba(6, 7, 31, 0.55) 70%,
      rgba(6, 7, 31, 0.35) 100%
    );
  pointer-events: none;
}

/* Noise texture sutil para texturizar a imagem */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}

#hero .container {
  max-width: none;
  margin-inline: 0;
  /* padding-left espelha exatamente onde o container padrão começa o conteúdo */
  padding-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
  padding-right: var(--container-px);
}

.hero-watermark {
  position: absolute;
  left: -14%;
  top: 50%;
  /* --wm-tx / --wm-ty são controlados pelo JS no scroll */
  transform: translateY(calc(-50% + var(--wm-ty, 0px))) translateX(var(--wm-tx, 0px));
  z-index: 0;
  width: min(60vw, 620px);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.hero-watermark svg {
  width: 100%;
  height: auto;
  fill: var(--athos-bone);
}

@keyframes float-watermark {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-18px); }
  100% { transform: translateY(0px); }
}

.garantia-watermark {
  position: absolute;
  right: 10%;
  top: -220px;
  z-index: 0;
  width: min(58vw, 580px);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  animation: float-watermark 8s ease-in-out infinite;
}

.garantia-watermark svg {
  width: 100%;
  height: auto;
  fill: var(--athos-ink);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-content .eyebrow { margin-bottom: 0; }

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--athos-bone);
  margin-bottom: var(--space-element);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--athos-gold);
}

.hero-content .lead {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--fg-on-dark-2);
  max-width: 620px;
  margin-bottom: var(--space-content);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--fg-on-dark-3);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.trust-bar {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--rule-on-dark-light);
}

.trust-bar span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-on-dark-3);
  font-weight: 500;
}

.trust-bar .sep {
  color: var(--rule-gold);
  letter-spacing: 0;
  font-weight: 400;
}

/* ─── Section: Garantia Strip ───────────────────────────────────── */

.garantia-strip {
  position: relative;
  background: var(--athos-gold);
  padding-block: clamp(40px, 5vw, 72px);
  text-align: center;
}

.garantia-strip .gold-rule {
  background: rgba(6, 7, 31, 0.30); /* ink sobre fundo dourado */
}

.garantia-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(6, 7, 31, 0.55);
  margin-bottom: 16px;
}

.garantia-strip h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--athos-ink);
  margin-bottom: 16px;
}

.garantia-desc {
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(6, 7, 31, 0.70);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ─── Section: Quem Precisa ─────────────────────────────────────── */

#quem-precisa {
  position: relative;
  overflow: visible;
  background: var(--bone-50);
  padding-block: var(--space-section);
}

#quem-precisa h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--athos-navy);
  margin-bottom: var(--space-tight);
}

#quem-precisa .section-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--fg-3);
  max-width: 600px;
  margin-bottom: var(--space-content);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: var(--space-content);
}

.segment-card {
  background: #fff;
  border: 1.5px solid var(--rule-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.segment-card:hover {
  border-color: var(--rule-gold);
  box-shadow: var(--shadow-sm);
}

.segment-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(194, 172, 82, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.segment-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--athos-gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.segment-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.35;
}

.warning-box {
  background: rgba(194, 172, 82, 0.08);
  border: 1px solid rgba(194, 172, 82, 0.30);
  border-left: 3px solid var(--athos-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.warning-box-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gold-500);
}

.warning-box p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}

.warning-box strong {
  color: var(--fg-2);
  font-weight: 700;
}

/* ─── Section: Incluído ─────────────────────────────────────────── */

#incluido {
  background: var(--athos-navy);
  padding-block: var(--space-section);
}

.incluido-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.incluido-content { min-width: 0; }

.incluido-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.incluido-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.55));
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center bottom;
}

#incluido .eyebrow { color: var(--navy-300); }

#incluido h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--athos-bone);
  margin-bottom: var(--space-content);
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-on-dark-light);
}

.checklist li:last-child { border-bottom: none; }

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(194, 172, 82, 0.15);
  border: 1.5px solid rgba(194, 172, 82, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-icon svg {
  width: 11px;
  height: 11px;
  stroke: var(--athos-gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist-text {
  flex: 1;
}

.checklist-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--athos-bone);
  margin-bottom: 2px;
}

.checklist-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-on-dark-3);
}

.incluido-cta {
  margin-top: var(--space-content);
  padding-top: var(--space-content);
  border-top: 1px solid var(--rule-on-dark-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.incluido-cta-text {
  font-size: 15px;
  color: var(--fg-on-dark-2);
  line-height: 1.5;
}

.incluido-cta-text strong {
  color: var(--athos-gold);
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ─── Section: Processo ─────────────────────────────────────────── */

#processo {
  background: var(--athos-ink);
  padding-block: var(--space-section);
}

#processo .eyebrow { color: var(--navy-300); }

#processo h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--athos-bone);
  margin-bottom: var(--space-content);
}

/* ── Linha do tempo horizontal ───────────────────────────────── */

.steps {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

/* Linha de conexão correndo atrás dos círculos */
.steps::before {
  content: "";
  position: absolute;
  top: 23px; /* centro do círculo (48px / 2 = 24px, -1px para centralizar) */
  left: calc(48px / 2);
  right: calc(48px / 2);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(194, 172, 82, 0.30) 8%,
    rgba(194, 172, 82, 0.30) 92%,
    transparent
  );
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px 0 0;
  position: relative;
}

.step:last-child { padding-right: 0; }

.step-num {
  position: relative;
  z-index: 1; /* fica acima da linha */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 172, 82, 0.45);
  background: var(--athos-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.step-num span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--athos-gold);
  line-height: 1;
}

.step-body {}

.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--athos-bone);
  margin-bottom: 8px;
  line-height: 1.35;
}

.step-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fg-on-dark-2);
}

.step-desc strong {
  color: var(--athos-gold);
  font-weight: 700;
}

/* ── steps-scroll: wrapper fora do container ─────────────────── */

/* Fora do carrossel: comporta-se como container normal */
.steps-scroll {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  margin-top: clamp(32px, 4vw, 56px);
}

/* ── Carrossel: entre mobile e desktop largo ─────────────────── */

@media (min-width: 769px) and (max-width: 1366px) {
  /* wrapper só ocupa largura total, sem overflow */
  .steps-scroll {
    max-width: none;
    margin-inline: 0;
    padding: 0;
    width: 100%;
  }

  /* scroll no flex container — margin-left no primeiro item garante indent cross-browser */
  .steps {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* scroll-padding-left mantém snap alinhado com o margin do primeiro item */
    scroll-padding-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    width: 100%;
    padding-right: var(--container-px);
    padding-bottom: 12px;
    /* fade na direita sinaliza que tem mais conteúdo */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }

  /* Linha global do ::before só cobre o viewport visível — esconde e substitui por linhas por step */
  .steps::before { display: none; }

  .steps::-webkit-scrollbar { display: none; }

  .step {
    min-width: 260px;
    flex: 0 0 260px;
    scroll-snap-align: start;
    padding-right: 32px;
    position: relative;
  }

  /* margin-left no primeiro item cria espaço scrollável antes dele (padding-left no container não garante isso) */
  .step:first-child {
    margin-left: max(var(--container-px), calc((100vw - var(--container-max)) / 2 + var(--container-px)));
  }

  /* Linha de conexão por step: vai do círculo atual até o início do próximo (260px - 48px = 212px) */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px; /* centro do círculo */
    left: 48px; /* borda direita do círculo */
    width: 212px; /* cobre exatamente até o próximo círculo */
    height: 1px;
    background: rgba(194, 172, 82, 0.30);
  }

  .step:last-child { padding-right: 0; }
}

/* ── Mobile: vertical ────────────────────────────────────────── */

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 0;
  }

  .steps::before { display: none; }

  .step {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 0 0 28px 0;
    position: relative;
  }

  .step:last-child { padding-bottom: 0; }

  /* Linha vertical no mobile */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 1px;
    background: rgba(194, 172, 82, 0.25);
  }

  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-body { padding-top: 4px; }

  .step-title { font-size: 16px; }
  .step-desc  { font-size: 14px; }
}

/* ─── Section: Dados / Stats ────────────────────────────────────── */

#dados {
  background: var(--athos-bone);
  padding-block: var(--space-section);
}

#dados .section-header {
  margin-bottom: var(--space-content);
}

#dados h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--athos-navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: var(--space-content);
}

.stat-card {
  background: #fff;
  border: 1px solid var(--rule-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--athos-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover::before { opacity: 1; }

.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--athos-navy);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-value span {
  color: var(--athos-gold);
}

.stat-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-note {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.5;
}

.market-note {
  background: var(--athos-navy);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.market-note-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(194, 172, 82, 0.15);
  border: 1.5px solid rgba(194, 172, 82, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-note-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--athos-gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-note-body {}

.market-note-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--athos-bone);
  margin-bottom: 6px;
}

.market-note-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-on-dark-2);
}

/* ─── Section: FAQ ──────────────────────────────────────────────── */

#faq {
  background:
    linear-gradient(to right,
      var(--bone-50) 30%,
      rgba(245, 243, 238, 0.72) 60%,
      rgba(245, 243, 238, 0.40) 100%),
    url('assets/faq.webp') right center / cover no-repeat;
  padding-block: var(--space-section);
}

#faq .section-header {
  margin-bottom: var(--space-content);
}

#faq h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--athos-navy);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--rule-mid);
}

.faq-item:first-child { border-top: 1px solid var(--rule-mid); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--athos-navy);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold-500); }

.faq-question.active { color: var(--gold-500); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--rule-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease-out);
  color: var(--fg-3);
}

.faq-question.active .faq-icon {
  border-color: var(--athos-gold);
  background: rgba(194, 172, 82, 0.10);
  transform: rotate(45deg);
  color: var(--athos-gold);
}

.faq-icon svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s;
  opacity: 0;
}

.faq-answer.open {
  opacity: 1;
}

.faq-answer-inner {
  padding-bottom: 20px;
}

.faq-answer-inner p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-3);
}

/* ─── Section: CTA Final ────────────────────────────────────────── */

#cta-final {
  background: var(--athos-ink);
  padding-block: var(--space-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(194, 172, 82, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

#cta-final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--athos-bone);
  margin-bottom: 16px;
}

#cta-final h2 em {
  font-style: italic;
  color: var(--athos-gold);
}

#cta-final .cta-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--fg-on-dark-2);
  line-height: 1.65;
  margin-bottom: var(--space-content);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-meta {
  font-size: 12.5px;
  color: var(--fg-on-dark-3);
  letter-spacing: 0.04em;
}

/* ─── Footer ────────────────────────────────────────────────────── */

footer {
  background: var(--athos-ink);
  border-top: 1px solid var(--rule-on-dark-light);
  padding-block: clamp(40px, 5vw, 64px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-content);
}

.footer-brand .footer-logo { height: 28px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 13px;
  color: var(--fg-on-dark-3);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-regs {
  font-size: 11.5px;
  color: var(--fg-on-dark-3);
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--athos-gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  font-size: 13px;
  color: var(--fg-on-dark-3);
  line-height: 1.5;
}

.footer-links a {
  color: var(--fg-on-dark-3);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--athos-bone); }

.footer-bottom {
  margin-top: var(--space-content);
  padding-top: 24px;
  border-top: 1px solid var(--rule-on-dark-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-on-dark-3);
  opacity: 0.55;
}

.footer-site-link {
  font-size: 12px;
  color: var(--fg-on-dark-3);
  opacity: 0.55;
  transition: opacity 0.2s;
}

.footer-site-link:hover { opacity: 0.9; }

/* ─── Scroll Reveal Animations ──────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Delays só na entrada — saída é imediata (sem delay) */
.reveal.visible.reveal-delay-1 { transition-delay: 0.08s; }
.reveal.visible.reveal-delay-2 { transition-delay: 0.16s; }
.reveal.visible.reveal-delay-3 { transition-delay: 0.24s; }
.reveal.visible.reveal-delay-4 { transition-delay: 0.32s; }
.reveal.visible.reveal-delay-5 { transition-delay: 0.40s; }
.reveal.visible.reveal-delay-6 { transition-delay: 0.48s; }
.reveal.visible.reveal-delay-7 { transition-delay: 0.56s; }
.reveal.visible.reveal-delay-8 { transition-delay: 0.64s; }

/* ─── Responsive ────────────────────────────────────────────────── */

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

  .incluido-visual {
    order: -1; /* sobe para o topo da seção */
    justify-content: center;
    margin-bottom: clamp(20px, 4vw, 36px);
  }

  .incluido-visual img {
    max-width: 300px;
    transform: perspective(700px) rotateX(10deg) rotateY(6deg);
    transform-origin: center center;
  }
}

@media (max-width: 1439px) {
  .hero-watermark { display: none; }

  /* Watermark das seções garantia/quem-precisa: contém na lateral sem scroll */
  .garantia-watermark {
    width: min(42vw, 420px);
    right: 0; /* flush à borda direita — não pode extravazar */
    top: -60px; /* sobe só um pouco para a faixa dourada, maior parte no quem-precisa */
  }

  /* clip-x impede scroll lateral sem criar BFC (overflow-x: hidden criaria) */
  .garantia-strip,
  #quem-precisa {
    overflow-x: clip;
  }
}

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

@media (max-width: 640px) {
  #faq {
    background-image:
      linear-gradient(to bottom,
        rgba(245, 243, 238, 0.10) 50%,
        var(--bone-50) 90%),
      url('assets/faq-mobile.webp');
    background-size: 100% auto;
    background-position: center top;
    padding-top: 300px;
  }

  #hero {
    background-image:
      linear-gradient(to bottom, transparent 55%, var(--athos-ink) 90%),
      url('assets/hero-bg-mobile.webp');
    background-size: 100% auto;
    background-position: center top;
    padding-top: 200px;
  }

  .header-inner { padding-block: 14px; }
  .logo { height: 34px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .segments-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .segment-card { padding: 14px 12px; gap: 10px; }

  /* .step já tratado no bloco @media (max-width: 768px) acima */

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .incluido-cta { flex-direction: column; }
  .incluido-cta .btn { width: 100%; justify-content: center; }

  .market-note { flex-direction: column; gap: 14px; }

  .cta-group { flex-direction: column; }
  .cta-group .btn { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .segments-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 8px 12px; }
  .trust-bar .sep { display: none; }
}
