/* =========================================================
   LIBERA REFORMA — design tokens (v2 — moderno e ousado)
   Conceito: identidade de "canteiro de obra" em alto contraste —
   fundo grafite, faixa de risco (zebrada) como assinatura visual,
   tipografia extra-bold e cartões de bordas duras, sem curvas.
   ========================================================= */

:root{
  /* cor — base grafite + cores de sinalização de obra */
  --bg:        #14171C;
  --bg-alt:    #1B1F26;
  --bg-card:   #21262E;
  --bg-card-hi:#282E37;

  --ink:       #F5F3EA;
  --ink-soft:  #B7BEC9;
  --ink-faint: #6B7280;

  --yellow:      #F5C518;   /* sinalização — CTA principal */
  --yellow-dark: #D9AC0A;

  --libera:      #2BD576;   /* verde — liberado / aprovado */
  --libera-dark: #1FAE5D;
  --libera-ink:  #06210F;

  --reforma:      #FF5A36;  /* laranja-avermelhado — obra / atenção */
  --reforma-dark: #E0431F;

  --line:      #2E343D;
  --black:     #0A0B0D;

  /* tipografia */
  --font-display: 'Archivo Black', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* espaçamento */
  --gap-section: clamp(64px, 9vw, 128px);
  --gap-container: clamp(20px, 5vw, 48px);

  --shadow-card: 0 2px 0 var(--black);
  --shadow-pop: 8px 8px 0 var(--black);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

.container{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gap-container);
  padding-right: var(--gap-container);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  display:flex;
  align-items:center;
  gap:.6em;
  margin: 0 0 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 3px;
  background: var(--yellow);
  display:inline-block;
}

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}

h2{ font-size: clamp(2rem, 3.8vw, 3.1rem); text-transform: uppercase; }
h3{ font-size: clamp(1.15rem, 2vw, 1.4rem); text-transform: uppercase; }

p{ margin: 0; }
.lede{ color: var(--ink-soft); font-size: 1.05rem; max-width: 62ch; }

.text-center{ text-align:center; margin-left:auto; margin-right:auto; }
.justify{ text-align: justify; text-align-last: center; }

.accent-libera{ color: var(--libera); }
.accent-reforma{ color: var(--reforma); }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* =========================================================
   FAIXA DE RISCO — elemento assinatura (zebrada de canteiro)
   ========================================================= */
