/* =========================================================
   GRIDLAB
   AUTOMOTIVA
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {

    --auto-red: #e50914;
    --auto-red-hover: #ff202b;

    --auto-black: #050505;
    --auto-black-2: #090909;
    --auto-black-3: #111111;
    --auto-black-4: #181818;

    --auto-white: #ffffff;

    --auto-muted:
        rgba(255, 255, 255, 0.62);

    --auto-muted-light:
        rgba(255, 255, 255, 0.82);

    --auto-border:
        rgba(255, 255, 255, 0.10);

    --auto-max:
        1180px;

}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    overflow-x: hidden;

    color: var(--auto-white);

    background:
        var(--auto-black);

    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
    max-width: 100%;
}


button {
    font: inherit;
}

/* =========================================================
   CONTAINER GERAL
   Mesmo alinhamento lateral usado no index
========================================================= */

.auto-container {
    width: min(calc(100% - 40px), var(--auto-max));
    margin-inline: auto;
}

/* =========================================================
   CONTATO - SISTEMA DE ALERTA
========================================================= */

#contato-sirene {
    padding: 100px 0;
    background: #f1f1f1;
    color: #161616;
}


/* =========================================================
   CONTAINER
========================================================= */

#contato-sirene .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}


/* =========================================================
   TÍTULO
========================================================= */

#contato-sirene .section-kicker {
    display: inline-block;

    margin-bottom: 16px;

    color: #ff1212;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


#contato-sirene h2 {
    max-width: 520px;

    margin: 0;

    color: #151515;

    font-size: clamp(
        34px,
        4vw,
        52px
    );

    line-height: 1.08;

    letter-spacing: -0.04em;
}


#contato-sirene .contact-grid > div > p {
    max-width: 540px;

    margin-top: 22px;

    color: #666;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   INFORMAÇÕES DE CONTATO
========================================================= */

#contato-sirene .contact-info {
    display: grid;

    margin-top: 38px;
}


#contato-sirene .contact-info a,
#contato-sirene .contact-info > div {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 24px;

    align-items: start;

    padding: 18px 0;

    color: #151515;

    border-bottom:
        1px solid
        #d3d3d3;

    text-decoration: none;
}


#contato-sirene .contact-info span {
    color: #777;

    font-size: 13px;

    font-weight: 600;
}


#contato-sirene .contact-info strong {
    color: #222;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.6;

    text-align: right;

    word-break: break-word;
}


/* =========================================================
   LINKS
========================================================= */

#contato-sirene .contact-info a {
    transition:
        color .25s ease,
        padding-left .25s ease;
}


#contato-sirene .contact-info a:hover strong {
    color: #e00000;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

#contato-sirene .contact-form {
    padding: 32px;

    background: #ffffff;

    border:
        1px solid
        #dddddd;

    border-radius: 18px;

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LABEL
========================================================= */

#contato-sirene .contact-form label {
    display: grid;

    gap: 8px;

    margin-bottom: 18px;

    color: #222;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   INPUTS
========================================================= */

#contato-sirene .contact-form input,
#contato-sirene .contact-form textarea {
    width: 100%;

    padding: 14px 15px;

    color: #111;

    background: #f7f7f7;

    border:
        1px solid
        #d7d7d7;

    border-radius: 9px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

#contato-sirene .contact-form input::placeholder,
#contato-sirene .contact-form textarea::placeholder {
    color: #999;
}


/* =========================================================
   FOCO
========================================================= */

#contato-sirene .contact-form input:focus,
#contato-sirene .contact-form textarea:focus {
    background: #ffffff;

    border-color: #ff1212;

    box-shadow:
        0 0 0 3px
        rgba(255, 18, 18, 0.08);
}


/* =========================================================
   TEXTAREA
========================================================= */

#contato-sirene .contact-form textarea {
    min-height: 140px;

    resize: vertical;
}


/* =========================================================
   BOTÃO
========================================================= */

#contato-sirene .contact-form .btn {
    width: 100%;

    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 9px;

    cursor: pointer;

    font-family: inherit;

    font-size: 14px;

    font-weight: 800;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .2s ease;
}


#contato-sirene .contact-form .btn-primary {
    color: #ffffff;

    background: #ff1212;

    border:
        1px solid
        #ff1212;
}


#contato-sirene .contact-form .btn-primary:hover {
    background: #df0000;

    border-color: #df0000;

    transform:
        translateY(-2px);
}


#contato-sirene .contact-form .btn-primary:active {
    transform:
        translateY(0);
}


/* =========================================================
   MENSAGEM DO FORMULÁRIO
========================================================= */

#contato-sirene #formMessage {
    display: block;

    margin-top: 14px;

    color: #777;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    #contato-sirene {
        padding: 80px 0;
    }


    #contato-sirene .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    #contato-sirene h2 {
        max-width: 650px;
    }


    #contato-sirene .contact-grid > div > p {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #contato-sirene {
        padding: 65px 0;
    }


    #contato-sirene h2 {
        font-size: 34px;
    }


    #contato-sirene .contact-form {
        padding: 22px;
    }


    #contato-sirene .contact-info a,
    #contato-sirene .contact-info > div {
        grid-template-columns: 1fr;

        gap: 4px;
    }


    #contato-sirene .contact-info strong {
        text-align: left;
    }

}
/* =========================================================
   HEADER / MENU
   Padrão visual semelhante ao index
========================================================= */

.auto-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(5, 5, 5, 0.90);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.auto-header-wrap {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.auto-logo {
    width: 220px;
    height: 54px;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.auto-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auto-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.auto-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 6px auto;
    background: #ffffff;
    transition: transform .25s ease, opacity .25s ease;
}

.auto-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.auto-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.auto-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.auto-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.auto-nav a {
    position: relative;
    padding: 8px 0;
    color: #d7d7d7;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s ease;
}

.auto-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--auto-red);
    transition: width .3s ease;
}

