/* ==========================================================================
   SPDrivers – Motores e Bombas
   Folha de estilos principal

   Índice
   01. Tokens (cores, fontes, espaçamentos)
   02. Base e reset
   03. Utilitários
   04. Botões e links
   05. Barra superior (status, contatos, idiomas)
   06. Cabeçalho e menu
   07. Hero / slider
   08. Seções e títulos
   09. Marcas
   10. Sobre (home)
   11. Cards de serviços
   12. CTA
   13. Páginas internas (hero, breadcrumb)
   14. Empresa
   15. Serviço (conteúdo + sidebar)
   16. Contato e formulário
   17. Política (prose)
   18. 404
   19. Rodapé
   20. Flutuantes (WhatsApp, topo, cookies)
   21. Animações
   22. Responsivo
   ========================================================================== */

/* 01. Tokens
   ========================================================================== */
:root {
    --c-primary: #e30613;
    --c-primary-600: #c0050f;
    --c-primary-50: #fdeced;

    --c-ink: #121519;
    --c-ink-2: #1b1f25;
    --c-graphite: #2c3138;
    --c-text: #3f4650;
    --c-muted: #6b7380;
    --c-line: #e4e7eb;
    --c-soft: #f4f5f7;
    --c-white: #fff;

    --c-online: #22c55e;
    --c-offline: #f59e0b;
    --c-whatsapp: #25d366;
    --c-whatsapp-600: #1da851;

    --f-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 28px);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(18, 21, 25, .06), 0 2px 8px rgba(18, 21, 25, .05);
    --shadow: 0 10px 30px -10px rgba(18, 21, 25, .18);
    --shadow-lg: 0 24px 60px -18px rgba(18, 21, 25, .28);

    --header-h: 84px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 02. Base e reset
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    font-family: var(--f-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-ink);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-primary-600); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid rgba(227, 6, 19, .45); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

::selection { background: var(--c-primary); color: var(--c-white); }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* 03. Utilitários
   ========================================================================== */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

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

.skip-link {
    position: absolute;
    top: -100px; left: 16px;
    z-index: 1000;
    padding: .7rem 1.1rem;
    background: var(--c-primary);
    color: var(--c-white);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--c-white); }

/* 04. Botões e links
   ========================================================================== */
.btn {
    --btn-bg: var(--c-ink);
    --btn-fg: var(--c-white);
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .8rem 1.45rem;
    font-family: var(--f-heading);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 2px solid var(--btn-border);
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn--primary { --btn-bg: var(--c-primary); }
.btn--primary:hover { --btn-bg: var(--c-primary-600); box-shadow: 0 12px 26px -10px rgba(227, 6, 19, .6); }
.btn--dark { --btn-bg: var(--c-ink); }
.btn--dark:hover { --btn-bg: var(--c-graphite); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-border: var(--c-ink); }
.btn--outline:hover { --btn-bg: var(--c-ink); --btn-fg: var(--c-white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-border: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-border: var(--c-white); }
.btn--whatsapp { --btn-bg: var(--c-whatsapp-600); }
.btn--whatsapp:hover { --btn-bg: #178f45; box-shadow: 0 12px 26px -10px rgba(29, 168, 81, .65); }

.btn--sm { padding: .55rem 1.1rem; font-size: .84rem; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-family: var(--f-heading);
    font-size: .9rem;
    font-weight: 600;
    color: var(--c-primary);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 05. Barra superior
   ========================================================================== */
.topbar {
    position: relative;
    z-index: 60;
    background: var(--c-ink);
    color: #c3c9d2;
    font-size: .82rem;
}
.topbar__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 44px;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--c-white); }

.topbar__contacts { display: flex; flex-shrink: 0; align-items: center; gap: 1.25rem; margin-left: auto; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__contacts .icon { width: 14px; height: 14px; color: var(--c-primary); }

.topbar__end { display: flex; align-items: center; gap: 1rem; }

/* Status online/offline */
.status {
    --status-color: var(--c-offline);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}
.status[data-state="open"] { --status-color: var(--c-online); }

.status__dot {
    position: relative;
    width: 9px; height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--status-color);
}
.status[data-state="open"] .status__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--status-color);
    animation: status-pulse 2s ease-out infinite;
}
.status__label { color: var(--c-white); font-weight: 600; white-space: nowrap; }
.status__detail { color: #9aa3ae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status__detail::before { content: "·"; margin-right: .5rem; opacity: .6; }

.topbar__end { flex-shrink: 0; }
.topbar__status {
    flex: 0 1 auto;
    padding: .3rem .8rem .3rem .7rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.status--card,
.status--footer {
    margin-top: .9rem;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    flex-wrap: wrap;
    row-gap: .1rem;
}
.status--card .status__detail,
.status--footer .status__detail { white-space: normal; overflow: visible; }
.status--card { background: var(--c-soft); }
.status--card .status__label { color: var(--c-ink); }
.status--card .status__detail { color: var(--c-muted); }
.status--footer { background: rgba(255, 255, 255, .05); }

@keyframes status-pulse {
    0% { transform: scale(1); opacity: .75; }
    100% { transform: scale(3); opacity: 0; }
}

/* Idiomas */
.lang-switch { display: flex; align-items: center; gap: .25rem; }
.lang-switch__item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .5rem;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1px solid transparent;
    border-radius: 6px;
    opacity: .7;
    transition: opacity .2s, background-color .2s, border-color .2s;
}
.lang-switch__item:hover { opacity: 1; background: rgba(255, 255, 255, .06); }
.lang-switch__item.is-active { opacity: 1; border-color: rgba(255, 255, 255, .2); color: var(--c-white); }
.flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }

