:root {
    --primary-color: #2084B8;
    --primary-dark: #1A2541;
    --accent-color: #329ACD;
    --text-color: #333333;
    --text-light: #ffffff;
    --background-light: #f4f6f8;
    --transition-speed: 0.3s;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

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

section {
    padding: 40px 0;
}

@media (min-width: 768px) {
    section {
        padding: 60px 0;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 80px 0;
    }
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

/* ========================================
   FORM VALIDATION ERROR STATE
======================================== */

.input-error {
    border: 2px solid #e74c3c !important;
    background-color: #fff5f5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-speed);
}

.btn:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

/* Header Styles */
#main-header {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

#main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(26, 37, 65, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
}

@media (min-width: 768px) {
    .logo h1 {
        font-size: 1.8rem;
    }
}

.logo span {
    color: var(--accent-color);
}

.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: var(--primary-dark);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.main-nav.active {
    transform: translateX(0);
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    padding: 80px 20px 20px;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 12px 15px;
    display: block;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
}

.main-nav a:not(.btn):hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 15px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.main-nav a:not(.btn):hover::after {
    width: calc(100% - 30px);
}

@media (min-width: 768px) {
    .main-nav {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        transform: none;
        box-shadow: none;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 30px;
        align-items: center;
        padding: 0;
    }

    .main-nav a {
        font-size: 0.95rem;
        padding: 0;
    }

    .main-nav a:not(.btn):hover {
        background-color: transparent;
    }

    .main-nav a:not(.btn)::after {
        bottom: -5px;
        left: 0;
    }

    .main-nav a:not(.btn):hover::after {
        width: 100%;
    }
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Header Animation (Bus) */
.header-animation {
    position: absolute;
    bottom: -15px;
    /* Adjust based on icon size */
    left: 0;
    width: 100%;
    pointer-events: none;
    overflow: hidden;
    height: 30px;
}

.bus-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    position: absolute;
    left: -50px;
    animation: busDrive 15s linear infinite;
    opacity: 0.7;
}

@keyframes busDrive {
    0% {
        left: -50px;
        transform: translateX(0);
    }

    50% {
        transform: translateX(50vw);
    }

    100% {
        left: 100%;
        transform: translateX(0);
    }
}

.mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hero Section */
#hero {
    height: 100vh;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fallback background if video missing */
    background: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5960?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 65, 0.6);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Who We Are Section */
#quem-somos {
    background-color: var(--text-light);
}

.who-we-are-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.column {
    flex: 1;
}

.text-column .lead-text {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.text-column p {
    margin-bottom: 15px;
    color: #666;
}

.map-column {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
}

.brazil-map {
    width: 100%;
    height: auto;
    opacity: 0.2;
    /* Subtle background map */
}

.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(32, 132, 184, 0.3);
    z-index: 2;
}

.marker-sp {
    top: 70%;
    left: 65%;
}

/* Approx pos for SP */
.marker-rj {
    top: 68%;
    left: 72%;
}

/* Approx pos for RJ */
.marker-mg {
    top: 60%;
    left: 68%;
}

/* Approx pos for MG */

/* Animated Routes */
.route {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    height: 2px;
    width: 0;
    z-index: 1;
    border-radius: 2px;
    transform-origin: left;
}

.route-1 {
    top: 70%;
    left: 65%;
    width: 60px;
    transform: rotate(-30deg);
    animation: routeFlow 3s infinite ease-in-out;
}

.route-2 {
    top: 60%;
    left: 68%;
    width: 80px;
    transform: rotate(45deg);
    animation: routeFlow 3s infinite ease-in-out 1s;
}

@keyframes routeFlow {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 60px;
        opacity: 1;
    }

    100% {
        width: 0;
        opacity: 0;
        left: 80%;
    }

    /* Move out */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .who-we-are-content {
        flex-direction: column;
    }

    .map-column {
        height: 300px;
    }

    .section-title {
        text-align: center !important;
    }

    .text-column {
        text-align: center;
    }
}

/* Services Section */
#servicos {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.service-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color var(--transition-speed);
}

