/*
  PALETA DE CORES - DREAM HOME & TOYS
  - Cores Principais (Dream Home):
    - --home-primary: #1A1A1A (Preto)
    - --home-accent: #C5B358 (Dourado)
    - --home-text-light: #ffffff (Branco para texto em fundos escuros)
  - Cores Principais (Dream Toys):
    - --toys-blue: #3E8ED0 (Azul vibrante)
    - --toys-pink: #FF69B4 (Rosa vibrante)
    - --toys-yellow: #FFD700 (Amarelo vibrante)
  - Cores Neutras:
    - --neutral-dark: #212529 (Texto geral escuro)
    - --neutral-light: #f8f9fa (Fundo claro geral)
    - --neutral-gray: #6c757d (Texto secundário)
*/

:root {
    /* Cores Dream Home */
    --home-primary: #1A1A1A;
    --home-accent: #C5B358;
    --home-text-light: #ffffff;

    /* Cores Dream Toys */
    --toys-blue: #3E8ED0;
    --toys-pink: #FF69B4;
    --toys-yellow: #FFD700;
    --toys-green: #28a745;
    /* Adicionado para mais opções */

    /* Cores Neutras */
    --neutral-dark: #212529;
    --neutral-light: #f8f9fa;
    --neutral-gray: #6c757d;

    --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(--neutral-dark);
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to right, #405199, #759ED0);

}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-link-02 {
    display: flex;
    align-items: center;
}


.logo {
    width: 70px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-02 {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}


header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--home-text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}


nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: var(--toys-yellow);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-text-light);
    font-weight: 700;
}

.whatsapp-link i {
    font-size: 24px;
    color: #ffffff;
    /* Cor padrão do WhatsApp */
}

.whatsapp-link span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001; /* Garante que o botão fique acima de outros elementos */
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--home-text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

section[id] {
    scroll-margin-top: 90px;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 0 1%;
    color: var(--home-text-light);
    position: relative;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero-content {
    max-width: 60%;
    text-align: center;
    z-index: 2;

}

.hero-content h1 {
    font-size: 3rem;
    width: 100%;
    text-align: center;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);

}

.hero-content p {
    font-size: 1.5rem;
    width: 100%;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-video-container {
    position: relative;
    width: 30%;
    margin-top: 80px;
    height: 85vh;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    margin-left: 30px;
    margin-top: 90px;
}

.hero-left-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.video-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.video-control-btn {
    background-color: rgba(26, 26, 26, 0.7);
    /* Fundo escuro semi-transparente */
    color: var(--home-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.video-control-btn:hover {
    background-color: var(--home-accent);
    /* Cor dourada no hover */
    color: var(--home-primary);
    transform: scale(1.1);
}

.btn {
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    color: var(--home-primary);
    /* Texto do botão principal escuro */
    background-color: var(--home-accent);
    /* Botão principal dourado */
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #dbca70;
    /* Dourado mais claro */
    transform: translateY(-3px);
}

/* Seções de Produtos */
.products-section {
    padding: 80px 30px;
    text-align: center;
}

.products-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--neutral-dark);
    margin-bottom: 15px;
}

.products-section .section-logo {
    width: 200px;
    /* Tamanho ajustável */
    height: auto;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-gray);
    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: #ffffff;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: 30px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--home-accent);
    /* Ícones com a cor de destaque principal */
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    color: var(--home-primary);
}