/* Redes sociais */
.social { display: flex; align-items: center; gap: .35rem; }
.social a {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    transition: background-color .2s, color .2s, transform .2s;
}
.social .icon { width: 15px; height: 15px; }
.social a:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-2px); }

.social--footer a { width: 40px; height: 40px; background: rgba(255, 255, 255, .07); color: var(--c-white); }
.social--footer .icon { width: 18px; height: 18px; }

/* 06. Cabeçalho e menu
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Fundo "vidro" em pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro dele. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 8px 24px -16px rgba(18, 21, 25, .35); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: var(--header-h);
}

.brand { flex-shrink: 0; }
.brand img { width: 190px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: .25rem; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }

.main-nav__link {
    position: relative;
    display: block;
    padding: .6rem .85rem;
    font-family: var(--f-heading);
    font-size: .93rem;
    font-weight: 500;
    color: var(--c-ink);
}
.main-nav__link::after {
    content: "";
    position: absolute;
    left: .85rem; right: .85rem; bottom: .3rem;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.main-nav__link:hover,
.main-nav__link.is-active { color: var(--c-primary); }
.main-nav__link:hover::after,
.main-nav__link.is-active::after { transform: scaleX(1); }

.has-dropdown > .main-nav__link { padding-right: .2rem; }
.has-dropdown > .main-nav__link::after { right: .2rem; }

.dropdown-toggle {
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    padding: 0;
    color: var(--c-ink);
    background: none;
    border: 0;
    border-radius: 6px;
}
.dropdown-toggle .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.has-dropdown:hover .dropdown-toggle .icon,
.has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: -1rem;
    min-width: 300px;
    padding: .6rem;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .7rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--c-ink);
    border-radius: var(--radius-sm);
    transition: background-color .2s, color .2s;
}
.dropdown a:hover { background: var(--c-soft); color: var(--c-primary); }
.dropdown__icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    color: var(--c-primary);
    background: var(--c-primary-50);
    border-radius: 9px;
}
.dropdown__icon .icon { width: 17px; height: 17px; }
.dropdown__all { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--c-line); }
.dropdown__all a { justify-content: space-between; font-family: var(--f-heading); font-size: .85rem; font-weight: 600; color: var(--c-primary); }

.main-nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 11px;
    background: var(--c-soft);
    border: 0;
    border-radius: 10px;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(18, 21, 25, .55);
    backdrop-filter: blur(2px);
}

/* 07. Hero / slider
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--c-ink);
    isolation: isolate;
}
.hero__viewport {
    position: relative;
    min-height: clamp(540px, 70vh, 640px);
    touch-action: pan-y;
}

.hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s var(--ease), visibility .9s;
}
.hero__slide.is-active { z-index: 1; opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0 0 0 auto; width: 60%; }
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: right center;
    transform-origin: right center;
    transform: scale(1.08);
    transition: transform 8s linear;
}
.hero__slide.is-active .hero__media img { transform: scale(1); }

.hero__panel,
.hero__stripe {
    position: absolute;
    inset: 0 auto 0 0;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.hero__panel {
    width: 54%;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .9), transparent 55%),
        linear-gradient(135deg, #f7f8fa 0%, #e9ecef 100%);
}
.hero__stripe { width: 55.4%; background: var(--c-primary); }

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: 4rem 6rem;
}
.hero__content > * { max-width: min(560px, 46%); }

.hero__tag {
    display: inline-block;
    margin-bottom: 1.4rem;
    padding: .45rem 1.5rem;
    color: var(--c-white);
    background: var(--c-primary);
    font-family: var(--f-heading);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    transform: skewX(-16deg);
    box-shadow: -60px 0 0 var(--c-graphite);
}
.hero__tag > span { display: inline-block; transform: skewX(16deg); }

.hero__title {
    margin-bottom: 1.4rem;
    font-size: clamp(1.6rem, 2.9vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--c-graphite);
}
.hero__title mark { display: block; background: none; color: var(--c-primary); }

.hero__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem 1.5rem;
    margin-bottom: 2rem;
}
.hero__list li {
    position: relative;
    padding-left: 1.3rem;
    font-family: var(--f-heading);
    font-size: .93rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--c-graphite);
}
.hero__list li::before {
    content: "";
    position: absolute;
    left: 0; top: .5em;
    width: 9px; height: 9px;
    background: var(--c-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, .15);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Entrada do conteúdo do slide */
