/* ============================================================================
   VFC · Layout e seções da landing. Depende de tokens.css.
   Preserva a arquitetura original (frame com molduras, navy/hairline, blueprint).
   ========================================================================== */

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px;
  font-family: var(--font-heading); text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* ══ Header ══ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 12px 24px; background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow .2s ease, border-color .2s ease, padding .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; padding-top: 9px; padding-bottom: 9px; }
.brand { margin-right: auto; display: inline-flex; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--font-heading); font-size: 15px; letter-spacing: .02em;
  color: var(--neutral-700); text-decoration: none;
}
.nav-menu > li > a:not(.btn):hover { color: var(--navy); }
.nav-menu > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-menu > li > a:not(.btn):hover::after,
.nav-menu > li > a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--color-divider);
  flex-direction: column; justify-content: center; gap: 4px;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--navy); }

/* ══ Hero ══ */
.hero { display: flex; flex-wrap: wrap; background: var(--hero-bg); color: #fff; border-bottom: 1px solid var(--frame-line); position: relative; overflow: hidden; }
.hero-copy { flex: 1 1 440px; padding: clamp(36px, 6vw, 76px) clamp(22px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.hero-kicker { color: var(--cyan); margin: 0; }
/* Malha "papel de projeto" sutil sobre o navy (reforça o tema blueprint) */
.hero::before, .cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(120% 100% at 20% 0%, #000 40%, transparent 100%);
}
.hero-copy, .hero-photo, .cta-copy, .cta-actions { position: relative; z-index: 1; }
.hero h1 { color: #fff; text-wrap: balance; margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
.hero-lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--on-navy-soft); max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-seals { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.seal-tag { color: var(--on-navy); border-color: color-mix(in srgb, var(--cyan) 40%, transparent); background: color-mix(in srgb, #fff 6%, transparent); padding: 5px 12px; }
.seal-tag::before { content: ""; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; flex: none; }
.hero-photo { flex: 1 1 400px; border-left: 1px solid color-mix(in srgb, #fff 12%, transparent); min-height: 400px; position: relative; overflow: hidden; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, #072a52 60%, transparent) 100%); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

/* ══ Sobre ══ */
.sobre { display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
  padding: clamp(32px, 4.8vw, 52px) clamp(20px, 3vw, 30px); background: var(--navy); color: #fff;
  border-bottom: 1px solid var(--frame-line); }
.sobre-logo { flex: 0 0 auto; }
.sobre-logo img { height: 54px; width: auto; opacity: .95; }
.sobre-copy { flex: 1 1 420px; }
.sobre-copy .kicker { color: var(--cyan); }
.sobre-copy h2 { color: #fff; }
.sobre-copy p { color: var(--on-navy-soft); }

/* ══ Pilares ══ */
.pilares { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-bottom: 1px solid var(--frame-line); }
.pilar { padding: clamp(26px, 3vw, 38px); border-right: 1px solid var(--color-divider); transition: background .2s ease; }
.pilar:last-child { border-right: none; }
.pilar:hover { background: color-mix(in srgb, var(--navy) 4%, transparent); }
.pilar-num { color: var(--navy); opacity: .5; margin-bottom: 12px; font-size: 14px; }
.pilar h3 { margin-bottom: 8px; font-size: 21px; }
.pilar p { margin: 0; color: var(--neutral-700); font-size: 15px; }

/* ══ Bio ══ */
.bio { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--frame-line); }
.bio-photo { flex: 1 1 340px; border-right: 1px solid var(--frame-line); position: relative; min-height: 380px; overflow: hidden; }
.bio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.bio-copy { align-self: center; }
.bio-copy { flex: 1 1 460px; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 30px); }
.bio-copy .kicker { color: var(--navy); }
.bio-copy p { color: var(--neutral-800); }
.bio-points { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 10px; }
.bio-points li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; color: var(--neutral-800); }
.bio-points .mono { color: var(--navy); }
.bio-creds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 var(--space-5); padding: 0; }

/* ══ Segmentos ══ */
.segmentos { border-bottom: 1px solid var(--frame-line); padding: clamp(32px, 4vw, 56px) clamp(22px, 4vw, 40px); }
.segmentos-head { padding: 0 0 clamp(22px, 2.6vw, 32px); }
.segmentos-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.segmentos-head p { max-width: 60ch; margin: 0; font-size: 16px; }
.segmentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.segmento {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: inherit; overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px);
  background: color-mix(in srgb, var(--color-surface) 55%, var(--color-bg));
  border: 1px solid var(--color-divider); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.segmento::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.segmento:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: color-mix(in srgb, var(--navy) 25%, transparent); }
.segmento:hover::before, .segmento:focus-visible::before { transform: scaleX(1); }
.seg-num { position: absolute; top: 14px; right: 18px; margin: 0; z-index: 0;
  color: var(--navy); opacity: .1; font-size: 46px; line-height: 1; letter-spacing: 0; }
.segmento > :not(.seg-num) { position: relative; z-index: 1; }
.segmento h3 { margin-bottom: 6px; margin-top: 0; font-size: 22px; }
.seg-label { font-weight: 600; font-size: 14px; margin: 0 0 6px; color: var(--color-text); }
.seg-desc { font-size: 14px; line-height: 1.55; color: var(--neutral-700); margin: 0 0 16px; }
.segmento::after { content: "→"; margin-top: auto; align-self: flex-start; font-family: var(--font-mono);
  color: var(--navy); font-size: 18px; transition: transform .2s ease; }
.segmento:hover::after { transform: translateX(5px); }

/* ══ Contempladas (chrome — o catálogo vem de contempladas.css) ══ */
.contempladas { padding: clamp(26px, 4vw, 40px) clamp(20px, 3vw, 30px); border-bottom: 1px solid var(--frame-line); }
.contempladas-head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.contempladas-head > div { flex: 1 1 380px; }
.kicker-navy { color: var(--navy); }
.contempladas-intro { max-width: 54ch; margin: 4px 0 0; }
.contempladas-legal { margin-top: 12px; }

/* ══ CTA final ══ */
.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  background: var(--hero-bg); color: #fff; padding: clamp(38px, 5vw, 60px) clamp(22px, 4vw, 44px);
  border-bottom: 1px solid var(--frame-line); position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); }
.cta-copy { flex: 1 1 380px; }
.cta h2 { color: #fff; }
.cta-copy p { color: var(--on-navy-soft); max-width: 52ch; }
.cta-micro { color: var(--cyan); letter-spacing: .08em; margin: 8px 0 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.cta-trust .seal-tag { color: var(--on-navy-mute); border-color: color-mix(in srgb, #fff 28%, transparent); }

/* ══ Footer ══ */
.site-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 30px); }
.foot-logo { height: 34px; width: auto; margin-bottom: 12px; }
.site-footer h3 { font-size: 14px; margin-bottom: 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { line-height: 1.4; }
.foot-links a { display: inline-flex; align-items: center; min-height: 28px; color: var(--navy); text-decoration: none; }
.foot-links a:hover { color: var(--navy-hover); text-decoration: underline; }

/* ══ WhatsApp flutuante ══ */
#zap {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px;
  background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--font-heading); font-size: 15px; letter-spacing: .03em;
  padding: 13px 20px; box-shadow: var(--shadow-lg);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
#zap::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--cyan) 70%, transparent); animation: zap-pulse 2.4s ease-out infinite; }
@keyframes zap-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cyan) 60%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
#zap > .corner { display: none; }
#zap:hover { background: var(--navy-hover); transform: translateY(-2px); }
#zap:hover > .corner, #zap:focus-visible > .corner { display: block; }
@media (prefers-reduced-motion: reduce) { #zap::before { animation: none; } }

/* ══ Responsivo ══ */
@media (max-width: 860px) {
  .segmentos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav { margin-left: auto; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--color-bg); border-bottom: 1px solid var(--frame-line);
    padding: 8px; display: none; box-shadow: var(--shadow-md);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a:not(.btn) { width: 100%; padding: 12px; }
  .nav-cta { margin: 6px 0 0; width: 100%; }
  section[id] { scroll-margin-top: var(--header-h); }
  .hero { flex-direction: column-reverse; }
  .hero-copy, .hero-photo { flex: 0 0 auto; width: 100%; }
  .hero-photo { border-left: none; border-bottom: 1px solid var(--frame-line); min-height: 0; height: 280px; }
  .hero-photo img { min-height: 0; height: 100%; }
  .sobre { flex-direction: column; align-items: flex-start; }
  .bio-photo { flex: 0 0 auto; width: 100%; border-right: none; border-bottom: 1px solid var(--frame-line); min-height: 0; height: 300px; }
  .bio-photo img { min-height: 0; height: 100%; }
  .pilar { border-right: none; border-bottom: 1px solid var(--color-divider); }
  .pilar:last-child { border-bottom: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  body { padding-bottom: 78px; }
  #zap { left: 14px; right: 14px; bottom: 12px; justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .segmentos-grid { grid-template-columns: 1fr; }
}