.auto-nav a:hover {
    color: #ffffff;
}

.auto-nav a:hover::after {
    width: 100%;
}

.auto-nav .auto-nav-cta {
    padding: 10px 16px;
    border: 1px solid rgba(229, 9, 20, .45);
    border-radius: 10px;
    color: #ffffff;
}

.auto-nav .auto-nav-cta::after {
    display: none;
}

.auto-nav .auto-nav-cta:hover {
    border-color: var(--auto-red);
    background: rgba(229, 9, 20, .10);
}

/* =========================================================
   KICKER
========================================================= */

.auto-kicker {

    display: inline-block;

    margin-bottom: 17px;

    color:
        var(--auto-red);

    font-size: 11px;

    font-weight: 800;

    letter-spacing:
        .20em;

    text-transform:
        uppercase;

}


/* =========================================================
   HERO
========================================================= */

.auto-hero {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 690px;

    overflow: hidden;

    background:
        #030303;

}


.auto-hero-media {

    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

}


.auto-hero-media img {

    width: 100%;

    height: 112%;

    object-fit: cover;

    object-position:
        center;

    opacity: 0;

    transform:
        scale(1.10);

    filter:
        saturate(.90)
        contrast(1.05);

    animation:
        autoHeroImage
        1.5s
        cubic-bezier(.2,.8,.2,1)
        forwards;

    will-change:
        transform;

}


@keyframes autoHeroImage {

    from {

        opacity: 0;

        transform:
            scale(1.10);

    }

    to {

        opacity: 1;

        transform:
            scale(1);

    }

}


/* =========================================================
   HERO OVERLAY
========================================================= */

.auto-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,.94) 0%,
            rgba(0,0,0,.78) 36%,
            rgba(0,0,0,.42) 65%,
            rgba(0,0,0,.18) 100%
        ),

        linear-gradient(
            180deg,
            rgba(0,0,0,.05),
            rgba(0,0,0,.65)
        );

}


/* =========================================================
   SCANNER HERO
========================================================= */

.auto-hero-scan {

    position: absolute;

    z-index: 2;

    top: -12%;

    left: 0;

    width: 100%;

    height: 100px;

    opacity: 0;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            transparent,
            rgba(229,9,20,.12),
            rgba(229,9,20,.025),
            transparent
        );

    animation:
        autoHeroScan
        2.4s
        ease
        .8s
        1;

}


@keyframes autoHeroScan {

    0% {

        top: -12%;
        opacity: 0;

    }

    15% {

        opacity: 1;

    }

    80% {

        opacity: .75;

    }

    100% {

        top: 105%;
        opacity: 0;

    }

}


/* LINHA SUPERIOR */

.auto-hero::before {

    content: "";

    position: absolute;

    z-index: 6;

    top: 0;

    left: 0;

    width: 0;

    height: 3px;

    background:

        linear-gradient(
            90deg,
            var(--auto-red),
            rgba(229,9,20,.60),
            transparent
        );

    animation:
        autoHeroLine
        1.2s
        ease
        .2s
        forwards;

}


@keyframes autoHeroLine {

    to {
        width: 100%;
    }

}


/* =========================================================
   HERO COPY
========================================================= */

.auto-hero .auto-container {
    position:
        relative;

    z-index:
        4;
}


.auto-hero-copy {
    max-width:
        780px;

    padding:
        110px
        0;
}


.auto-hero h1 {

    max-width: 900px;

    margin: 0;

    color:
        #ffffff;

    font-size:
        clamp(
            50px,
            7vw,
            84px
        );

    font-weight: 800;

    line-height: .98;

    letter-spacing:
        -.055em;

    text-shadow:
        0 6px 25px
        rgba(0,0,0,.55);

}


.auto-hero h1 strong {

    display: block;

    color:
        var(--auto-red);

}


.auto-hero-copy > p {

    max-width: 650px;

    margin-top: 27px;

    color:
        var(--auto-muted-light);

    font-size: 16px;

    line-height: 1.75;

    text-shadow:
        0 2px 10px
        rgba(0,0,0,.70);

}


/* =========================================================
   ENTRADA HERO
========================================================= */

.auto-hero-element {

    opacity: 0;

    transform:
        translateY(28px);

    animation:
        autoHeroElement
        .75s
        cubic-bezier(.2,.8,.2,1)
        forwards;

}


.auto-delay-1 {
    animation-delay: .30s;
}

.auto-delay-2 {
    animation-delay: .46s;
}

.auto-delay-3 {
    animation-delay: .64s;
}

.auto-delay-4 {
    animation-delay: .82s;
}