.hero__slide .hero__content > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .36s; }

/* Controles */
.hero__controls {
    position: absolute;
    left: 0; right: 0; bottom: 1.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hero__dots { display: flex; gap: .5rem; }
.hero__dot {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 120px;
    padding: .25rem 0;
    text-align: left;
    color: var(--c-muted);
    background: none;
    border: 0;
}
.hero__dot-label {
    font-family: var(--f-heading);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .3s;
}
.hero__dot.is-active .hero__dot-label,
.hero__dot:hover .hero__dot-label { color: var(--c-ink); }
.hero__dot-bar { position: relative; height: 3px; overflow: hidden; background: rgba(18, 21, 25, .15); border-radius: 3px; }
.hero__dot-progress { position: absolute; inset: 0; background: var(--c-primary); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__dot-progress { transform: scaleX(1); }
.hero.is-autoplay .hero__dot.is-active .hero__dot-progress { animation: hero-progress var(--interval, 7000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-progress { animation-play-state: paused; }

@keyframes hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero__arrows { display: flex; gap: .5rem; }
.hero__arrow {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    color: var(--c-white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    transition: background-color .25s, border-color .25s, transform .25s;
}
.hero__arrow:hover { background: var(--c-primary); border-color: var(--c-primary); transform: scale(1.06); }

/* 08. Seções e títulos
   ========================================================================== */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-ink-2); color: #b9c0ca; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .9rem;
    font-family: var(--f-heading);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }

.section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.015em;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head .section-title { margin-bottom: 0; }

/* 09. Marcas
   ========================================================================== */
.brands { padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--c-line); }
.brands__title {
    margin-bottom: 1.6rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    color: var(--c-muted);
}
.brands__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.brands__item img {
    width: 100%;
    max-width: 220px;
    margin-inline: auto;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.brands__item:hover img { filter: none; opacity: 1; transform: translateY(-4px); }

/* 10. Sobre (home)
   ========================================================================== */
.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}
.about__media { position: relative; padding: 0 0 2rem 2rem; }
.about__media::before {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 70%; height: 70%;
    background: repeating-linear-gradient(-45deg, var(--c-primary) 0 2px, transparent 2px 12px);
    border-radius: var(--radius-lg);
    opacity: .35;
}
.about__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__frame img { width: 100%; aspect-ratio: 487 / 503; object-fit: cover; }
.about__badge {
    position: absolute;
    right: -1rem; bottom: 3.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: 240px;
    padding: 1rem 1.2rem;
    font-family: var(--f-heading);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--c-white);
    background: var(--c-primary);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -14px rgba(227, 6, 19, .7);
}
.about__badge .icon { width: 30px; height: 30px; }

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem 1.5rem;
    margin: 1.8rem 0 2.2rem;
}
.feature-list li { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--c-ink); }
.feature-list .icon {
    width: 24px; height: 24px;
    padding: 5px;
    color: var(--c-white);
    background: var(--c-primary);
    border-radius: 50%;
}
.about__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.seals {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--c-soft);
    border-radius: var(--radius-lg);
}
.seals img { width: 100%; max-width: 733px; margin-inline: auto; }
.section--tight .seals { margin-top: 0; }

