/* CSS Reset and Variables */
:root {
    --primary: #004aad;
    /* Modern deep blue */
    --primary-light: #38b6ff;
    /* vibrant accent blue */
    --secondary: #ff3131;
    /* punchy vibrant red */

    /* Light Theme */
    --bg-color: #f4f7fc;
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --input-bg: rgba(255, 255, 255, 0.9);

    /* Buttons Light mode */
    --btn-pri-bg1: var(--primary);
    --btn-pri-bg2: var(--primary-light);
    --btn-pri-shadow: rgba(0, 74, 173, 0.3);
    --btn-glow-bg: #ffd01e;
    --btn-glow-shadow: rgba(255, 208, 30, 0.5);
    --card-img-bg: #f8fafc;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --surface: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --input-bg: rgba(15, 23, 42, 0.8);

    /* Buttons Dark mode */
    --btn-pri-bg1: #1e40af;
    /* deeper blue for dark mode contrast */
    --btn-pri-bg2: #0ea5e9;
    --btn-pri-shadow: rgba(14, 165, 233, 0.4);
    --btn-glow-bg: #ffd01e;
    --btn-glow-shadow: rgba(255, 208, 30, 0.6);
    --card-img-bg: #1e293b;
}

.bg-white {
    --bg-color: #f4f7fc !important;
    --surface: #ffffff !important;
    --text-main: #1e293b !important;
    --text-muted: #64748b !important;
    --glass-bg: rgba(255, 255, 255, 0.8) !important;
    --glass-border: rgba(255, 255, 255, 0.8) !important;
    --glass-shadow: rgba(10, 22, 50, 0.08) !important;
    --input-bg: rgba(255, 255, 255, 0.9) !important;

    /* Buttons Light mode overrides */
    --btn-pri-bg1: var(--primary) !important;
    --btn-pri-bg2: var(--primary-light) !important;
    --btn-pri-shadow: rgba(0, 74, 173, 0.3) !important;

    background-color: var(--bg-color);
    color: var(--text-main);
}

.bg-white .glass-card {
    background: var(--glass-bg);
}

.bg-yellow {
    background-color: #ffd01e !important;
    color: #ffffff !important;
}

.bg-yellow .section-title h2,
.bg-yellow .section-title p,
.bg-yellow h2,
.bg-yellow h3,
.bg-yellow p {
    color: #595757 !important;
}

.bg-yellow .glass-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Structure */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

/* Buttons & Inputs */
.btn-primary,
.btn-outline,
.btn-glow,
.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--btn-pri-bg1), var(--btn-pri-bg2));
    color: white;
    box-shadow: 0 4px 15px var(--btn-pri-shadow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px var(--btn-pri-shadow);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--text-muted);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-glow {
    background: var(--btn-glow-bg);
    color: #1e293b;
    box-shadow: 0 0 20px var(--btn-glow-shadow);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }

    50% {
        box-shadow: 0 0 25px var(--btn-glow-shadow);
    }

    100% {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    }
}

.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-waze {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    background: linear-gradient(135deg, #33ccff, #00aaff);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.35);
}

.btn-waze:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 170, 255, 0.45);
}

.location-actions {
    display: flex;
    gap: 12px;
    margin-top: 50px;
}

.location-nav-btn {
    flex: 1;
    justify-content: center;
    padding: 18px 16px;
    text-align: center;
}

@media (max-width: 520px) {
    .location-actions {
        flex-direction: column;
    }
}

/* Float WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceWhats 2s infinite;
    transition: transform 0.3s;
}

.float-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    animation: none;
}

@keyframes bounceWhats {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 999;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .logo img {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1)) brightness(1.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:not(.btn-primary):not(.btn-outline):not(.btn-glow):not(.btn-success):not(.logo)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-link.active:not(.btn-primary):not(.btn-outline):not(.btn-glow):not(.btn-success):not(.logo)::after,
.nav-link:hover:not(.btn-primary):not(.btn-outline):not(.btn-glow):not(.btn-success):not(.logo)::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 900px) {
    .navbar {
        height: 68px;
    }

    .logo img {
        height: 48px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px var(--glass-shadow);
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px -5px var(--glass-shadow);
    border-radius: 20px;
    padding: 30px;
}

/* Hero Banner — altura da arte, sem recortar o topo */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #ffcc00;
    line-height: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide picture,