@keyframes autoHeroElement {

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   BOTÃO HERO
========================================================= */

.auto-hero-link {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    margin-top: 34px;

    padding:
        14px
        21px;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius:
        999px;

    background:
        rgba(0,0,0,.32);

    color:
        #ffffff;

    font-size: 13px;

    font-weight: 700;

    -webkit-backdrop-filter:
        blur(8px);

    backdrop-filter:
        blur(8px);

    transition:
        gap .3s ease,
        border-color .3s ease,
        background-color .3s ease,
        transform .3s ease;

}


.auto-hero-link span {

    color:
        var(--auto-red);

    font-size: 18px;

}


.auto-hero-link:hover {

    gap: 18px;

    transform:
        translateY(-3px);

    border-color:
        rgba(229,9,20,.60);

    background:
        rgba(229,9,20,.14);

}


/* =========================================================
   SCROLL HERO
========================================================= */

.auto-hero-scroll {

    position: absolute;

    z-index: 5;

    right: 28px;

    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 12px;

    color:
        rgba(255,255,255,.42);

    font-size: 9px;

    font-weight: 700;

    letter-spacing:
        .18em;

}


.auto-hero-scroll i {

    position: relative;

    display: block;

    width: 42px;

    height: 1px;

    overflow: hidden;

    background:
        rgba(255,255,255,.20);

}


.auto-hero-scroll i::after {

    content: "";

    position: absolute;

    inset:
        0;

    width: 50%;

    background:
        var(--auto-red);

    animation:
        autoScrollIndicator
        1.5s
        ease-in-out
        infinite;

}


@keyframes autoScrollIndicator {

    0% {
        transform:
            translateX(-110%);
    }

    100% {
        transform:
            translateX(220%);
    }

}


/* =========================================================
   REVEAL NO SCROLL
========================================================= */

.auto-reveal {

    opacity: 0;

    transform:
        translateY(32px);

    transition:
        opacity .75s ease,
        transform .75s
        cubic-bezier(.2,.8,.2,1);

}


.auto-reveal.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   INTRO
========================================================= */

.auto-intro {

    padding:
        115px
        0;

    background:
        #ffffff;

    color:
        #111111;

}

.auto-intro-title h2 {
    color: #111111;
}

.auto-intro-title h2 strong {
    color: var(--auto-red);
}

.auto-intro-text p {
    color: #5f5f5f;
}

.auto-intro .auto-kicker {
    color: var(--auto-red);
}


.auto-intro-grid {

    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(0,1.1fr);

    gap: 90px;

    align-items: start;

}


.auto-intro-title h2,
.auto-section-header h2,
.auto-assistencia h2 {

    margin: 0;

    font-size:
        clamp(
            36px,
            5vw,
            58px
        );

    font-weight: 800;

    line-height: 1.04;

    letter-spacing:
        -.045em;

}


.auto-intro-title h2 strong,
.auto-section-header h2 strong,
.auto-assistencia h2 strong {

    display: block;

    color:
        var(--auto-red);

}


.auto-intro-text {

    max-width: 650px;

}


.auto-intro-text p {

    color:
        #5f5f5f;

    font-size: 16px;

    line-height: 1.8;

}


.auto-intro-text p + p {

    margin-top: 22px;

}


/* =========================================================
   CABEÇALHOS DE SEÇÃO
========================================================= */

.auto-section-header {

    max-width: 780px;

    margin-bottom: 60px;

}


.auto-section-header > p {

    max-width: 620px;

    margin-top: 20px;

    color:
        var(--auto-muted);

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   PROCESSO
========================================================= */

.auto-processo {

    position: relative;

    padding:
        120px
        0
        135px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 90% 15%,
            rgba(229,9,20,.07),
            transparent 30%
        ),

        #070707;

}


.auto-processo-wrap {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(5,1fr);

    gap: 18px;

}


/* LINHA */

.auto-processo-line {

    position: absolute;

    top: 25px;

    left: 5%;

    right: 5%;

    height: 2px;

    overflow: hidden;

    background:
        rgba(255,255,255,.10);

}


.auto-processo-progress {

    display: block;

    width: 0;

    height: 100%;

    background:

        linear-gradient(
            90deg,
            #a90009,
            var(--auto-red),
            #ff3942
        );

    box-shadow:
        0 0 16px
        rgba(229,9,20,.45);

    transition:
        width 2.1s
        cubic-bezier(.2,.8,.2,1);

}


.auto-processo.is-active
.auto-processo-progress {

    width: 100%;

}


/* STEP */

.auto-processo-step {

    position: relative;

    z-index: 2;

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity .55s ease,
        transform .55s ease;

    transition-delay:
        calc(
            var(--step)
            * 170ms
        );

}


.auto-processo.is-active
.auto-processo-step {

    opacity: 1;

    transform:
        translateY(0);

}


/* PONTO */

.auto-processo-point {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 52px;

    height: 52px;

    margin:
        0
        auto
        30px;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 50%;

    background:
        #101010;

    box-shadow:
        0 0 0
        7px
        #070707;

    transition:
        border-color .5s ease,
        background-color .5s ease,
        box-shadow .5s ease;

}


.auto-processo.is-active
.auto-processo-point {

    border-color:
        rgba(229,9,20,.65);

    background:
        var(--auto-red);

    box-shadow:
        0 0 0
        7px
        #070707,
        0 0 25px
        rgba(229,9,20,.25);

}


.auto-processo-point span {

    color:
        #ffffff;

    font-size: 10px;

    font-weight: 800;

}


/* TEXTO */

.auto-processo-content {

    text-align: center;

}


.auto-processo-small {

    display: block;

    margin-bottom: 8px;

    color:
        var(--auto-red);

    font-size: 9px;

    font-weight: 800;

    letter-spacing:
        .14em;

}


.auto-processo-content h3 {

    margin: 0;

    font-size: 21px;

    font-weight: 800;

}


.auto-processo-content p {

    margin-top: 12px;

    color:
        var(--auto-muted);

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   ATUAÇÃO
========================================================= */

.auto-atuacao {

    padding:
        115px
        0;

    color:
        #111111;

    background:
        #ffffff;

}


.auto-atuacao
.auto-section-header h2 {

    color:
        #111111;

}


.auto-atuacao-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 16px;

}


.auto-atuacao-card {

    position: relative;

    min-height: 280px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        #e7e7e7;

    border-radius: 18px;

    background:

        linear-gradient(
            145deg,
            #ffffff,
            #f5f5f5
        );

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.auto-atuacao-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 30px;

    width: 45px;

    height: 3px;

    background:
        var(--auto-red);

    transition:
        width .3s ease;

}


.auto-card-numero {

    display: block;

    margin-bottom: 55px;

    color:
        var(--auto-red);

    font-size: 11px;

    font-weight: 800;

}


.auto-atuacao-card h3 {

    font-size: 25px;

    font-weight: 800;

}


.auto-atuacao-card p {

    margin-top: 13px;

    color:
        #666666;

    font-size: 14px;

    line-height: 1.7;

}


@media (hover:hover) and (pointer:fine) {

    .auto-atuacao-card:hover {

        transform:
            translateY(-7px);

        border-color:
            rgba(229,9,20,.35);

        box-shadow:
            0 24px 50px
            rgba(0,0,0,.11);

    }


    .auto-atuacao-card:hover::before {

        width: 105px;

    }

}


/* =========================================================
   SOLUÇÕES
========================================================= */

.auto-solucoes {

    padding:
        120px
        0
        135px;

    background:

        radial-gradient(
            circle at 88% 10%,
            rgba(229,9,20,.08),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #0a0a0a,
            #030303
        );

}


.auto-solucoes-grid {

    display: flex;

    align-items: stretch;

    gap: 10px;

}


/* =========================================================
   CARD
========================================================= */

.auto-solucao-card {

    position: relative;

    flex:
        0
        0
        112px;

    width: 112px;

    min-width: 112px;

    min-height: 500px;

    overflow: hidden;

    border:
        1px solid
        var(--auto-border);

    border-radius: 24px;

    background:
        #090909;

    box-shadow:
        0 20px 45px
        rgba(0,0,0,.28);

    transition:
        flex-basis .45s ease,
        width .45s ease,
        min-width .45s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}


.auto-solucao-card::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(0,0,0,.14),
            rgba(0,0,0,.42) 45%,
            rgba(0,0,0,.94)
        );

}