/* 11. Cards de serviços
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.service-card__media { display: block; overflow: hidden; aspect-ratio: 1; background: var(--c-soft); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }

.service-card__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 2.2rem 1.6rem 1.6rem; }
.service-card__icon {
    position: absolute;
    top: -28px; left: 1.6rem;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    color: var(--c-white);
    background: var(--c-primary);
    border: 4px solid var(--c-white);
    border-radius: 16px;
    box-shadow: 0 10px 22px -10px rgba(227, 6, 19, .7);
    transition: transform .4s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.05); }
.service-card__icon .icon { width: 24px; height: 24px; }

.service-card__title { margin-bottom: .5rem; font-size: 1.2rem; }
.service-card__title a { color: var(--c-ink); }
.service-card__title a::after { content: ""; position: absolute; inset: 0; }
.service-card:hover .service-card__title a { color: var(--c-primary); }
.service-card__text { flex: 1; margin-bottom: 1.2rem; font-size: .95rem; color: var(--c-muted); }

/* 12. CTA
   ========================================================================== */
.cta {
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 7vw, 88px);
    color: #c3c9d2;
    background: var(--c-ink);
    isolation: isolate;
}
.cta::before,
.cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0; bottom: 0;
    transform: skewX(-20deg);
}
.cta::before { right: -8%; width: 38%; background: var(--c-primary); }
.cta::after { right: 28%; width: 1.5%; background: var(--c-primary); opacity: .55; }

.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta__text { max-width: 620px; }
.cta__title { color: var(--c-white); font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 13. Páginas internas
   ========================================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(48px, 7vw, 88px);
    color: #c3c9d2;
    background:
        linear-gradient(100deg, rgba(18, 21, 25, .97) 40%, rgba(18, 21, 25, .82)),
        url("../img/slider/slide-3.webp") right center / cover no-repeat,
        var(--c-ink);
    isolation: isolate;
}
.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 8%; top: 0; bottom: 0;
    width: 10px;
    background: var(--c-primary);
    transform: skewX(-20deg);
}
.page-hero__title {
    margin: .4rem 0 0;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--c-white);
}
.page-hero__lead { max-width: 680px; margin-top: 1rem; font-size: 1.05rem; color: #aeb5c0; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; opacity: .45; }
.breadcrumb a { color: #aeb5c0; }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb [aria-current] { color: var(--c-primary); font-weight: 600; }

/* 14. Empresa
   ========================================================================== */
.company__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}
.company__media { position: relative; }
.company__media::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -1.25rem; top: -1.25rem;
    width: 55%; height: 55%;
    background: var(--c-primary);
    border-radius: var(--radius-lg);
}
.company__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.highlight-quote {
    position: relative;
    margin: clamp(3rem, 6vw, 4.5rem) auto 2rem;
    max-width: 920px;
    padding: 2.2rem 2.5rem 2.2rem 5.5rem;
    background: var(--c-soft);
    border-left: 5px solid var(--c-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.highlight-quote .icon { position: absolute; left: 1.8rem; top: 2rem; width: 2.4rem; height: 2.4rem; color: var(--c-primary); }
.highlight-quote p { font-family: var(--f-heading); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.5; color: var(--c-ink); }
.company__outro { max-width: 920px; margin-inline: auto; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pillar {
    padding: 2.2rem 2rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .05); border-color: rgba(227, 6, 19, .6); }
.pillar__icon {
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    margin-bottom: 1.4rem;
    color: var(--c-white);
    background: var(--c-primary);
    border-radius: 18px;
}
.pillar__icon .icon { width: 28px; height: 28px; }
.pillar__title { font-size: 1.3rem; color: var(--c-white); }

/* 15. Serviço
   ========================================================================== */
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "content media"
        "content aside";
    align-items: start;
    gap: 1.5rem clamp(2rem, 5vw, 4rem);
}
.service-detail { grid-area: content; }
.service-media {
    grid-area: media;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.service-media img { width: 100%; }
.service-layout > .sidebar { grid-area: aside; }
.service-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-line);
}

