/* =========================================================================
   Muraro Automotive — folha de estilo da vitrine
   Paleta fiel à marca: azul, preto, cinza e branco. Editorial e clara,
   com títulos serifados (Fraunces) e corpo em Inter. Cards em caixa,
   com contorno definido — nada de grades sem separação.
   ========================================================================= */

:root {
    --white: #ffffff;
    --paper: #ffffff;
    --paper-alt: #f2f3f5;
    --surface: #ffffff;
    --line: #e3e5ea;
    --line-strong: #c7cbd3;

    --ink: #111318;
    --ink-soft: #464b54;
    --ink-mute: #82868f;

    --blue: #1d4fd7;
    --blue-dark: #15379e;
    --blue-pale: #eaf0fe;

    --steel: #5b6472;
    --steel-light: #9199a6;

    --wa: #1f8a4c;
    --wa-dark: #17703c;

    --alert: #b3261e;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

    --radius: 2px;
    --shadow: 0 1px 2px rgba(17, 19, 24, .05);
    --shadow-lg: 0 18px 50px rgba(17, 19, 24, .14);
    --header-h: 128px;
    --transition: .22s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .5em;
    line-height: 1.15;
}

p { margin: 0 0 1em; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- topbar */

.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .78);
    font-size: 12.5px;
    letter-spacing: .02em;
}

.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 38px; padding-block: 8px; gap: 20px;
}

@media (max-width: 639px) { .topbar__info span:last-child { display: none; } }

.topbar__info { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info svg { color: var(--blue); flex-shrink: 0; }
.topbar__social { display: none; align-items: center; gap: 16px; }
.topbar__social a { color: rgba(255, 255, 255, .65); transition: color var(--transition); }
.topbar__social a:hover { color: #fff; }

@media (min-width: 768px) { .topbar__social { display: flex; } }

/* ---------------------------------------------------------------- header */

.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(17, 19, 24, .97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header__main {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 14px 0;
}

.header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header__logo img { height: 50px; width: auto; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.header__burger {
    background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius);
    padding: 9px; display: inline-flex; color: #fff;
}

@media (min-width: 992px) { .header__burger { display: none; } }

/* navegação desktop */

.nav { display: none; }

.nav__list { display: flex; align-items: center; gap: 6px; }

.nav__link {
    display: block; padding: 8px 14px;
    font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
    font-weight: 500; color: rgba(255, 255, 255, .72);
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav__link:hover, .nav__link.is-active { color: #fff; border-color: var(--blue); }

@media (min-width: 992px) { .nav { display: block; } }

/* menu mobile */

.drawer {
    position: fixed; inset: 0 auto 0 0; width: min(320px, 88vw);
    background: var(--surface); z-index: 120;
    transform: translateX(-100%); transition: transform .3s ease;
    display: flex; flex-direction: column; overflow-y: auto;
    border-right: 1px solid var(--line);
}

.drawer.is-open { transform: translateX(0); }

.drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
}

.drawer__head img { height: 34px; }
.drawer__close { background: none; border: 0; color: var(--ink-soft); padding: 6px; }

.drawer__nav { padding: 10px 0 24px; }

.drawer__nav a {
    display: block; padding: 14px 20px;
    font-size: 13.5px; letter-spacing: .04em;
    text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line);
}

.drawer__foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); }

.overlay {
    position: fixed; inset: 0; background: rgba(17, 19, 24, .5);
    opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 110;
}

.overlay.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- carrossel */

.hero-carousel {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 600px; background: var(--ink); color: #fff; border-bottom: 1px solid var(--line);
}

.hero-slide {
    position: absolute; inset: 0; display: flex; align-items: center; isolation: isolate; z-index: 0;
    background-color: var(--ink); background-size: cover; background-position: center;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(10, 12, 16, .9) 0%, rgba(10, 12, 16, .65) 45%, rgba(10, 12, 16, .25) 100%);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide--plain {
    background: linear-gradient(120deg, #0b0d12 0%, #16213f 100%);
}
.hero-slide--plain::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: repeating-linear-gradient(-115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}
.hero-slide--plain::before { display: none; }

.hero-slide__content { position: relative; z-index: 1; max-width: 680px; padding-block: 90px; padding-inline: 0; }

.hero-slide__eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: #8fb0ff;
}
.hero-slide__eyebrow::before { content: ''; width: 28px; height: 2px; background: #8fb0ff; }

.hero-slide h1, .hero-slide h2 {
    color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; margin: 0 0 20px;
}
.hero-slide h2 { font-size: clamp(30px, 4.2vw, 50px); }
.hero-slide p { color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 52ch; margin: 0 0 34px; }

.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slide .btn { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero-slide .btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.hero-slide .btn--outline { background: transparent; border-color: rgba(255, 255, 255, .5); }

.hero-carousel__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(10, 12, 16, .35); color: #fff; font-size: 26px; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.hero-carousel__arrow:hover { background: rgba(255, 255, 255, .15); }
.hero-carousel__arrow--prev { left: 18px; }
.hero-carousel__arrow--next { right: 18px; }

.hero-carousel__dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-carousel__dot {
    width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35);
    transition: background var(--transition), width var(--transition);
}
.hero-carousel__dot.is-active { background: #fff; width: 44px; }

@media (max-width: 767px) {
    .hero-carousel { min-height: 560px; }
    .hero-carousel__arrow { display: none; }
    .hero-slide__content { padding-block: 70px; }
}

.wheel { width: min(340px, 78vw); animation: spin 34s linear infinite; }

@media (prefers-reduced-motion: reduce) { .wheel { animation: none; } }

.about-wheel { width: min(380px, 80vw); animation: spin 40s linear infinite; }
.about-wheel img { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: reduce) { .about-wheel { animation: none; } }

@keyframes spin { to { transform: rotate(360deg); } }
/* ------------------------------------------------------------------ perks */

.perks { background: var(--surface); border-bottom: 1px solid var(--line); }

.perks__list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
}

@media (min-width: 768px) { .perks__list { grid-template-columns: repeat(4, 1fr); } }

.perk {
    display: flex; align-items: flex-start; gap: 14px; padding: 26px 24px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) { .perk:nth-child(4) { border-right: 0; } .perk { border-bottom: 0; } }
@media (max-width: 767px) { .perk:nth-child(2n) { border-right: 0; } }

.perk__icon {
    width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 2px;
}

.perk strong { display: block; font-size: 13px; letter-spacing: .03em; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.perk span { font-size: 12.5px; color: var(--ink-mute); }

/* --------------------------------------------------------------- seções */

.section { padding: 68px 0; }

@media (min-width: 992px) { .section { padding: 96px 0; } }

.section--alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { margin-bottom: 44px; max-width: 640px; }
.section__head.center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; letter-spacing: .22em;
    text-transform: uppercase; color: var(--blue); margin-bottom: 14px; font-weight: 600;
}

.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--blue); }
.section__head.center .eyebrow::before { display: none; }