.hero-slide-img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-slide-img {
    object-fit: contain;
    object-position: center top;
    vertical-align: top;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 1.6rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.hero-nav--prev { left: 14px; }
.hero-nav--next { right: 14px; }

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* Hero Text Section (below banner) */
.hero-text-section {
    padding: 60px 0 50px 0;
    position: relative;

}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: slideUp 0.8s ease forwards;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        background: #1a1a1a;
    }

    .hero-slide-img {
        object-position: center top;
    }

    .hero-nav {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-text-section {
        padding: 40px 0;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card-media {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.about-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.2);
}

/* Testimonials Slider */
.testimonials-slider {
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -15px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

.testimonials-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: testimonials-marquee 45s linear infinite;
    will-change: transform;
}

.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonials-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 350px;
    width: 350px;
    text-align: left;
}

@media (max-width: 768px) {
    .testimonials-slider {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 5%,
            #000 95%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 5%,
            #000 95%,
            transparent 100%
        );
    }

    .testimonial-card {
        flex: 0 0 280px;
        width: 280px;
    }

    .testimonials-track {
        animation-duration: 35s;
    }
}

.stars {
    color: #FFB800;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

/* Page Headers */
.page-header {
    background: var(--surface);
    padding: 80px 0;
    border-bottom: 1px solid var(--glass-border);
}

.page-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}


.gradient-header {
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.1), rgba(56, 182, 255, 0.1));
}

/* Tabs */
.tabs-header {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
}

.car-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.car-image {
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    transition: background 0.4s ease;
}

.car-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: scale(1.28);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.36) translateY(-6px);
}

.car-image.sim-car-img--gallery {
    display: block;
    padding-bottom: 28px;
}

.car-image .sim-car-slides {
    width: 100%;
    height: 100%;
}

.car-image .sim-car-slides img {
    transform: scale(1.28);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
    transition: opacity 0.55s ease, transform 0.4s ease;
}

.car-card:hover .car-image .sim-car-slides img {
    transform: scale(1.36) translateY(-6px);
}

.car-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-group {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.car-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.car-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.car-price {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd01e;
}

.price-value small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Requisitos */
.requisitos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .requisitos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.rq-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 10px;
}

.rq-card ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

.rq-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.info-adicionais h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.tarifas-conteudo {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 80px;
}
.tarifas-conteudo .tarifas-bloco {
    padding: 22px 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.tarifas-conteudo h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.25rem;
    line-height: 1.3;
}
.tarifas-conteudo h4 {
    color: var(--primary);
    margin: 8px 0 12px;
    font-size: 1.08rem;
}
.tarifas-conteudo p,
.tarifas-conteudo li,
.tarifas-conteudo td,
.tarifas-conteudo th {
    color: var(--text-main);
    line-height: 1.65;
    font-size: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}
.tarifas-conteudo ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
}
.tarifas-conteudo li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    padding: 8px 0;
}
.tarifas-conteudo a {
    color: var(--primary);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.tarifas-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 12px 0;
}
.tarifas-table {
    width: 100%;
    border-collapse: collapse;
}
.tarifas-table th,
.tarifas-table td {
    border: 1px solid var(--glass-border);
    padding: 10px 12px;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-main);
}
.tarifas-table th {
    background: rgba(0, 74, 173, 0.12);
    color: var(--primary);
    font-weight: 700;
}
.tarifas-table tbody tr:nth-child(even) {
    background: rgba(0, 74, 173, 0.04);
}

