/* V8: somente o cabecalho, hero e faixa de autoridade da pagina inicial
   seguem a composicao aprovada da V7. Todo o restante permanece V4. */
:root {
  --v8-black:#050504;
  --v8-black-2:#090806;
  --v8-gold:#d2a541;
  --v8-gold-light:#f2cf73;
  --v8-line:rgba(210,165,65,.30);
  --v8-line-soft:rgba(210,165,65,.16);
  --v8-white:#f5f0e7;
  --v8-muted:rgba(245,240,231,.64);
  --v8-muted-2:rgba(245,240,231,.48);
}

/* Cabecalho da V7, restrito a home. */
.home-v7-top .site-header {
  height:72px;
  background:rgba(4,4,3,.975);
  border-bottom:1px solid var(--v8-line);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.home-v7-top .site-header.scrolled { height:66px; background:rgba(3,3,2,.99); }
.home-v7-top .site-header .container { width:min(1280px,calc(100% - 48px)); }
.home-v7-top .brand { min-width:178px; }
.home-v7-top .brand img { width:178px; max-height:50px; }
.home-v7-top .main-nav { gap:27px; }
.home-v7-top .main-nav a {
  position:relative;
  color:rgba(255,255,255,.75);
  font-size:.74rem;
  letter-spacing:.035em;
  font-weight:700;
}
.home-v7-top .main-nav a:not(.header-cta)::after {
  content:'';
  position:absolute;
  left:0; right:0; bottom:-13px;
  height:1px;
  background:var(--v8-gold);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .2s ease;
}
.home-v7-top .main-nav a:hover,
.home-v7-top .main-nav a:focus-visible,
.home-v7-top .main-nav a.nav-current { color:var(--v8-gold-light); }
.home-v7-top .main-nav a:hover::after,
.home-v7-top .main-nav a:focus-visible::after,
.home-v7-top .main-nav a.nav-current::after { transform:scaleX(1); }
.home-v7-top .header-cta {
  min-height:38px;
  padding:9px 18px;
  border:1px solid rgba(255,224,145,.68);
  border-radius:5px;
  color:#0d0a06 !important;
  background:linear-gradient(108deg,#a87825 0%,#e9bd57 46%,#f2d27c 58%,#ad7c28 100%);
  box-shadow:0 13px 32px rgba(173,124,40,.20);
}

/* Hero split da V7. */
.home-v7-top .home-hero-v4 {
  min-height:720px;
  padding-top:72px;
  color:var(--v8-white);
  background:
    radial-gradient(circle at 78% 30%,rgba(210,165,65,.07),transparent 25%),
    linear-gradient(135deg,#050504,#090806 62%,#0c0a07);
  border-bottom:1px solid var(--v8-line);
  box-shadow:inset 0 0 0 1px rgba(210,165,65,.09);
}
.home-v7-top .home-hero-v4::after { background:none; }
.home-v7-top .home-hero-v4 .container { width:min(1280px,calc(100% - 48px)); }
.home-v7-top .home-hero-photo {
  inset:72px auto 0 0;
  width:55%;
  background-color:#0b0907;
  background-image:url('../img/home-hero-split-v6.webp');
  background-size:cover;
  background-position:center center;
  filter:saturate(.80) contrast(1.08) brightness(.86);
}
.home-v7-top .home-hero-photo::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,3,2,.01) 0%,rgba(3,3,2,.015) 75%,rgba(5,5,4,.48) 89%,#050504 100%);
}
.home-v7-top .home-hero-overlay {
  background:radial-gradient(circle at 78% 28%,rgba(212,168,66,.08),transparent 28%);
}
.home-v7-top .home-hero-inner {
  min-height:648px;
  padding-top:35px;
  padding-bottom:44px;
  align-items:center;
}
.home-v7-top .home-hero-copy {
  width:45%;
  max-width:650px;
  padding-left:48px;
}
.home-v7-top .home-hero-copy h1 {
  margin-bottom:21px;
  font-size:clamp(2.9rem,4vw,4.55rem);
  line-height:1.04;
  text-shadow:0 12px 38px rgba(0,0,0,.35);
}
.home-v7-top .home-hero-copy .lead {
  max-width:585px;
  color:rgba(255,255,255,.60);
  font-size:1rem;
}
.home-v7-top .home-hero-signature { display:none; }
.home-v7-top .home-hero-v4 .eyebrow { color:var(--v8-gold-light); }
.home-v7-top .home-hero-v4 .gold-text { color:var(--v8-gold-light); background:none; -webkit-text-fill-color:currentColor; }
.home-v7-top .home-hero-v4 .btn {
  min-height:48px;
  padding:12px 20px;
  border-radius:5px;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.home-v7-top .home-hero-v4 .btn-gold {
  color:#0d0a06;
  background:linear-gradient(108deg,#a87825 0%,#e9bd57 46%,#f2d27c 58%,#ad7c28 100%);
  border-color:rgba(255,224,145,.68);
  box-shadow:0 13px 32px rgba(173,124,40,.20);
}
.home-v7-top .home-hero-v4 .btn-ghost {
  color:var(--v8-white);
  border-color:rgba(242,207,115,.42);
  background:rgba(255,255,255,.018);
}
.home-v7-top .home-hero-v4 .btn-ghost:hover { background:rgba(210,165,65,.08); }
.home-v7-top .home-hero-v4 .hero-microcopy {
  border-color:var(--v8-line-soft);
  background:linear-gradient(90deg,rgba(210,165,65,.035),rgba(255,255,255,.012));
  color:rgba(255,255,255,.58);
}

/* A faixa imediatamente abaixo integra visualmente o topo da V7. */
.home-v7-top .home-trust-v4 {
  margin:0;
  background:linear-gradient(180deg,#0c0b09,#090806);
  border-top:1px solid rgba(210,165,65,.18);
  border-bottom:1px solid rgba(210,165,65,.22);
}
.home-v7-top .home-trust-v4 .container { width:min(1280px,calc(100% - 48px)); }
.home-v7-top .home-trust-grid > div {
  position:relative;
  min-height:122px;
  padding:27px 25px 25px 64px;
  border-right-color:rgba(210,165,65,.16);
}
.home-v7-top .home-trust-grid > div::before {
  content:'✦';
  position:absolute;
  left:25px;
  top:38px;
  color:var(--v8-gold);
  font-size:1.2rem;
}
.home-v7-top .home-trust-grid strong { color:var(--v8-gold-light); font-size:1.35rem; }
.home-v7-top .home-trust-grid span { color:var(--v8-muted-2); }

@media (max-width:1120px) {
  .home-v7-top .main-nav { gap:18px; }
  .home-v7-top .main-nav a { font-size:.68rem; }
  .home-v7-top .home-hero-copy { padding-left:38px; }
}

@media (max-width:820px) {
  .home-v7-top .site-header { height:66px; }
  .home-v7-top .site-header .container,
  .home-v7-top .home-hero-v4 .container,
  .home-v7-top .home-trust-v4 .container { width:min(100% - 36px,760px); }
  .home-v7-top .menu-toggle { display:block; }
  .home-v7-top .main-nav {
    top:66px;
    background:rgba(4,4,3,.99);
    border-top:1px solid var(--v8-line-soft);
  }
  .home-v7-top .main-nav a:not(.header-cta)::after { bottom:-5px; transform-origin:left; }
  .home-v7-top .home-hero-v4 { min-height:auto; padding-top:66px; }
  .home-v7-top .home-hero-photo {
    position:relative;
    inset:auto;
    width:100%;
    height:560px;
    background-image:url('../img/carlos-felipe-hero-mobile.webp');
    background-position:center 18%;
    border-bottom:1px solid rgba(210,165,65,.28);
  }
  .home-v7-top .home-hero-photo::after {
    background:linear-gradient(180deg,rgba(3,3,2,.02) 0%,rgba(3,3,2,.04) 60%,rgba(5,5,4,.82) 100%);
  }
  .home-v7-top .home-hero-inner { min-height:auto; padding:0; }
  .home-v7-top .home-hero-copy { width:100%; max-width:none; padding:42px 0 52px; }
  .home-v7-top .home-hero-copy h1 { max-width:760px; font-size:clamp(2.7rem,7vw,4rem); }
  .home-v7-top .home-trust-grid { grid-template-columns:repeat(2,1fr); }
  .home-v7-top .home-trust-grid > div:nth-child(2) { border-right:0; }
  .home-v7-top .home-trust-grid > div:nth-child(-n+2) { border-bottom:1px solid rgba(210,165,65,.16); }
}

@media (max-width:520px) {
  .home-v7-top .site-header .container,
  .home-v7-top .home-hero-v4 .container { width:calc(100% - 28px); }
  .home-v7-top .brand { min-width:150px; }
  .home-v7-top .brand img { width:150px; }
  .home-v7-top .home-hero-photo { height:420px; }
  .home-v7-top .home-hero-copy { padding:34px 0 44px; }
  .home-v7-top .home-hero-copy h1 { font-size:2.48rem; }
  .home-v7-top .home-hero-copy .hero-actions .btn { width:100%; }
  .home-v7-top .home-trust-v4 .container { width:100%; }
  .home-v7-top .home-trust-grid { grid-template-columns:1fr; }
  .home-v7-top .home-trust-grid > div,
  .home-v7-top .home-trust-grid > div:nth-child(2) {
    min-height:94px;
    border-right:0;
    border-bottom:1px solid rgba(210,165,65,.16);
  }
  .home-v7-top .home-trust-grid > div:last-child { border-bottom:0; }
}
