/* =====================================================================
   VINCERE — Relacionamentos que geram soluções
   Paleta extraída da identidade: dourado em gradiente sobre preto.
   ===================================================================== */

:root{
  /* Superfícies */
  --bg:            #0B0A08;
  --bg-alt:        #100E0B;
  --surface:       #15120D;
  --surface-hi:    #1C1811;
  --line:          #2A251B;
  --line-soft:     #1E1A13;

  /* Texto */
  --text:          #EFEADF;
  --text-soft:     #B7AE9E;
  --text-muted:    #8A8274;

  /* Ouro */
  --gold-100:      #FBEBB0;
  --gold-200:      #F0CF76;
  --gold-300:      #E4BC55;
  --gold-400:      #C79539;
  --gold-500:      #B8862B;
  --gold-600:      #9A6A1E;
  --gold-grad:     linear-gradient(180deg,#FBEBB0 0%,#E4BC55 35%,#B8862B 60%,#F0CF76 80%,#9A6A1E 100%);
  --gold-grad-soft:linear-gradient(180deg,#FBEBB0 0%,#E4BC55 45%,#C79539 75%,#B8862B 100%);

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

  /* Ritmo */
  --wrap:        1180px;
  --wrap-narrow: 820px;
  --gutter:      24px;
  --section-y:   clamp(72px, 9vw, 136px);
  --radius:      2px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
h1,h2,h3{ margin:0; font-family:var(--font-display); font-weight:500; line-height:1.1; letter-spacing:-.01em; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }

::selection{ background:var(--gold-500); color:#0B0A08; }

:focus-visible{
  outline:2px solid var(--gold-300);
  outline-offset:3px;
  border-radius:1px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--gold-300); color:#0B0A08; padding:10px 18px; font-weight:600;
}
.skip-link:focus{ left:12px; top:12px; }

/* ---------- Layout ---------- */
.wrap{
  width:100%;
  max-width:var(--wrap);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.wrap-narrow{ max-width:var(--wrap-narrow); }

.section{ padding-block:var(--section-y); position:relative; }
.section-alt{
  background:var(--bg-alt);
  border-block:1px solid var(--line-soft);
}

/* ---------- Texto utilitário ---------- */
.gold-text{
  background:var(--gold-grad-soft);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}

.eyebrow{
  font-size:.72rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--gold-300);
  margin-bottom:20px;
}

.section-num{
  display:block;
  font-size:.7rem;
  letter-spacing:.24em;
  font-weight:600;
  color:var(--gold-500);
  margin-bottom:14px;
}
.section-num::after{
  content:"";
  display:inline-block;
  width:36px; height:1px;
  background:var(--gold-600);
  vertical-align:middle;
  margin-left:12px;
}

.section-head{ max-width:660px; margin-bottom:clamp(40px,5vw,64px); }
.section-head h2,
.split-text h2,
.contact-text h2{
  font-size:clamp(1.8rem,3.8vw,2.75rem);
  margin-bottom:18px;
}
.section-sub{
  color:var(--text-soft);
  font-size:1.05rem;
  font-weight:300;
  max-width:60ch;
}

/* ---------- Botões ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  font-size:.86rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease),
             background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap;
}
.btn-gold{
  background:var(--gold-grad-soft);
  color:#100D07;
  box-shadow:0 0 0 rgba(228,188,85,0);
}
.btn-gold:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 34px -14px rgba(228,188,85,.7);
}
.btn-ghost{
  border-color:var(--line);
  color:var(--text-soft);
  background:transparent;
}
.btn-ghost:hover{
  border-color:var(--gold-500);
  color:var(--gold-200);
  transform:translateY(-2px);
}
.btn-sm{ padding:11px 20px; font-size:.75rem; }
.btn-block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-stuck{
  background:rgba(11,10,8,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom-color:var(--line-soft);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
  min-height:80px;
}
.brand img{ width:160px; height:auto; }

.nav{ display:flex; align-items:center; gap:30px; }
.nav > a:not(.btn){
  font-size:.82rem;
  font-weight:500;
  letter-spacing:.03em;
  color:var(--text-soft);
  position:relative;
  padding-block:6px;
  transition:color .3s var(--ease);
}
.nav > a:not(.btn)::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background:var(--gold-grad-soft);
  transition:width .35s var(--ease);
}
.nav > a:not(.btn):hover{ color:var(--gold-200); }
.nav > a:not(.btn):hover::after{ width:100%; }

.menu-toggle{
  display:none;
  width:44px; height:44px;
  background:none; border:1px solid var(--line);
  border-radius:var(--radius);
  cursor:pointer;
  padding:0;
  place-items:center;
}
.menu-toggle span{
  display:block;
  width:18px; height:1.5px;
  background:var(--gold-200);
  margin:3.5px auto;
  transition:transform .3s var(--ease), opacity .25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding-block:clamp(140px,17vh,190px) clamp(80px,10vw,120px);
  overflow:hidden;
  isolation:isolate;
}
.hero-glow{
  position:absolute; z-index:-1;
  top:-25%; left:50%; transform:translateX(-50%);
  width:min(1100px,130vw); aspect-ratio:1;
  background:radial-gradient(circle at 50% 45%,
    rgba(228,188,85,.16) 0%,
    rgba(184,134,43,.07) 32%,
    rgba(154,106,30,.03) 52%,
    transparent 70%);
  pointer-events:none;
}
.hero::before{
  /* textura sutil de grão */
  content:"";
  position:absolute; inset:0; z-index:-1;
  opacity:.05; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner{ max-width:940px; }
.hero h1{
  font-size:clamp(2.3rem,6.4vw,4.6rem);
  font-weight:400;
  line-height:1.04;
  letter-spacing:-.02em;
  margin-bottom:28px;
}
.hero h1 em{
  font-style:italic;
  background:var(--gold-grad-soft);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.lead{
  font-size:clamp(1.02rem,1.6vw,1.22rem);
  font-weight:300;
  color:var(--text-soft);
  max-width:60ch;
  margin-bottom:40px;
}
.lead strong{ color:var(--gold-200); font-weight:500; }

.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:56px; }

.hero-trust{
  display:flex; flex-wrap:wrap; gap:14px 32px;
  padding-top:28px;
  border-top:1px solid var(--line-soft);
}
.hero-trust li{
  font-size:.8rem;
  letter-spacing:.04em;
  color:var(--text-muted);
  display:flex; align-items:center; gap:10px;
}
.hero-trust li::before{
  content:"";
  width:5px; height:5px;
  background:var(--gold-400);
  transform:rotate(45deg);
  flex:none;
}
.hero-rule{
  height:1px;
  background:linear-gradient(90deg,transparent,var(--line),transparent);
}

/* ---------- Grids ---------- */
.grid{ display:grid; gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

/* Dores */
.pain{
  background:var(--bg);
  padding:36px 28px 34px;
  transition:background .4s var(--ease);
}
.section-alt .pain{ background:var(--bg-alt); }
.pain:hover{ background:var(--surface); }
.pain-mark{
  display:block;
  font-family:var(--font-display);
  font-size:1.5rem;
  color:var(--gold-600);
  margin-bottom:18px;
}
.pain h3{ font-size:1.22rem; margin-bottom:12px; color:var(--text); }
.pain p{ font-size:.92rem; color:var(--text-muted); font-weight:300; }

/* Cards de serviço */
.card{
  background:var(--bg-alt);
  padding:40px 30px 38px;
  position:relative;
  transition:background .4s var(--ease);
}
.card::after{
  content:"";
  position:absolute; inset:auto 0 0 0;
  height:1px; width:0;
  background:var(--gold-grad-soft);
  transition:width .5s var(--ease);
}
.card:hover{ background:var(--surface); }
.card:hover::after{ width:100%; }
.card-ico{
  width:44px; height:44px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  color:var(--gold-300);
  margin-bottom:24px;
  transition:border-color .4s var(--ease), color .4s var(--ease);
}
.card-ico svg{ width:20px; height:20px; stroke-linecap:round; stroke-linejoin:round; }
.card:hover .card-ico{ border-color:var(--gold-500); color:var(--gold-200); }
.card h3{ font-size:1.3rem; margin-bottom:12px; }
.card p{ font-size:.93rem; color:var(--text-muted); font-weight:300; }

/* ---------- Steps ---------- */
.steps{ border-top:1px solid var(--line-soft); }
.step{
  display:grid;
  grid-template-columns:minmax(90px,140px) 1fr;
  gap:clamp(20px,5vw,60px);
  padding-block:clamp(30px,4vw,44px);
  border-bottom:1px solid var(--line-soft);
  transition:padding-left .4s var(--ease);
}
.step:hover{ padding-left:10px; }
.step-num{
  font-family:var(--font-display);
  font-size:clamp(2.1rem,4.4vw,3.1rem);
  line-height:1;
  background:var(--gold-grad-soft);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  opacity:.75;
  transition:opacity .4s var(--ease);
}
.step:hover .step-num{ opacity:1; }
.step-body h3{ font-size:1.5rem; margin-bottom:12px; }
.step-body p{ color:var(--text-soft); font-weight:300; max-width:62ch; font-size:.98rem; }

/* ---------- Stats ---------- */
.stats-section{ padding-block:clamp(56px,7vw,88px); }
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-soft);
  border:1px solid var(--line-soft);
}
.stat{
  background:var(--bg-alt);
  padding:34px 24px;
  text-align:center;
}
.stat strong{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(2.1rem,4.4vw,3rem);
  font-weight:500;
  line-height:1;
  background:var(--gold-grad-soft);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  margin-bottom:12px;
}
.stat span{
  display:block;
  font-size:.82rem;
  color:var(--text-muted);
  letter-spacing:.02em;
  max-width:22ch; margin-inline:auto;
}

/* ---------- Split (Para quem) ---------- */
.split{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(40px,6vw,80px);
  align-items:center;
}
.split-text,.contact-text,.step-body,.card,.pain,.stat{ min-width:0; }
.check{ margin:32px 0 36px; display:grid; gap:14px; }
.check li{
  display:flex; gap:14px; align-items:flex-start;
  color:var(--text-soft); font-weight:300; font-size:.98rem;
}
.check li::before{
  content:"";
  flex:none;
  width:17px; height:17px;
  margin-top:5px;
  background:var(--gold-grad-soft);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask:var(--check) no-repeat center/contain;
  mask:var(--check) no-repeat center/contain;
}
.split-quote{
  margin:0;
  padding:clamp(36px,5vw,56px);
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 80% 0%,rgba(228,188,85,.08),transparent 60%),
    var(--surface);
  position:relative;
}
.split-quote::before{
  content:"”";
  position:absolute; top:6px; left:22px;
  font-family:var(--font-display);
  font-size:6rem; line-height:1;
  color:var(--gold-600); opacity:.35;
}
.split-quote blockquote{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(1.25rem,2.3vw,1.7rem);
  font-weight:300;
  line-height:1.35;
  color:var(--text);
  position:relative;
}
.split-quote figcaption{
  margin-top:26px;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-size:.74rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold-400);
}