.auto-solucao-card::before {

    content: "";

    position: absolute;

    z-index: 8;

    top: 0;

    left: 50%;

    width: 0;

    height: 3px;

    background:
        var(--auto-red);

    transform:
        translateX(-50%);

    transition:
        width .35s ease;

}


/* FOTO */

.auto-solucao-bg {

    position: absolute;

    inset: 0;

    z-index: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: .72;

    filter:
        saturate(.88)
        contrast(1.05);

    transition:
        opacity .4s ease,
        transform .65s ease,
        filter .4s ease;

}


/* =========================================================
   SCANNER DO CARD
========================================================= */

.auto-scan-line {

    position: absolute;

    z-index: 7;

    top: -20%;

    left: 0;

    width: 100%;

    height: 80px;

    opacity: 0;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            transparent,
            rgba(229,9,20,.25),
            rgba(229,9,20,.06),
            transparent
        );

}


@media (hover:hover) and (pointer:fine) {

    .auto-solucao-card:hover
    .auto-scan-line {

        opacity: 1;

        animation:
            autoCardScanner
            1.45s
            ease-in-out;

    }

}


@keyframes autoCardScanner {

    from {

        top: -20%;

    }

    to {

        top: 110%;

    }

}


/* =========================================================
   BOTÃO
========================================================= */

.auto-solucao-trigger {

    position: relative;

    z-index: 4;

    display: block;

    width: 100%;

    min-height: 500px;

    border: 0;

    background:
        transparent;

    color:
        #ffffff;

    cursor: pointer;

}


/* NÚMERO */

.auto-solucao-numero {

    position: absolute;

    top: 22px;

    left: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border:
        1px solid
        rgba(229,9,20,.55);

    border-radius: 50%;

    background:
        rgba(229,9,20,.82);

    font-size: 10px;

    font-weight: 800;

    transform:
        translateX(-50%);

    transition:
        left .4s ease,
        transform .4s ease;

}


/* TÍTULO VERTICAL */

.auto-solucao-trigger > strong {

    position: absolute;

    top: 50%;

    left: 50%;

    color:
        #ffffff;

    font-size: 16px;

    font-weight: 700;

    white-space: nowrap;

    text-shadow:
        0 2px 10px
        rgba(0,0,0,.90);

    transform:
        translate(-50%,-50%)
        rotate(-90deg);

    transition:
        opacity .25s ease;

}


/* PLUS */

.auto-solucao-plus {

    position: absolute;

    left: 50%;

    bottom: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    background:
        rgba(0,0,0,.45);

    font-size: 25px;

    transform:
        translateX(-50%);

    transition:
        all .4s ease;

}


/* =========================================================
   CARD ABERTO
========================================================= */

.auto-solucao-card.is-open {

    flex:
        1
        1
        500px;

    width: 500px;

    min-width: 420px;

    border-color:
        rgba(229,9,20,.50);

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.42);

}


.auto-solucao-card.is-open::before {

    width: 68%;

}


.auto-solucao-card.is-open
.auto-solucao-bg {

    opacity: .67;

    transform:
        scale(1.05);

    filter:
        saturate(.92)
        contrast(1.04);

}


.auto-solucao-card.is-open::after {

    background:

        linear-gradient(
            180deg,
            rgba(0,0,0,.12),
            rgba(0,0,0,.34) 40%,
            rgba(0,0,0,.88)
        );

}


.auto-solucao-card.is-open
.auto-solucao-numero {

    left: 28px;

    transform: none;

}


.auto-solucao-card.is-open
.auto-solucao-trigger > strong {

    opacity: 0;

}


.auto-solucao-card.is-open
.auto-solucao-plus {

    left: auto;

    right: 24px;

    bottom: 24px;

    background:
        var(--auto-red);

    transform:
        rotate(45deg);

}


/* =========================================================
   DETALHES
========================================================= */

.auto-solucao-detalhes {

    position: absolute;

    z-index: 5;

    top: 145px;

    left: 30px;

    right: 30px;

    bottom: 80px;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(18px);

    pointer-events: none;

    transition:
        opacity .28s ease,
        transform .34s ease,
        visibility 0s linear .34s;

}


.auto-solucao-card.is-open
.auto-solucao-detalhes {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);

    pointer-events: auto;

    transition-delay: .12s;

}


