/* ==========================================================================
   AllesFix — Design System
   Paleta técnica industrial: grafite + aço + âmbar (segurança/CTA)
   ========================================================================== */

:root {
    --navy-950: #0a0f1a;
    --navy-900: #0f172a;
    --navy-800: #1a2438;
    --navy-700: #263449;
    --steel-600: #3d5a80;
    --steel-500: #4f7cac;
    --blue-500: #db2777;
    --blue-400: #f472b6;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --gray-50: #f8fafc;
    --gray-100: #eef2f7;
    --gray-200: #dfe6ee;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --white: #ffffff;

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-head: 'Barlow Condensed', var(--font-body);

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(10, 15, 26, .08);
    --shadow-md: 0 8px 24px rgba(10, 15, 26, .10);
    --shadow-lg: 0 20px 50px rgba(10, 15, 26, .16);
    --container-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--navy-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.15;
    color: inherit;
}
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.icon { width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.icon-lg { width: 40px; height: 40px; }

/* ---------- Eyebrow / Section headings ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--amber-500);
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--amber-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--amber-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 26, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(145deg, var(--blue-500), var(--navy-700));
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 700; font-size: 17px; color: var(--white);
    flex-shrink: 0; letter-spacing: -.02em;
}
.brand-mark-footer { width: 40px; height: 40px; margin-bottom: 16px; }
.group-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 600; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: .06em;
}
.group-badge strong { color: var(--gray-200); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; color: var(--white); }
.brand-text strong { font-family: var(--font-head); font-size: 20px; letter-spacing: .04em; }
.brand-text small { font-size: 11px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--gray-200);
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }
.main-nav .btn { margin-left: 10px; }
.nav-toggle {
    display: none;
    background: none; border: none; color: var(--white);
    width: 40px; height: 40px; align-items: center; justify-content: center;
    border-radius: 6px; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: radial-gradient(ellipse at 20% 0%, #16213a 0%, var(--navy-950) 55%);
    color: var(--white);
    padding: 100px 0 90px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 30% 20%, black 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; top: -140px; right: -140px;
    width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.30), transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: var(--amber-400); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 20px; }
.hero h1 span { color: var(--amber-400); }
.hero p.lead { font-size: 18px; color: var(--gray-200); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 34px; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 30px; color: var(--white); }
.hero-stats div span { font-size: 13px; color: var(--gray-400); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--gray-50); padding: 28px 0; border-bottom: 1px solid var(--gray-200); }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trustbar span { font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.trustbar .logos { display: flex; gap: 30px; flex-wrap: wrap; font-family: var(--font-head); font-weight: 700; color: var(--gray-400); font-size: 18px; letter-spacing: .03em; }

/* ---------- Media panels (real photos) ---------- */
.media-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(155deg, var(--navy-900), var(--steel-600) 120%);
    border: 1px solid var(--gray-200);
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-panel.contain { background: var(--gray-50); }
.media-panel.contain img { object-fit: contain; padding: 18px; }

.hero-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.hero-photo .chip {
    position: absolute; z-index: 3;
    background: var(--white); color: var(--navy-900);
    padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-lg);
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.hero-photo .chip .icon { width: 18px; height: 18px; color: var(--blue-500); }
.hero-photo .chip-1 { top: 8%; left: -4%; }
.hero-photo .chip-2 { bottom: 10%; right: -4%; }

.hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    display: grid; place-items: center;
}
.hero-visual .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); }
.hero-visual .ring-1 { width: 100%; height: 100%; }
.hero-visual .ring-2 { width: 74%; height: 74%; border-style: dashed; }
.hero-visual .core {
    position: relative; z-index: 2;
    width: 46%; aspect-ratio: 1/1;
    background: linear-gradient(150deg, var(--blue-500), var(--navy-800));
    border-radius: 28px;
    display: grid; place-items: center;
    box-shadow: 0 30px 70px rgba(37,99,235,.35);
}
.hero-visual .core .icon { width: 46%; height: 46%; color: var(--white); }
.hero-visual .chip {
    position: absolute; z-index: 3;
    background: var(--white); color: var(--navy-900);
    padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow-lg);
    font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.hero-visual .chip .icon { width: 18px; height: 18px; color: var(--blue-500); }
.hero-visual .chip-1 { top: 6%; left: -4%; }
.hero-visual .chip-2 { bottom: 10%; right: -6%; }
.hero-visual .chip-3 { bottom: -4%; left: 18%; }

.card-media {
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    scroll-margin-top: 100px;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .icon-wrap {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(150deg, var(--navy-900), var(--steel-600));
    display: grid; place-items: center; margin-bottom: 22px;
}
.product-card .icon-wrap .icon { color: var(--amber-400); width: 28px; height: 28px; }
.product-card h3 { font-size: 22px; margin-bottom: 6px; }
.product-card .tagline { color: var(--blue-500); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.product-card p.desc { color: var(--gray-600); font-size: 15px; margin-bottom: 18px; }
.product-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--navy-900); }
.product-card .card-link .icon { width: 16px; height: 16px; transition: transform .15s; }
.product-card:hover .card-link .icon { transform: translateX(4px); }

