/* =========================================
   1. RESET & CONFIGURAÇÕES GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta */
    --bg: #ffffff;
    --text: #171717;
    --muted: rgba(0, 0, 0, 0.68);
    --brand: #5e0101;
    --brand-2: #850909;

    /* Superfícies */
    --surface: #ffffff;
    --surface-alt: #f3f3f3;

    /* Bordas/sombras */
    --border: rgba(0, 0, 0, 0.10);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.10);

    /* Arredondamentos e tamanhos */
    --radius: 18px;
    --radius-sm: 14px;
    --header-h: 76px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
}

body.is-lock {
    overflow: hidden;
}

.container {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 1.1rem;
}

section {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* =========================================
   2. COMPONENTES REUTILIZÁVEIS
   ========================================= */

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border: 1px solid transparent;
    transition: 0.2s;
    box-shadow: 0 14px 26px rgba(94, 1, 1, 0.18);
}

.btn:hover {
    background: var(--brand-2);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
}

.btn--ghost:hover {
    background: rgba(0, 0, 0, 0.04);
}

.btn--full {
    width: 100%;
}

.pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(94, 1, 1, 0.10);
    color: var(--brand);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Cards */
.card-base {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* =========================================
   3. HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header__content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand__logo {
    height: 44px;
    width: auto;
    display: block;
}

.brand__text strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.brand__text span {
    display: block;
    font-size: 0.78rem;
    opacity: 0.75;
}

/* Navegação */
.nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    opacity: 0.9;
    transition: 0.2s;
}

.nav a:hover {
    color: var(--brand-2);
    opacity: 1;
}

.nav__cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(94, 1, 1, 0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav__cta:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}

.navToggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: solid var(--border);
    background: #ffffff;
    cursor: pointer;
}

.navToggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 6px auto;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: var(--header-h);
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: url("hero.jpg") center/cover no-repeat;
    color: #fff;
}

/* Overlay do Hero */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(2.2rem, 6vw, 4.6rem) clamp(1rem, 4vw, 3rem);
}

.hero__text {
    max-width: 620px;
}

.hero h1 {
    margin-top: 0.9rem;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero__lead {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 56ch;
}

.hero__actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero .pill {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.btn--ghostLight {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
}

.btn--ghostLight:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.40);
}

/* Stats */
.hero__stats {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}

.stat {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
}

.stat strong {
    display: block;
}

.stat span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
}

/* =========================================
   5. SECTIONS GERAIS
   ========================================= */
