:root {
    /* Nova cor baseada no Azul do Botijão da GS GÁS */
    --primary-color: #004aad;
    --secondary-color: #1a1a1a;
    --btn-hover-color: #003380;
    --accent-color: #f0f4f8;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7fa;
    --font-family: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    /* Aumentei levemente para caber logos maiores */
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    /* Altura fixa para manter proporção */
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    /* Verde WhatsApp oficial */
    font-weight: 800;
    background: #f0fdf4;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #dcfce7;
    color: var(--btn-hover-color);
}

.whatsapp-link i {
    font-size: 20px;
}

.whatsapp-link span {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

header.open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

header.open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

section[id] {
    scroll-margin-top: 70px;
}

/* ================= HERO SECTION ================= */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    padding: 60px;
    color: var(--text-light);
    position: relative;
    /* Adicione uma imagem de cozinha ou gás aqui */
    background-image: linear-gradient(to right, rgba(85, 85, 85, 0.9), rgba(136, 136, 136, 0.4)), url('background-hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
    margin-top: -20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-content p {
    max-width: 600px;
    /* CORRIGIDO O BUG DE 6000px */
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Animações Hero */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content p,
.hero-content a.btn {
    opacity: 0;
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 0.3s;
}

.hero-content p {
    animation-delay: 0.6s;
}

.hero-content a.btn {
    animation-delay: 0.9s;
}

.btn {
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    /* Botão arredondado mais moderno */
    border: none;
    color: var(--background-light);
    background-color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: var(--btn-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= SERVIÇOS / PRODUTOS ================= */
.services-section {
    padding: 80px 30px;
    text-align: center;
    background-color: #ffffff;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}



.service-card {
    background-color: var(--background-light);
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card-content {
    padding: 20px 25px 30px 25px;
    /* Espaçamento interno */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    align-items: center;
}

/* Se houver imagem no card */
.service-card-img {
    width: 100%;
    height: 200px;
    /* Altura padrão para as imagens ficarem iguais */
    object-fit: cover;
    /* Corta a imagem proporcionalmente para preencher o espaço */
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    /* Remove margem inferior da imagem pois o padding está no content */
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: #e6efff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #555;
}

.service-card .btn {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 12px;
}

.service-card .btn:hover {
    background-color: var(--btn-hover-color);
    color: white;
}

/* ================= SOBRE NÓS ================= */
.about-us-section {
    padding: 80px 30px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-us-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.about-us-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.about-us-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.about-us-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* CORREÇÃO DO LAYOUT DA IMAGEM */
.about-us-image-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.about-us-image {
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(0, 74, 173, 0.1);
    /* Efeito visual simples */
}

/* ================= PROPÓSITO ================= */
.purpose-section {
    padding: 80px 30px;
    background-color: #ffffff;
}

.purpose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.purpose-card {
    background-color: white;
    border: 1px solid #eee;
    width: 100%;
    max-width: 380px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    text-align: left;
    /* Mudança para lista ficar bonita */
    transition: transform 0.3s ease;
    align-items: center;
}

.purpose-card:hover {
    transform: translateY(-5px);
    border-top: 5px solid var(--primary-color);
}

.purpose-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.purpose-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    text-align: center;
}

.purpose-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.values-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.values-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ================= ENDEREÇO ================= */
.address-section {
    padding: 80px 30px;
    text-align: center;
    background-color: var(--background-light);
}

.address-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.address-unit h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.address-unit a {
    display: block;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    text-decoration: none;
    font-weight: 600;
}

.address-unit a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    height: 450px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================= CONTATO ================= */
.contact-section {
    padding: 80px 30px;
    text-align: center;
    background-color: white;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    padding: 40px;
    border-radius: 15px;
    background-color: #ffffff;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card .btn {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    margin-top: 15px;
}

/* ================= FOOTER ================= */
footer {
    padding: 40px 20px;
    text-align: center;
    color: white;
    background-color: var(--btn-hover-color);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: rgb(143, 143, 143);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #fcfafa;
}

.footer-link-email {
    color: var(--accent-color);
    text-decoration: none;

}

/* ================= SOCIAL BAR ================= */
.social-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.social-bar a:hover {
    transform: scale(1.1);
}

.social-bar a[href*="wa.me"] {
    background-color: #25D366;
    animation: pulse 2s infinite;
}

@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);
    }
}

/* ================= LGPD ================= */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: var(--text-dark);
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

#consent-banner p {
    max-width: 900px;
    font-size: 1rem;
    line-height: 1.4;
}

#consent-banner:not(.hidden) {
    transform: translateY(0);
}

#accept-consent-btn {
    background-color: var(--btn-hover-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

#accept-consent-btn:hover {
    background-color: var(--primary-color);
}

/* ================= PAGINAS LEGAIS ================= */
.legal-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px 20px;
}

.legal-page-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.legal-page-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: var(--text-dark);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    header {
        height: 70px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    header nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        display: none;
        border-top: 1px solid #eee;
    }

    header.open {
        background-color: #ffffff;
    }

    header.open nav {
        display: block;

    }

    header nav a {
        padding: 20px 20px;
        border-bottom: 1px solid #eee;
    }

    header nav ul {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    header nav ul li {
        margin-bottom: 10px;
        margin-top: 5px;
    }

    header nav ul li:last-child {
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .hero-section {
        justify-content: center;
        text-align: center;
        padding: 100px 20px;
        background-image: linear-gradient(to right, rgba(85, 85, 85, 0.6), rgba(136, 136, 136, 0.6)), url('background-hero-mobile.png');
        background-attachment: scroll;
    }

    .hero-content {
        margin-top: -200px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .about-us-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-us-content {
        text-align: center;
    }

    .about-us-content p {
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .about-us-image {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .map-container {
        height: 300px;
    }

    footer {
        padding: 30px 15px;
        padding-bottom: 60px;
    }

    #consent-banner {
        flex-direction: column;
        text-align: center;
    }

    #consent-banner p {
        font-size: 1rem;
    }

    #consent-banner button {
        margin-top: 15px;
        padding: 15px 30px;
    }

}