/* ================================================
   CIC REFRATÁRIOS — Shared Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --red: #C41230;
    --red-dark: #9B0E24;
    --red-light: #E8213E;
    --dark: #0D0D0D;
    --dark-2: #171717;
    --dark-3: #222222;
    --gray: #5C5C5C;
    --gray-2: #8A8A8A;
    --light: #F5F5F5;
    --white: #FFFFFF;
    --border: #E6E6E6;
    --H: 'Montserrat', sans-serif;
    --B: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--B); color: var(--dark); background: var(--white); line-height: 1.65; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: var(--H); font-weight: 700; line-height: 1.18; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 28px; }

/* ─── TYPOGRAPHY ─── */
.label {
    display: inline-block;
    font-family: var(--H); font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
}
.label-white { color: rgba(255,255,255,.58); }
.title { font-size: clamp(27px,3.8vw,44px); font-weight: 800; color: var(--dark); margin-bottom: 18px; }
.title-white { color: #fff; }
.desc { font-size: 16px; color: var(--gray); line-height: 1.78; }
.desc-white { color: rgba(255,255,255,.62); }
.divider { width: 52px; height: 4px; background: var(--red); border-radius: 2px; margin-bottom: 28px; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--H); font-weight: 700; font-size: 12px;
    letter-spacing: 1.2px; text-transform: uppercase;
    padding: 15px 30px; border-radius: 4px; text-decoration: none;
    transition: all .25s; cursor: pointer; border: 2px solid transparent;
    white-space: nowrap; line-height: 1;
}
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196,18,48,.38); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.44); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,.92); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 11px; }

/* ─── SECTION HELPERS ─── */
.sec { padding: 100px 0; }
.sec-sm { padding: 72px 0; }
.bg-white { background: #fff; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }
.bg-dark2 { background: var(--dark-2); }
.bg-red { background: var(--red); }
.text-center { text-align: center; }

/* ─── NAVBAR (branca) ─── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0,0,0,.1);
    transition: box-shadow .35s;
}
.nav-bar { padding: 13px 0; }
#navbar.solid { box-shadow: 0 4px 28px rgba(0,0,0,.16); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 56px; width: auto; }

/* Desktop menu */
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    font-family: var(--H); font-size: 12px; font-weight: 600;
    letter-spacing: .8px; text-transform: uppercase;
    color: rgba(0,0,0,.65); text-decoration: none;
    padding: 9px 13px; border-radius: 4px;
    display: flex; align-items: center; gap: 5px; transition: all .2s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--dark); background: rgba(0,0,0,.05); }
.nav-menu .arr { font-size: 8px; transition: transform .2s; }
.nav-menu > li:hover .arr { transform: rotate(180deg); }
.nav-cta { background: var(--red) !important; color: #fff !important; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta.active { background: var(--red) !important; color: #fff !important; }

/* Dropdown */
.nav-dd {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); min-width: 220px;
    background: #fff; border: 1px solid rgba(0,0,0,.09);
    border-radius: 8px; padding: 14px 0 6px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all .22s; box-shadow: 0 16px 48px rgba(0,0,0,.14);
}
.nav-menu > li:hover .nav-dd { opacity: 1; visibility: visible; pointer-events: all; }
.nav-dd a {
    display: block; padding: 11px 20px;
    font-family: var(--H); font-size: 11px; font-weight: 600;
    letter-spacing: .6px; text-transform: uppercase;
    color: rgba(0,0,0,.58); text-decoration: none;
    border-left: 2px solid transparent; transition: all .18s;
}
.nav-dd a:hover { color: var(--dark); background: rgba(196,18,48,.06); border-color: var(--red); padding-left: 24px; }

/* Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.mob-nav {
    display: none; position: fixed; inset: 0; top: 70px;
    background: rgba(8,8,8,.99); z-index: 998;
    flex-direction: column; align-items: stretch;
    justify-content: flex-start; overflow-y: auto; padding: 20px 0 40px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
    font-family: var(--H); font-size: 14px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,.75); text-decoration: none;
    padding: 16px 28px; display: block;
    border-bottom: 1px solid rgba(255,255,255,.05); transition: color .2s;
}
.mob-nav a:hover { color: var(--red-light); }
.mob-nav .mob-sub { font-size: 11px; padding: 12px 44px; color: rgba(255,255,255,.5) !important; }
.mob-nav .mob-sub:hover { color: var(--red-light) !important; }
.mob-nav .mob-cta { background: var(--red); color: #fff !important; margin: 20px 28px 0; border-radius: 4px; border-bottom: none; text-align: center; }

/* ─── OVERLAY BACKGROUNDS (não devem capturar cliques) ─── */
.ph-bg, .ph-grid, .ph-bar,
.hero-bg, .hero-grid, .hero-bar,
.met-preview-bg, .met-bg, .dif-bg,
.cta-strip::before,
.prod-visual-photo, .seg-visual-photo,
.cap-specs-photo, .map-photo { pointer-events: none; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
    padding: 158px 0 82px; position: relative; overflow: hidden;
    background: var(--dark-2);
}
.ph-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 72% 50%, rgba(196,18,48,.14) 0%, transparent 58%),
                linear-gradient(145deg,#060606 0%,#181818 55%,#0e0e0e 100%);
}
.ph-grid {
    position: absolute; inset: 0; opacity: .03;
    background-image:
        repeating-linear-gradient(0deg,rgba(255,255,255,.5) 0,rgba(255,255,255,.5) 1px,transparent 1px,transparent 44px),
        repeating-linear-gradient(90deg,rgba(255,255,255,.5) 0,rgba(255,255,255,.5) 1px,transparent 1px,transparent 44px);
}
.ph-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.ph-inner { position: relative; z-index: 2; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--H); font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,.36); margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,.36); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--red-light); }
.breadcrumb i { font-size: 8px; }
.ph-inner h1 {
    font-family: var(--H); font-size: clamp(30px,4vw,58px);
    font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.08;
}
.ph-inner h1 em { color: var(--red-light); font-style: normal; }
.ph-inner > p { font-size: 17px; color: rgba(255,255,255,.58); max-width: 600px; line-height: 1.72; }

/* ─── CTA STRIP ─── */
.cta-strip {
    background: var(--red); padding: 84px 0;
    position: relative; overflow: hidden; text-align: center;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 0% 0%,rgba(0,0,0,.3) 0%,transparent 55%),
                radial-gradient(ellipse at 100% 100%,rgba(0,0,0,.18) 0%,transparent 50%);
}
.cta-strip-inner { position: relative; }
.cta-strip h2 { font-size: clamp(24px,3.2vw,42px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.cta-strip p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 38px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: #070707; padding: 72px 0 28px; border-top: 1px solid rgba(255,255,255,.05); }
.ft-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 56px; }
.ft-logo { height: 50px; margin-bottom: 18px; }
.ft-tagline { font-size: 14px; color: rgba(255,255,255,.35); line-height: 1.75; max-width: 270px; margin-bottom: 26px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a {
    width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4); font-size: 14px; text-decoration: none; transition: all .2s;
}
.ft-social a:hover { background: var(--red); color: #fff; }
.ft-col h5 { font-family: var(--H); font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.ft-links li { margin-bottom: 11px; }
.ft-links a { font-size: 14px; color: rgba(255,255,255,.37); text-decoration: none; transition: color .2s; }
.ft-links a:hover { color: var(--red-light); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.ft-bottom p, .ft-bottom a { font-size: 12px; color: rgba(255,255,255,.24); text-decoration: none; }
.ft-bottom a:hover { color: var(--red-light); }

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 58px; height: 58px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; text-decoration: none;
    box-shadow: 0 6px 26px rgba(37,211,102,.44); transition: transform .3s;
    animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
    0%,100%{box-shadow:0 6px 26px rgba(37,211,102,.44)}
    50%{box-shadow:0 6px 36px rgba(37,211,102,.62),0 0 0 8px rgba(37,211,102,.1)}
}

/* ─── ANIMATIONS ─── */
.anim { opacity: 0; transition: opacity .78s ease, transform .78s ease; }
.from-up { transform: translateY(42px); }
.from-left { transform: translateX(-42px); }
.from-right { transform: translateX(42px); }
.from-scale { transform: scale(.94); }
.anim.in { opacity: 1; transform: none !important; }

/* stagger */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }
.stagger-5 { transition-delay: 400ms; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .ft-grid { grid-template-columns: 1fr; gap: 40px; }
    .ft-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .sec { padding: 72px 0; }
    .page-hero { padding: 118px 0 64px; }
    .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 520px) {
    .container { padding: 0 18px; }
}
