/*
Theme Name: Stampa ABC Artes Gráficas
Theme URI: https://stampagrafica.lovable.app
Author: Stampa ABC
Description: Tema institucional da Gráfica Stampa ABC. Landing page profissional com slides, serviços, diferenciais, clientes, localização e contato.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: stampa
*/

:root{
  --bg:#f6f1ea; --fg:#0f1b33; --card:#fbf7f1; --muted:#5a6275;
  --primary:#0f2b66; --primary-dark:#0b2150; --accent:#e91e8c;
  --border:#e2dace; --radius:14px;
  --shadow-card:0 4px 30px rgba(40,55,80,.08);
  --shadow-glow:0 10px 40px -10px rgba(15,43,102,.35);
  --heading:'Space Grotesk',sans-serif; --body:'Inter',sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;border-color:var(--border)}
html{scroll-behavior:smooth}
body{font-family:var(--body);background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased;line-height:1.5}
h1,h2,h3,h4{font-family:var(--heading);font-weight:700;letter-spacing:-.01em}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.accent{background:linear-gradient(135deg,var(--primary),#2db6e8);-webkit-background-clip:text;background-clip:text;color:transparent}
.eyebrow{color:var(--primary);font-family:var(--heading);font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.25em}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--heading);font-weight:600;padding:.85rem 1.6rem;border-radius:10px;cursor:pointer;transition:.25s;border:0;font-size:1rem}
.btn-primary{background:var(--primary);color:#fff;box-shadow:var(--shadow-glow)}
.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{background:transparent;border:1px solid rgba(15,27,51,.2);color:var(--fg)}
.btn-outline:hover{background:rgba(15,27,51,.05)}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;transition:.3s;background:linear-gradient(to bottom,rgba(246,241,234,.8),transparent)}
.site-header.scrolled{background:rgba(246,241,234,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.nav-bar{display:flex;align-items:center;justify-content:space-between;height:78px}
.nav-bar .logo img{height:52px;width:auto;object-fit:contain}
.nav-links{display:none;gap:2rem;align-items:center}
.nav-links a{font-size:.9rem;font-weight:500;color:rgba(15,27,51,.7);transition:.2s}
.nav-links a:hover{color:var(--primary)}
.nav-cta{display:none;align-items:center;gap:1rem}
.ig-link{color:rgba(15,27,51,.7);display:inline-flex}
.ig-link:hover{color:var(--primary)}
.menu-toggle{background:none;border:0;cursor:pointer;color:var(--fg);display:flex}
.mobile-menu{display:none;background:var(--bg);border-top:1px solid var(--border);padding-bottom:1rem}
.mobile-menu.open{display:block}
.mobile-menu a{display:block;padding:.8rem 24px;color:rgba(15,27,51,.8)}
@media(min-width:1024px){.nav-links,.nav-cta{display:flex}.menu-toggle{display:none}}

/* Hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;background:var(--bg)}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.hero-slide.active{opacity:1}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(246,241,234,.45),rgba(246,241,234,.1),transparent)}
.hero-content{position:relative;z-index:10;padding:8rem 0}
.hero-box{max-width:560px}
.hero-eyebrow{display:inline-block;color:var(--primary);font-family:var(--heading);font-weight:600;font-size:.72rem;text-transform:uppercase;letter-spacing:.2em;margin-bottom:1.2rem;border:1px solid rgba(15,43,102,.3);padding:.3rem .9rem;border-radius:999px;background:rgba(15,43,102,.05)}
.hero-title{font-family:'Arial Black',Arial,sans-serif;font-weight:900;text-transform:uppercase;letter-spacing:-.02em;line-height:1.1;font-size:clamp(1.8rem,4vw,3rem);margin-bottom:1.5rem}
.hero-btns{display:flex;flex-wrap:wrap;gap:1rem}
.hero-eyebrow,.hero-title,.hero-btns{opacity:0;transform:translateY(20px);animation:fadeUp .7s forwards}
.hero-title{animation-delay:.1s}.hero-btns{animation-delay:.2s}
@keyframes fadeUp{to{opacity:1;transform:none}}
.hero-controls{position:absolute;bottom:48px;left:0;right:0;z-index:20}
.hero-controls .container{display:flex;justify-content:space-between;align-items:center}
.dots{display:flex;gap:.5rem}
.dots button{height:4px;border:0;border-radius:999px;background:rgba(15,27,51,.3);cursor:pointer;transition:.4s;width:24px}
.dots button.active{width:48px;background:var(--primary)}
.arrows{display:none;gap:.5rem}
.arrows button{width:44px;height:44px;border-radius:999px;border:1px solid rgba(15,27,51,.2);background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.25s}
.arrows button:hover{background:var(--primary);border-color:var(--primary);color:#fff}
@media(min-width:768px){.arrows{display:flex}}

/* Sections */
section{scroll-margin-top:80px}
.sec{padding:6rem 0}
.sec-head{text-align:center;max-width:680px;margin:0 auto 4rem}
.sec-head h2{font-size:clamp(1.7rem,3.5vw,3rem);margin-top:.8rem}
.sec-head p{color:var(--muted);margin-top:1rem}
.bg-card{background:var(--card);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}

/* About */
.about-text{max-width:760px;margin:0 auto 4rem;text-align:center;color:var(--muted);font-size:.95rem;line-height:1.85;letter-spacing:.01em}
.pillars{display:grid;gap:1.5rem;max-width:1000px;margin:0 auto}
@media(min-width:768px){.pillars{grid-template-columns:repeat(3,1fr)}}
.pillar{background:rgba(251,247,241,.6);border:1px solid var(--border);border-radius:18px;padding:2rem;text-align:center;transition:.35s}
.pillar:hover{border-color:rgba(15,43,102,.3);transform:translateY(-6px);box-shadow:var(--shadow-card)}
.pillar .ico{width:46px;height:46px;border-radius:12px;background:rgba(15,43,102,.08);display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem;font-size:1.3rem}
.pillar h3{margin-bottom:.7rem;font-size:1.05rem}
.pillar p{color:var(--muted);font-size:.83rem;line-height:1.75}

/* Products */
.grid-products{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.grid-products{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.grid-products{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1280px){.grid-products{grid-template-columns:repeat(5,1fr)}}
.card-prod{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:.3s}
.card-prod:hover{border-color:rgba(15,43,102,.5);transform:translateY(-4px);box-shadow:var(--shadow-card)}
.card-prod .ph{aspect-ratio:4/3;overflow:hidden}
.card-prod .ph img{width:100%;height:100%;object-fit:cover;transition:.7s}
.card-prod:hover .ph img{transform:scale(1.1)}
.card-prod .body{padding:1.1rem}
.card-prod h3{font-size:.9rem;margin-bottom:.5rem}
.card-prod p{color:var(--muted);font-size:.78rem;line-height:1.6}

/* Differentials */
.grid-diff{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.grid-diff{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.grid-diff{grid-template-columns:repeat(3,1fr)}}
.diff{display:flex;gap:1.2rem;padding:1.5rem;border-radius:14px;background:var(--card);border:1px solid var(--border);transition:.3s}
.diff:hover{border-color:rgba(15,43,102,.5);transform:translateY(-4px)}
.diff .ico{flex:none;width:48px;height:48px;border-radius:10px;background:rgba(15,43,102,.1);display:flex;align-items:center;justify-content:center;font-size:1.3rem}
.diff h3{font-size:1rem;margin-bottom:.4rem}
.diff p{color:var(--muted);font-size:.88rem}

/* Clients */
.grid-clients{display:grid;gap:.9rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.grid-clients{grid-template-columns:repeat(3,1fr)}}
@media(min-width:768px){.grid-clients{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1024px){.grid-clients{grid-template-columns:repeat(6,1fr)}}
.client{aspect-ratio:3/2;display:flex;align-items:center;justify-content:center;background:var(--bg);border:1px solid var(--border);border-radius:12px;text-align:center;padding:.5rem;transition:.3s}
.client:hover{border-color:rgba(15,43,102,.5);background:rgba(15,43,102,.05)}
.client span{font-family:var(--heading);font-weight:700;color:var(--muted);font-size:.85rem}
.client:hover span{color:var(--fg)}

/* Location */
.loc-grid{display:grid;gap:2.5rem;align-items:center}
@media(min-width:1024px){.loc-grid{grid-template-columns:1fr 1fr}}
.loc-card{display:flex;gap:1rem;padding:1.25rem;border-radius:14px;background:var(--card);border:1px solid var(--border);margin-bottom:1.5rem}
.loc-card .ico{width:48px;height:48px;border-radius:10px;background:rgba(15,43,102,.1);display:flex;align-items:center;justify-content:center;flex:none;font-size:1.2rem}
.loc-card h3{margin-bottom:.3rem}
.loc-card p{color:var(--muted)}
.loc-map{border-radius:18px;overflow:hidden;border:1px solid var(--border);height:380px;box-shadow:var(--shadow-card)}
.loc-map iframe{width:100%;height:100%;border:0;filter:grayscale(1)}

/* Reviews */
.review-box{max-width:640px;margin:0 auto;text-align:center;background:var(--card);border:1px solid var(--border);border-radius:20px;padding:3rem;box-shadow:var(--shadow-card)}
.stars{font-size:1.8rem;color:var(--accent);margin-bottom:1rem;letter-spacing:.2rem}
.review-box .score{font-family:var(--heading);font-size:clamp(3rem,8vw,4.5rem);line-height:1;margin-bottom:.5rem}

/* Contact */
.contact-box{max-width:640px;margin:0 auto}
.contact-head{text-align:center;margin-bottom:2.5rem}
.contact-head a{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;color:var(--primary);font-weight:500;font-size:.9rem}
form.quote{background:var(--bg);border:1px solid var(--border);border-radius:20px;padding:2rem;box-shadow:var(--shadow-card)}
.form-row{display:grid;gap:1.25rem;margin-bottom:1.25rem}
@media(min-width:640px){.form-row.two{grid-template-columns:1fr 1fr}}
.quote label{display:block;font-size:.88rem;font-weight:500;margin-bottom:.4rem}
.quote input,.quote textarea{width:100%;padding:.7rem .9rem;border:1px solid var(--border);border-radius:8px;background:var(--card);font-family:var(--body);font-size:.95rem}
.quote input:focus,.quote textarea:focus{outline:none;border-color:var(--primary)}
.quote .btn-primary{width:100%;justify-content:center;padding:1rem;margin-top:.5rem}

/* Footer */
.site-footer{background:var(--card);border-top:1px solid var(--border);padding:2.5rem 0;color:var(--muted);font-size:.88rem}
.foot{display:flex;flex-direction:column;gap:1.5rem;align-items:center;justify-content:space-between;text-align:center}
.foot .brand{display:flex;flex-direction:column;align-items:center;gap:1rem}
.foot .brand img{height:48px;width:auto;object-fit:contain}
.foot .links{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;justify-content:center}
.foot a:hover{color:var(--primary)}
@media(min-width:768px){.foot,.foot .brand{flex-direction:row;text-align:left}}

/* WhatsApp float */
.wa-float{position:fixed;bottom:24px;right:24px;z-index:60;width:60px;height:60px;border-radius:999px;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(37,211,102,.4);transition:.25s;animation:wapulse 2.5s ease-in-out infinite}
.wa-float:hover{transform:scale(1.1);background:#1da851}
.wa-float svg{width:30px;height:30px}
@keyframes wapulse{0%,100%{box-shadow:0 10px 30px rgba(37,211,102,.4)}50%{box-shadow:0 10px 40px rgba(37,211,102,.7)}}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.show{opacity:1;transform:none}