.section__head h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; }
.section__head p { color: var(--ink-mute); margin: 0; font-size: 15px; }

.section__foot { text-align: center; margin-top: 44px; }

/* ------------------------------------------------------------ categorias */

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cat-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card:hover h3 { color: var(--blue); }

.cat-card__media {
    position: relative; display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3; background: var(--paper-alt); border-bottom: 1px solid var(--line); overflow: hidden;
}
.cat-card__media svg { width: 30%; height: 30%; color: var(--blue); opacity: .8; }
.cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.cat-card__body { padding: 22px; }

.cat-card h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); font-family: var(--font-display); font-weight: 500; transition: color var(--transition); }
.cat-card p { font-size: 13px; color: var(--ink-mute); margin: 0; }

/* ----------------------------------------------------------------- grid */

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

@media (min-width: 480px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.catalog .grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .catalog .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .catalog .grid { grid-template-columns: repeat(3, 1fr); } }

.grid--services { grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--services { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------- card produto */

.card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.card__media {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3; background: var(--paper-alt); border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media svg { width: 32%; height: 32%; color: var(--blue); opacity: .8; }

.card__flags { display: flex; gap: 10px; margin-bottom: 10px; }

.flag {
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue); font-weight: 700;
}

.flag--sale { color: var(--wa-dark); }

.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px; }

.card__brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }

.card__name {
    font-family: var(--font-display); font-size: 17px; line-height: 1.3; color: var(--ink);
    font-weight: 500; letter-spacing: 0;
    min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

.card__spec { font-size: 12px; color: var(--ink-mute); font-family: 'Inter', monospace; letter-spacing: .03em; }

.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding-top: 14px; border-top: 1px solid var(--line); }