/* ---------- FAQ ---------- */
.faq{ border-top:1px solid var(--line-soft); }
.faq-item{ border-bottom:1px solid var(--line-soft); }
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding-block:24px;
  padding-right:44px;
  position:relative;
  font-family:var(--font-display);
  font-size:clamp(1.1rem,2vw,1.35rem);
  font-weight:500;
  color:var(--text);
  transition:color .3s var(--ease);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color:var(--gold-200); }
.faq-item summary::after{
  content:"";
  position:absolute; right:6px; top:50%;
  width:12px; height:12px;
  margin-top:-6px;
  background:
    linear-gradient(var(--gold-300),var(--gold-300)) no-repeat center/12px 1px,
    linear-gradient(var(--gold-300),var(--gold-300)) no-repeat center/1px 12px;
  transition:transform .35s var(--ease);
}
.faq-item[open] summary::after{ transform:rotate(135deg); }
.faq-body{ padding-bottom:26px; padding-right:44px; }
.faq-body p{ color:var(--text-muted); font-weight:300; max-width:68ch; font-size:.96rem; }

/* ---------- Contato ---------- */
.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(40px,6vw,80px);
  align-items:start;
}
.contact-list{ margin-top:40px; display:grid; gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); }
.contact-list li{
  background:var(--bg);
  padding:20px 24px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
}
.contact-list span{
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--text-muted);
}
.contact-list a{ color:var(--gold-200); font-weight:500; border-bottom:1px solid transparent; transition:border-color .3s var(--ease); }
.contact-list a:hover{ border-bottom-color:var(--gold-400); }
.contact-list em{ font-style:normal; color:var(--text-soft); font-size:.9rem; }

