/* =========================================
   Variáveis - Tema Confeitaria
========================================= */
:root {
    --bg-cream: #FFFBF4;      /* Fundo principal bem suave */
    --white: #ffffff;
    --brand-chocolate: #4A3219; /* Títulos e textos principais */
    --brand-pink: #E85D75;      /* Destaques e botões */
    --brand-pink-hover: #D6425C;
    --text-body: #6B5B53;       /* Leitura leve */
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5D;
    
    --font-title: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

/* Trava Global Horizontal */
html, body {
    font-size: 100%; 
    scroll-behavior: smooth;
    overflow-x: hidden; 
    width: 100%;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.6;
}

.container { 
    max-width: 75rem; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

h1, h2, h3 {
    font-family: var(--font-title);
    color: var(--brand-chocolate);
    line-height: 1.2;
}

.text-accent { color: var(--brand-pink); }
.text-center { text-align: center; }

/* =========================================
   WhatsApp Flutuante (Conversão Máxima)
========================================= */
.whatsapp-float {
    position: fixed;
    width: 3.5rem;
    height: 3.5rem;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp-green);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 0.5rem 1rem rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float svg { width: 2rem; height: 2rem; }
.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 1rem rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   Header 
========================================= */
.navbar {
    position: fixed;
    top: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.625rem);
    border-bottom: 0.0625rem solid rgba(74, 50, 25, 0.05);
    z-index: 999;
    padding: 1rem 0;
}

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

.logo { 
    font-family: var(--font-title);
    font-size: 2.75rem; 
    font-weight: 700; 
    font-style: italic;
    text-decoration: none; 
    color: var(--brand-chocolate); 
}
.logo span { color: var(--brand-pink); }

.nav-menu { display: flex; gap: 2rem; }
.nav-menu a {
    text-decoration: none;
    color: var(--brand-chocolate);
    font-weight: 500;
    transition: 0.3s;
}
.nav-menu a:hover { color: var(--brand-pink); }

/* Botões */
.btn { 
    padding: 0.875rem 1.75rem; 
    font-size: 1rem;
    font-weight: 600; 
    text-decoration: none; 
    border-radius: 2rem; 
    transition: 0.3s ease; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0.125rem solid transparent;
}
.btn-primary { background: var(--brand-pink); color: var(--white); }
.btn-primary:hover { background: var(--brand-pink-hover); transform: translateY(-0.125rem); }

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white);
    margin-top: 1rem;
}
.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1rem rgba(37, 211, 102, 0.3);
}

.btn-outline-whats {
    border-color: var(--whatsapp-green);
    color: var(--whatsapp-green);
    width: 100%;
    margin-top: 1rem;
}
.btn-outline-whats:hover { background: var(--whatsapp-green); color: var(--white); }

/* =========================================
   Hero Section 
========================================= */
.hero-doce { padding-top: 8rem; padding-bottom: 5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 93, 117, 0.1);
    color: var(--brand-pink);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-texto h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-texto p { font-size: 1.125rem; margin-bottom: 2.5rem; }

.hero-imagem img {
    width: 100%;
    border-radius: 2rem 2rem 2rem 8rem; 
    box-shadow: 0 1.5rem 3rem rgba(74, 50, 25, 0.15);
}

/* =========================================
   Cardápio (Mais Pedidos)
========================================= */
.section-light { padding: 5rem 0; background-color: var(--bg-cream); }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.5rem; }
.subtitle { color: var(--text-body); font-size: 1.125rem; }

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2.5rem;
}
.produto-card {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.produto-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.1);
}
.produto-img { 
    width: 100%; 
    height: 15rem; 
    object-fit: cover; 
}
.produto-info { 
    text-align: center;
    padding: 2rem;
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}
.produto-info h3 { 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
}
.descricao { 
    font-size: 0.95rem; 
    margin-bottom: 1.5rem; 
    flex-grow: 1; 
}
.preco { font-weight: 
    600; color: 
    var(--brand-pink); 
    font-size: 1.25rem; }

/* =========================================
   Nossa História (Sobre)
========================================= */
.section-sobre { padding: 6rem 0; background-color: var(--white); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.sobre-imagem img {
    width: 100%;
    border-radius: 8rem 2rem 8rem 2rem; 
    box-shadow: 0 1.5rem 3rem rgba(74, 50, 25, 0.1);
    display: block;
    object-fit: cover;
}
.sobre-texto h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.sobre-texto p { font-size: 1.125rem; margin-bottom: 1.5rem; color: var(--text-body); }

/* =========================================
   Como Pedir (Encomendas / Passos)
========================================= */
.section-pink {
    background-color: var(--brand-pink);
    padding: 5rem 0;
    color: var(--white);
}
.section-pink h2 { color: var(--white); margin-bottom: 3rem; font-size: 2.5rem; }

.passos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
}
.passo { padding: 2rem; }
.passo-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--white);
    color: var(--brand-pink);
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
}
.passo h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.75rem; }
.passo p { color: rgba(255,255,255,0.9); }

/* =========================================
   Como Chegar (Contato e Mapa)
========================================= */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.05);
}

.contato-info-box h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.contato-lista-page { list-style: none; margin-bottom: 1rem; }
.contato-lista-page li {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-body);
}
.contato-lista-page strong { color: var(--brand-chocolate); }

.contato-mapa {
    width: 100%;
    height: 20rem; /* Mapa grandão */
    border-radius: 1rem;
    overflow: hidden;
}
.contato-mapa iframe { width: 100% !important; height: 100% !important; }

/* =========================================
   Footer Completo (3 Colunas)
========================================= */
.footer-doce {
    background: var(--brand-chocolate);
    color: var(--white);
    padding: 5rem 0 2rem 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.footer-doce .logo { color: var(--white); font-size: 2rem; display: inline-block; margin-bottom: 1.25rem; }
.footer-doce h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-title); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Removemos o mapa daqui */
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: 1.25rem; }
.social-links a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.social-links a:hover { color: var(--brand-pink); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.95rem; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--brand-pink); transform: translateX(0.25rem); }

.contato-lista { list-style: none; }
.contato-lista li { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 0.875rem; line-height: 1.5; word-break: break-all; overflow-wrap: anywhere; }
.contato-lista strong { color: var(--brand-pink); font-weight: 600; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}
.desenvolvedor a { color: var(--brand-pink); text-decoration: none; font-weight: 600; transition: 0.3s; }
.desenvolvedor a:hover { color: var(--white); }

/* =========================================
   Responsividade (Max-Width)
========================================= */
@media (max-width: 992px) {

    .logo { 
        font-size: 1.75rem; 
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .hero-imagem img { 
        border-radius: 2rem; 
    }
    
    .sobre-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .sobre-imagem {
        order: 2; }
    .sobre-texto { 
        order: 1; }
    .sobre-imagem img { 
        border-radius: 2rem; 
        margin-top: 1rem; }

    .contato-grid { 
        grid-template-columns: 1fr; 
        text-align: center; padding: 2rem; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    
    .logo { 
        font-size: 1.75rem; 
    }
    .nav-menu { 
        display: none; 
    }
    .navbar .btn { 
        padding: 0.5rem 1rem; 
        font-size: 0.85rem; 
    }
    .hero-texto h1 { 
        font-size: 2.5rem; 
    }
    
    .footer-doce { 
        padding: 4rem 0 1.5rem 0; 
    }
    .footer-grid { 
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr); 
        gap: 2.5rem;
        text-align: center; 
        overflow: hidden;
    }
    .social-links { 
        justify-content: center; 
    }
    .footer-links a:hover { 
        transform: translateY(-0.25rem); 
    }
}