.card__price-old { font-size: 12px; color: var(--ink-mute); text-decoration: line-through; display: block; white-space: nowrap; }
.card__price { font-family: var(--font-display); font-size: 19px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.card__price small { font-size: 11px; color: var(--ink-mute); text-transform: none; font-family: var(--font); }

.card--service { text-align: left; padding: 0; }
.card--service .card__body { gap: 12px; padding: 26px 24px; }
.card--service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.card--service__icon {
    width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--paper-alt); color: var(--blue);
}
.card--service__icon svg { width: 22px; height: 22px; }
.card--service .card__index {
    font-family: var(--font-display); font-size: 13px; color: var(--blue); letter-spacing: .08em; font-style: italic;
}
.card--service h3 { font-size: 19px; margin: 0; color: var(--ink); font-weight: 500; }
.card--service p { font-size: 14px; color: var(--ink-mute); margin: 0; }
.card--service .card__foot { padding-top: 16px; }
.card--service .card__media { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------- botões */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 1px solid var(--blue); border-radius: var(--radius);
    font-size: 12.5px; letter-spacing: .1em;
    text-transform: uppercase; font-weight: 600; transition: all var(--transition);
    background: var(--blue); color: #fff;
}

.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }

.btn--sm { padding: 10px 18px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link-wa {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; letter-spacing: .04em; color: var(--wa-dark); font-weight: 600;
    border-bottom: 1px solid transparent; transition: border-color var(--transition);
}
.link-wa:hover { border-color: var(--wa-dark); }
.link-wa--navy { color: var(--blue); }
.link-wa--navy:hover { border-color: var(--blue); }

/* --------------------------------------------------------------- marcas */

.brand-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

@media (min-width: 640px) { .brand-mosaic { grid-template-columns: repeat(4, 1fr); } }

.brand-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 32px 16px; background: var(--surface); transition: background var(--transition);
}
.brand-tile:hover { background: var(--paper-alt); }
.brand-tile img { max-height: 52px; width: auto; max-width: 80%; object-fit: contain; }
.brand-tile span {
    font-family: var(--font-display); font-size: 17px; letter-spacing: .02em;
    color: var(--ink); font-weight: 500;
}

/* --------------------------------------------------------------- porque */

.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-item { padding: 30px 26px; border: 1px solid var(--line); background: var(--surface); }
.why-item__icon { display: none; }
.why-item__panel {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border: 1px solid var(--line); background: var(--paper-alt);
    color: var(--blue); margin-bottom: 20px;
}
.why-item__panel svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.why-item p { font-size: 13.5px; color: var(--ink-mute); margin: 0; }

/* ------------------------------------------------------------- banda escura */

.band {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink); color: #fff; padding: 64px 0;
}

.band::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-image: repeating-linear-gradient(-115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}

.band::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    width: 560px; height: 560px; left: -240px; top: 50%; transform: translateY(-50%);
    border: 60px solid rgba(255, 255, 255, .045); border-radius: 50%;
}

.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { color: #fff; font-size: clamp(22px, 2.8vw, 32px); max-width: 26ch; margin: 0; }
.band__stats { display: flex; flex-wrap: wrap; gap: 0; }
.band__stats > div { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.band__stats > div:first-child { border-left: 0; padding-left: 0; }
.band__stats strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 500; }
.band__stats span { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------------ vídeo */

.video-frame {
    aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto;
    border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-frame__placeholder {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; color: var(--ink-mute); background: var(--paper-alt);
}
.video-frame__placeholder svg { color: var(--blue); opacity: .7; }
.video-frame__placeholder p { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.video-cta {
    position: relative; display: block; width: 100%; max-width: 900px; margin: 0 auto;
    aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
    background-size: cover; background-position: center; background-color: var(--ink);
    isolation: isolate;
}
.video-cta::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(17, 19, 24, .15), rgba(17, 19, 24, .55));
}
.video-cta__play {
    position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--blue);
    display: inline-flex; align-items: center; justify-content: center; padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform var(--transition);
}
.video-cta:hover .video-cta__play { transform: translate(-50%, -50%) scale(1.08); }

.video-embed {
    position: relative; width: 100%; max-width: 900px; margin: 0 auto;
    aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------- depoimentos */

.testi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi {
    padding: 30px 26px; background: var(--surface); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 16px;
}

.testi__stars { display: none; }
.testi__quote { font-family: var(--font-display); font-size: 34px; color: var(--blue); line-height: 1; opacity: .55; }
.testi p { font-size: 14.5px; color: var(--ink-soft); margin: 0; font-style: italic; }
.testi__author { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.testi__avatar { display: none; }
.testi__author strong { display: block; font-size: 13px; color: var(--ink); font-weight: 600; font-style: normal; }
.testi__author span { font-size: 11.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }

/* --------------------------------------------------------------- blog */

.post-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); transition: border-color var(--transition), box-shadow var(--transition);
}
.post-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.post-card__cover {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 10; background: var(--paper-alt); border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cover svg { width: 26%; height: 26%; color: var(--blue); opacity: .8; }

.post-card__body { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__meta { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 18px; margin: 0; text-transform: none; letter-spacing: 0; color: var(--ink); line-height: 1.35; font-weight: 500; }
.post-card p { font-size: 13.5px; color: var(--ink-mute); margin: 0; flex: 1; }
.post-card__link { font-size: 12px; color: var(--blue); font-weight: 600; margin-top: auto; letter-spacing: .03em; }

/* --------------------------------------------------------------- FAQ */

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item__q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
    padding: 22px 2px; background: none; border: 0; text-align: left;
    font-family: var(--font-display); font-size: 16px; text-transform: none; letter-spacing: 0;
    color: var(--ink); font-weight: 500;
}

.faq-item__q svg { flex-shrink: 0; color: var(--blue); transition: transform var(--transition); width: 16px; height: 16px; }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }

.faq-item__a { display: none; padding: 0 2px 22px; color: var(--ink-mute); font-size: 14.5px; max-width: 62ch; }
.faq-item.is-open .faq-item__a { display: block; }

/* ------------------------------------------------------------------- CTA */

.cta {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--ink);
    padding: 64px 40px; text-align: center; color: #fff;
}

