:root{
  /* Paleta clara derivada do vermelho da logo (ABC Persianas e Esquadrias). */
  --bg:#ffffff;
  --bg-alt:#fdf5f4;
  --bg-warm:#f8ece9;
  --bg-soft:#f2ded9;
  --card:#ffffff;
  --card-warm:#ffffff;
  --line:rgba(32,20,18,.10);
  --line-strong:rgba(32,20,18,.18);
  --line-accent:rgba(179,18,15,.22);
  --ink:#201412;
  --muted:#5c4d49;
  --accent:#b3120f;
  --accent-bg:rgba(179,18,15,.08);
  --green:#25d366;
  --green-d:#1eb955;
  --serif:Georgia,'Times New Roman',serif;
  --sans:'Segoe UI',system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif;
  --radius:16px;
}

/* Escopo vermelho: header + hero usam exatamente a mesma cor de fundo
   da logo (amostrada da arte), para o header formar uma faixa uniforme
   com a logo em vez de aparecer como uma caixa de cor diferente. */
.dark-scope{
  --bg:#e3191f;
  --bg-alt:#d11419;
  --bg-warm:#c11216;
  --bg-soft:#b01013;
  --card:#d11419;
  --card-warm:#c11216;
  --line:rgba(255,255,255,.14);
  --line-strong:rgba(255,255,255,.22);
  --line-accent:rgba(255,255,255,.25);
  --ink:#ffffff;
  --muted:#ffffff;
  --accent:#ffd9d2;
  --accent-bg:rgba(255,255,255,.16);
  color:var(--ink);
  background-color:var(--bg);
}
.dark-scope h1,.dark-scope h2,.dark-scope h3,.dark-scope p,
.dark-scope a:not(.btn-green):not(.btn-accent-outline),.dark-scope span,
.dark-scope li,.dark-scope strong{color:inherit}
.dark-scope .nav-links a,.dark-scope .muted,.dark-scope .lead{color:var(--muted)}
.dark-scope .accent,.dark-scope .badge{color:var(--accent)}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);color:var(--ink);background:var(--bg);
  line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit}
