:root {
    --color-primary: rgb(211, 49, 0);
    --color-primary-dark: rgb(170, 39, 0);
    --color-secondary: #5F5F5F;
    --color-dark: rgb(0, 0, 0);
    
    --color-wpp: #25D366;
    --color-wpp-dark: #128C7E;
    
    --color-text: #1E293B;
    --color-text-light: #475569;
    --color-bg: #F3F3F3; /* white-neutral original */
    --color-bg-alt: #FFFFFF;
    
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-alt);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    color: rgb(20, 20, 43);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: rgb(20, 20, 43);
}

h1 span {
    color: var(--color-primary);
    display: inline;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #E2E8F0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero .btn-primary {
    background: var(--color-wpp);
    color: white;
}
.hero .btn-primary:hover {
    background: var(--color-wpp-dark);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-bg);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo img {
    height: 35px;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

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

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-bg);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    max-width: 555px;
}

.hero-address {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-top: 2rem;
    font-weight: 500;
}

.hero-address i {
    margin-right: 5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    width: 350px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(211, 49, 0, 0.15));
}

/* Sections Global */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* Differentials */
.differentials {
    padding: 5rem 0;
    background: var(--color-bg);
}

.grid-features {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
    grid-template-columns: 1fr;
}

/* Tablets and medium screens */
@media (min-width: 600px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop and large screens */
@media (min-width: 992px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
        margin: 0 auto;
    }
    .grid-4-col {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

.feature-card {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* About Us */
.about {
    padding: 5rem 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    text-align: left;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    min-width: 100px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-secondary);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--color-bg);
    color: var(--color-text);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 30%;
    text-align: center;
}

.stars {
    color: #FDD663; /* keeping star color distinct for UI reasons as requested originally or just inherit primary */
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.quote {
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 400;
}

.author {
    display: block;
    font-weight: 700;
    color: var(--color-text);
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    background: var(--color-bg-alt);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-radius: 10px;
}

.accordion-header:hover {
    background: var(--color-bg);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

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

.accordion-header.active {
    border-radius: 10px 10px 0 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--color-bg-alt);
    border-radius: 0 0 10px 10px;
}

.accordion-content p {
    padding: 1.5rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--color-secondary);
}

/* Location */
.location {
    padding: 5rem 0;
}

.location-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.location-info {
    flex: 1;
}

.contact-details {
    list-style: none;
    margin: 2rem 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.location-map {
    flex: 1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: #EBEBEB;
    color: var(--color-text);
    padding: 1.5rem 0;
    border-top: 1px solid #D1D5DB;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

.footer-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--color-wpp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    background: var(--color-wpp-dark);
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-container, .about-container, .location-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-container {
        align-items: center;
    }
    
    .contact-details li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .testimonial-card {
        flex-basis: 100%;
    }

    .location-map {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    
    .desktop-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
}

.revenda-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    display: block;
    margin-bottom: 0.2rem;
}

.btn-all-dealers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 1.5rem auto 0;
    width: fit-content;
    transition: var(--transition);
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.btn-all-dealers:hover {
    background: #cbd5e1;
    color: var(--color-text);
    transform: translateY(-1px);
}

.hero .btn-primary.btn-maps {
    background: var(--color-primary);
    color: white;
}
.hero .btn-primary.btn-maps:hover {
    background: var(--color-primary-dark);
}

/* States Grid Home Page */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.state-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.state-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    background: rgba(211, 49, 0, 0.02);
}

.state-uf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(211, 49, 0, 0.08);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
}

.state-name {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Custom Alignments for non-Pedir-Gás pages */
.hero-address-left {
    text-align: left;
}
.btn-all-dealers-left {
    margin-left: 0 !important;
    margin-right: auto !important;
}

@media (max-width: 900px) {
    .hero-address-left {
        text-align: center !important;
    }
    .btn-all-dealers-left {
        margin: 1.5rem auto 0 !important;
    }
}