.section {
    padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.section--alt {
    background: var(--surface-alt);
}

.section__head {
    text-align: center;
    margin-bottom: 1.8rem;
}

.section__head h2 {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
}

.section__head p {
    margin-top: 0.55rem;
    color: var(--muted);
    max-width: 70ch;
    margin-inline: auto;
}

/* Grids */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.cardMini {
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.cardMini p {
    margin-top: 0.45rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Passos */
.step {
    padding: 1.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.step__num {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(94, 1, 1, 0.12);
    color: var(--brand);
    margin-bottom: 0.65rem;
}

/* =========================================
   6. MODELOS & CARROSSEL (CARDS)
   ========================================= */
.modelGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.modelCard {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.2s ease;
    position: relative;
}

.modelCard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.modelCard__body {
    padding: 1rem 1rem 1.1rem;
}

.modelCard__body p {
    margin-top: 0.45rem;
    color: var(--muted);
}

/* Área Expansível */
.modelCard__expand {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1rem;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
    border-top: 1px solid var(--border);
}

.modelCard.is-open .modelCard__expand {
    max-height: 280px;
    opacity: 1;
    padding: 0.85rem 1rem 1rem;
}

.modelCard__expand h4 {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
}

.modelCard__expand p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* Carrossel dentro do Card */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    width: 100%;
    transform: translateX(0);
    transition: transform 0.25s ease;
}

.carousel__slide {
    width: 100%;
    flex: 0 0 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.modelCard:hover .carousel__btn {
    opacity: 1;
}

.carousel__btn:hover {
    background: rgba(0, 0, 0, 0.55);
}

.carousel__btn--prev {
    left: 10px;
}

.carousel__btn--next {
    right: 10px;
}

.carousel__dots {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    gap: 6px;
    justify-content: center;
    z-index: 2;
}

.carousel__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.carousel__dot.is-active {
    background: rgba(255, 255, 255, 0.95);
}

.linkBtn {
    border: 0;
    background: transparent;
    color: var(--brand);
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0 0;
    display: inline-block;
    position: relative;
    z-index: 20;
}

/* Card Expandido (Modal de Card) */
#cardOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#cardOverlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modelCard.is-expanded {
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1) !important;
    width: min(500px, 90vw);
    max-height: 90vh;
    z-index: 1600 !important;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modelCard.is-expanded .modelCard__expand {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 1.5rem !important;
}

.modelCard.is-expanded .carousel__slide {
    height: 300px;
}

/* =========================================
   7. CONTATO
   ========================================= */
#contato {
    padding-bottom: 60px;
}

.contato {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.2rem, 4vw, 2.6rem);
    align-items: start;
}

.contato__info p {
    margin-top: 0.75rem;
    color: var(--muted);
    line-height: 1.7;
}

.contato__box {
    margin-top: 1.1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.contato__box p {
    margin: 0.35rem 0;
}

.contato__box a {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.contato__form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.field {
    margin-bottom: 0.85rem;
}

.field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    padding: 0.85rem 0.95rem;
    font-family: inherit;
    outline: none;
    background: #fff;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(94, 1, 1, 0.55);
    box-shadow: 0 0 0 4px rgba(94, 1, 1, 0.12);
}

.formMsg {
    margin-top: 0.7rem;
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.95rem;
}

/* =========================================
   8. MODAL (Geral)
   ========================================= */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000 !important;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal__content {
    position: relative;
    width: min(880px, 92vw);
    max-height: 86vh;
    overflow: auto;
    margin: 6vh auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.2rem 1.4rem;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #ffffff;
    cursor: pointer;
    font-size: 22px;
}

#modalBenefits {
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    border-left: 3px solid var(--brand);
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer--clean {
    background: #0f0f0f;
    color: #fff;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__content--clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer__copy {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer__dev--clean {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.95;
}

.footer__devLogo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}



/* =========================================
   10. RESPONSIVIDADE
   ========================================= */
@media (max-width: 980px) {
    .hero__content {
        grid-template-columns: 1fr;
    }

    .grid3,
    .modelGrid,
    .contato {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    /* Menu mobile */
    .navToggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: grid;
        gap: 0.35rem;
        padding: 0.9rem 1rem 1.1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: 0.18s ease;
    }

    .nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav a {
        padding: 0.85rem 0.6rem;
        border-radius: 14px;
    }

    .nav a:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    /* Setas carrossel mobile */
    .carousel__btn {
        opacity: 1;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 700px) {
    .footer__content--clean {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__dev--clean {
        align-self: flex-start;
    }
}

@media (max-width: 600px) {
    .hero {
        align-items: flex-start;
    }

    .hero__content {
        padding-top: calc(var(--header-h) + 2rem);
        padding-bottom: 2.5rem;
    }

    .pill {
        display: none;
    }

    .hero h1 {
        margin-top: 0;
    }

    .hero__lead {
        margin-top: 0.75rem;
    }

    .hero__actions {
        margin-top: 1.1rem;
    }

    .modal__content {
        margin: 4vh auto;
        padding: 1rem 1rem 1.2rem;
    }

    #modalBenefits {
        padding-left: 1rem;
        margin-left: 1rem;
        border-left: 2px solid #eee;
    }
}

.footer--clean{
  padding: 18px 24px; /* era 18px 0 */
}