::selection{background:var(--accent);color:#fff}

.container{max-width:1180px;margin:0 auto;padding:0 26px}
section{padding:96px 0;background:var(--bg)}
#produtos{background:var(--bg)}
.steps{background:var(--bg-warm)}
.visita{background:var(--bg)}
#sobre{background:var(--bg-alt)}
#galeria{background:var(--bg)}
.cta-band{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
section[id],footer[id]{scroll-margin-top:90px}
.center-cta{text-align:center;margin-top:56px}

/* ---------- ANIMAÇÃO REVEAL ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- BOTÕES ---------- */
.btn-green{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--green);color:#06210f;font-weight:600;font-size:1rem;
  padding:16px 32px;border-radius:50px;transition:.25s;cursor:pointer;
  box-shadow:0 10px 26px rgba(37,211,102,.22);
}
.btn-green:hover{background:var(--green-d);transform:translateY(-3px);box-shadow:0 14px 32px rgba(37,211,102,.3)}
.btn-green svg{width:22px;height:22px;fill:#06210f}
.btn-pill{padding:13px 26px;font-size:.92rem}
.btn-accent-outline{
  display:inline-flex;align-items:center;gap:10px;
  background:transparent;color:var(--accent);border:1px solid var(--accent);
  font-weight:600;letter-spacing:1.4px;text-transform:uppercase;font-size:.86rem;
  padding:16px 36px;border-radius:50px;transition:.25s;cursor:pointer;
}
.btn-accent-outline:hover{background:var(--accent);color:#fff;transform:translateY(-3px)}
.btn-accent-outline svg{width:19px;height:19px;fill:currentColor}

/* ---------- HEADER ---------- */
header.nav{
  position:fixed;top:0;left:0;right:0;z-index:500;
  background:var(--bg);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;height:74px}
.nav-logo img{height:50px;width:auto;border-radius:6px}
.nav-links{display:flex;gap:22px;list-style:none}
.nav-links a{color:var(--muted);font-weight:500;font-size:.92rem;transition:.2s}
.nav-links a:hover{color:#fff}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:6px;z-index:520}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--ink);margin:6px 0;transition:.3s}
.nav-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ---------- TÍTULOS ---------- */
.eyebrow{
  color:var(--accent);font-weight:600;letter-spacing:3px;text-transform:uppercase;
  font-size:.76rem;margin-bottom:16px;line-height:1.4;
}
h2.title{
  font-family:var(--serif);font-size:2.9rem;font-weight:600;
  color:var(--ink);line-height:1.15;letter-spacing:-.5px;
}
h2.title .accent{color:var(--accent)}
.title-wrap{text-align:center;max-width:720px;margin:0 auto 64px;position:relative}
.title-wrap::after{content:'';display:block;width:56px;height:3px;border-radius:2px;background:var(--accent);margin:18px auto 0}
.title-wrap p{color:var(--muted);max-width:620px;margin:28px auto 0;font-size:1.02rem}

/* ---------- HERO ---------- */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;
  padding:170px 0 110px;background:var(--bg);overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.22);
}
.hero::before{
  content:'';position:absolute;inset:0;z-index:0;
  background:url('../img/hero-abc.png') center/cover no-repeat;
  opacity:.85;
}
.hero::after{
  content:'';position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(90,4,4,.92) 0%,rgba(90,4,4,.78) 34%,rgba(90,4,4,.42) 62%,rgba(90,4,4,.18) 100%),
    linear-gradient(180deg,rgba(90,4,4,.80) 0%,rgba(90,4,4,.32) 35%,rgba(90,4,4,.84) 100%);
}
.hero .container{position:relative;z-index:2;width:100%}
.hero-content{max-width:720px}
.badge{
  display:inline-flex;align-items:center;gap:9px;
  background:rgba(40,4,4,.55);border:1px solid var(--line-strong);
  border-radius:50px;padding:9px 18px;
  font-size:.84rem;color:var(--ink);font-weight:500;margin-bottom:32px;
}
.badge .pin{width:16px;height:16px;flex:0 0 auto;fill:var(--accent)}
.hero h1{
  font-family:var(--serif);font-size:4rem;font-weight:600;line-height:1.1;
  color:var(--ink);letter-spacing:-1px;margin-bottom:30px;
}
.hero h1 .accent{color:var(--accent)}
.hero p.lead{
  font-size:1.15rem;color:var(--muted);max-width:600px;margin-bottom:34px;line-height:1.75;
}
.hero-checks{display:flex;flex-wrap:wrap;gap:14px 26px;margin-bottom:38px}
.hero-check{display:inline-flex;align-items:center;gap:9px;font-size:.96rem;color:var(--ink);font-weight:500}
.hero-check svg{width:19px;height:19px;fill:var(--accent);flex:0 0 auto}

/* ---------- PRODUTOS ---------- */
.grid-serv{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}
.card-serv{
  flex:0 1 calc((100% - 52px)/3);
  min-width:0;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:.3s;
  box-shadow:0 1px 2px rgba(32,20,18,.04),0 8px 24px rgba(32,20,18,.06);
}
.card-serv:hover{transform:translateY(-6px);border-color:var(--accent);box-shadow:0 16px 40px rgba(32,20,18,.10)}
.card-serv img{width:100%;height:240px;object-fit:cover;transition:.5s}
.card-serv:hover img{transform:scale(1.04)}
.card-serv .body{padding:30px 26px 32px;background:var(--card)}
.card-serv h3{font-family:var(--serif);font-size:1.4rem;font-weight:600;color:var(--ink);margin-bottom:12px}
.card-serv p{font-size:.93rem;color:var(--muted);line-height:1.65}

/* ---------- 3 PASSOS ---------- */
.grid-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.step{
  background:var(--card-warm);border:1px solid var(--line);border-radius:var(--radius);
  padding:44px 30px;text-align:center;transition:.3s;
}
.step:hover{border-color:var(--accent)}
.step .ic{
  width:64px;height:64px;margin:0 auto 24px;border-radius:50%;
  background:var(--accent-bg);display:flex;align-items:center;justify-content:center;
}
.step .ic svg{width:28px;height:28px;fill:var(--accent)}
.step .num{
  display:block;font-size:.74rem;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--accent);font-weight:600;
}
.step h3{font-family:var(--serif);font-size:1.45rem;font-weight:600;color:var(--ink);margin:10px 0 14px}
.step p{font-size:.96rem;color:var(--muted);line-height:1.7}