.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.4rem; }
.prose h3 {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 2.2rem 0 1rem;
    font-size: 1.3rem;
}
.prose h3::before { content: ""; width: 6px; height: 1.3em; background: var(--c-primary); border-radius: 3px; }
.prose > ul,
.prose > ol,
.prose > dl { margin-bottom: 1.4rem; }

.check-list { display: grid; gap: .55rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; }
.check-list .icon {
    width: 22px; height: 22px;
    margin-top: .2em;
    padding: 4px;
    color: var(--c-primary);
    background: var(--c-primary-50);
    border-radius: 50%;
}

.steps { counter-reset: step; display: grid; gap: .8rem; }
.steps li {
    counter-increment: step;
    position: relative;
    padding: .9rem 1.1rem .9rem 3.6rem;
    background: var(--c-soft);
    border-radius: var(--radius);
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: .9rem; top: 50%;
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    font-family: var(--f-heading);
    font-weight: 700;
    color: var(--c-white);
    background: var(--c-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.definition-cards { display: grid; gap: .9rem; }
.definition-cards > div { padding: 1.2rem 1.4rem; border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); border-radius: var(--radius); }
.definition-cards dt { margin-bottom: .2rem; font-family: var(--f-heading); font-weight: 600; color: var(--c-ink); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.5rem; }
.widget {
    padding: 1.6rem;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
}
.widget__title { margin-bottom: 1rem; font-size: 1.1rem; }
.widget p { font-size: .95rem; color: var(--c-muted); }
.widget__menu { display: grid; gap: .3rem; }
.widget__menu a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .8rem;
    font-weight: 500;
    color: var(--c-ink);
    border-radius: var(--radius-sm);
    transition: background-color .2s, color .2s;
}
.widget__menu a > .icon:first-child { color: var(--c-primary); }
.widget__menu a span { flex: 1; }
.widget__chevron { width: 16px; height: 16px; opacity: .4; transition: transform .2s, opacity .2s; }
.widget__menu a:hover { background: var(--c-soft); color: var(--c-primary); }
.widget__menu a:hover .widget__chevron { opacity: 1; transform: translateX(3px); }
.widget__menu a.is-active { color: var(--c-white); background: var(--c-primary); }
.widget__menu a.is-active > .icon { color: currentColor; opacity: 1; }

.widget--dark { position: relative; overflow: hidden; color: #b9c0ca; background: var(--c-ink); border: 0; }
.widget--dark .widget__title { color: var(--c-white); }
.widget--dark p { color: #aeb5c0; }
.widget__icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    margin-bottom: 1rem;
    color: var(--c-white);
    background: rgba(255, 255, 255, .08);
    border-radius: 14px;
}
.widget__icon .icon { width: 24px; height: 24px; }
.widget--dark::after {
    content: "";
    position: absolute;
    right: -30px; top: -30px;
    width: 120px; height: 120px;
    border: 18px solid rgba(227, 6, 19, .25);
    border-radius: 50%;
}
.widget__contacts { display: grid; gap: .5rem; margin: 1.1rem 0 1.2rem; }
.widget__contacts a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--c-ink); }
.widget__contacts .icon { color: var(--c-primary); }
.widget__contacts a:hover { color: var(--c-primary); }

