/* --- Reset Básico e Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #0077b6;
}

ul {
    list-style: none;
}

/* --- Paleta de Cores e Utilitários --- */
:root {
    --primary-color: #0077b6;   /* Azul tecnológico */
    --secondary-color: #00b4d8; /* Azul claro */
    --accent-color: #4CAF50;    /* Verde sustentabilidade */
    --dark-color: #003366;      /* Azul escuro (títulos) */
    --light-color: #f8f9fa;     /* Cinza muito claro (fundo de seções) */
    --text-color: #333333;
    --white-color: #ffffff;
}

.section-padding { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 900;
    color: var(--dark-color);
}
.bg-light { background-color: var(--light-color); }
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background: var(--secondary-color); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: var(--dark-color); border: 2px solid var(--dark-color); }
.btn-secondary:hover { background: var(--dark-color); color: var(--white-color); transform: translateY(-3px); }

/* --- Cabeçalho e Navegação --- */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo { font-weight: 900; font-size: 1.8rem; color: var(--dark-color); }
.main-nav .nav-links { display: flex; }
.main-nav .nav-links li { margin-left: 25px; }
.main-nav .nav-links a {
    color: var(--text-color);
    font-weight: 700;
    padding: 5px 0;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}
.main-nav .nav-links a:hover, .main-nav .nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: var(--dark-color); transition: all 0.3s; }

/* --- Seções Específicas --- */
main { padding-top: 70px; }

/* Hero (Home) */
.hero { display: flex; align-items: center; min-height: calc(100vh - 70px); background: linear-gradient(to right, #e0f7fa, #f8f9fa); }
.hero-content { flex: 1; padding-right: 2rem; }
.hero-title { color: var(--dark-color); font-size: 3.5rem; }
.hero-slogan { font-size: 1.3rem; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; }
.hero-image-placeholder { flex: 1; max-width: 550px; height: 400px; background: #ccc; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #555; }

/* Sobre Nós */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text ul { list-style: none; padding-left: 0; }
.about-text ul li { padding-left: 1.5rem; position: relative; margin-bottom: 0.5rem; }
.about-text ul li::before { content: '✓'; color: var(--accent-color); position: absolute; left: 0; font-weight: bold; }
.about-image-placeholder { width: 100%; height: 350px; background: #ccc; border-radius: 10px; display:flex; align-items:center; justify-content:center; color:#555;}

/* Serviços */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white-color); padding: 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.service-card h3 { color: var(--primary-color); }

/* Dicas (Blog) */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-post { background: var(--white-color); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); display: flex; flex-direction: column; }
.blog-image-placeholder { width: 100%; height: 200px; background: #ccc; display:flex; align-items:center; justify-content:center; color:#555;}
.blog-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-content h3 { color: var(--dark-color); }
.blog-content p { flex-grow: 1; }
.read-more { font-weight: 700; margin-top: 1rem; }

/* Pontos de Recarga */
.recharge-info { max-width: 800px; margin: 0 auto; text-align: center; }
.recharge-info h3 { color: var(--dark-color); margin-top: 2rem; }

/* Contato */
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info ul li { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-info ul li strong { color: var(--dark-color); }
.contact-form form { display: flex; flex-direction: column; }
.contact-form label { margin-bottom: 0.5rem; font-weight: 700; color: #555; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; margin-bottom: 1rem; border: 1px solid #ccc;
    border-radius: 5px; font-family: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }

/* Seção Carrossel de Modelos */
.carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; 
}

.carousel-track {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem; 
}

.carousel-slide {
    flex: 0 0 calc(100% / 4 - 1rem); 
    scroll-snap-align: start;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.car-model {
    font-weight: 700;
    color: var(--dark-color);
    padding: 1rem;
    margin: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s, color 0.3s;
}

.carousel-button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.carousel-button.prev {
    left: -22px;
}

.carousel-button.next {
    right: -22px;
}

/* Rodapé */
.footer { background: var(--dark-color); color: #ccc; text-align: center; padding: 2rem 0; }
.footer p { margin-bottom: 0.5rem; color: #ccc; }
.footer a { color: var(--white-color); }

/* --- Responsividade --- */
@media (max-width: 992px) {
    .hero { flex-direction: column-reverse; text-align: center; padding: 60px 2rem; }
    .hero-content { padding-right: 0; }
    .hero-cta { justify-content: center; }
    .hero-image-placeholder { margin-bottom: 2rem; width: 100%; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .carousel-slide {
        flex: 0 0 calc(100% / 3 - 1rem); 
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    /* Menu Hamburger */
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px);
        transform: translateX(-100%); transition: transform 0.3s ease-in-out;
    }
    .main-nav.active { transform: translateX(0); }
    .main-nav .nav-links { flex-direction: column; padding: 2rem 0; align-items: center; }
    .main-nav .nav-links li { margin: 1rem 0; }

    .carousel-slide {
        flex: 0 0 calc(100% / 2 - 1rem);
    }
    .carousel-button {
        display: none; 
    }
}