.hazard-strip{
  height: 14px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0 18px,
    var(--black) 18px 36px
  );
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6em;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 0;
  border: 2px solid var(--black);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover{
  background: var(--ink);
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--black);
}
.btn-blink{ animation: btnPulse 1.9s ease-in-out infinite; }
@keyframes btnPulse{
  0%, 100%{ box-shadow: var(--shadow-pop), 0 0 0 0 rgba(245,197,24,.5); }
  50%{ box-shadow: var(--shadow-pop), 0 0 0 12px rgba(245,197,24,0); }
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20,23,28,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled{
  background: rgba(20,23,28,.97);
  border-bottom-color: var(--yellow);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  padding: 16px var(--gap-container);
  max-width: 1160px;
  margin: 0 auto;
}
.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.logo img{ width: 32px; height:32px; flex:none; }
.logo .lg-libera{ color: var(--libera); }
.logo .lg-reforma{ color: var(--reforma); }

.nav-menu{
  display:flex;
  align-items:center;
  gap: clamp(20px, 3vw, 40px);
}
.nav-menu a{
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-menu a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:3px;
  background: var(--yellow);
  transition: width .25s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible{ color: var(--yellow); }
.nav-menu a:hover::after, .nav-menu a:focus-visible::after{ width: 100%; }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn{ padding: 12px 22px; font-size:.76rem; }

.nav-toggle{
  display:none;
  width: 40px; height: 40px;
  border:2px solid var(--yellow);
  background: var(--bg);
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background: var(--yellow);
  position:relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float{
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 150;
  width: 60px; height:60px;
  border-radius: 50%;
  background: var(--libera);
  border: 2px solid var(--black);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-pop);
  animation: waBlink 1.8s ease-in-out infinite;
}
.wa-float img{ width: 30px; height: 30px; }
@keyframes waBlink{
  0%, 100%{ box-shadow: var(--shadow-pop), 0 0 0 0 rgba(43,213,118,.55); transform: scale(1); }
  50%{ box-shadow: var(--shadow-pop), 0 0 0 12px rgba(43,213,118,0); transform: scale(1.05); }
}

/* =========================================================
   SELO — badge angular de destaque (hero)
   ========================================================= */
.seal{
  --seal-color: var(--yellow);
  width: 168px; height: 168px;
  border: 3px solid var(--seal-color);
  display:flex; align-items:center; justify-content:center;
  transform: rotate(-6deg);
  flex: none;
  background: var(--bg-card);
  box-shadow: var(--shadow-pop);
}
.seal-inner{
  width: 100%; height: 100%;
  border: 1px solid var(--seal-color);
  margin: 10px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  color: var(--ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seal-inner strong{
  display:block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--seal-color);
  letter-spacing: 0;
}
.seal-inner span{ font-size: .6rem; }

/* =========================================================
   SEÇÕES / DIVISOR
   ========================================================= */
.section{ padding: var(--gap-section) 0; }
.section-alt{ background: var(--bg-alt); }

.perforation{ height:0; border:0; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding-top: clamp(150px, 22vw, 210px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
  background: var(--bg);
}
.hero-lines{
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:0;
  pointer-events:none;
}
.hero .container{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-copy{ flex: 1 1 480px; }
.hero-copy .eyebrow{ justify-content:center; }
.hero h1{
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  text-align: justify;
  text-align-last: center;
}
.hero-actions{
  margin-top: 36px;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 14px;
}
.hero-note{ font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); letter-spacing:.04em; }
.hero-seal-wrap{ flex: none; display:flex; justify-content:center; margin: 0 auto; }

/* =========================================================
   SEÇÃO PREÇO INTRO (2)
   ========================================================= */
.price-banner{ text-align:center; }
.price-banner .big{
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  text-transform: uppercase;
  color: var(--ink);
}
.price-banner .big + .big{ margin-top: 18px; }
.price-banner .accent-reforma{ font-family: var(--font-mono); }

/* =========================================================
   ESTATÍSTICAS (3)
   ========================================================= */
.stat-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.stat-box{
  background: var(--bg-card);
  border: 2px solid var(--line);
  padding: 34px 22px;
  text-align:center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.stat-box:hover{
  transform: translate(-4px,-4px);
  box-shadow: var(--shadow-pop);
  border-color: var(--yellow);
  background: var(--bg-card-hi);
}
.stat-box .num{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--yellow);
  line-height:1;
}
.stat-box .label{
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* =========================================================
   TEXTO EXPLICATIVO (4)
   ========================================================= */
.explain{
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border-left: 6px solid var(--reforma);
  padding: clamp(28px, 5vw, 48px);
}
.explain h2{ text-align:justify; text-align-last:center; margin-bottom: 22px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.explain p{ text-align: justify; color: var(--ink-soft); }
.explain p + p{ margin-top: 16px; }

/* =========================================================
   COMO FUNCIONA — PASSOS (5)
   ========================================================= */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.step-box{
  background: var(--bg-card);
  border: 2px solid var(--line);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.step-box:hover{ transform: translate(-4px,-4px); box-shadow: var(--shadow-pop); border-color: var(--libera); }
.step-num{
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--black);
  background: var(--yellow);
  width: 38px; height: 38px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.step-box h3{ margin-bottom: 12px; font-size: 1.1rem; }
.step-box p{ color: var(--ink-soft); text-align: justify; font-size: .96rem; }

/* =========================================================
   PROTEÇÃO LEGAL (6)
   ========================================================= */
.benefit-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.benefit-box{
  display:flex;
  align-items:flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 2px solid var(--line);
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.benefit-box:hover{
  transform: translate(-4px,-4px);
  box-shadow: var(--shadow-pop);
  border-color: var(--libera);
  background: var(--bg-card-hi);
}
.benefit-box .icon{ color: var(--libera); width: 26px; height:26px; flex:none; margin-top:2px; }
.benefit-box p{ color: var(--ink); text-align: justify; font-weight:500; }

/* =========================================================
   PREÇO / INCLUSO (7-8)
   ========================================================= */
.price-card{
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  padding: clamp(30px, 6vw, 52px);
  text-align:center;
  box-shadow: var(--shadow-pop);
}
.price-card p{ color: #3A2E00; text-align: justify; text-align-last: center; }
.price-card .from{
  font-family: var(--font-mono);
  color: var(--reforma-dark);
  letter-spacing: .05em;
  margin-top: 22px;
  font-weight: 700;
}
.price-card .value{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--black);
  margin: 10px 0 22px;
}
.included{
  display:flex;
  justify-content:center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}
.included li{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--black);
  font-weight: 600;
}
.included .icon{ width:18px; height:18px; color: var(--libera-dark); flex:none; }
.price-card .btn-primary{ background: var(--black); color: var(--yellow); border-color: var(--black); }
.price-card .btn-primary:hover{ background: var(--reforma); color: var(--black); }

/* =========================================================
   TIPOS DE OBRA (9)
   ========================================================= */
.works-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.work-box{
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-top: 4px solid var(--reforma);
  padding: 22px 18px;
  text-align:center;
  font-family: var(--font-mono);
  font-size: .86rem;
  color: var(--ink-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.work-box:hover{
  transform: translate(-3px,-3px);
  box-shadow: var(--shadow-pop);
  border-top-color: var(--yellow);
  color: var(--ink);
}

/* =========================================================
   ÉTICA (10)
   ========================================================= */
.ethics{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--reforma);
  padding: clamp(30px, 5vw, 46px);
  background: var(--bg-card);
}
.ethics h2{ color: var(--reforma); margin-bottom: 18px; }
.ethics p{ text-align: justify; text-align-last: center; color: var(--ink-soft); }
.ethics p + p{ margin-top: 14px; }

/* =========================================================
   FAQ (11)
   ========================================================= */
.faq-list{ max-width: 860px; margin: 40px auto 0; display:flex; flex-direction:column; gap: 14px; }
.faq-item{
  background: var(--bg-card);
  border: 2px solid var(--line);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover{ box-shadow: var(--shadow-pop); border-color: var(--yellow); }
.faq-item summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--yellow);
  transition: transform .25s ease;
  flex: none;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item .faq-a{
  padding: 0 24px 22px;
  color: var(--ink-soft);
  text-align: justify;
  font-size: .95rem;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer{
  background: var(--black);
  color: #9AA0AC;
  padding: clamp(56px, 8vw, 88px) 0 32px;
  border-top: 6px solid var(--yellow);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid .logo{ color: var(--ink); margin-bottom: 16px; }
.footer-col h3{
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-col p{ color: #8B94A3; text-align: justify; }
.footer-col a:hover{ color: var(--yellow); }
.footer-bottom{
  padding-top: 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: #5B6472;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px){
  .stat-grid{ grid-template-columns: repeat(3,1fr); gap:14px; }
  .steps{ grid-template-columns: 1fr; }
  .benefit-grid{ grid-template-columns: 1fr; }
  .works-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px){
  .nav-menu{
    position: fixed;
    top: 68px; left: 0; right:0;
    background: var(--bg);
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gap-container) 28px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.is-open{ opacity:1; transform: translateY(0); pointer-events:auto; }
  .nav-toggle{ display:flex; }
  .header-cta .btn-text{ display:none; }
  .hero .container{ flex-direction: column; text-align:center; }
}

@media (max-width: 600px){
  .stat-grid{ grid-template-columns: 1fr; }
  .works-grid{ grid-template-columns: 1fr 1fr; }
  .included{ flex-direction: column; align-items:flex-start; gap: 12px; }
  .price-banner .big + .big{ margin-top: 10px; }
}