/* ---------- VISITA TÉCNICA ---------- */
.vt-card{
  max-width:900px;margin:0 auto;background:var(--card);
  border:1px solid var(--line);border-radius:22px;padding:56px 50px;
  box-shadow:0 1px 2px rgba(32,20,18,.04),0 8px 24px rgba(32,20,18,.06);
}
.vt-head{text-align:center;max-width:620px;margin:0 auto 48px}
.vt-badge{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--accent);color:var(--accent);border-radius:50px;padding:7px 18px;
  font-weight:600;letter-spacing:2px;text-transform:uppercase;font-size:.72rem;
}
.vt-badge svg{width:16px;height:16px;fill:var(--accent)}
.vt-head h2{font-family:var(--serif);font-size:3.1rem;font-weight:600;color:var(--ink);margin:24px 0 0;line-height:1.05}
.vt-rule{width:60px;height:2px;background:var(--accent);margin:28px auto}
.vt-head p{color:var(--muted)}
.vt-head p b{color:var(--ink);font-weight:600}
.vt-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:48px}
.vt-item{display:flex;gap:18px;align-items:flex-start;padding:20px;border-radius:14px;transition:.25s}
.vt-item:hover{background:var(--accent-bg)}
.vt-ic{
  flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--accent-bg);
  display:flex;align-items:center;justify-content:center;
}
.vt-ic svg{width:24px;height:24px;fill:var(--accent)}
.vt-item h3{font-family:var(--serif);font-size:1.15rem;font-weight:600;color:var(--ink);margin:2px 0 8px}
.vt-item p{font-size:.92rem;color:var(--muted);line-height:1.6}
.vt-cta{text-align:center}

/* ---------- SOBRE ---------- */
.about{display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:center}
.about-img{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}
.about-img img{height:500px;width:100%;object-fit:cover}
.about-txt h2{font-family:var(--serif);font-size:2.7rem;font-weight:600;color:var(--ink);line-height:1.15;margin-bottom:28px}
.about-txt p{color:var(--muted);margin-bottom:18px;line-height:1.8}
.about-txt .eyebrow{display:flex;align-items:center;gap:12px}
.about-txt .eyebrow .rule{width:34px;height:2px;background:var(--accent);display:inline-block}