.cta::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}

.cta::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    width: 620px; height: 620px; right: -220px; top: 50%; transform: translateY(-50%);
    border: 70px solid rgba(255, 255, 255, .045); border-radius: 50%;
}

.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; }
.cta p { color: rgba(255, 255, 255, .68); margin: 0 0 30px; }
.cta .btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.cta .btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta .btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ------------------------------------------------------------------ footer */

.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 64px 0 0; font-size: 13.5px; color: rgba(255,255,255,.6); }

.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; }

@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

.footer h4 { font-size: 12px; letter-spacing: .1em; color: #fff; margin: 0 0 18px; text-transform: uppercase; font-family: var(--font); font-weight: 600; }
.footer li { margin-bottom: 11px; }
.footer a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer a:hover { color: #fff; }

.footer__brand img { height: 44px; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.55); max-width: 34ch; margin: 0 0 20px; }

.social { display: flex; gap: 10px; }
.social a {
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.75); transition: all var(--transition);
}
.social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.footer__bottom {
    margin-top: 44px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12);
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    font-size: 12px; color: rgba(255,255,255,.45);
}

/* --------------------------------------------------- whatsapp flutuante */

.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--wa); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.06); }

/* --------------------------------------------------------------- avisos */

.flash { background: var(--ink); color: #fff; padding: 12px 0; font-size: 13.5px; text-align: center; }

.alert { padding: 14px 16px; border-radius: var(--radius); background: #fbeceb; color: var(--alert); font-size: 13.5px; margin-bottom: 18px; border: 1px solid rgba(179, 38, 30, .2); }
.alert--ok { background: #eaf5ee; color: var(--wa-dark); border-color: rgba(31, 138, 76, .25); }

/* --------------------------------------------------------- breadcrumb */

.breadcrumb { padding: 20px 0; font-size: 12.5px; color: var(--ink-mute); }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; }

/* --------------------------------------------------- página catálogo */

.catalog { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 70px; }

@media (min-width: 992px) { .catalog { grid-template-columns: 250px 1fr; gap: 56px; } }

.catalog__head { padding: 6px 0 30px; }
.catalog__head h1 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; }
.catalog__head p { margin: 0; color: var(--ink-mute); font-size: 14.5px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.toolbar__count { font-size: 12.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }

.filters__toggle { display: inline-flex; }
@media (min-width: 992px) { .filters__toggle { display: none; } }

.filters {
    position: fixed; inset: 0 auto 0 0; width: min(320px, 90vw); background: var(--surface);
    z-index: 120; transform: translateX(-100%); transition: transform .3s ease;
    overflow-y: auto; padding: 20px; border-right: 1px solid var(--line);
}

.filters.is-open { transform: translateX(0); }

.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters__head h3 { margin: 0; font-size: 13px; }
.filters__head button { background: none; border: 0; color: var(--ink-soft); }

.filter-group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filter-group > h4 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink); font-weight: 600; }
.filter-check { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.filter-check input { accent-color: var(--blue); width: 15px; height: 15px; }

.filters__actions { display: flex; gap: 8px; padding-top: 18px; }

@media (min-width: 992px) {
    .filters { position: static; width: auto; transform: none; padding: 0; overflow: visible; background: none; border: 0; }
    .filters__head { display: none; }
}

.empty { text-align: center; padding: 80px 20px; color: var(--ink-mute); }
.empty h3 { font-size: 22px; color: var(--ink); font-family: var(--font-display); font-weight: 500; }

/* ---------------------------------------------------- paginação */

.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; padding: 0 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft);
    transition: all var(--transition);
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { opacity: .4; }