@media (min-width: 768px) {
    .tarifas-conteudo {
        margin-top: 40px;
        gap: 28px;
        padding-bottom: 0;
    }
    .tarifas-conteudo .tarifas-bloco {
        padding: 36px 32px;
    }
    .tarifas-conteudo h3 {
        font-size: 1.45rem;
    }
    .tarifas-conteudo p,
    .tarifas-conteudo li {
        font-size: 1.05rem;
    }
}

@media (max-width: 767px) {
    body[data-page="tarifas"] .container {
        padding: 0 14px;
    }
    body[data-page="tarifas"] .tabs-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }
    body[data-page="tarifas"] .tab-btn {
        flex: 1 1 calc(50% - 8px);
        font-size: 0.92rem;
        padding: 10px 8px;
        text-align: center;
    }
    body[data-page="tarifas"] .tab-btn.active::after {
        bottom: -10px;
        height: 3px;
    }
    .tarifas-table,
    .tarifas-table thead,
    .tarifas-table tbody,
    .tarifas-table th,
    .tarifas-table td,
    .tarifas-table tr {
        display: block;
        width: 100%;
    }
    .tarifas-table thead {
        display: none;
    }
    .tarifas-table tr {
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 12px;
        background: var(--surface);
        box-sizing: border-box;
    }
    .tarifas-table td {
        border: none;
        padding: 4px 0;
    }
    .tarifas-table td:last-child {
        font-weight: 700;
        color: var(--primary);
        padding-top: 6px;
    }
}

/* Simulator Form */
body[data-page="orcamento"] .page-header {
    padding: 28px 0 16px;
}
body[data-page="orcamento"] .page-header h2 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}
body[data-page="orcamento"] .page-header p {
    font-size: 0.95rem;
}
body[data-page="orcamento"] .section.bg-white {
    padding-top: 18px;
    padding-bottom: 28px;
}
body[data-page="orcamento"] .sim-panels {
    padding: 18px 20px 16px;
    min-height: 0;
}
body[data-page="orcamento"] .dt-chip {
    height: 46px;
    min-height: 46px;
    padding: 0 12px;
}
body[data-page="orcamento"] .sim-panel h3 {
    margin-bottom: 12px;
}
body[data-page="orcamento"] .date-grid {
    gap: 12px;
    margin-bottom: 4px;
}
body[data-page="orcamento"] .sim-actions {
    margin-top: 16px;
    padding-top: 12px;
}
body[data-page="orcamento"] .sticky-summary {
    padding: 18px 20px;
    border-radius: 18px;
}
body[data-page="orcamento"] .summary-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
}
body[data-page="orcamento"] .cupom-row {
    margin: 6px 0 10px;
}
body[data-page="orcamento"] .sim-promo-banner {
    margin-bottom: 10px;
    padding: 10px 12px;
}
body[data-page="orcamento"] .sim-tracker {
    margin-bottom: 16px;
}