.service-card:hover .icon-box {
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Fleet Section */
#frota {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

#frota .section-title {
    color: var(--text-light);
}

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

@media (min-width: 768px) {
    .fleet-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .fleet-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.fleet-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.fleet-item:hover {
    transform: translateY(-5px);
}

.fleet-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.fleet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-speed) ease-in-out;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.fleet-image-container:hover .hover-img {
    opacity: 1;
}

.fleet-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.fleet-overlay h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

.fleet-specs {
    padding: 20px;
}

.fleet-specs li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.fleet-specs li i {
    color: var(--accent-color);
}

/* FAQ Section */
#faq {
    background-color: var(--text-light);
}

.faq-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.faq-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.faq-content {
    flex: 1.2;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header i {
    transition: transform var(--transition-speed);
    color: var(--accent-color);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out;
    background-color: #fff;
}

.accordion-body p {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.95rem;
}

/* Quote/Stats Section */
#cotacao {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
}

.quote-box {
    margin-bottom: 60px;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column-reverse;
    }

    .faq-image {
        width: 100%;
        height: 200px;
    }
}

/* Footer Section */
#footer {
    background-color: #151e36;
    /* Slightly darker than primary-dark */
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 0.9rem;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 {
    color: var(--text-light);
    font-size: 1.8rem;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-column h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.certifications {
    display: flex;
    gap: 15px;
}

.cert-item {
    background: #fff;
    color: #333;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 700;
}


/* About Page Styles */
.page-header {
    background-color: var(--background-light);
    padding: 60px 0 40px;
    text-align: center;
}

.about-content {
    padding: 60px 0;
}

.about-block {
    margin-bottom: 50px;
}

.about-block h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-block h3::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: var(--accent-color);
    margin-top: 5px;
}

.about-block p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.team-photo-container {
    margin: 40px 0;
    text-align: center;
}

.team-photo {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.photo-caption {
    margin-top: 10px;
    font-size: 0.9rem !important;
    color: #888 !important;
    font-style: italic;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.highlight-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid #eee;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(32, 132, 184, 0.1);
    /* light primary */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: background-color var(--transition-speed);
}

.highlight-card:hover .icon-wrapper {
    background-color: var(--primary-color);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

.highlight-card:hover .icon-wrapper i {
    color: var(--text-light);
}

.highlight-card h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: 50px 0;
}

.text-center {
    text-align: center;
}

.highlight-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    font-style: italic;
}

@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Services Page Styles */
.services-intro {
    padding: 20px 0 50px;
}

.service-detail-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-card:hover .service-img img {
    transform: scale(1.05);
    /* Zoom effect */
}