/* ------------------------------------------------------ página produto/serviço */

.pdp { display: grid; gap: 48px; grid-template-columns: 1fr; padding: 20px 0 76px; }

@media (min-width: 992px) { .pdp { grid-template-columns: 1fr 1fr; gap: 64px; } }

.pdp__media {
    aspect-ratio: 1/1; background: var(--paper-alt);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}

.pdp__media .wheel { width: 62%; animation: spin 50s linear infinite; }

.pdp__flags { display: flex; gap: 12px; margin-bottom: 16px; }
.pdp__brand { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 12px; }
.pdp h1 { font-size: clamp(26px, 2.8vw, 36px); text-transform: none; letter-spacing: 0; margin: 0 0 16px; line-height: 1.25; }
.pdp__sku { font-size: 12px; color: var(--ink-mute); margin-bottom: 24px; }

.pdp__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pdp__price-old { font-size: 15px; color: var(--ink-mute); text-decoration: line-through; }
.pdp__price { font-family: var(--font-display); font-size: 34px; color: var(--ink); font-weight: 500; }
.pdp__installment { font-size: 13px; color: var(--ink-mute); margin-bottom: 28px; }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { color: var(--ink); font-weight: 600; width: 42%; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.spec-table td { color: var(--ink-soft); font-family: 'Inter', monospace; }

.pdp__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }

.pdp__perks { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; }
.pdp__perk { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-mute); }
.pdp__perk svg { color: var(--wa-dark); flex-shrink: 0; width: 15px; height: 15px; }

.benefits { display: grid; gap: 14px; margin: 22px 0; }
.benefit { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.benefit svg { color: var(--wa-dark); flex-shrink: 0; margin-top: 3px; width: 15px; height: 15px; }

.prose { color: var(--ink-soft); font-size: 15.5px; line-height: 1.9; }
.prose h2 { font-size: 21px; margin-top: 34px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.prose p { margin-bottom: 1.2em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.prose li { margin-bottom: 6px; }

/* ------------------------------------------------------ página blog */

.post-hero { padding: 36px 0 12px; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.post-hero h1 { font-size: clamp(28px, 3.4vw, 44px); text-transform: none; letter-spacing: 0; line-height: 1.2; margin-bottom: 22px; }
.post-hero__lead { font-size: 17.5px; color: var(--ink-soft); max-width: 70ch; }

.post-body { max-width: 740px; margin: 0 auto; padding-bottom: 76px; }

.post-cover {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 21 / 9; background: var(--paper-alt); border: 1px solid var(--line);
    margin-bottom: 40px; overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover svg { width: 16%; height: 16%; color: var(--blue); opacity: .8; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-tag { padding: 6px 14px; border: 1px solid var(--line-strong); font-size: 12px; color: var(--ink-mute); }

/* ---------------------------------------------------------- formulários */

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 9px; }

.field input, .field textarea, .field select {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong);
    border-radius: var(--radius); font-family: inherit; font-size: 14.5px;
    color: var(--ink); background: var(--surface); outline: none; transition: border-color var(--transition);
}

.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.field .error { color: var(--alert); font-size: 12.5px; margin-top: 6px; display: block; }
.field--half { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field--half { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------- páginas institucionais */

.about-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; padding: 20px 0 20px; }
@media (min-width: 992px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.stat-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.stat-row > div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line-strong); }
.stat-row > div:last-child { border-right: 0; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 30px; color: var(--blue); font-weight: 500; }
.stat-row span { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .04em; }

.map-frame { border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16/9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; padding: 20px 0 76px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.info-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-card__icon { color: var(--blue); flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; }
.info-card strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.info-card span, .info-card p { font-size: 13.5px; color: var(--ink-mute); margin: 0; }