/* ---------- GALERIA DE FOTOS ---------- */
.grid-gal{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gal-item{
  border-radius:14px;overflow:hidden;cursor:pointer;position:relative;aspect-ratio:1;
  border:1px solid var(--line);background:var(--card);padding:0;width:100%;display:block;
  box-shadow:0 1px 2px rgba(32,20,18,.04),0 8px 24px rgba(32,20,18,.06);
}
.gal-item img{width:100%;height:100%;object-fit:cover;transition:.45s}
.gal-item:hover img{transform:scale(1.06)}
.gal-item::after{
  content:'+';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:2.2rem;color:#fdf1f0;background:linear-gradient(180deg,rgba(32,20,18,0) 0%,rgba(32,20,18,.72) 100%);
  opacity:0;transition:.3s;
}
.gal-item:hover::after,.gal-item:focus-visible::after{opacity:1}

/* ---------- CTA BAND ---------- */
.cta-band{text-align:center}
.cta-band h2{
  font-family:var(--serif);font-size:2.4rem;font-weight:600;color:var(--ink);
  line-height:1.25;max-width:800px;margin:0 auto 36px;
}
.cta-band h2 .accent{color:var(--accent)}

/* ---------- RODAPÉ ---------- */
footer{background:#e3191f;padding:86px 0 0;color:#ffffff}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:50px;padding-bottom:56px}
.foot-brand img{height:56px;width:auto;margin-bottom:24px;border-radius:6px}
.foot-brand p{color:#ffffff;max-width:340px;line-height:1.8}
.foot-col h4{
  font-size:.76rem;letter-spacing:2.5px;text-transform:uppercase;
  color:#ffffff;margin-bottom:24px;font-weight:600;
}
.foot-col a,.foot-col p{display:block;color:#ffffff;margin-bottom:14px;transition:.2s}
.foot-col a:hover{text-decoration:underline}
.foot-bottom{border-top:1px solid rgba(255,255,255,.18);padding:26px 0;text-align:center;font-size:.8rem;color:#ffffff}

/* ---------- LIGHTBOX ---------- */
.lb{position:fixed;inset:0;background:rgba(20,4,4,.97);display:none;align-items:center;justify-content:center;z-index:999;padding:30px}
.lb.open{display:flex}
.lb img{max-width:90%;max-height:88vh;border-radius:10px;box-shadow:0 0 50px rgba(0,0,0,.7)}
.lb .x{position:absolute;top:20px;right:26px;font-size:2.4rem;line-height:1;color:#fdf1f0;background:none;border:0;cursor:pointer}
.lb .nav-arrow{position:absolute;top:50%;transform:translateY(-50%);font-size:2.6rem;line-height:1;color:#ffd9d2;background:none;border:0;cursor:pointer;user-select:none;padding:10px 18px}
.lb .prev{left:6px}.lb .next{right:6px}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.float-wpp{
  position:fixed;bottom:26px;right:26px;width:60px;height:60px;border-radius:50%;
  background:var(--green);display:flex;align-items:center;justify-content:center;
  z-index:600;box-shadow:0 8px 22px rgba(37,211,102,.4);animation:pulse 2.4s infinite;
}
.float-wpp svg{width:31px;height:31px;fill:#06210f}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.45)}70%{box-shadow:0 0 0 18px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@media(prefers-reduced-motion:reduce){.float-wpp{animation:none}}

/* ---------- INDICADOR DE ROLAGEM DO HERO ---------- */
.hero-scroll{
  display:none;position:absolute;left:50%;bottom:20px;
  transform:translateX(-50%);
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.92);color:#201412;
  align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  animation:heroBounce 1.8s ease-in-out infinite;
  z-index:3;cursor:pointer;
}
.hero-scroll svg{width:22px;height:22px;stroke:#201412;fill:none}
@keyframes heroBounce{
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(7px)}
}
@media(prefers-reduced-motion:reduce){.hero-scroll{animation:none}}

/* ---------- RESPONSIVO ---------- */
@media(max-width:1080px){
  .nav-links{gap:16px}
  .nav-links a{font-size:.87rem}
}
@media(max-width:980px){
  .nav-links{
    position:fixed;top:74px;left:0;right:0;background:var(--bg);
    flex-direction:column;gap:0;padding:8px 26px 20px;display:none;
    border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(0,0,0,.16);
    max-height:calc(100vh - 74px);overflow-y:auto;
  }
  .nav-links.open{display:flex}
  .nav-links li{list-style:none}
  .nav-links a{display:block;padding:15px 4px;font-size:1.02rem;border-bottom:1px solid var(--line);color:var(--ink)}
  .nav-links li:last-child a{border-bottom:0}
  .nav-toggle{display:block}
  .nav .btn-green{display:none}
  section{padding:76px 0}
  .grid-serv .card-serv{flex:0 1 calc((100% - 26px)/2)}
  .grid-steps{grid-template-columns:1fr}
  .vt-list{grid-template-columns:1fr}
  .vt-card{padding:40px 26px}
  .vt-head h2{font-size:2.5rem}
  .about{grid-template-columns:1fr;gap:38px}
  .about-img img{height:360px}
  .grid-gal{grid-template-columns:repeat(3,1fr)}
  .foot-grid{grid-template-columns:1fr;gap:38px}
  .hero h1{font-size:3.1rem}
  h2.title{font-size:2.3rem}
}
@media(max-width:760px){
  .hero{padding:140px 0 80px}
  .hero::before{opacity:.75}
  .hero-content{max-width:none}
  .nav-logo img{height:40px}
}
@media(max-width:560px){
  .container{padding:0 18px}
  section{padding:60px 0}
  .grid-serv .card-serv{flex:0 1 100%}
  .grid-gal{grid-template-columns:repeat(2,1fr);gap:14px}
  .hero{padding:126px 0 60px}
  .hero h1{font-size:2.4rem}
  .hero p.lead{font-size:1.02rem}
  .title-wrap{margin-bottom:44px}
  .title-wrap p{margin-top:28px}
  .about-txt h2{font-size:2.1rem}
  .about-img img{height:300px}
  .cta-band h2{font-size:1.95rem}
  .vt-head h2{font-size:2.3rem}
  .vt-item{padding:16px}
  .step{padding:36px 24px}
  .card-serv img{height:210px}
  footer{padding-top:64px}
  .btn-green,.btn-accent-outline{min-height:48px}
  .lb .x{min-width:48px;min-height:48px;top:12px;right:14px}
  .lb .nav-arrow{min-width:48px;min-height:48px}
  .foot-col a{padding:4px 0;display:inline-block;min-height:32px}
  .lb{padding:14px}
  .lb img{max-width:100%;max-height:82vh}
}
@media(max-width:430px){
  .hero h1{font-size:2.2rem}
  h2.title{font-size:1.9rem}
  .about-txt h2{font-size:1.85rem}
  .cta-band h2{font-size:1.65rem}
  .vt-head h2{font-size:2rem}
  .vt-card{padding:32px 20px}
  .btn-green,.btn-accent-outline{padding:14px 22px;font-size:.88rem}
  .float-wpp{width:54px;height:54px;bottom:18px;right:18px}
  .float-wpp svg{width:28px;height:28px}
  .lb .nav-arrow{font-size:2.1rem;padding:8px 10px}
}

/* ---------- HERO MOBILE ---------- */
@media(max-width:760px){
  .hero,.hero.dark-scope{min-height:82vh;padding:96px 0 72px}
  .hero-content{max-width:none;text-align:left}
  .badge{
    align-items:center;border-radius:14px;
    padding:12px 20px;font-size:.98rem;line-height:1.35;
    max-width:max-content;margin:0 auto 26px 0;
  }
  .badge .pin{width:22px;height:22px}
  .hero h1 .accent{display:block}
  .hero h1{
    font-size:clamp(1.70rem,7.2vw,2.05rem);
    line-height:1.18;letter-spacing:-.01em;margin-bottom:18px;text-wrap:balance;
  }
  .hero p.lead{font-size:1.02rem;line-height:1.62;font-weight:400;margin-bottom:22px}
  .hero-checks{margin-bottom:30px}
  h2.title,section h2{font-size:clamp(1.55rem,6.4vw,1.85rem);line-height:1.22;letter-spacing:-.01em}
  section p.sub,.title-wrap p{font-size:1rem;line-height:1.6}
  .hero .btn-green{
    display:flex;width:100%;justify-content:center;
    padding:20px 24px;font-size:1.1rem;min-height:62px;border-radius:16px;
  }
  .hero .btn-green svg{width:25px;height:25px}
  .hero .hero-scroll{display:flex}
}
@media(max-width:430px){
  .hero,.hero.dark-scope{padding:88px 0 64px}
  .hero h1{font-size:clamp(1.55rem,7.8vw,1.9rem)}
}