.service-info {
    flex: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-tag {
    display: inline-block;
    background-color: #eef5f9;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-info h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.service-info p {
    color: #555;
    margin-bottom: 25px;
}

.service-features {
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.service-features li i {
    color: var(--primary-color);
}

@media (max-width: 900px) {

    .service-detail-card,
    .service-detail-card.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

/* Fleet Page Styles */
.fleet-list {
    padding: 20px 0 60px;
}

.vehicle-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.vehicle-block.reverse {
    flex-direction: row-reverse;
}

.vehicle-info {
    flex: 1;
}

.vehicle-info h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.vehicle-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.vehicle-highlights h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.vehicle-highlights ul {
    list-style: none;
    padding: 0;
}

.vehicle-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-dark);
}

.vehicle-highlights li i {
    color: var(--accent-color);
}

.vehicle-media {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    /* Mosaic: Video (Left) - Photos (Right) */
    gap: 15px;
    height: 320px;
    /* Fixed height for the mosaic */
}

.media-video {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.media-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills the area */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.media-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.media-gallery img {
    width: 100%;
    height: calc(50% - 7.5px);
    /* Half height minus half gap */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.media-gallery img:hover {
    transform: scale(1.03);
}

.tech-resources {
    background-color: #f4f6f9;
    /* Light grey bg */
    padding: 80px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.resource-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.resource-card h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.mt-3 {
    margin-top: 20px;
}

@media (max-width: 900px) {

    .vehicle-block,
    .vehicle-block.reverse {
        flex-direction: column;
    }

    .vehicle-media {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 250px auto;
        height: auto;
    }

    .media-video {
        height: 250px;
    }

    .media-gallery {
        flex-direction: row;
        height: 120px;
    }

    .media-gallery img {
        height: 100%;
        width: calc(50% - 7.5px);
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

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

.contact-form-container h3,
.contact-info-container h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 132, 184, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: fit-content;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 37, 65, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.contact-info-container {
    background-color: #f9fafb;
    padding: 40px 30px;
    border-radius: 12px;
    height: fit-content;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-card:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.3rem;
    color: white;
}

.info-content h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: #666;
    margin: 0;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-color);
}

.social-connect {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.social-connect h4 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.social-links-large {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links-large a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links-large a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
       NEW CONTACT PAGE STYLES
       ======================================== */

/* Contact Information Cards Bar */
.contact-info-bar {
    background-color: var(--background-light);
    padding: 60px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.info-card-horizontal {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
    border: 2px solid transparent;
}

.info-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(32, 132, 184, 0.15);
    border-color: var(--accent-color);
}

.info-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(32, 132, 184, 0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card-horizontal:hover .info-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.info-icon-circle i {
    font-size: 1.5rem;
    color: white;
}

.info-text {
    flex: 1;
}

.info-text h4 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-text p,
.info-text a {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.info-text a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--accent-color);
}

/* Map + Contact Form Section */
.map-contact-section {
    padding: 80px 0;
    background: white;
}

.map-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.map-container {
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 12px;
}

.contact-form-simple {
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-simple h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Quote CTA Section */
.quote-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.btn-quote-large {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(50, 154, 205, 0.4);
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.btn-quote-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(50, 154, 205, 0.5);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.btn-quote-large:active {
    transform: translateY(-1px);
}

.btn-quote-large i {
    font-size: 1.3rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 37, 65, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-modal {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
}

/* Quote Form Styles */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    background: #f9fafb;
    padding: 25px;
    border-radius: 10px;
}

.section-heading {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading i {
    color: var(--accent-color);
}

.btn-submit-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    margin-top: 10px;
}

.btn-submit-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 132, 184, 0.3);
}

.btn-submit-quote:active {
    transform: translateY(0);
}

/* Skeleton Loading */
.skeleton-loader {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.skeleton-item {
    height: 50px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-message h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.btn-close-success {
    background: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: var(--font-main);
}

.btn-close-success:hover {
    background: var(--primary-dark);
}

/* Responsive Styles for New Components */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }

    .contact-form-simple {
        padding: 30px 25px;
    }

    .contact-form-simple h3 {
        font-size: 1.5rem;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .form-section {
        padding: 20px;
    }

    .btn-quote-large {
        padding: 18px 35px;
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .info-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .info-card-horizontal {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .btn-quote-large {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 40px 0 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .info-cards-grid {
        gap: 15px;
    }

    .map-container {
        height: 300px;
    }

    .contact-form-simple {
        padding: 25px 20px;
    }

    .btn-primary,
    .btn-submit-quote {
        width: 100%;
        justify-content: center;
    }
}


/* =========================
   Toggle Pills (Dias)
========================= */

.days-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Esconde checkbox, mas mantém acessível */
.days-pills input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.days-pills .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

/* Hover */
.days-pills .pill:hover {
  border-color: var(--accent-color);
  box-shadow: 0 6px 18px rgba(50, 154, 205, 0.15);
  transform: translateY(-1px);
}

/* Selecionado */
.days-pills input[type="checkbox"]:checked + .pill {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 25px rgba(32, 132, 184, 0.25);
}

/* Foco via teclado (acessibilidade) */
.days-pills input[type="checkbox"]:focus + .pill {
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 132, 184, 0.18);
}

.field-error { display:none; margin-top:8px; font-size:.9rem; font-weight:600; color:#e74c3c; }
.field-error.show { display:block; }