.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  padding:clamp(28px,4vw,40px);
  border:1px solid var(--line);
  background:var(--surface);
}
.field{ display:flex; flex-direction:column; gap:8px; }
.field-full{ grid-column:1/-1; }
.field label{
  font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-muted); font-weight:600;
}
.field label .opt{ text-transform:none; letter-spacing:0; font-weight:400; opacity:.7; }
.field input,.field select,.field textarea{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:13px 14px;
  font-size:.94rem;
  color:var(--text);
  transition:border-color .3s var(--ease), background .3s var(--ease);
  width:100%;
}
.field textarea{ resize:vertical; min-height:88px; }
.field input::placeholder,.field textarea::placeholder{ color:#5F594E; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;
  border-color:var(--gold-500);
  background:var(--surface-hi);
}
.field input:user-invalid,.field select:user-invalid{ border-color:#8C4A3A; }
.field select{ appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--gold-300) 50%),linear-gradient(135deg,var(--gold-300) 50%,transparent 50%);
  background-position:calc(100% - 20px) 21px,calc(100% - 14px) 21px;
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
  padding-right:42px;
}
.form .btn{ grid-column:1/-1; margin-top:6px; }
.form-note{ grid-column:1/-1; font-size:.78rem; color:var(--text-muted); text-align:center; }
.form-error{ grid-column:1/-1; font-size:.84rem; color:#E08C74; }

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--line-soft);
  background:var(--bg-alt);
  padding-top:clamp(48px,6vw,72px);
}
.footer-inner{
  display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;
  padding-bottom:40px;
}
.footer-brand img{ width:180px; height:auto; margin-bottom:16px; }
.footer-brand p{ color:var(--text-muted); font-size:.9rem; font-weight:300; }
.footer-nav{ display:grid; grid-template-columns:repeat(2,auto); gap:10px 48px; align-content:start; }
.footer-nav a{ font-size:.86rem; color:var(--text-soft); transition:color .3s var(--ease); }
.footer-nav a:hover{ color:var(--gold-200); }
.footer-bottom{
  border-top:1px solid var(--line-soft);
  padding-block:22px;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  font-size:.78rem; color:var(--text-muted);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:90;
  width:54px; height:54px;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--gold-grad-soft);
  color:#0B0A08;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.8);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float svg{ width:26px; height:26px; }