.simulator-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.simulator-layout.is-summary-hidden .simulator-summary {
    display: none;
}
.simulator-layout.is-summary-hidden .simulator-form {
    flex: 1 1 100%;
    max-width: 100%;
}
.simulator-layout.is-summary-hidden .car-selection-grid--lg {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

@media (max-width: 900px) {
    .simulator-layout {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .simulator-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

.simulator-form {
    flex: 2;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
}

.simulator-summary {
    flex: 1;
    position: sticky;
    top: 100px;
    width: 100%;
}

.sticky-summary {
    border-radius: 30px;
    padding: 35px;
}

/* Steps */
.sim-steps {
    display: flex;
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
}

.step {
    flex: 1;
    text-align: center;
    padding: 15px 6px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.step.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--surface);
}

.sim-panels {
    padding: 30px;
    position: relative;
    min-height: 400px;
}

.sim-panel {
    display: none;
    animation: fadeInRight 0.4s ease;
}

.sim-panel.active {
    display: block;
}

.sim-panel h3 {
    margin-bottom: 25px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .sim-steps {
        overflow-x: auto;
        white-space: nowrap;
    }

    .step {
        flex: 0 0 auto;
        padding: 15px 25px;
    }

    .sim-panels {
        padding: 20px 15px;
    }

    .simulator-form.glass-card,
    .sticky-summary.glass-card {
        border-radius: 16px;
    }

    .sticky-summary.glass-card {
        padding: 20px;
    }

    .sim-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .sim-actions button {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Forms Input */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.modern-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.bg-white .modern-input {
    background: #ffffff;
    border-color: #e2e8f0;
}

.modern-input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}

/* Data + Hora separados (estilo chip lado a lado) */
.datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Mais específico que `.input-group label { display:block }` */
.input-group .dt-chip,
.dt-chip {
    position: relative;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 54px;
    min-height: 54px;
    min-width: 0;
    margin-bottom: 0;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
    font-weight: 500;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dt-chip:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}

.dt-chip-label {
    flex: 1;
    flex-shrink: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    pointer-events: none;
    line-height: 1;
    margin: 0;
}

.dt-chip:has(.dt-input:valid) .dt-chip-label,
.dt-chip.has-value .dt-chip-label {
    display: none;
}

.dt-chip .dt-input {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    color-scheme: light;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.dt-chip input.dt-input[readonly] {
    caret-color: transparent;
}

/* Vazio: input some do fluxo — fica só "Data/Hora" + ícone na mesma linha */
.dt-chip:not(.has-value) input.dt-input[type="text"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: transparent;
}

.dt-chip.has-value input.dt-input[type="text"] {
    position: static;
    opacity: 1;
    color: #0f172a;
}

.dt-chip select.dt-input {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    color: #0f172a !important;
    background-color: transparent;
}

/* Select vazio: some do fluxo visual (rótulo "Hora" + ícone) */
.dt-chip:has(select.dt-input:invalid) select.dt-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.dt-chip:has(select.dt-input:valid) select.dt-input {
    position: static;
    opacity: 1;
}

.dt-chip select.dt-input option {
    color: #0f172a;
    background-color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 14px;
    opacity: 1;
}

.dt-chip .dt-input::-webkit-calendar-picker-indicator {
    display: none;
}

.dt-chip > i {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 1.35rem;
    line-height: 1;
    color: #1a4d3e;
    pointer-events: none;
}

/* Flatpickr — dias inativos cinza / não clicáveis */
.flatpickr-calendar {
    font-family: inherit;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    border-radius: 12px;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.dia-inativo,
.flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    background: #f1f5f9 !important;
    text-decoration: line-through;
    cursor: not-allowed !important;
    border-color: transparent !important;
}

@media (max-width: 520px) {
    .datetime-row {
        grid-template-columns: 1fr;
    }
}

/* Forms & Grids */
.date-grid,
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {

    .date-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .date-grid>div,
    .contact-form-grid>div {
        grid-column: span 1 !important;
    }
}

/* Selector Cars */
.car-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 5px;
}

.sim-car-card {
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: var(--input-bg);
}

.bg-white .sim-car-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

.sim-car-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.bg-white .sim-car-card:hover {
    border-color: #ffd01e;
}

.sim-car-card.selected {
    border-color: #ffd01e;
    background: rgba(255, 208, 30, 0.1);
    box-shadow: 0 4px 12px rgba(255, 208, 30, 0.3);
}

/* Cards de plano (diário / mensal) */
.plan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 10px;
    padding-top: 14px;
    overflow: visible;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 18px 20px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    text-align: left;
    overflow: visible;
}

.plan-card:hover {
    border-color: var(--primary-light, #38b6ff);
    transform: translateY(-2px);
}

.plan-card.selected {
    border-color: #ffd01e;
    background: rgba(255, 208, 30, 0.08);
    box-shadow: 0 4px 12px rgba(255, 208, 30, 0.25);
}

.plan-card-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    background: #ffd01e;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 1px 0 #fff;
}

.plan-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.plan-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.35;
}

.plan-card-price {
    margin-top: auto;
    padding-top: 12px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
}

.plan-card-price small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}

