/* ===== DECA · Casa Dexco Campinas — Landing Page ===== */

@font-face{font-family:"Lato";src:url("../fonts/Lato-Thin.ttf") format("truetype");font-weight:100;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-ThinItalic.ttf") format("truetype");font-weight:100;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-LightItalic.ttf") format("truetype");font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-Italic.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-BoldItalic.ttf") format("truetype");font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-Black.ttf") format("truetype");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../fonts/Lato-BlackItalic.ttf") format("truetype");font-weight:900;font-style:italic;font-display:swap}

:root{
  --ink:#131616;
  --ink-soft:#1c2020;
  --panel:#1a1e1e;
  --gold:#D4B896;
  --gold-dark:#b89a72;
  --white:#ffffff;
  --muted:#a9aeae;
  --line:rgba(255,255,255,.12);
  --radius:4px;
  --maxw:1240px;
  --ff:"Lato",Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--ff);
  background:var(--ink);
  color:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
section{padding:88px 0;scroll-margin-top:78px}
h1,h2,h3,h4{font-family:var(--ff);margin:0;font-weight:900}
p{margin:0}
button,input,select{font-family:var(--ff)}

.btn{
  display:inline-block;
  background:var(--gold);
  color:var(--ink);
  font-weight:700;
  padding:15px 30px;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  text-decoration:none;
  font-size:.95rem;
  letter-spacing:.2px;
  transition:background .2s ease, transform .2s ease;
}
.btn:hover{background:var(--gold-dark);transform:translateY(-1px)}
.btn-dark{background:var(--ink);color:var(--white);border:1px solid var(--line)}
.btn-dark:hover{background:var(--ink-soft)}

.eyebrow{color:var(--gold);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:.78rem}

/* ===== Header ===== */
#header{
  position:sticky;top:0;z-index:100;
  background:rgba(19,22,22,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
#header .wrap{display:flex;align-items:center;justify-content:space-between;padding:16px 24px}
#header .logo img{height:30px;width:auto}
#header .logo-group{display:flex;align-items:center;gap:14px}
#header .logo-divider{width:1px;height:22px;background:rgba(255,255,255,.25)}
#header nav{display:flex;gap:32px}
#header nav a{font-size:.9rem;font-weight:400;text-decoration:none;color:var(--white);opacity:.85;transition:opacity .2s}
#header nav a:hover{opacity:1;color:var(--gold)}
#header .nav-toggle{display:none;background:none;border:none;color:var(--white);font-size:1.6rem;cursor:pointer}

@media(max-width:860px){
  #header nav{position:fixed;inset:64px 0 0 0;background:var(--ink);flex-direction:column;padding:32px 24px;gap:20px;transform:translateX(100%);transition:transform .3s ease}
  #header nav.open{transform:translateX(0)}
  #header .nav-toggle{display:block}
}

/* ===== Hero ===== */
#hero{
  position:relative;
  padding:0;
  min-height:92vh;
  display:flex;
  align-items:center;
  background:linear-gradient(180deg, rgba(19,22,22,.55) 0%, rgba(19,22,22,.75) 60%, var(--ink) 100%), url("../img/hero-bg.jpg") center/cover no-repeat;
}
#hero .wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
  padding-top:60px;
  padding-bottom:60px;
  width:100%;
}
#hero h1{
  font-size:clamp(2.1rem, 4vw, 3.2rem);
  line-height:1.12;
  margin-bottom:14px;
}
#hero .subtitle{
  font-style:italic;
  font-weight:300;
  font-size:clamp(1.2rem, 2vw, 1.5rem);
  color:var(--white);
  margin-bottom:34px;
  line-height:1.35;
}
.form-card{
  background:rgba(26,30,30,.92);
  border:1px solid var(--line);
  border-radius:8px;
  padding:32px;
  backdrop-filter:blur(6px);
}
.form-card .form-label{font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold);font-weight:700;margin-bottom:14px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.form-row.single{grid-template-columns:1fr}
.form-card input,.form-card select{
  width:100%;
  background:var(--ink);
  border:1px solid var(--line);
  color:var(--white);
  padding:13px 14px;
  border-radius:var(--radius);
  font-size:.92rem;
  outline:none;
}
.form-card input::placeholder{color:var(--muted)}
.form-card select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23D4B896' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.form-card input:focus,.form-card select:focus{border-color:var(--gold)}
.form-card .btn{width:100%;margin-top:6px}
.form-msg{font-size:.82rem;margin-top:10px;min-height:1em}