.wa-float:hover{ transform:translateY(-3px) scale(1.04); box-shadow:0 16px 36px -12px rgba(228,188,85,.6); }

/* ---------- Reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

/* ---------- Responsivo ---------- */
@media (max-width:1024px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .split,.contact{ grid-template-columns:1fr; }
}

@media (max-width:860px){
  .menu-toggle{ display:grid; }
  .nav{
    position:fixed; inset:0 0 auto 0;
    top:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(11,10,8,.97);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line);
    padding:96px 24px 32px;
    transform:translateY(-104%);
    transition:transform .45s var(--ease);
    max-height:100dvh; overflow-y:auto;
  }
  .nav.is-open{ transform:none; }
  .nav > a:not(.btn){
    padding-block:16px;
    border-bottom:1px solid var(--line-soft);
    font-size:1rem;
  }
  .nav > a:not(.btn)::after{ display:none; }
  .nav-cta{ margin-top:22px; }
  .btn{ white-space:normal; text-align:center; }
  body.nav-open{ overflow:hidden; }
}

@media (max-width:640px){
  :root{ --gutter:18px; }
  .grid-3,.grid-4{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr; }
  .form{ grid-template-columns:1fr; }
  .step{ grid-template-columns:1fr; gap:10px; }
  .step:hover{ padding-left:0; }
  .hero-cta .btn{ width:100%; }
  .brand img{ width:140px; }
  .footer-nav{ grid-template-columns:1fr; }
  .wa-float{ right:14px; bottom:14px; width:50px; height:50px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
  .reveal{ opacity:1; transform:none; }
}

/* ---------- Impressão ---------- */
@media print{
  .site-header,.wa-float,.hero-glow,.form{ display:none !important; }
  body{ background:#fff; color:#000; }
}