.plan-card.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sim-car-card .car-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.sim-car-card .sim-car-img {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.sim-car-card .sim-car-img img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: scale(1.32);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s ease;
}

.sim-car-card:hover .sim-car-img img,
.sim-car-card.selected .sim-car-img img {
    transform: scale(1.4);
}

/* Modern Checkbox list */
.modern-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--input-bg);
    transition: all 0.2s;
}

.bg-white .modern-checkbox {
    background: #ffffff;
    border-color: #e2e8f0;
}

.modern-checkbox:hover {
    border-color: var(--primary-light);
}

.bg-white .modern-checkbox:hover {
    border-color: #ffd01e;
}

.modern-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    margin-right: 15px;
    position: relative;
    transition: all 0.2s;
}

.modern-checkbox input:checked~.checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modern-checkbox input:checked~.checkmark:after {
    display: block;
}

.opt-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* Summary Box */
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--glass-border);
    color: var(--text-muted);
}

.summary-item strong {
    color: var(--text-main);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: 20px;
    margin-bottom: 20px;
}

.summary-total strong {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
}

.summary-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Contact & Loc */
.loc-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

@media (max-width: 900px) {

    .loc-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 40px;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-form {
    padding: 40px;
}

.loc-map {
    padding: 0;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .footer-logo {
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1)) brightness(1.2);
}

.footer-col h3 {
    color: #a8a8a8;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Fleet Carousel */
.fleet-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}


.fleet-track-wrapper {
    overflow: visible;
    /* Allow pop-out effect */
    width: 100%;
    position: relative;
}


.fleet-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 40px;
    /* Increased gap for better perspective */
    padding: 80px calc(50% - 160px);
    align-items: center;
}

.fleet-track::-webkit-scrollbar {
    display: none;
}

.fleet-card {
    min-width: 320px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.6);
    opacity: 0.25;
    cursor: pointer;
    filter: grayscale(100%) blur(1px);
}

.fleet-card.active {
    transform: scale(1.4);
    opacity: 1;
    z-index: 10;
    filter: grayscale(0) blur(0);
}



.fleet-card-img {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.5s ease;
}

.fleet-card-img::before {
    display: none;
    /* Removed circle background as requested by image mockup */
}

[data-theme="dark"] .fleet-card-img::before {
    border-color: rgba(255, 208, 30, 0.4);
}

[data-theme="dark"] .fleet-card.active .fleet-card-img::before {
    background: rgba(255, 208, 30, 0.05);
    border-color: rgba(255, 208, 30, 0.8);
}

.fleet-card-img img {
    width: 300px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transform: scale(1.22);
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}



.fleet-card-info h3 {
    color: #ffd01e;
    /* Reverting to original Yellow */
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 800;
}

[data-theme="dark"] .fleet-card-info h3 {
    color: #ffd01e;
}

.fleet-card-info p {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
}

.fleet-nav {
    background: white;
    border: 3px solid #ffd01e;
    /* Reverting to original Yellow */
    color: #ffd01e;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 25;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-size: 2.2rem;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
}

.fleet-nav.prev {
    left: 10px;
}

.fleet-nav.next {
    right: 10px;
}

.fleet-nav:hover {
    background: white;
    color: #ffd01e;
    transform: translateY(-50%) scale(1.1);
}

[data-theme="dark"] .fleet-nav {
    background: transparent;
    border-color: #ffd01e;
    color: #ffd01e;
}

[data-theme="dark"] .fleet-nav:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #937504;
}


@media (max-width: 768px) {
    .fleet-nav {
        display: none;
    }

    [data-theme="dark"] .fleet-card-info h3 {
        color: #ffd01e;
        font-size: 11px;
    }

    .fleet-card-info p {
        color: var(--text-main);
        font-size: 10px;
        font-weight: 600;
    }
}