.hero-note{
  margin-top:30px;
  font-size:.85rem;
  color:var(--muted);
  max-width:760px;
  line-height:1.6;
}

/* ===== Showroom ===== */
#showroom .wrap{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.showroom-media{position:relative;display:flex;gap:12px}
.showroom-media img{border-radius:8px;width:50%;height:420px;object-fit:cover}
.counter-badge{
  position:absolute;left:16px;bottom:-20px;
  background:var(--gold);color:var(--ink);
  border-radius:8px;padding:20px 26px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.counter-badge .num{font-size:2rem;font-weight:900;line-height:1}
.counter-badge .label{font-size:.72rem;letter-spacing:1px;text-transform:uppercase;font-weight:700}
#showroom h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:14px 0 18px;line-height:1.2}
#showroom .lead{font-weight:700;font-size:1.05rem;margin-bottom:16px;line-height:1.5}
#showroom p.body-text{color:var(--muted);margin-bottom:14px;line-height:1.7}

/* ===== Produtos Deca ===== */
#produtos-deca{background:var(--panel)}
.section-head{text-align:center;max-width:640px;margin:0 auto 40px}
.section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:12px}
.section-head p{color:var(--muted)}
.filter-row{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:40px}
.filter-pill{
  border:1px solid var(--line);
  background:transparent;
  color:var(--white);
  padding:10px 20px;
  border-radius:30px;
  font-size:.85rem;
  cursor:default;
  user-select:none;
}
.filter-pill.active{background:var(--gold);color:var(--ink);border-color:var(--gold);font-weight:700}
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.product-grid img{width:100%;height:260px;object-fit:cover;border-radius:6px}
.product-grid a.product-cta{grid-column:1 / -1;text-align:center;margin-top:14px}

/* ===== Diferenciais ===== */
#diferenciais{
  position:relative;
  background:linear-gradient(180deg, rgba(19,22,22,.85), rgba(19,22,22,.92)), url("../img/diferenciais-bg.jpg") center/cover no-repeat;
}
.dif-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:44px}
.dif-card{
  background:#ffffff;
  border:none;
  border-radius:8px;
  padding:30px 24px;
}
.dif-card h3{font-size:1.05rem;margin-bottom:10px;color:var(--ink)}
.dif-card p{color:#5a6060;font-size:.9rem;line-height:1.6}
.dif-icon{width:36px;height:36px;margin-bottom:18px;color:var(--ink)}

/* ===== Conceito ===== */
#conceito .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:64px;align-items:center}
#conceito img{border-radius:8px;width:100%;height:540px;object-fit:cover;order:2}
#conceito .wrap > div{order:1}
#conceito h2{font-size:clamp(1.7rem,3vw,2.2rem);margin-bottom:18px;line-height:1.25}
#conceito p.lead{color:var(--muted);line-height:1.7;margin-bottom:30px}
.bar-row{margin-bottom:18px}
.bar-row .bar-label{display:flex;justify-content:space-between;font-size:.85rem;margin-bottom:8px}
.bar-track{height:6px;background:var(--line);border-radius:4px;overflow:hidden}
.bar-fill{height:100%;background:var(--gold);width:0;border-radius:4px;transition:width 1.4s ease}

/* ===== Beneficios ===== */
#beneficios{background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.benef-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:left}
.benef-item h4{font-size:1rem;margin-bottom:8px}
.benef-item p{color:var(--muted);font-size:.85rem;line-height:1.6}
.benef-icon{width:28px;height:28px;margin:0 0 16px;color:var(--gold)}

.brand-row{display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap;opacity:.85}
.brand-row img{height:22px;width:auto;filter:brightness(0) invert(1)}

/* ===== Visite / Agende ===== */
#visite-e-agende .wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px}
#visite-loja h2{font-size:clamp(1.6rem,3vw,2rem);margin-bottom:14px;line-height:1.25}
#visite-loja > p{color:var(--muted);margin-bottom:34px;line-height:1.6}
.info-item{display:flex;gap:16px;margin-bottom:26px}
.info-icon{width:22px;height:22px;color:var(--gold);flex-shrink:0;margin-top:3px}
.info-item h4{font-size:.95rem;margin-bottom:4px}
.info-item p{color:var(--muted);font-size:.88rem;line-height:1.6}
#agende-visita h2{font-size:1.3rem;margin-bottom:20px}

/* ===== Mapa ===== */
#mapa{padding:0}
#mapa iframe{width:100%;height:420px;border:0;display:block;filter:grayscale(.3) contrast(1.1)}

/* ===== Footer ===== */
#footer{padding:60px 0 30px;border-top:1px solid var(--line)}
#footer .footer-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;margin-bottom:36px}
#footer .footer-logo img{height:34px}
#footer .brand-row img{height:20px}
#footer .footer-bottom{
  border-top:1px solid var(--line);
  padding-top:22px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:.8rem;color:var(--muted);
}
#footer .social a{color:var(--white);text-decoration:none;font-size:.85rem;border:1px solid var(--line);padding:8px 16px;border-radius:30px}