/* 16. Contato e formulário
   ========================================================================== */
.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
}
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.info-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    transition: border-color .3s, box-shadow .3s;
}
.info-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.info-card__icon {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    color: var(--c-primary);
    background: var(--c-primary-50);
    border-radius: 13px;
}
.info-card__icon .icon { width: 22px; height: 22px; }
.info-card__title { margin-bottom: .35rem; font-size: 1rem; }
.info-card p { font-size: .94rem; overflow-wrap: anywhere; }
.info-card p a { color: var(--c-text); }
.info-card p a:hover { color: var(--c-primary); }
.info-card .link-arrow { margin-top: .6rem; }

.hours { display: grid; gap: .3rem; font-size: .92rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { font-weight: 500; }
.hours dd { font-weight: 600; color: var(--c-ink); text-align: right; }
.hours__row.is-closed dd { font-weight: 500; color: var(--c-muted); }
.hours--dark { color: #aeb5c0; }
.hours--dark .hours__row { padding-bottom: .35rem; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.hours--dark dd { color: var(--c-white); }
.hours--dark .hours__row.is-closed dd { color: #8a929d; }

.sales-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1.5rem;
    color: #c3c9d2;
    background: var(--c-ink);
    border-radius: var(--radius-lg);
}
.sales-box h3 { margin-bottom: .2rem; font-size: 1.05rem; color: var(--c-white); }
.sales-box p { font-size: .92rem; }

.form-card {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-top: 5px solid var(--c-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.form-card__title { margin-bottom: .3rem; font-size: 1.5rem; }
.form-card__subtitle { margin-bottom: 1.6rem; color: var(--c-muted); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--c-ink); }
.field label small { font-weight: 400; color: var(--c-muted); }
.field label span { color: var(--c-primary); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8rem 1rem;
    font-size: .97rem;
    background: var(--c-soft);
    border: 1.5px solid transparent;
    border-radius: 10px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
    appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--c-line); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background-color: var(--c-white);
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, .12);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { background-color: #fff6f6; border-color: #e5484d; }
.field__error { margin: 0; font-size: .82rem; font-weight: 500; color: #c62828; }

.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .7rem; }
.field--check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; padding: 0; accent-color: var(--c-primary); }
.field--check label { flex: 1; font-size: .87rem; font-weight: 400; color: var(--c-text); }
.field--check .field__error { flex-basis: 100%; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.4rem; padding: .95rem 1.1rem; font-size: .93rem; font-weight: 500; border-radius: 10px; }
.alert .icon { width: 20px; height: 20px; margin-top: .15rem; }
.alert--success { color: #14532d; background: #dcfce7; }
.alert--error { color: #8b1a1a; background: #fde8e8; }

.map { line-height: 0; background: var(--c-soft); }
.map iframe { width: 100%; height: clamp(320px, 45vw, 460px); border: 0; filter: grayscale(.35) contrast(1.05); }

/* 17. Política (prose)
   ========================================================================== */
.prose--legal h2 { padding-top: 1.6rem; border-top: 1px solid var(--c-line); }
.prose__meta { font-size: .88rem; font-weight: 600; color: var(--c-muted); }
.prose__lead { font-size: 1.15rem; color: var(--c-ink); }

/* 18. 404
   ========================================================================== */
.not-found__inner { text-align: center; }
.not-found__code {
    margin-bottom: 0;
    font-family: var(--f-heading);
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--c-primary);
}
.not-found__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* 19. Rodapé
   ========================================================================== */
.site-footer { position: relative; color: #9aa3ae; background: #0d1013; font-size: .94rem; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--c-primary) 0 30%, var(--c-graphite) 30%); }

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-block: clamp(56px, 7vw, 88px);
}
.site-footer__logo { display: inline-block; margin-bottom: 1.3rem; }
.site-footer__logo img { width: 200px; }
.site-footer__label { margin: 1.4rem 0 .7rem; font-family: var(--f-heading); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-white); }

.site-footer__title {
    position: relative;
    margin-bottom: 1.4rem;
    padding-bottom: .8rem;
    font-size: 1.05rem;
    color: var(--c-white);
}
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--c-primary); border-radius: 3px; }

.site-footer__links { display: grid; gap: .6rem; }
.site-footer__links a { position: relative; color: #9aa3ae; transition: color .2s, padding .25s var(--ease); }
.site-footer__links a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--c-primary); transition: width .25s var(--ease); }
.site-footer__links a:hover { padding-left: 1rem; color: var(--c-white); }
.site-footer__links a:hover::before { width: .6rem; }