.auto-solucao-detalhes > span {

    display: block;

    margin-bottom: 10px;

    color:
        var(--auto-red);

    font-size: 10px;

    font-weight: 800;

    letter-spacing:
        .16em;

}


.auto-solucao-detalhes h3 {

    font-size:
        clamp(
            28px,
            3vw,
            39px
        );

    line-height: 1.05;

    font-weight: 800;

}


.auto-solucao-detalhes p {

    max-width: 500px;

    margin-top: 18px;

    color:
        rgba(255,255,255,.90);

    font-size: 14px;

    line-height: 1.7;

    text-shadow:
        0 2px 9px
        rgba(0,0,0,.80);

}


/* HOVER */

@media (hover:hover) and (pointer:fine) {

    .auto-solucao-card:not(.is-open):hover {

        transform:
            translateY(-7px);

        border-color:
            rgba(229,9,20,.45);

    }


    .auto-solucao-card:not(.is-open):hover
    .auto-solucao-bg {

        opacity: .92;

        transform:
            scale(1.07);

    }


    .auto-solucao-card:not(.is-open):hover::before {

        width: 55%;

    }

}


/* =========================================================
   ASSISTÊNCIA
========================================================= */

.auto-assistencia {

    padding:
        120px
        0;

    color:
        #111111;

    background:
        #ffffff;

}


.auto-assistencia-grid {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 90px;

    align-items: center;

}


.auto-assistencia h2 {

    color:
        #111111;

}


.auto-assistencia-grid
> div:last-child p {

    color:
        #555555;

    font-size: 16px;

    line-height: 1.8;

}


/* CTA */

.auto-cta {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding:
        14px
        21px;

    border:
        1px solid
        rgba(229,9,20,.30);

    border-radius: 999px;

    color:
        #111111;

    background:
        rgba(229,9,20,.05);

    font-size: 13px;

    font-weight: 700;

    transition:
        gap .3s ease,
        color .3s ease,
        background-color .3s ease,
        transform .3s ease;

}


.auto-cta span {

    color:
        var(--auto-red);

    font-size: 19px;

}


.auto-cta:hover {

    gap: 17px;

    color:
        #ffffff;

    background:
        var(--auto-red);

    transform:
        translateY(-3px);

}


.auto-cta:hover span {

    color:
        #ffffff;

}


/* =========================================================
   FOOTER
========================================================= */

.auto-footer {

    padding:
        28px
        0;

    border-top:
        1px solid
        #202020;

    background:
        #050505;

}


.auto-footer-wrap {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

    color:
        rgba(255,255,255,.50);

    font-size: 12px;

}


.auto-footer a:hover {

    color:
        #ffffff;

}


/* =========================================================
   MENU RESPONSIVO
========================================================= */