/* Login Page */
.login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg-color);
}

.login-section.bg-white {
    background: #ffffff !important;
}

.login-box,
.register-box {
    width: 100%;
    max-width: 440px;
}

.register-box {
    max-width: 500px;
}

.login-box h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.login-box .glass-card {
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.bg-white .login-box .glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.login-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.login-box .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
    justify-content: center;
    text-align: center;
    background: #ffd01e;
    color: #1e293b;
    box-shadow: 0 4px 15px rgba(255, 208, 30, 0.3);
}

.login-box .btn-primary:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 30, 0.4);
}

/* Dashboard Sidebar & Menu */
.dashboard-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.dashboard-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.dash-menu {
    list-style: none;
    padding: 10px;
}

.dash-menu-item {
    margin-bottom: 8px;
}

.dash-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer;
}

.dash-menu-link i {
    font-size: 1.4rem;
    color: var(--primary);
}

.dash-menu-link:hover {
    background: rgba(255, 208, 30, 0.1);
    color: var(--primary);
}

.dash-menu-link.active {
    background: var(--primary);
    color: #ffffff;
}

.dash-menu-link.active i {
    color: #ffffff;
}

/* Dashboard Content Areas */
.dash-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.dash-panel.active {
    display: block;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #fff9e6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-info .value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}

.welcome-dash-card {
    display: flex;
    gap: 40px;
    align-items: center;
    border-radius: 30px;
}

@media (max-width: 991px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: relative;
        top: 0;
    }
    
    .welcome-dash-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Responsive Dash Tables */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    .responsive-table, 
    .responsive-table thead, 
    .responsive-table tbody, 
    .responsive-table th, 
    .responsive-table td, 
    .responsive-table tr { 
        display: block; 
    }
    
    .responsive-table thead tr { 
        display: none;
    }
    
    .responsive-table tr { 
        border: 2px solid var(--glass-border); 
        margin-bottom: 20px; 
        border-radius: 15px; 
        padding: 5px;
    }
    
    .responsive-table td { 
        border: none !important;
        border-bottom: 1px solid var(--glass-border) !important; 
        position: relative;
        padding: 15px 15px 15px 50% !important; 
        text-align: right !important;
        min-height: 50px;
    }

    .responsive-table td:last-child {
        border-bottom: none !important;
    }
    
    .responsive-table td::before { 
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 15px;
        width: 45%; 
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-muted);
        content: attr(data-label);
        font-size: 0.85rem;
    }
    
    .hide-mobile {
        display: none !important;
    }
}

/* Contact Grids */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-grid .glass-card {
        padding: 20px !important;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-grid .input-group {
        grid-column: span 1 !important;
    }
    
    .price-value {
        font-size: 27px;
        font-weight: 800;
        color: #0e3474;
    }
}

/* Simulador — barra superior (Localiza) */
.sim-tracker {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0 0 28px;
    padding: 18px 8px 8px;
    justify-content: space-between;
    position: relative;
}
.sim-tracker::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 32px;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}
.sim-tracker-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: default;
    background: transparent;
    border: 0;
}
.sim-tracker-step.is-done { cursor: pointer; }
.sim-tracker-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid #cbd5e1;
    background: #fff;
    margin-bottom: 8px;
    box-sizing: border-box;
    vertical-align: top;
}
.sim-tracker-step.is-done .sim-tracker-dot {
    background: var(--primary);
    border-color: var(--primary);
}
.sim-tracker-step.is-done .sim-tracker-dot::after {
    content: '';
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border-right: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(45deg);
}
.sim-tracker-step.is-current .sim-tracker-dot {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(0, 74, 173, 0.12);
    background: #fff;
}
.sim-tracker-step.is-current .sim-tracker-dot::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}
.sim-tracker-step strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
}
.sim-tracker-edit {
    display: none;
    margin-top: 4px;
    background: none;
    border: 0;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
}
.sim-tracker-step.is-done .sim-tracker-edit { display: inline; }