/* ===== Cookie banner ===== */
#cookie-banner{
  position:fixed;left:20px;right:20px;bottom:20px;
  max-width:560px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px;
  padding:22px 24px;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  z-index:1000;
  display:none;
}
#cookie-banner.show{display:block}
#cookie-banner h4{font-size:1rem;margin-bottom:10px}
#cookie-banner p{font-size:.85rem;color:var(--muted);line-height:1.6;margin-bottom:16px}
#cookie-banner a{color:var(--gold);text-decoration:underline}
#cookie-banner .btn{padding:11px 26px;font-size:.85rem}

/* ===== WhatsApp widget ===== */
#wa-fab{
  position:fixed;right:22px;bottom:22px;z-index:999;
  width:60px;height:60px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  border:none;
}
#wa-fab svg{width:30px;height:30px;fill:#fff}
#wa-panel{
  position:fixed;right:22px;bottom:94px;z-index:999;
  width:310px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  display:none;
}
#wa-panel.show{display:block}
#wa-panel .wa-head{background:#1f7a4d;padding:16px 18px;font-size:.85rem;line-height:1.5}
#wa-panel .wa-body{padding:16px 18px}
#wa-panel .wa-bubble{background:var(--ink);border-radius:8px;padding:12px 14px;font-size:.85rem;margin-bottom:14px}
#wa-panel input{width:100%;background:var(--ink);border:1px solid var(--line);color:#fff;padding:11px 12px;border-radius:6px;margin-bottom:10px;font-size:.85rem}
#wa-panel .btn{width:100%;background:#25D366;color:#fff;padding:11px;font-size:.85rem}
#wa-panel .btn:hover{background:#1f7a4d}

/* ===== Responsive ===== */
@media(max-width:1000px){
  .dif-grid{grid-template-columns:repeat(2,1fr)}
  .benef-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  #hero .wrap{grid-template-columns:1fr}
  #showroom .wrap,#conceito .wrap,#visite-e-agende .wrap{grid-template-columns:1fr;gap:36px}
  .showroom-media img,#conceito img{height:300px}
  .brand-row{gap:32px}
  section{padding:60px 0}
}
@media(max-width:560px){
  .dif-grid,.benef-grid,.product-grid{grid-template-columns:1fr 1fr}
  .form-row{grid-template-columns:1fr}
  #wa-panel{width:calc(100vw - 44px)}
}
