/* Definições de Cores e Fontes */
:root {
    --color-primary: #556B2F; /* Olive Green/Military Green from Black Shield */
    --color-secondary: #000000; /* Black */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-light-bg: #f0f0f0; /* Light gray background */
    --color-accent: #DAA520; /* Dark Gold/Yellow for accent */
    --font-main: 'Arial', sans-serif; 
}

/* Base and Reusables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.7; /* Aumentado para melhor legibilidade */
    overflow-x: hidden;
    font-size: 18px; /* Aumentado de padrão (geralmente 16px) para 18px */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-module {
    padding: 80px 0; 
}

.section-title {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1.5rem; /* Aumentado de 1.3rem */
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

h3 {
    text-align: center;
    font-size: 3rem; /* Aumentado de 2.5rem */
    color: var(--color-secondary);
    margin-bottom: 50px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Reusable Button Style */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-secondary);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

/* --- HEADER WITH TRANSPARENCY EFFECT --- */
#main-header {
    background-color: rgba(0, 0, 0, 0.95); /* Fundo escuro para o header */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--color-primary); 
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

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

.logo img {
    height: 40px;
    transition: height 0.3s ease;
    filter: brightness(0) invert(1); /* Logo branca no header escuro */
}

#main-header.scrolled .logo img {
    height: 35px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 1.1rem; /* Aumentado de 0.9rem */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
    margin: 0 15px;
}

.dropdown a {
    margin: 0;
    padding-right: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    padding: 10px 0;
    border-radius: 5px;
    top: 100%; /* Position below the main link */
    left: 50%;
    transform: translateX(-50%);
    border-top: 3px solid var(--color-primary);
}

.dropdown-content a {
    color: var(--color-text-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* GET A QUOTE Button */
nav a.btn-quote {
    background-color: var(--color-accent);
    color: var(--color-text-dark) !important;
    padding: 8px 15px;
    border-radius: 5px;
    border-bottom: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-left: 25px;
}

nav a.btn-quote:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    border-bottom: none;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- HERO (Home) WITH VIDEO --- */
#hero {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-text-light);
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

/* --- HERO MESSAGE SECTION --- */
.hero-message-module {
    background-color: var(--color-light-bg);
    padding: 60px 0;
    text-align: center;
}

.hero-message-module h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
    text-shadow: none;
}

.hero-message-module p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text-dark);
    text-shadow: none;
}

.hero-message-module .chat-widget {
    background-color: var(--color-text-light);
    padding: 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); 
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    color: var(--color-text-light);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Chat Widget */
.chat-widget {
    background-color: var(--color-text-light);
    padding: 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.chat-widget input {
    border: none;
    padding: 10px 15px;
    outline: none;
    font-size: 1rem;
    width: 250px;
}

.btn-send {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background-color: #4C5F2B;
    transform: scale(1.05);
}

/* --- ANIMATION CLASSES --- */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- A/C SERVICES SECTION (NEW) --- */
.ac-services-module {
    position: relative;
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
    height: 80vh;
}

.ac-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.ac-overlay {
    background-color: rgba(0, 0, 0, 0.75); 
    padding: 40px 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ac-services-module h3 {
    color: var(--color-text-light);
}

.ac-special-banner {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 800px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ac-special-banner h4 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ac-special-banner p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.special-features {
    list-style: none;
    text-align: left;
    margin: 15px 0;
    font-size: 0.9rem;
}

.special-features li {
    padding: 6px 0;
    margin-left: 15px;
}

.special-cta {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
}

.ac-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px auto;
    max-width: 900px;
}

.ac-service-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.ac-service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
}

.ac-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B8860B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.ac-service-card:hover .ac-service-icon {
    transform: rotate(360deg) scale(1.1);
}

.ac-service-icon i {
    font-size: 2rem;
    color: var(--color-text-light);
}

.ac-service-card h4 {
    color: var(--color-accent);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.ac-price {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 15px;
}

.ac-description {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-module {
    background-color: var(--color-light-bg);
}

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

.benefit-card {
    background-color: var(--color-text-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(85, 107, 47, 0.2);
    border-color: var(--color-primary);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B8E23 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg) scale(1.1);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--color-text-light);
}

.benefit-card h4 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--color-text-dark);
    line-height: 1.7;
}

/* --- CAR LIST --- */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; 
    padding: 20px 0;
}

.car-card {
    background-color: var(--color-text-light);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); 
    border: 1px solid #ddd;
    transition: all 0.4s ease;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-color: var(--color-primary);
}

.car-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.car-card:hover .car-img {
    transform: scale(1.1);
}