/* Estilos específicos para a seção Dream Toys */
.dream-toys-section {
    background: linear-gradient(to right, #405199, #759ED0);
    /* Gradiente vibrante */
    color: var(--home-text-light);
    /* Texto claro no fundo colorido */
    padding-top: 80px;
}

.dream-toys-section h2 {
    color: var(--home-text-light);
    /* Título em branco */
}

.dream-toys-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.dream-toys-section .service-card {
    background-color: rgba(255, 255, 255, 0.95);
    /* Cards um pouco transparentes */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dream-toys-section .service-icon {
    color: var(--toys-blue);
    /* Ícones em azul */
}

.dream-toys-section .btn {
    background-color: var(--toys-blue);
    /* Botão em azul */
    color: var(--home-text-light);
}

.dream-toys-section .btn:hover {
    background-color: #317ac2;
    /* Azul mais escuro no hover */
}


/* Estilos específicos para a seção Dream Home */
.dream-home-section {
    background-color: var(--neutral-dark);
    /* Fundo claro e neutro */
    color: var(--neutral-dark);
    padding-bottom: 80px;
}

.dream-home-section h2 {
    color: var(--home-primary);
    /* Título em preto */
}





.dream-home-section .section-subtitle {
    color: var(--neutral-gray);
}

.dream-home-section .service-card {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.dream-home-section .service-icon {
    color: var(--home-accent);
    /* Ícones em dourado */
}

.dream-home-section .btn {
    background-color: var(--home-accent);
    /* Botão em dourado */
    color: var(--home-primary);
}

.dream-home-section .btn:hover {
    background-color: #dbca70;
}


.about-us-section {
    padding: 80px 30px;
    background: linear-gradient(to right, #405199, #759ED0);
    /* Fundo preto */
    color: var(--home-text-light);
    /* Texto branco */
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us-logo {
    width: 250px;
    height: auto;
    margin-bottom: 30px;
}

.about-us-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.purpose-section {
    padding: 80px 30px;
    background-color: var(--neutral-light);
    /* Fundo claro para esta seção */
}

.purpose-section h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--home-primary);
    /* Título em preto */
    margin-bottom: 15px;
}

.purpose-section>p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--neutral-gray);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.purpose-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Sombra mais sutil */
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.purpose-card-content {
    padding: 35px 30px;
    text-align: center;
}

.purpose-icon {
    font-size: 2.5rem;
    color: var(--home-accent);
    /* Ícones em dourado */
    margin-bottom: 20px;
}

.purpose-title {
    font-size: 1.5rem;
    color: var(--home-primary);
    /* Título em preto */
    margin-bottom: 15px;
}

.purpose-description {
    font-size: 1rem;
    line-height: 1.6;
}

.address-section {
    padding: 80px 30px;
    text-align: center;
    background-color: #ffffff;
}

.address-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: var(--home-primary);
}

.address-unit {
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.address-unit h3 {
    font-size: 1.8rem;
    color: var(--home-primary);
    margin-bottom: 10px;
}

.address-unit a {
    display: inline-block;
    color: var(--neutral-dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.address-unit a:hover {
    color: var(--home-accent);
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.operating-hours {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.operating-hours h3 {
    font-size: 1.8rem;
    color: var(--home-primary);
    margin-bottom: 15px;
}

.operating-hours ul {
    padding: 0;
    margin: 0;
}

.operating-hours li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--neutral-dark);
}

.contact-section {
    padding: 80px 30px;
    text-align: center;
    background: linear-gradient(to right, #405199, #759ED0);
    /* Fundo preto */
    color: var(--home-text-light);
    /* Texto branco */
}

.contact-section h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--home-text-light);
}

.contact-section>p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    padding: 40px 30px;
    border-radius: 10px;
    background-color: #333;
    /* Fundo mais claro para os cards de contato */
    width: 100%;
    max-width: 340px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--home-text-light);
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--home-text-light);
}

.contact-card h3 i {
    color: var(--home-accent);
    /* Ícones em dourado */
    margin-right: 10px;
}

.contact-card p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.contact-card .btn {
    background-color: var(--home-accent);
    color: var(--home-primary);
}

.contact-card .btn:hover {
    background-color: #dbca70;
}


.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: var(--home-text-light);
    font-size: 35px;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-bar a:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

.social-bar a[href*="wa.me"] {
    background-color: #25D366;
    animation: pulse 2s infinite;
}