.site-footer__contact { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: .7rem; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: .25rem; color: var(--c-primary); }
.site-footer__contact a { color: #c3c9d2; overflow-wrap: anywhere; }
.site-footer__contact a:hover { color: var(--c-white); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .07); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; }
.site-footer__dev { display: inline-block; margin-left: .35rem; opacity: .75; }
.site-footer__dev a,
.site-footer__legal a { color: #c3c9d2; }
.site-footer__dev a:hover,
.site-footer__legal a:hover { color: var(--c-white); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* 20. Flutuantes
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 70;
    display: flex;
    align-items: center;
    width: 60px; height: 60px;
    color: var(--c-white);
    background: var(--c-whatsapp);
    border-radius: 999px;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
    transition: width .35s var(--ease), background-color .25s;
    overflow: hidden;
}
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: wa-ring 2.6s ease-out infinite;
}
.whatsapp-float .icon { flex-shrink: 0; width: 30px; height: 30px; margin-inline: 15px; }
.whatsapp-float__label { padding-right: 1.3rem; font-family: var(--f-heading); font-size: .88rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.whatsapp-float:hover { width: 290px; color: var(--c-white); background: var(--c-whatsapp-600); }
.whatsapp-float:hover .whatsapp-float__label { opacity: 1; transition-delay: .12s; }

@keyframes wa-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

.back-top {
    position: fixed;
    right: 30px; bottom: 96px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    color: var(--c-white);
    background: var(--c-ink);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--c-primary); }