@media (max-width: 900px) {
    .auto-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .auto-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 14px;
        background: #111111;
        box-shadow: 0 18px 45px rgba(0,0,0,.35);
    }

    .auto-nav.open {
        display: flex;
    }

    .auto-nav a {
        padding: 12px;
        border-radius: 8px;
    }

    .auto-nav a::after {
        display: none;
    }

    .auto-nav a:hover {
        background: rgba(255,255,255,.05);
    }

    .auto-nav .auto-nav-cta {
        margin-top: 6px;
        text-align: center;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .auto-intro-grid,
    .auto-assistencia-grid {

        grid-template-columns:
            1fr;

        gap: 45px;

    }


    .auto-processo-wrap {

        grid-template-columns:
            1fr;

        gap: 16px;

    }


    .auto-processo-line {

        top: 0;

        bottom: 0;

        left: 25px;

        right: auto;

        width: 2px;

        height: auto;

    }


    .auto-processo-progress {

        width: 100%;

        height: 0;

        transition:
            height 2s ease;

    }


    .auto-processo.is-active
    .auto-processo-progress {

        width: 100%;

        height: 100%;

    }


    .auto-processo-step {

        display: grid;

        grid-template-columns:
            52px 1fr;

        gap: 25px;

        align-items: start;

    }


    .auto-processo-point {

        margin: 0;

    }


    .auto-processo-content {

        text-align: left;

        padding-bottom: 30px;

    }


    .auto-atuacao-grid {

        grid-template-columns:
            1fr;

    }


    .auto-solucoes-grid {

        overflow-x: auto;

        padding-bottom: 20px;

    }


    .auto-solucao-card {

        flex-basis: 96px;

        width: 96px;

        min-width: 96px;

    }


    .auto-solucao-card.is-open {

        flex-basis: 390px;

        width: 390px;

        min-width: 360px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .auto-container {

        width:
            min(
                calc(100% - 28px),
                var(--auto-max)
            );

    }


    .auto-header-wrap {
        min-height: 74px;
    }

    .auto-logo {
        width: 170px;
    }


    /* HERO */

    .auto-hero {

        min-height: 650px;

    }


    .auto-hero-overlay {

        background:

            linear-gradient(
                180deg,
                rgba(0,0,0,.16),
                rgba(0,0,0,.32) 35%,
                rgba(0,0,0,.92) 100%
            );

    }


    .auto-hero-copy {

        display: flex;

        flex-direction: column;

        justify-content: flex-end;

        min-height: 650px;

        padding:
            90px
            0
            75px;

    }


    .auto-hero h1 {

        font-size:
            clamp(
                43px,
                13vw,
                60px
            );

    }


    .auto-hero-copy > p {

        font-size: 14px;

        line-height: 1.65;

    }


    .auto-hero-link {

        width: 100%;

        justify-content:
            space-between;

    }


    .auto-hero-scroll {

        display: none;

    }


    /* SEÇÕES */

    .auto-intro,
    .auto-processo,
    .auto-atuacao,
    .auto-solucoes,
    .auto-assistencia {

        padding:
            80px
            0;

    }


    /* CARDS SOLUÇÕES */

    .auto-solucoes-grid {

        display: grid;

        grid-template-columns:
            1fr;

        gap: 10px;

        overflow: visible;

        padding: 0;

    }


    .auto-solucao-card,
    .auto-solucao-card.is-open {

        width: 100%;

        min-width: 0;

        min-height: 80px;

        flex: none;

        border-radius: 18px;

    }


    .auto-solucao-card.is-open {

        min-height: 350px;

    }


    .auto-solucao-trigger {

        min-height: 80px;

    }


    .auto-solucao-card.is-open
    .auto-solucao-trigger {

        min-height: 350px;

    }


    .auto-solucao-numero,
    .auto-solucao-card.is-open
    .auto-solucao-numero {

        top: 19px;

        left: 18px;

        transform: none;

    }


    .auto-solucao-trigger > strong {

        top: 40px;

        left: 76px;

        max-width:
            calc(100% - 140px);

        white-space: normal;

        text-align: left;

        font-size: 15px;

        transform:
            translateY(-50%);

    }


    .auto-solucao-card.is-open
    .auto-solucao-trigger > strong {

        opacity: 0;

    }


    .auto-solucao-plus,
    .auto-solucao-card.is-open
    .auto-solucao-plus {

        top: 19px;

        right: 18px;

        bottom: auto;

        left: auto;

        transform: none;

    }


    .auto-solucao-card.is-open
    .auto-solucao-plus {

        transform:
            rotate(45deg);

    }


    .auto-solucao-detalhes {

        top: 110px;

        left: 20px;

        right: 20px;

        bottom: 25px;

        overflow-y: auto;

    }


    .auto-solucao-detalhes h3 {

        font-size: 27px;

    }


    .auto-solucao-detalhes p {

        font-size: 13px;

    }


    .auto-footer-wrap {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* =========================================================
   REDUZ MOVIMENTAÇÃO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

    }

}


/* =========================================================
   GRIDLAB - TEMA GLOBAL
   normal = claro | eco = escuro
   O controle do tema pertence exclusivamente ao theme-init.js.
========================================================= */
:root {
    --site-bg: #f5f6f8;
    --site-surface: #ffffff;
    --site-surface-2: #f2f3f5;
    --site-text: #161616;
    --site-muted: #60646b;
    --site-border: rgba(0,0,0,.11);
    --site-header: rgba(255,255,255,.92);
    --site-card: #ffffff;
    --site-card-soft: #f4f5f7;
    --site-input: #f7f7f8;
    --site-shadow: rgba(0,0,0,.10);
}

html[data-theme="eco"] {
    --site-bg: #070707;
    --site-surface: #101010;
    --site-surface-2: #171717;
    --site-text: #f5f5f5;
    --site-muted: #a8a8a8;
    --site-border: rgba(255,255,255,.10);
    --site-header: rgba(5,5,5,.90);
    --site-card: #111111;
    --site-card-soft: #171717;
    --site-input: #151515;
    --site-shadow: rgba(0,0,0,.28);
}

body.pagina-oficina {
    background: var(--site-bg);
    color: var(--site-text);
    transition: background-color .25s ease, color .25s ease;
}

/* Header */
.auto-header {
    background: var(--site-header);
    border-bottom-color: var(--site-border);
}
html:not([data-theme="eco"]) .auto-nav a { color: #42464d; }
html:not([data-theme="eco"]) .auto-nav a:hover,
html:not([data-theme="eco"]) .auto-nav .auto-nav-cta { color: #111; }
html:not([data-theme="eco"]) .auto-menu-toggle span { background: #151515; }
html:not([data-theme="eco"]) .auto-nav {
    background: var(--site-header);
}

/* Site controls */
.auto-site-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}
.auto-control-btn,
.auto-lang-btn {
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--site-border);
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    color: var(--site-text);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.auto-control-btn:hover,
.auto-lang-btn:hover {
    border-color: rgba(229,9,20,.55);
    transform: translateY(-1px);
}
.auto-lang-switch {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--site-border);
    border-radius: 11px;
}
.auto-lang-btn {
    height: 28px;
    min-width: 32px;
    border: 0;
    background: transparent;
}
.auto-lang-btn[aria-pressed="true"] {
    background: var(--auto-red);
    color: #fff;
}
html:not([data-theme="eco"]) .auto-control-btn,
html:not([data-theme="eco"]) .auto-lang-switch {
    background: rgba(0,0,0,.025);
}

/* Hero remains photographic but adapts overlay */
html:not([data-theme="eco"]) .auto-hero-overlay {
    background:
      linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.76) 37%, rgba(255,255,255,.26) 68%, rgba(255,255,255,.05) 100%),
      linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.38));
}
html:not([data-theme="eco"]) .auto-hero h1 { color: #111; text-shadow: 0 4px 20px rgba(255,255,255,.55); }
html:not([data-theme="eco"]) .auto-hero-copy > p { color: #34373c; text-shadow: none; }
html:not([data-theme="eco"]) .auto-hero-link {
    color: #111;
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.16);
}
html:not([data-theme="eco"]) .auto-hero-scroll { color: rgba(0,0,0,.48); }
html:not([data-theme="eco"]) .auto-hero-scroll i { background: rgba(0,0,0,.18); }

/* Main sections */
.auto-intro,
.auto-atuacao,
.auto-assistencia,
#contato-sirene {
    background: var(--site-surface);
    color: var(--site-text);
}
.auto-processo,
.auto-solucoes {
    background:
      radial-gradient(circle at 88% 10%, rgba(229,9,20,.07), transparent 30%),
      var(--site-bg);
    color: var(--site-text);
}
.auto-intro-title h2,
.auto-atuacao .auto-section-header h2,
.auto-assistencia h2,
#contato-sirene h2 {
    color: var(--site-text);
}
.auto-intro-text p,
.auto-atuacao-card p,
.auto-assistencia-grid > div:last-child p,
#contato-sirene .contact-grid > div > p {
    color: var(--site-muted);
}
.auto-section-header > p,
.auto-processo-content p {
    color: var(--site-muted);
}

