/* ==========================================================================
   Idealmaxxx Multiuso · Design system
   ========================================================================== */

:root {
    --red: #c11a26;
    --red-600: #a8151f;
    --red-700: #8a1019;
    --red-50: #fdf1f1;
    --red-100: #f9dcdd;

    --ink: #15161a;
    --ink-2: #2b2d34;
    --muted: #5c6170;
    --line: #e9e4df;
    --bg: #faf8f5;
    --surface: #ffffff;
    --dark: #121317;
    --dark-2: #1c1d23;

    --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(21, 22, 26, .06), 0 2px 8px rgba(21, 22, 26, .04);
    --shadow: 0 10px 30px -12px rgba(21, 22, 26, .18), 0 4px 10px -6px rgba(21, 22, 26, .08);
    --shadow-lg: 0 30px 60px -20px rgba(21, 22, 26, .28);
    --shadow-red: 0 12px 28px -10px rgba(193, 26, 38, .55);

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(72px, 10vw, 128px);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 48px; padding: 0 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .01em;
    border-radius: 999px; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--red); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn i { font-size: .95em; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--red); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--red); margin-right: 6px; }

.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(21, 22, 26, .25); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.header__logo img { width: 190px; height: auto; transition: width .3s var(--ease); }
.header.is-scrolled .header__logo img { width: 170px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
    position: relative; display: block; padding: 10px 14px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-2);
    border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s;
}
.nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--red); }
.nav__mobile-cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: flex; align-items: center; gap: 12px; line-height: 1.25; white-space: nowrap; }
.header__phone small { display: block; font-size: 12px; color: var(--muted); }
.header__phone strong { font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.header__phone-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--red-50); color: var(--red); transition: background-color .2s, color .2s;
}
.header__phone:hover .header__phone-icon { background: var(--red); color: #fff; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); cursor: pointer; padding: 0 12px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section primitives ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--surface); }
.section--flush { padding-top: 0; }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
    font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
.title em, .hero__title em, .page-hero h1 em { font-style: italic; color: var(--red); }
.lead { margin-top: 18px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.section--dark .lead { color: rgba(255, 255, 255, .65); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); background: var(--bg); }
.hero::before {
    content: ""; position: absolute; right: -10%; top: -30%; width: 62%; height: 150%;
    background: linear-gradient(160deg, var(--red) 0%, var(--red-700) 100%);
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
    opacity: .96;
}
.hero::after {
    content: ""; position: absolute; right: 18%; top: -30%; width: 40%; height: 150%;
    background: var(--ink); clip-path: polygon(78% 0, 100% 0, 30% 100%, 8% 100%); opacity: .9;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 24px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero__badge b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 12px; white-space: nowrap; flex: none; }
.hero__title { font-size: clamp(38px, 6vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero__text { margin-top: 24px; max-width: 540px; font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero__proof li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__proof i { color: var(--red); }

.hero__visual { position: relative; }
.hero__card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: #fff; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
    border: 8px solid #fff;
}
.hero__card img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: calc(var(--radius-lg) - 8px); }
.hero__float {
    position: absolute; display: flex; align-items: center; gap: 14px;
    padding: 14px 20px 14px 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}
.hero__float strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); line-height: 1.2; }
.hero__float small { font-size: 13px; color: var(--muted); }
.hero__float-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--red-50); color: var(--red); font-size: 18px; flex: none; }
.hero__float--a { left: -36px; bottom: 36px; }
.hero__float--b { right: -20px; top: -24px; animation-delay: -3s; }
.hero__float--b .hero__float-icon { background: var(--ink); color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(34px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.stat__num span { color: var(--red); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.mosaic picture, .mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic > :first-child { grid-row: span 2; }
.mosaic > * { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic__tag {
    position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 16px; padding: 18px 26px;
    background: var(--red); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-red); white-space: nowrap;
}
.mosaic__tag strong { font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.mosaic__tag span { font-size: 14px; line-height: 1.3; opacity: .9; }

.checklist { display: grid; gap: 14px; margin: 28px 0 36px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checklist i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--red-50); color: var(--red); font-size: 11px; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.product-card {
    grid-column: span 2; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.products > .product-card:nth-child(n+4) { grid-column: span 3; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media { position: relative; overflow: hidden; background: #f3f1ee; aspect-ratio: 16 / 11; }
.products > .product-card:nth-child(n+4) .product-card__media { aspect-ratio: 16 / 8.5; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
    position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 12px; font-weight: 600; color: var(--ink);
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.product-card h3 { font-size: 20px; font-weight: 700; }
.product-card p { margin: 10px 0 20px; font-size: 15px; color: var(--muted); }
.product-card .link-arrow { margin-top: auto; font-size: 15px; }
.product-card__link::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
    padding: 32px 28px; border-radius: var(--radius-lg);
    background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .06);
    transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.feature:hover { transform: translateY(-6px); background: #23242b; border-color: rgba(193, 26, 38, .5); }
.feature__icon {
    display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px;
    border-radius: 16px; background: linear-gradient(145deg, var(--red), var(--red-700)); color: #fff; font-size: 22px;
    box-shadow: var(--shadow-red);
}
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: rgba(255, 255, 255, .62); }
.section--light .feature { background: var(--surface); border-color: var(--line); }
.section--light .feature p { color: var(--muted); }
.section--light .feature:hover { background: var(--surface); box-shadow: var(--shadow); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner {
    display: grid; place-items: center; min-height: 150px; padding: 28px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .3s, transform .3s var(--ease);
}
.partner img { max-height: 84px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner:hover img { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.section--cta { padding-top: 0; }
.section--dark + .section--cta { padding-top: var(--section); }
.cta {
    position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
    padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--red) 0%, var(--red-700) 100%); color: rgba(255, 255, 255, .85);
}
.cta::before {
    content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px;
    background: rgba(255, 255, 255, .08); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.cta::after {
    content: ""; position: absolute; right: 120px; bottom: -160px; width: 280px; height: 320px;
    background: rgba(0, 0, 0, .18); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.cta p { margin-top: 14px; font-size: 17px; max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.cta__phone { display: block; margin-top: 6px; text-align: center; font-family: var(--font-head); font-weight: 700; color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
    background: var(--dark); color: rgba(255, 255, 255, .7);
}
.page-hero::before {
    content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 46%;
    background: linear-gradient(160deg, var(--red), var(--red-700));
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero::after {
    content: ""; position: absolute; right: 30%; top: 0; bottom: 0; width: 14%;
    background: rgba(255, 255, 255, .05); clip-path: polygon(60% 0, 100% 0, 40% 100%, 0 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 760px; color: #fff; font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.page-hero h1 em { color: #ff6b73; }
.page-hero p { max-width: 600px; margin-top: 18px; font-size: clamp(16px, 1.7vw, 19px); }
.page-hero .eyebrow { color: #ff6b73; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .4; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Values (sobre) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
    position: relative; padding: 40px 34px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value__num { position: absolute; right: 24px; top: 12px; font-family: var(--font-head); font-size: 88px; font-weight: 800; color: var(--red-50); line-height: 1; }
.value .feature__icon { position: relative; }
.value h3 { position: relative; font-size: 24px; margin-bottom: 12px; }
.value p { position: relative; color: var(--muted); }
.value--featured { background: var(--ink); border-color: var(--ink); }
.value--featured h3 { color: #fff; }
.value--featured p { color: rgba(255, 255, 255, .7); }
.value--featured .value__num { color: rgba(255, 255, 255, .06); }

.quote {
    position: relative; margin-top: 32px; padding: 26px 28px 26px 32px;
    background: var(--surface); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-sm);
    font-family: var(--font-head); font-size: 19px; font-weight: 600; font-style: italic; color: var(--ink); line-height: 1.5;
}

/* ---------- Product detail (produtos) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2);
    cursor: pointer; transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover, .chip.is-active { border-color: var(--red); color: var(--red); background: var(--red-50); }
.chips--sticky {
    position: sticky; top: var(--header-h); z-index: 20; padding: 14px 0; margin-bottom: 24px;
    background: rgba(250, 248, 245, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.chips--sticky .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips--sticky .chips::-webkit-scrollbar { display: none; }
.chips--sticky .chip { flex: none; }

.product-row {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
    padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line);
}
.product-row:last-child { border-bottom: 0; }
.product-row:nth-child(even) .product-row__media { order: 2; }
.product-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.product-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.product-row__media:hover img { transform: scale(1.04); }
.product-row__index { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; box-shadow: var(--shadow-red); }
.product-row h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.product-row .lead { margin-top: 14px; }
.specs { display: grid; gap: 0; margin: 28px 0 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.specs li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; font-size: 15px; color: var(--ink-2); }
.specs li + li { border-top: 1px solid var(--line); }
.specs i { color: var(--red); width: 18px; text-align: center; }
.product-row__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Where to buy ---------- */
.finder {
    display: flex; align-items: center; gap: 14px; max-width: 560px; padding: 8px 8px 8px 22px; margin-top: 32px;
    background: #fff; border-radius: 999px; box-shadow: var(--shadow);
}
.finder i { color: var(--muted); }
.finder input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; color: var(--ink); }
.finder input:focus { outline: none; }
.finder:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), var(--shadow); }

.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.store {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .3s;
}
.store:hover { box-shadow: var(--shadow); }
.store__head { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.store__logo { display: grid; place-items: center; width: 120px; height: 70px; flex: none; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.store__logo img { max-height: 54px; width: auto; }
.store__head h2 { font-size: 20px; }
.store__head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.store__body { padding: 20px 28px 28px; }
.store__states { display: flex; flex-wrap: wrap; gap: 8px; }
.store__states li { padding: 6px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.store__list { display: grid; gap: 12px; }
.store__text { margin-bottom: 20px; }
.store__item { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.store__item i { grid-row: span 3; margin-top: 4px; color: var(--red); }
.store__item strong { font-family: var(--font-head); color: var(--ink); }
.store__item span { font-size: 14px; color: var(--muted); }
.store__item a { font-size: 14px; font-weight: 600; color: var(--red); }
.store__item a:hover { text-decoration: underline; }
.store--online { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); }
.store--online .store__head { border-color: rgba(255, 255, 255, .1); }
.store--online h2 { color: #fff; }
.store--online .store__head p { color: rgba(255, 255, 255, .6); }
.store--online .store__logo { background: var(--red); border-color: var(--red); color: #fff; font-size: 28px; }
.is-hidden { display: none !important; }
.empty { display: none; padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty.is-visible { display: block; }
.empty strong { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 18px; color: var(--ink); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client {
    display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.client__logo { display: grid; place-items: center; height: 180px; padding: 32px; background: #fff; border-bottom: 1px solid var(--line); }
.client__logo img { max-height: 110px; width: auto; }
.client__body { padding: 24px 28px 28px; }
.client__body h2 { font-size: 20px; }
.client__body p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pg-contato .page-hero { padding-bottom: 150px; }
.form-card { padding: clamp(28px, 4vw, 48px); margin-top: -96px; position: relative; z-index: 2; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 28px; font-weight: 800; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.req { color: var(--red); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--bg); font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
    -webkit-appearance: none; appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%235c6170' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d6d0c9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(193, 26, 38, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: var(--red-50); }
.field__error { display: none; font-size: 13px; color: var(--red); }
.field.has-error .field__error { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); font-size: 13px; }
.form__foot small i { color: var(--red); margin-right: 4px; }
.btn.is-loading { pointer-events: none; opacity: .8; }

.info-list { display: grid; gap: 16px; }
.info {
    display: flex; gap: 18px; align-items: flex-start; padding: 24px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
a.info:hover { border-color: var(--red); box-shadow: var(--shadow); }
.info__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--red-50); color: var(--red); font-size: 18px; }
.info small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 17px; color: var(--ink); line-height: 1.4; word-break: break-word; }
.info__sub { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.contact .info-list { padding-top: 40px; }
.info--dark { background: var(--ink); border-color: var(--ink); }
.info--dark .info__icon { background: var(--red); color: #fff; }
.info--dark strong { color: #fff; }
.info--dark small, .info--dark .info__sub { color: rgba(255, 255, 255, .6); }

/* ---------- Status pages (sucesso / 404) ---------- */
.status { display: grid; place-items: center; min-height: 62vh; padding: var(--section) 0; text-align: center; }
.status__icon {
    display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 50%;
    background: var(--red-50); color: var(--red); font-size: 38px; box-shadow: 0 0 0 12px rgba(193, 26, 38, .05);
}
.status__code { font-family: var(--font-head); font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--ink); }
.status__code span { color: var(--red); }
.status h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.status p { max-width: 520px; margin: 16px auto 0; color: var(--muted); font-size: 17px; }
.status__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status__timer { margin-top: 24px; font-size: 14px; color: var(--muted); }
.status__timer b { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .6); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 48px; padding-top: clamp(64px, 8vw, 96px); padding-bottom: 56px; }
.footer__brand img { width: 200px; margin-bottom: 20px; }
.footer__brand p { margin-bottom: 24px; max-width: 320px; }
.footer__title { margin-bottom: 20px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact i { width: 16px; margin-top: 5px; color: var(--red); text-align: center; flex: none; }
.footer__contact a:hover { color: #fff; }
.footer__phone { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer__secure i { color: #3fb56b; margin-right: 6px; }

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px;
    border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow-red);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
    .header__phone { display: none; }
}
@media (max-width: 1180px) {
    .header__inner { gap: 20px; }
    .nav__link { padding: 10px 9px; font-size: 14.5px; }
    .header__logo img, .header.is-scrolled .header__logo img { width: 160px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .topbar { display: none; }
    .header__logo img, .header.is-scrolled .header__logo img { width: 160px; }
    .header__actions { margin-left: auto; gap: 12px; }
    .nav-toggle { display: block; }
    .header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0;
        display: flex; flex-direction: column; gap: 24px; padding: 24px var(--gutter) 40px;
        background: var(--surface); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link { padding: 18px 4px; font-size: 20px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__link::after { display: none; }
    .nav__mobile-cta { display: grid; gap: 12px; margin-top: auto; }
    body.nav-open { overflow: hidden; }

    .hero__inner, .split, .product-row, .contact { grid-template-columns: 1fr; }
    .hero::before { width: 100%; height: 40%; top: auto; bottom: 0; right: 0; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
    .hero::after { display: none; }
    .hero__visual { max-width: 560px; margin: 16px auto 0; width: 100%; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .split--reverse .split__media, .product-row:nth-child(even) .product-row__media { order: 0; }
    .split__media { margin-bottom: 32px; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .product-card, .products > .product-card:nth-child(n+4) { grid-column: span 1; }
    .products > .product-card:nth-child(n+4) .product-card__media { aspect-ratio: 16 / 11; }
    .products > .product-card:last-child { grid-column: 1 / -1; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .values, .clients { grid-template-columns: 1fr 1fr; }
    .values > :last-child { grid-column: 1 / -1; }
    .stores { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; }
    .cta__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .form-card { margin-top: -64px; }
    .pg-contato .page-hero { padding-bottom: 112px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .page-hero::before { width: 60%; opacity: .5; }
}

@media (max-width: 640px) {
    .header__actions .btn { display: none; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__proof { gap: 14px 22px; }
    .hero__float--a { left: -6px; bottom: -20px; }
    .hero__float--b { right: -6px; top: -18px; }
    .hero__float { padding: 10px 14px 10px 10px; }
    .hero__float-icon { width: 38px; height: 38px; font-size: 15px; }
    .stats { margin-top: -40px; }
    .stat { padding: 24px 18px; }
    .products, .features, .values, .clients, .partners { grid-template-columns: 1fr; }
    .partner { min-height: 120px; }
    .mosaic__tag { left: 16px; right: 16px; transform: none; white-space: normal; }
    .form { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .store__head { flex-direction: column; align-items: flex-start; padding: 20px; }
    .store__body { padding: 18px 20px 22px; }
    .cta__actions .btn { flex: 1 1 100%; }
    .product-row__actions .btn { flex: 1 1 100%; }
    .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
    .page-hero::before { width: 80%; opacity: .35; }
    .hero__badge { font-size: 13px; }
    .hero::before { height: 30%; }
    .pg-contato .page-hero { padding-bottom: 88px; }
    .form-card { margin-top: -48px; }
}