.car-card h4 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.car-card .car-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.car-card .car-price span {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    font-weight: 400;
}

.car-card ul {
    list-style: none;
    text-align: left;
    padding: 0 25px;
}

.car-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.car-card ul li:hover {
    padding-left: 5px;
    color: var(--color-primary);
}

.car-card ul li:last-child {
    border-bottom: none;
}

.car-card ul li i {
    color: var(--color-primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.car-card .btn-primary {
    margin-top: 20px;
    padding: 12px 25px;
}

/* --- PRICING PLAN WITH PARALLAX --- */
.pricing-module {
    position: relative;
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
}

.pricing-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.pricing-overlay {
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 100px 0;
}

.pricing-module h3 {
    color: var(--color-text-light);
}

.price-display {
    font-size: 4rem; 
    font-weight: 900;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.price-display strong {
    color: var(--color-accent);
    font-size: 5rem;
}

.price-display span {
    font-size: 2rem;
    font-weight: 400;
}

.availability-note {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 30px;
}

.peace-of-mind {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 700px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.peace-of-mind h4 {
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.peace-of-mind p {
    font-size: 1.1rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.peace-of-mind i {
    color: var(--color-accent);
    font-size: 1.3rem;
}

/* --- HOW IT WORKS --- */
.how-it-works-module {
    position: relative;
    color: var(--color-text-dark);
    padding: 80px 0;
    overflow: hidden;
}

.how-it-works-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.how-it-works-overlay {
    background-color: rgba(255, 255, 255, 0.85); /* White overlay for readability */
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.how-it-works-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--color-text-light); 
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.image-half, .text-half {
    flex: 1;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.subtitle {
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    counter-increment: step-counter;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B8E23 100%);
    color: var(--color-text-light);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(85, 107, 47, 0.3);
}

.step-text h4 {
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 5px;
}

.contact-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-icons a:hover {
    transform: scale(1.2);
}

.contact-icons .fa-whatsapp {
    color: #25D366; 
}
.contact-icons .fa-phone {
    color: var(--color-primary);
}
.contact-icons .fa-envelope {
    color: var(--color-secondary);
}

/* --- WINDOW TINT WITH PARALLAX --- */
.window-tint-module {
    position: relative;
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
}

.tint-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.tint-overlay {
    background-color: rgba(0, 0, 0, 0.75); 
    padding: 100px 0;
}

.window-tint-module h3 {
    color: var(--color-text-light);
    font-size: 2rem;
    margin-bottom: 40px;
}

.tint-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tint-feature {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.tint-feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent);
}

.tint-feature i {
    font-size: 3rem;
    color: var(--color-accent); 
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tint-feature:hover i {
    transform: scale(1.2);
}

.tint-feature h4 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tint-feature p {
    font-size: 1rem;
    opacity: 0.9;
}

.tint-pricing-list {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    margin: 50px auto;
    max-width: 800px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.pricing-title {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 30px;
}

.tint-pricing-list ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.tint-pricing-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.tint-pricing-list li:last-child {
    border-bottom: none;
}

.tint-pricing-list h4 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    text-align: left;
}

/* --- FOOTER (CONTACT) --- */
#footer {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-text-light);
}

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

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Advanced Responsiveness & Mobile Optimization --- */

/* Menu Toggle Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-light);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Menu Toggle Animation */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Tablets and Small Laptops (up to 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 92%;
    }
    
    h3 {
        font-size: 2.2rem;
    }
    
    .ac-services-grid, .benefits-grid, .car-grid {
        gap: 20px;
    }
}

/* Tablets (up to 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .header-content {
        flex-direction: row;
        padding: 10px 0;
        justify-content: space-between;
        width: 90%;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-left: 2px solid var(--color-primary);
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin: 15px 0;
        font-size: 1.2rem;
    }

    .dropdown {
        margin: 15px 0;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        transform: none;
        background-color: transparent;
        box-shadow: none;
        border-top: none;
        display: block;
        padding: 0;
    }

    .dropdown-content a {
        font-size: 1rem;
        padding: 8px 0;
        text-align: center;
        color: var(--color-accent);
    }

    .btn-quote {
        margin-left: 0 !important;
        margin-top: 20px !important;
        width: 80%;
        text-align: center;
    }

    .how-it-works-content {
        flex-direction: column;
        padding: 30px 20px;
    }

    .image-half {
        margin-bottom: 30px;
        height: 300px;
    }
    
    .placeholder-image {
        height: 300px;
    }
}

    /* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    body {
        font-size: 16px; 
    }

    #main-header {
        padding: 10px 0;
    }

    .logo img {
        height: 45px; /* Aumentado de 30px para preencher melhor o espaço */
    }

    .content-module {
        padding: 40px 0; 
    }

    h3 {
        font-size: 1.6rem; 
        margin-bottom: 15px;
        letter-spacing: -0.5px;
        padding: 0 15px;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Hero & A/C Section */
    .ac-services-module {
        height: auto;
        min-height: 100vh;
        padding-top: 70px;
        display: block;
    }

    .ac-overlay {
        padding: 40px 0;
        height: auto;
        min-height: 100vh;
    }

    .ac-content {
        padding-top: 20px;
    }

    .ac-special-banner {
        padding: 15px;
        margin: 15px 5px;
    }

    .ac-special-banner h4 {
        font-size: 1.1rem;
    }

    .ac-special-banner p, .special-features li {
        font-size: 0.85rem;
    }

    .ac-overlay {
        padding: 100px 0 50px;
    }

    .ac-special-banner {
        padding: 20px;
        margin: 20px 10px;
    }

    .ac-special-banner h4 {
        font-size: 1.3rem;
    }

    .ac-services-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    /* Hero Message */
    #ac-services-message {
        padding: 60px 0;
        height: 50vh; /* Reduzido de 60vh */
        min-height: 450px;
    }

    #ac-services-message h1 {
        font-size: 2rem; /* Reduzido de 2.2rem */
    }

    .chat-widget {
        width: 95%;
        max-width: 400px;
    }

    .chat-widget input {
        width: 60%;
        font-size: 0.9rem;
    }

    /* Cards */
    .benefit-card, .car-card, .ac-service-card {
        padding: 18px 12px; /* Reduzido padding interno para otimizar espaço */
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .car-card {
        max-width: 100%;
    }

    .car-img-wrapper {
        height: 200px;
    }

    /* Pricing */
    .price-display {
        font-size: 2.8rem;
    }

    .price-display strong {
        font-size: 3.8rem;
    }

    .peace-of-mind {
        padding: 20px;
        margin: 30px 10px;
    }

    /* Window Tint */
    .window-tint-module {
        height: auto; /* Alterado para auto no mobile para evitar cortes de conteúdo */
        min-height: 450px;
        margin-bottom: 0;
    }

    .tint-overlay {
        padding: 80px 0;
        position: relative;
    }

    .tint-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }

    .tint-pricing-list {
        padding: 30px 15px;
        margin: 40px 10px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 15px;
    }

    /* How It Works */
    .how-it-works-module {
        padding: 80px 0 !important;
        margin-top: 0;
        clear: both;
        background: #fff;
        position: relative;
        z-index: 1;
    }

    .why-choose-module {
        padding-bottom: 60px;
        background: #fff;
    }

    .how-it-works-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }



    .tint-pricing-list {
        padding: 25px 15px;
        margin: 30px 10px;
    }

    .tint-pricing-list li {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-col ul li {
        margin-bottom: 12px; /* Aumentado espaçamento para melhor touch target */
    }

    .social-links {
        justify-content: center;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* Small Mobile Devices (up to 480px) - iPhone & S24 Optimization */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h3 {
        font-size: 1.5rem; 
        padding: 0 10px;
    }

    .header-content .logo img {
        height: 40px; /* Aumentado de 28px para iPhone/S24 */
    }

    nav a {
        font-size: 1.1rem;
        margin: 10px 0;
    }

    .btn-quote {
        margin-bottom: 10px !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 90%;
        margin: 20px auto;
        display: block;
        text-align: center;
    }

    .ac-service-card {
        padding: 20px 15px;
    }

    .ac-price {
        font-size: 1.2rem;
    }

    .ac-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .chat-widget {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }

    .chat-widget input {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .btn-send {
        width: 100%;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .price-display {
        font-size: 2.2rem;
    }

    .price-display strong {
        font-size: 3rem;
    }
}

/* Smooth scroll padding for fixed header */
section {
    scroll-margin-top: 100px;
}

/* --- HERO MESSAGE WITH BACKGROUND VIDEO (FIXED) --- */
#ac-services-message {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    text-align: center;
    isolation: isolate; /* força novo contexto de z-index */
}

/* vídeo */
#ac-services-message .hero-message-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#ac-services-message {
    position: relative;
    min-height: 100vh;
}

#ac-services-message .hero-message-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

#ac-services-message .container {
    position: relative;
    z-index: 1;
    padding: 140px 20px;
}


/* conteúdo acima do vídeo */
#ac-services-message .container {
    position: relative;
    z-index: 1;
}

/* texto branco somente aqui */
#ac-services-message h1,
#ac-services-message p {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