.cupom-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 18px;
    align-items: stretch;
}
.cupom-row > label {
    font-weight: 600;
    color: var(--text-main);
}
.cupom-row-fields {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cupom-field {
    position: relative;
    flex: 1;
    min-width: 0;
}
.cupom-field .modern-input {
    height: 48px;
    box-sizing: border-box;
    padding-right: 42px;
}
.cupom-row-fields .btn-outline {
    flex-shrink: 0;
    height: 48px;
    margin: 0;
    align-self: center;
}
.cupom-field i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.2rem;
}
.cupom-msg { display: block; margin-top: 6px; color: var(--primary); font-size: 0.8rem; }
.sim-promo-banner {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #ffd01e;
    background: rgba(255, 208, 30, 0.12);
    border-radius: 12px;
    margin-bottom: 18px;
}
.sim-promo-banner i { font-size: 1.6rem; color: var(--primary); }
.sim-promo-banner p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.9rem; }

.car-selection-grid--lg {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.sim-car-card--lg {
    text-align: left;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.sim-car-card--lg .sim-car-img {
    height: 188px;
    background: #f8fafc;
    margin: 0;
    padding: 6px 8px 0;
    position: relative;
}
.sim-car-card--lg .sim-car-img img {
    transform: scale(1.38);
}
.sim-car-card--lg:hover .sim-car-img img,
.sim-car-card--lg.selected .sim-car-img img {
    transform: scale(1.46);
}
.sim-car-slides {
    width: 100%;
    height: 100%;
    position: relative;
}
.sim-car-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}
.sim-car-slides img.is-active {
    opacity: 1;
}
.sim-car-card .sim-car-slides img {
    transition: opacity 0.55s ease, transform 0.25s ease;
}
.sim-car-img.sim-car-img--gallery {
    display: block;
}
.sim-car-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 2;
}
.sim-car-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.25);
    cursor: pointer;
}
.sim-car-dot.is-active {
    background: var(--primary);
}
.sim-car-card--lg .sim-car-body { padding: 12px 14px 14px; }
.sim-car-card--lg .sim-car-group {
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}
.sim-car-card--lg h4 {
    margin: 4px 0 2px;
    font-size: 1.05rem;
    color: var(--text-main);
}
.sim-car-card--lg p {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.sim-car-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.sim-car-feats span {
    font-size: 0.72rem;
    background: #f1f5f9;
    color: #334155;
    padding: 3px 8px;
    border-radius: 999px;
}
.sim-car-card--lg strong {
    display: block;
    color: var(--primary);
    font-size: 1.05rem;
}
.sim-car-cta {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-card-km {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}
.plan-card-extra {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.plan-card-unit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}
.sim-section-title {
    margin: 28px 0 8px !important;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.prot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 900px) {
    .prot-grid { grid-template-columns: 1fr; }
}
.prot-card {
    text-align: left;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    cursor: pointer;
}
.prot-card.selected {
    border-color: var(--primary);
    background: rgba(0, 74, 173, 0.04);
}
.prot-card--hot { box-shadow: 0 8px 24px rgba(0,74,173,.08); }
.prot-card-banner {
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}
.prot-card h4 { margin: 0 0 6px; color: var(--primary); }
.prot-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.prot-card li { font-size: 0.82rem; margin-bottom: 6px; display: flex; gap: 6px; color: #334155; }
.prot-card li.out { color: #94a3b8; text-decoration: line-through; }
.prot-card li i { color: #16a34a; }
.prot-card li.out i { color: #94a3b8; }
.prot-price { margin: 10px 0; }
.prot-price s { display: block; color: #94a3b8; font-size: 0.85rem; }
.prot-btn {
    display: block;
    text-align: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 999px;
    padding: 8px;
    font-weight: 700;
    margin-top: 8px;
}
.prot-card.selected .prot-btn {
    background: var(--primary);
    color: #fff;
}
.prot-badge {
    display: inline-block;
    background: #ecfdf3;
    color: #166534;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 999px;
}

.acc-list { display: flex; flex-direction: column; gap: 12px; }
.acc-card {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}
.acc-card i { font-size: 1.8rem; color: var(--primary); }
.acc-info strong { display: block; color: var(--text-main); }
.acc-info span { font-size: 0.8rem; color: var(--text-muted); }
.acc-price { font-weight: 700; color: var(--text-main); white-space: nowrap; }
.acc-qty { display: flex; align-items: center; gap: 8px; }
.acc-qty button {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid #cbd5e1; background: #fff; cursor: pointer;
}

.resumo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
}
.resumo-head {
    background: #eef2f7;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    color: #334155;
}
.resumo-block {
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f7;
}
.resumo-block-title {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 6px;
}
.resumo-block strong { display: block; color: #0f172a; }
.resumo-block small { color: #64748b; }
.sum-breakdown { margin-top: 10px; }
.sum-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #475569;
}
.sum-line small { display: block; color: #94a3b8; }
.sum-line--discount { color: #166534; }
.resumo-total {
    background: var(--primary);
    color: #fff;
    padding: 18px;
    text-align: center;
}
.sum-total-label {
    display: block;
    font-size: 0.8rem;
    opacity: .85;
    margin-bottom: 4px;
}
.resumo-total strong { font-size: 1.8rem; }

@media (max-width: 768px) {
    .sim-tracker { flex-wrap: wrap; }
    .sim-tracker::before { display: none; }
    .acc-card { grid-template-columns: 32px 1fr; }
    .acc-price, .acc-qty, .acc-check { grid-column: 2; }
}

/* Scroll reveal — cards encaixam ao rolar */
.js-reveal {
    opacity: 0;
    transform: translateY(42px) scale(0.96);
    will-change: opacity, transform;
}
.js-reveal.is-inview {
    animation: revealSettle 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes revealSettle {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.96);
    }
    72% {
        opacity: 1;
        transform: translateY(-8px) scale(1.015);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .js-reveal,
    .js-reveal.is-inview {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* WhatsApp internacional — seletor de país + DDI */
.phone-intl {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.phone-intl.is-open,
.phone-intl:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}
.phone-intl-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 12px 0 14px;
    border: 0;
    border-right: 1px solid #e2e8f0;
    background: transparent;
    color: var(--text-main);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px 0 0 12px;
}
.phone-intl-trigger:hover {
    background: #f8fafc;
}
.phone-intl-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.phone-intl-ddi {
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.phone-intl-trigger .bx {
    font-size: 1.1rem;
    color: #94a3b8;
}
.phone-intl .modern-input {
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0 12px 12px 0;
    padding-left: 14px;
}
.phone-intl .modern-input:focus {
    box-shadow: none;
}
.phone-intl-dropdown {
    position: fixed;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}
.phone-intl-dropdown[hidden] {
    display: none !important;
}
.phone-intl-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #94a3b8;
}
.phone-intl-search {
    width: 100%;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 0.95rem;
    background: transparent;
    color: #0f172a;
}
.phone-intl-list {
    list-style: none;
    margin: 0;
    padding: 6px;
    flex: 1 1 auto;
    min-height: 180px;
    max-height: none;
    overflow-y: auto;
}
.phone-intl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.phone-intl-item:hover,
.phone-intl-item.is-active {
    background: #f1f5f9;
}
.phone-intl-item.is-selected {
    background: rgba(0, 74, 173, 0.08);
    font-weight: 600;
}
.phone-intl-item span {
    flex: 1;
}
.phone-intl-item small {
    color: #64748b;
    font-weight: 600;
}
.phone-intl-sep {
    margin: 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}
.phone-intl-empty {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}