.social-bar a[href*="wa.me"]:hover {
    background-color: #128C7E;
    animation-play-state: paused;
}

footer {
    padding: 40px 20px 25px 20px;
    text-align: center;
    color: var(--home-text-light);
    background-color: var(--home-primary);
    border-top: 1px solid #333;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--home-text-light);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--home-accent);
}

.footer-link-email {
    color: var(--home-text-light);
    text-decoration: none;
}

.footer-link-email:hover {
    color: var(--home-accent);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.legal-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 20px 50px 20px;
}

.legal-page-content h1 {
    font-size: 2.8rem;
    color: var(--home-primary);
    margin-bottom: 15px;
}

.legal-page-content>p:first-of-type {
    font-style: italic;
    color: var(--neutral-gray);
    margin-bottom: 30px;
}

.legal-page-content h2 {
    font-size: 1.9rem;
    margin-top: 45px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--home-primary);
}

.legal-page-content p,
.legal-page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-dark);
    margin-bottom: 1.2em;
}

.legal-page-content strong {
    color: var(--home-primary);
}

.legal-page-content ul {
    padding-left: 20px;
}

#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--home-primary);
    color: var(--home-text-light);
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

#consent-banner.hidden {
    transform: translateY(150%);
}

.consent-text {
    font-size: 0.9rem;
}

.consent-text a {
    color: var(--home-accent);
    text-decoration: underline;
}

#accept-consent-btn {
    flex-shrink: 0;
}


@media (max-width: 768px) {
    header {
        height: 80px;
        padding: 0 20px;
    }

    .logo {
        width: 60px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
    }

    header.open {
        background-color: var(--home-primary);
    }

    header.open nav {
        display: block;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        background: linear-gradient(to right, #405199, #759ED0);
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
    }

    header nav ul li a {
        display: block;
        padding: 18px 0;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #333;
    }

    header nav ul li:last-child a {
        border-bottom: none;
    }

    header nav ul li a:hover {
        background-color: #2a2a2a;
    }

    nav a::after {
        display: none;
    }

    .whatsapp-link {
        justify-content: center;
        padding: 15px 0;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    /* ======================================= */
    /* CORREÇÃO IMPORTANTE AQUI     */
    /* ======================================= */

    header.open .menu-toggle span:nth-child(2) {
        transform: translateY(9px) rotate(45deg);
    }

    header.open .menu-toggle span:nth-child(3) {
        opacity: 0;
    }

    header.open .menu-toggle span:nth-child(4) {
        transform: translateY(-9px) rotate(-45deg);
    }

    section[id] {
        scroll-margin-top: 80px;
    }

    .hero-section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 100px; /* Adicionado espaço para o header */
        justify-content: center; /* Centraliza verticalmente */
    }

    .hero-video-container {
        width: 90%;
        height: 68vh;
        margin: 0 0 20px 0; /* Ajusta margens */
        margin-top: -40px;
    }

    .hero-content {
        max-width: 90%;
        margin: 0;
        margin-top: -10px;
    }

    .hero-content h1 {
        font-size: 1.2rem; /* Ajuste de tamanho de fonte */
        margin: 0 0 10px 0;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 0.8rem;
        margin: 0 0 20px 0;
        margin-bottom: 10px;
    }

    .hero-content .btn {
        font-size: 1rem;
        padding: 12px 28px; /* Botão um pouco menor */
        margin: 0;
    }

    .products-section,
    .purpose-section,
    .address-section,
    .contact-section,
    .about-us-section {
        padding: 60px 20px;
    }

    .products-section h2,
    .purpose-section h2,
    .address-section h2,
    .contact-section h2,
    .legal-page-content h1 {
        font-size: 2.2rem;
    }

    .social-bar {
        bottom: 15px;
        right: 15px;
    }

    footer {
        padding-bottom: 90px;
    }

    #consent-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}