.cookie-notice {
    position: fixed;
    left: 22px; bottom: 22px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 480px;
    padding: 1rem 1.2rem;
    font-size: .86rem;
    line-height: 1.5;
    color: #c3c9d2;
    background: rgba(18, 21, 25, .97);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: slide-up .45s var(--ease);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice a { color: var(--c-white); text-decoration: underline; }

@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* 21. Animações de entrada (somente com JS ativo)
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* 22. Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
    .main-nav__link { padding-inline: .6rem; }
    .main-nav__link::after { left: .6rem; right: .6rem; }
    .site-header__inner { gap: 1.25rem; }
    .service-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 1080px) {
    :root { --header-h: 72px; }

    .hide-md { display: none !important; }
    .brand img { width: 165px; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        z-index: 55;
        display: flex;
        flex-direction: column;
        width: min(380px, 88vw);
        margin: 0;
        padding: 5.5rem 1.5rem 2rem;
        overflow-y: auto;
        background: var(--c-white);
        box-shadow: var(--shadow-lg);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .4s var(--ease), visibility .4s;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle { position: relative; z-index: 60; }

    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
    .main-nav__link { flex: 1; padding: 1rem .25rem; font-size: 1.02rem; }
    .main-nav__link::after { display: none; }
    .has-dropdown > .main-nav__link { padding-right: .25rem; }

    .dropdown-toggle { width: 40px; height: 40px; background: var(--c-soft); }
    .has-dropdown:hover .dropdown-toggle .icon { transform: none; }
    .has-dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }

    .dropdown {
        position: static;
        display: none;
        flex-basis: 100%;
        min-width: 0;
        margin-bottom: .75rem;
        padding: .25rem;
        border: 0;
        box-shadow: none;
        background: var(--c-soft);
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .dropdown::before { display: none; }
    .has-dropdown.is-open .dropdown { display: block; }
    .has-dropdown:hover .dropdown:not(:focus-within) { transform: none; }
    .dropdown a:hover { background: var(--c-white); }

    .main-nav__extra { display: grid; gap: .9rem; margin-top: 1.75rem; }
    .main-nav__contact { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; color: var(--c-ink); }
    .main-nav__contact .icon { color: var(--c-primary); }
    .main-nav__extra .social a { width: 40px; height: 40px; background: var(--c-soft); color: var(--c-ink); }
    .main-nav__extra .social a:hover { background: var(--c-primary); color: var(--c-white); }

    .nav-open .nav-overlay { display: block; }

    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .service-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas: "media" "content" "aside";
    }
    .service-media { max-width: 480px; }
    .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 960px) {
    /* Hero: foto em tela cheia com texto claro sobre degradê */
    .hero__viewport { min-height: 640px; }
    .hero__media { width: 100%; }
    .hero__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(14, 16, 20, .9) 0%, rgba(14, 16, 20, .72) 60%, rgba(14, 16, 20, .4) 100%);
    }
    .hero__media img { object-position: 30% center; transform-origin: center; }
    .hero__panel { display: none; }
    .hero .btn--dark { --btn-bg: transparent; --btn-border: rgba(255, 255, 255, .45); }
    .hero .btn--dark:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); }
    .hero__stripe { width: 6px; clip-path: none; }
    .hero__content { padding-block: 3rem 7rem; }
    .hero__content > * { max-width: 600px; }
    .hero__title { color: var(--c-white); }
    .hero__list li { color: #dfe3e8; }
    .hero__tag { box-shadow: none; }
    .hero__dot-label { color: #9aa3ae; }
    .hero__dot.is-active .hero__dot-label,
    .hero__dot:hover .hero__dot-label { color: var(--c-white); }
    .hero__dot-bar { background: rgba(255, 255, 255, .25); }

    .about__grid,
    .company__grid,
    .contact__grid { grid-template-columns: minmax(0, 1fr); }
    .about__media { max-width: 520px; }
    .company__media { max-width: 560px; }

    .pillars { grid-template-columns: 1fr; }
    .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .cta::before { right: -30%; width: 55%; opacity: .9; }
    .cta::after { display: none; }
}

@media (max-width: 680px) {
    .hide-sm { display: none !important; }

    .topbar__inner { gap: .75rem; min-height: 40px; }
    .topbar__status .status__detail { display: none; }
    .topbar__contacts { margin-left: auto; }
    .topbar__contacts span { display: none; }
    .topbar__contacts .icon { width: 16px; height: 16px; }
    .lang-switch__item span { display: none; }
    .lang-switch__item { padding: .3rem; }

    .site-header__store span { display: none; }
    .site-header__store { width: 44px; height: 44px; padding: 0; }

    .hero__viewport { min-height: 660px; }
    .hero__list { grid-template-columns: 1fr; gap: .25rem; }
    .hero__list li { font-size: .88rem; }
    .hero__dot { width: auto; flex: 1; }
    .hero__dot-label { display: none; }
    .hero__dots { flex: 1; }
    .hero__arrow { width: 42px; height: 42px; }

    .services-grid,
    .info-cards,
    .form-grid,
    .feature-list { grid-template-columns: minmax(0, 1fr); }

    .about__media { padding: 0 0 1.25rem 1.25rem; }
    .company__media::after { top: -.6rem; right: -.6rem; }
    .about__badge { right: .5rem; bottom: 2.5rem; }


    .highlight-quote { padding: 4.5rem 1.4rem 1.6rem; }
    .highlight-quote .icon { left: 1.4rem; top: 1.4rem; }

    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .site-footer__dev { display: block; margin: .3rem 0 0; }

    .cookie-notice { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; max-width: none; }
    .whatsapp-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
    .whatsapp-float .icon { margin-inline: 13px; }
    .whatsapp-float:hover { width: 56px; }
    .back-top { right: 20px; bottom: 82px; }

    .cta__actions,
    .cta__actions .btn { width: 100%; }
}
