/* ==========================================================================
   FG PRIME — Layout da landing page
   (depende de style.css)
   ========================================================================== */

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 10, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(9, 9, 10, 0.9); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 76px; }
.header__logo img { height: 34px; width: auto; }
.nav { display: none; align-items: center; gap: var(--sp-6); }
.nav a { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.nav a:hover { color: var(--gold-300); }
.header__cta { display: none; }
.nav-toggle {
  flex-shrink: 0;
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-6);
  border-top: 1px solid var(--line);
}
.mobile-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav a { padding: var(--sp-3) 0; font-size: var(--fs-md); color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: var(--sp-4); }

@media (min-width: 1120px) {
  .nav, .header__cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .header__logo img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 3vw, 5rem) 0; background: var(--grad-hero), var(--bg); }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 136, 48, 0.5), transparent);
}
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
.hero__copy { padding-bottom: var(--sp-8); }
.hero__copy .eyebrow { margin-bottom: var(--sp-5); }
.hero__title { font-size: var(--fs-hero); font-weight: 600; margin-bottom: var(--sp-5); max-width: 16ch; text-wrap: balance; }
.hero__title em { display: block; font-style: italic; font-weight: 500; }
.hero__lead { font-size: var(--fs-md); color: var(--text-muted); max-width: 52ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); }
.hero__trust-label { font-size: var(--fs-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-soft); }
.hero__trust-list { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; }
.hero__trust-list li { background: var(--grad-silver-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__trust-list li + li::before { content: "·"; margin-right: var(--sp-4); -webkit-text-fill-color: var(--gold-500); }

.hero__figure {
  position: relative; margin: 0 0 var(--sp-8); justify-self: center;
  width: min(100%, 480px); aspect-ratio: 1.2;
}
.hero__figure > img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__copy { padding-bottom: var(--sp-8); }
  .hero__figure { justify-self: end; width: min(100%, 480px); }
}

/* ---------- Faixa "para quem" ---------- */
.audience { border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.audience__grid { display: grid; gap: var(--sp-5); }
.audience__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.audience__item svg { width: 26px; height: 26px; flex: none; color: var(--gold-300); margin-top: 2px; }
.audience__item h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; margin-bottom: var(--sp-1); }
.audience__item p { font-size: var(--fs-sm); color: var(--text-muted); }
@media (min-width: 760px) { .audience__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); } }

/* ---------- Posicionamento + 7 diferenciais ---------- */
.positioning__grid { display: grid; gap: var(--sp-7); align-items: start; }
.positioning__statement { position: relative; padding-left: var(--sp-5); border-left: 2px solid var(--gold-500); }
.positioning__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-xl); line-height: var(--lh-snug); font-weight: 500; }
.positioning__statement p { margin-top: var(--sp-4); color: var(--text-muted); }
@media (min-width: 960px) {
  .positioning__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .positioning__statement { position: sticky; top: 110px; }
}
.diff-grid { display: grid; gap: var(--sp-4); }
.diff-item {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4);
  padding: var(--sp-5) 0; border-bottom: 1px solid var(--line);
}
.diff-item:first-child { border-top: 1px solid var(--line); }
.diff-item__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; color: var(--gold-500); min-width: 2.2rem; }
.diff-item h3 { font-family: var(--font-body); font-size: var(--fs-md); font-weight: 600; margin-bottom: var(--sp-2); }
.diff-item p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Concierge & Conexões ---------- */
.pillars { background: var(--bg); }
.pillars__grid { display: grid; gap: var(--sp-5); }
.pillar {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-gold);
}
.pillar__head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.pillar__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--grad-gold); color: var(--ink-950); box-shadow: var(--shadow-gold);
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--fs-xl); }
.pillar h3 small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gold-900); margin-bottom: var(--sp-1); }
.pillar > p { color: var(--text-muted); margin-bottom: var(--sp-5); }
.pillar .check-list { grid-template-columns: 1fr; }
@media (min-width: 900px) { .pillars__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (min-width: 560px) { .pillar .check-list { grid-template-columns: 1fr 1fr; column-gap: var(--sp-5); } }

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding: var(--sp-6); background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; font-weight: 600; color: var(--gold-500); opacity: 0.9; margin-bottom: var(--sp-4); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -1px; width: 2px; height: 40%; transform: translateY(-50%);
    background: linear-gradient(180deg, transparent, var(--gold-500), transparent); opacity: 0.6;
  }
}

/* ---------- Sobre ---------- */
.about__grid { display: grid; gap: var(--sp-7); align-items: center; }
.about__figure {
  isolation: isolate; position: relative; margin: 0; max-width: 420px;
  padding-top: var(--sp-5); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background: radial-gradient(ellipse at 70% 20%, rgba(200, 136, 48, .16), transparent 65%), var(--ink-900);
}
.about__figure img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.about__figure::after {
  content: ""; position: absolute; inset: 16px -12px -16px 12px; z-index: -1;
  border: 1px solid rgba(200, 136, 48, 0.5); border-radius: var(--radius-lg);
}
.about__body h2 { font-size: var(--fs-2xl); margin-block: var(--sp-4); }
.about__body p { color: var(--text-muted); margin-bottom: var(--sp-4); }
.about__quote {
  margin: var(--sp-6) 0 0; padding: var(--sp-5); border-left: 2px solid var(--gold-500);
  font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; line-height: var(--lh-snug); color: var(--text);
  background: rgba(200, 136, 48, 0.06);
}
.about__quote cite { display: block; margin-top: var(--sp-3); font-family: var(--font-body); font-style: normal; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-900); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-9); } }