/* Cards */
.auto-atuacao-card {
    color: var(--site-text);
    border-color: var(--site-border);
    background: linear-gradient(145deg, var(--site-card), var(--site-card-soft));
    box-shadow: 0 18px 40px var(--site-shadow);
}
.auto-atuacao-card h3 { color: var(--site-text); }

.auto-processo-point {
    background: var(--site-card);
    border-color: var(--site-border);
    box-shadow: 0 0 0 7px var(--site-bg);
}
.auto-processo-line { background: var(--site-border); }

html:not([data-theme="eco"]) .auto-solucao-card {
    border-color: rgba(0,0,0,.12);
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
}
html:not([data-theme="eco"]) .auto-solucao-card::after {
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28) 45%, rgba(0,0,0,.82));
}

/* Contact */
#contato-sirene .contact-info a,
#contato-sirene .contact-info > div {
    color: var(--site-text);
    border-bottom-color: var(--site-border);
}
#contato-sirene .contact-info span { color: var(--site-muted); }
#contato-sirene .contact-info strong { color: var(--site-text); }
#contato-sirene .contact-form {
    background: var(--site-card);
    border-color: var(--site-border);
    box-shadow: 0 20px 55px var(--site-shadow);
}
#contato-sirene .contact-form label { color: var(--site-text); }
#contato-sirene .contact-form input,
#contato-sirene .contact-form textarea {
    color: var(--site-text);
    background: var(--site-input);
    border-color: var(--site-border);
}
#contato-sirene .contact-form input:focus,
#contato-sirene .contact-form textarea:focus {
    background: var(--site-card);
}
#contato-sirene #formMessage { color: var(--site-muted); }

/* CTA / footer */
.auto-cta { color: var(--site-text); }
.auto-footer {
    background: var(--site-bg);
    border-top-color: var(--site-border);
}
.auto-footer-wrap { color: var(--site-muted); }
html:not([data-theme="eco"]) .auto-footer a:hover { color: #111; }

/* Mobile header */
@media (max-width: 1100px) {
    .auto-header-wrap { gap: 14px; }
    .auto-nav { gap: 16px; }
}
@media (max-width: 900px) {
    .auto-site-controls {
        margin-left: auto;
    }
    .auto-nav {
        background: var(--site-card);
        border: 1px solid var(--site-border);
        box-shadow: 0 20px 45px var(--site-shadow);
    }
}
@media (max-width: 560px) {
    .auto-logo { width: 150px; }
    .auto-header-wrap { min-height: 72px; gap: 8px; }
    .auto-control-btn { display: none; }
    .auto-lang-switch { padding: 2px; }
    .auto-lang-btn { min-width: 28px; }
}


/* =========================================================
   AJUSTE — TÍTULO DOS CARDS ABERTOS EM BRANCO
   ========================================================= */

.auto-solucao-card.is-open .auto-solucao-detalhes h3 {
    color: #ffffff !important;
}


/* =========================================================
   V32 — MAIS CATEGORIAS EM EQUIPAMENTOS E SERVIÇOS
   10 cards verticais no desktop
   ========================================================= */

/* Novos cards sem fotografia: fundo técnico até receberem imagens próprias. */
.auto-solucao-card--tecnico {
    background:
        radial-gradient(circle at 70% 24%, rgba(229, 9, 20, .22), transparent 27%),
        linear-gradient(145deg, #141414 0%, #090909 48%, #030303 100%);
}

.auto-solucao-card--tecnico::after {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.06),
            rgba(0,0,0,.28) 45%,
            rgba(0,0,0,.92)
        );
}

/* Textura técnica discreta, sem depender de arquivo de imagem. */
.auto-solucao-card--tecnico .auto-solucao-trigger::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .13;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}