/* ---------- Values / differentials ---------- */
.section-alt { background: var(--gray-50); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-item { text-align: center; padding: 8px; }
.value-item .icon-wrap {
    width: 68px; height: 68px; margin: 0 auto 20px;
    border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md);
    display: grid; place-items: center;
}
.value-item .icon-wrap .icon { color: var(--blue-500); width: 30px; height: 30px; }
.value-item h3 { font-size: 20px; margin-bottom: 10px; }
.value-item p { color: var(--gray-600); font-size: 15px; }

/* ---------- Split (about / image-panel replaced by graphic) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-panel {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, var(--navy-900), var(--steel-600) 120%);
    position: relative; overflow: hidden;
    display: grid; place-items: center;
}
.split-panel .grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 34px 34px;
}
.split-panel .icon { position: relative; width: 34%; height: 34%; color: rgba(255,255,255,.85); }
.split-panel .badge-float, .media-panel .badge-float {
    position: absolute; bottom: 22px; left: 22px; right: 22px;
    background: rgba(10,15,26,.72); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px; padding: 16px 18px; color: var(--white);
    display: flex; gap: 14px; align-items: center;
}
.badge-float .icon { width: 26px; height: 26px; color: var(--amber-400); flex-shrink: 0; }
.badge-float strong { display: block; font-size: 15px; }
.badge-float span { font-size: 12.5px; color: var(--gray-400); }
.split-content h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; }
.split-content p { color: var(--gray-600); margin-bottom: 16px; }
.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--navy-900); }
.check-list .icon { color: var(--white); background: var(--blue-500); border-radius: 50%; padding: 3px; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    margin: 0 24px;
    max-width: calc(var(--container-w) - 48px);
    margin-inline: auto;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.25), transparent 70%);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; position: relative; }
.cta-band p { color: var(--gray-300, #cbd5e1); position: relative; }
.cta-actions { display: flex; gap: 14px; position: relative; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; background: var(--white); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: none; border: none; cursor: pointer;
    font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--navy-900); text-align: left;
}
.faq-question .icon { flex-shrink: 0; transition: transform .25s ease; color: var(--blue-500); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 24px 22px; color: var(--gray-600); font-size: 15px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon-wrap {
    width: 44px; height: 44px; border-radius: 10px; background: var(--navy-900);
    display: grid; place-items: center; flex-shrink: 0;
}
.contact-info-item .icon-wrap .icon { color: var(--amber-400); width: 20px; height: 20px; }
.contact-info-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 14.5px; color: var(--gray-600); }
.contact-info-item a:hover { color: var(--blue-500); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px;
    font-family: var(--font-body); font-size: 14.5px; color: var(--navy-900); background: var(--white);
    transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); }
.field textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
    color: var(--white); padding: 64px 0 56px;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 15% 30%, black 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 46px); position: relative; }
.page-hero p { color: var(--gray-300, #cbd5e1); margin-top: 12px; max-width: 620px; position: relative; font-size: 17px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--gray-400); margin-bottom: 18px; position: relative; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Product detail sections ---------- */
.product-detail {
    display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center;
    padding: 64px 0; border-bottom: 1px solid var(--gray-200);
    scroll-margin-top: 96px;
}
.product-detail:last-child { border-bottom: none; }
.product-detail:nth-child(even) .visual-col { order: 2; }
.product-detail .visual-col .split-panel { aspect-ratio: 1/1; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.spec-list li {
    background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 8px;
    padding: 12px 14px; font-size: 13.5px; color: var(--navy-900); font-weight: 500;
}
.spec-list li b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); font-weight: 700; margin-bottom: 3px; }

/* ---------- Whatsapp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 200;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(37,211,102,.45);
    animation: pulse 2.4s infinite;
}
.whatsapp-float .icon { color: var(--white); width: 28px; height: 28px; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-400); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.footer-values { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-values span { display: flex; align-items: center; gap: 8px; color: var(--gray-400); }
.footer-values .icon-sm { color: var(--amber-400); }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { font-size: 14px; }
.site-footer ul a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.footer-contact .icon-sm { margin-top: 2px; color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-inner, .split, .contact-grid, .product-detail { grid-template-columns: 1fr; }
    .product-detail .visual-col { order: -1 !important; }
    .hero-visual { max-width: 340px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .main-nav {
        position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
        background: var(--navy-950); flex-direction: column; align-items: stretch;
        padding: 20px 24px; gap: 4px; transform: translateX(100%);
        transition: transform .25s ease; overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav .nav-link { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
    .main-nav .btn { margin: 16px 0 0; }
    .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 680px) {
    section { padding: 60px 0; }
    .product-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .field { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 36px 24px; flex-direction: column; text-align: center; }
    .hero-stats { gap: 20px; }
    .trustbar .container { flex-direction: column; text-align: center; }
}