/* ---------- Redes de referência ---------- */
.network { border-block: 1px solid var(--line); }
.network__grid { display: grid; gap: var(--sp-4); }
.network__item { text-align: center; padding: var(--sp-6) var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius); }
.network__item h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); background: var(--grad-silver-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.network__item p { font-size: var(--fs-sm); color: var(--text-muted); }
.network__note { margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--text-soft); text-align: center; }
@media (min-width: 700px) { .network__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) 0; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--gold-500); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--sp-5); color: var(--text-muted); max-width: 70ch; }

/* ---------- CTA / formulário ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 15% 0%, rgba(200, 136, 48, 0.14), transparent 60%);
}
.contact__grid { display: grid; gap: var(--sp-7); position: relative; }
.contact__copy h2 { font-size: var(--fs-2xl); margin-block: var(--sp-4); }
.contact__copy p { color: var(--text-muted); margin-bottom: var(--sp-5); max-width: 48ch; }
.contact__channels { display: grid; gap: var(--sp-4); margin-top: var(--sp-6); }
.channel { display: flex; align-items: center; gap: var(--sp-4); }
.channel__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(200, 136, 48, 0.4); color: var(--gold-300); flex: none; }
.channel__icon svg { width: 20px; height: 20px; }
.channel span { display: block; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.channel a { font-weight: 600; }
.channel a:hover { color: var(--gold-300); }

.form-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-soft); }
.form-card__head { margin-bottom: var(--sp-5); }
.form-card__head h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.form-card__head p { font-size: var(--fs-sm); color: var(--text-muted); }
.form-grid { display: grid; gap: var(--sp-4); }
.form-grid .field--full { grid-column: 1 / -1; }
.form-note { font-size: var(--fs-xs); color: var(--text-soft); margin-top: var(--sp-3); }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-9); align-items: start; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-950); padding-block: var(--sp-8) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-6); }
.footer__brand img { height: 36px; width: auto; margin-bottom: var(--sp-4); }
.footer__brand p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 40ch; }
.footer h4 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--sp-4); }
.footer ul { display: grid; gap: var(--sp-2); }
.footer li, .footer a { font-size: var(--fs-sm); color: var(--text-muted); }
.footer a:hover { color: var(--gold-300); }
.footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-xs); color: var(--text-soft); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0; width: 52px; justify-content: center; height: 52px; border-radius: 999px;
  background: #25D366; color: #052E16; font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { display: none; }
@media (min-width: 1120px) { .wa-float span { display: inline; } .wa-float { width: auto; padding: 0 1rem; right: 24px; bottom: 24px; } }

/* ---------- Refinements and motion ---------- */
.container > *, .form-grid > *, .channel > div { min-width: 0; }
.channel a { overflow-wrap: anywhere; }
.header__logo { flex-shrink: 0; }
.header__cta { white-space: nowrap; }
.nav { gap: var(--sp-5); }
.nav a { position: relative; padding-block: 12px; }
.nav a::after {
  content: ""; position: absolute; inset: auto 0 4px; height: 1px;
  background: var(--gold-300); transform: scaleX(0); transform-origin: left;
  transition: transform 250ms var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current], .mobile-nav a[aria-current] { color: var(--gold-300); }
.reading-progress {
  position: absolute; inset: auto 0 0; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; }
.hero__lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__lines span {
  position: absolute; width: 650px; height: 650px; right: -180px; top: -50px;
  border: 1px solid rgba(200, 136, 48, .13); border-radius: 50%;
  animation: line-arrive 2s var(--ease) both;
}
.hero__lines span:nth-child(2) { width: 820px; height: 820px; right: -265px; top: -135px; animation-delay: 120ms; }
.hero__lines span:nth-child(3) { width: 990px; height: 990px; right: -350px; top: -220px; animation-delay: 240ms; }
.hero__figure { align-self: center; }
.hero__trust-label { flex-basis: 100%; }
.hero__trust-list { font-size: 1.25rem; }
.section-head h2, .contact__copy h2 { text-wrap: balance; }
.pillar, .step, .network__item { transition: border-color 350ms var(--ease), box-shadow 350ms var(--ease); }
.pillar__icon, .step__num { transition: transform 350ms var(--ease); }
.diff-item__num { transition: color 250ms var(--ease), transform 250ms var(--ease); }
.faq summary { transition: color 200ms var(--ease); }
.faq summary:hover, .faq details[open] summary { color: var(--gold-200); }
.faq details[open] p { animation: answer-arrive 300ms var(--ease); }
.field-hint, .form-required { color: var(--text-muted); font-size: var(--fs-xs); }
.form-required { margin-bottom: var(--sp-5); }
.field-error { color: var(--gold-100); font-size: var(--fs-xs); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--gold-200); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer { padding-bottom: 100px; }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover, .step:hover, .network__item:hover { border-color: var(--gold-700); box-shadow: var(--shadow-soft); }
  .pillar:hover .pillar__icon { transform: translateY(-3px); }
  .step:hover .step__num { transform: translateX(4px); }
  .diff-item:hover .diff-item__num { transform: translateX(3px); color: var(--gold-200); }
}
@media (max-width: 559px) {
  .hero__title { font-size: clamp(2.6rem, 10.8vw, 3.7rem); }
  .hero__copy { padding-bottom: 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__figure { width: min(100%, 360px); margin-bottom: var(--sp-6); }
  .pillar__head { gap: var(--sp-3); }
  .pillar__icon { width: 44px; height: 44px; }
  .pillar h3 { font-size: 1.65rem; }
  .form-card { padding: var(--sp-5); }
}
@keyframes line-arrive { from { opacity: 0; transform: scale(.92) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes answer-arrive { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