/*
  Com 10 categorias, os cards recolhidos ficam mais estreitos.
  O card aberto mantém área suficiente para título e descrição.
*/
@media (min-width: 1101px) {
    .auto-solucoes-grid {
        gap: 8px;
    }

    .auto-solucao-card {
        flex-basis: 70px;
        width: 70px;
        min-width: 70px;
    }

    .auto-solucao-card.is-open {
        flex: 1 1 430px;
        width: 430px;
        min-width: 400px;
    }

    .auto-solucao-numero {
        width: 38px;
        height: 38px;
    }

    .auto-solucao-plus {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .auto-solucao-trigger > strong {
        font-size: 14px;
    }

    .auto-solucao-card.is-open .auto-solucao-detalhes h3 {
        font-size: clamp(25px, 2.35vw, 35px);
    }
}

/* Tablet continua com rolagem horizontal já prevista pelo layout existente. */
@media (min-width: 651px) and (max-width: 1100px) {
    .auto-solucoes-grid {
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .auto-solucao-card {
        scroll-snap-align: start;
    }
}

/* No celular os 10 cards permanecem empilhados verticalmente. */
@media (max-width: 650px) {
    .auto-solucao-card--tecnico {
        background:
            radial-gradient(circle at 85% 20%, rgba(229, 9, 20, .20), transparent 30%),
            linear-gradient(145deg, #141414, #050505);
    }

    .auto-solucao-card.is-open .auto-solucao-detalhes h3 {
        font-size: clamp(23px, 7.5vw, 29px);
    }
}


/* =========================================================
   V34 — CARDS HORIZONTAIS
   Todos os equipamentos permanecem visíveis.
   A abertura acontece na vertical, sem "empurrar" ou esconder
   os outros cards para fora da tela.
   ========================================================= */

.auto-solucoes-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

.auto-solucao-card,
.auto-solucao-card.is-open {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    flex-basis: auto !important;
    min-height: 220px;
    border-radius: 22px;
}

.auto-solucao-card.is-open {
    min-height: 340px;
}

.auto-solucao-trigger,
.auto-solucao-card.is-open .auto-solucao-trigger {
    width: 100%;
    min-height: 220px !important;
}

.auto-solucao-card.is-open .auto-solucao-trigger {
    min-height: 340px !important;
}

/* Número sempre no canto superior esquerdo */
.auto-solucao-numero,
.auto-solucao-card.is-open .auto-solucao-numero {
    top: 22px !important;
    left: 22px !important;
    width: 42px;
    height: 42px;
    transform: none !important;
}

/* Título passa a ser horizontal */
.auto-solucao-trigger > strong {
    top: 43px !important;
    left: 82px !important;
    right: 76px;
    max-width: none !important;
    color: #fff;
    font-size: 16px !important;
    line-height: 1.3;
    white-space: normal !important;
    text-align: left !important;
    transform: translateY(-50%) !important;
}

.auto-solucao-card.is-open .auto-solucao-trigger > strong {
    opacity: 0;
}

/* Botão + no canto superior direito */
.auto-solucao-plus,
.auto-solucao-card.is-open .auto-solucao-plus {
    top: 22px !important;
    right: 22px !important;
    bottom: auto !important;
    left: auto !important;
    width: 42px;
    height: 42px;
    transform: none !important;
}

.auto-solucao-card.is-open .auto-solucao-plus {
    background: var(--auto-red);
    transform: rotate(45deg) !important;
}

/* Imagem ocupa o card horizontal inteiro */
.auto-solucao-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradiente pensado para leitura em formato horizontal */
.auto-solucao-card::after,
.auto-solucao-card.is-open::after {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.56) 52%,
            rgba(0,0,0,.24) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.62)
        ) !important;
}

/* Descrição abre para baixo, sem alterar a largura do card */
.auto-solucao-detalhes {
    top: 96px !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
    overflow-y: auto;
}

.auto-solucao-detalhes h3,
.auto-solucao-card.is-open .auto-solucao-detalhes h3 {
    max-width: 88%;
    font-size: clamp(24px, 2.2vw, 34px) !important;
}

.auto-solucao-detalhes p {
    max-width: 92%;
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.6;
}

/* Hover sem alterar o tamanho do card */
@media (hover:hover) and (pointer:fine) {
    .auto-solucao-card:not(.is-open):hover {
        transform: translateY(-5px);
    }
}

/* Notebook/tablet: uma coluna, mantendo card horizontal */
@media (max-width: 900px) {
    .auto-solucoes-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .auto-solucao-card,
    .auto-solucao-card.is-open {
        min-height: 190px;
    }

    .auto-solucao-card.is-open {
        min-height: 320px;
    }

    .auto-solucao-trigger,
    .auto-solucao-card.is-open .auto-solucao-trigger {
        min-height: 190px !important;
    }

    .auto-solucao-card.is-open .auto-solucao-trigger {
        min-height: 320px !important;
    }
}

/* Celular: continua horizontal, ocupando toda a largura */
@media (max-width: 650px) {
    .auto-solucoes-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .auto-solucao-card,
    .auto-solucao-card.is-open {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 170px;
        border-radius: 18px;
    }

    .auto-solucao-card.is-open {
        min-height: 330px;
    }

    .auto-solucao-trigger,
    .auto-solucao-card.is-open .auto-solucao-trigger {
        min-height: 170px !important;
    }

    .auto-solucao-card.is-open .auto-solucao-trigger {
        min-height: 330px !important;
    }

    .auto-solucao-numero,
    .auto-solucao-card.is-open .auto-solucao-numero {
        top: 16px !important;
        left: 16px !important;
        width: 38px;
        height: 38px;
    }

    .auto-solucao-trigger > strong {
        top: 35px !important;
        left: 68px !important;
        right: 62px;
        font-size: 14px !important;
        transform: translateY(-50%) !important;
    }

    .auto-solucao-plus,
    .auto-solucao-card.is-open .auto-solucao-plus {
        top: 16px !important;
        right: 16px !important;
        width: 38px;
        height: 38px;
    }

    .auto-solucao-detalhes {
        top: 82px !important;
        left: 18px !important;
        right: 18px !important;
        bottom: 20px !important;
    }

    .auto-solucao-detalhes h3,
    .auto-solucao-card.is-open .auto-solucao-detalhes h3 {
        max-width: 100%;
        font-size: clamp(22px, 7vw, 28px) !important;
    }

    .auto-solucao-detalhes p {
        max-width: 100%;
        font-size: 12.5px;
    }
}


/* =========================================================
   V35 — CARDS FECHADOS MAIS COMPACTOS
   Mantém o card aberto com a altura anterior.
   ========================================================= */

/* Desktop */
@media (min-width: 901px) {
    .auto-solucao-card:not(.is-open) {
        min-height: 140px !important;
    }

    .auto-solucao-card:not(.is-open) .auto-solucao-trigger {
        min-height: 140px !important;
    }
}

/* Tablet */
@media (min-width: 651px) and (max-width: 900px) {
    .auto-solucao-card:not(.is-open) {
        min-height: 125px !important;
    }

    .auto-solucao-card:not(.is-open) .auto-solucao-trigger {
        min-height: 125px !important;
    }
}

/* Celular */
@media (max-width: 650px) {
    .auto-solucao-card:not(.is-open) {
        min-height: 115px !important;
    }

    .auto-solucao-card:not(.is-open) .auto-solucao-trigger {
        min-height: 115px !important;
    }
}
