@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #D2691E;
    --primary-dark: #A0522D;
    --primary-light: #F4A460;
    --secondary-color: #FFD700;
    --bg-color: #FFF8DC;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #5D4037;
    --text-light: #8D6E63;
    --shadow: 0 10px 40px rgba(139, 69, 19, 0.1);
    --shadow-hover: 0 15px 50px rgba(139, 69, 19, 0.2);
    --gradient: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    --blob-gradient-1: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    --blob-gradient-2: radial-gradient(circle at 70% 80%, rgba(210, 105, 30, 0.1) 0%, transparent 40%);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-color: #1a1a2e;
    --card-bg: rgba(30, 30, 50, 0.95);
    --text-dark: #e8e8e8;
    --text-light: #b0b0b0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.4);
}

body.dark-mode .hero-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(40, 40, 70, 0.85) 100%);
}

body.dark-mode .schedules,
body.dark-mode .ads {
    background: #1e1e32;
}

body.dark-mode .products {
    background: linear-gradient(135deg, #1a1a2e 0%, #252545 100%);
}

body.dark-mode .info {
    background: linear-gradient(135deg, #1e1e32 0%, #2a2a4a 100%);
}

body.dark-mode .footer {
    background: #12121f;
}

body.dark-mode .schedule-card,
body.dark-mode .info-card,
body.dark-mode .ad-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .product-card-inner {
    background: #2a2a4a;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .product-info {
    background: #2a2a4a;
}

body.dark-mode .qrcode-container {
    background: #2a2a4a;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    /* Voltando para a esquerda */
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

body.dark-mode .dark-mode-toggle {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Ocultar Push no Celular para melhor experiência */
body.is-mobile #pushSection,
body.is-mobile .divider {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fundo com blobs animados */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        var(--blob-gradient-1),
        var(--blob-gradient-2);
    pointer-events: none;
    z-index: -1;
    animation: blob-move 20s ease-in-out infinite;
}

@keyframes blob-move {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%;
    }

    25% {
        background-position: 100% 0%, 0% 100%;
    }

    50% {
        background-position: 100% 100%, 0% 0%;
    }

    75% {
        background-position: 0% 100%, 100% 0%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Admin Button */
.admin-btn {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.admin-btn:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 100px 20px 60px 20px;
    background: url('/images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.85) 0%, rgba(139, 69, 19, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 4rem 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: bounceIn 1.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-image {
    width: clamp(60px, 15vw, 100px);
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.5rem;
    animation: ring 2s ease-in-out infinite;
}

.btn-text {
    font-size: 1.1rem;
}

.status-message {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: white;
    font-weight: 500;
    display: inline-block;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-message:empty {
    display: none;
}

.status-message.success {
    background: rgba(76, 175, 80, 0.3);
}

.status-message.error {
    background: rgba(244, 67, 54, 0.3);
}

/* Tutorial Link */
.tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.tutorial-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tutorial-link:active {
    transform: translateY(0);
}

/* Schedules Section com curva orgânica */
.schedules {
    padding: 5rem 2rem;
    padding-top: 8rem;
    background: white;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 100%);
    margin-top: -3rem;
}

.schedules::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(210, 105, 30, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.schedules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.schedule-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.schedule-description {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.schedule-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.schedule-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1rem;
}

.btn-favorite {
    background: white;
    border: 2px solid #F3E5F5;
    font-size: 1.4rem;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #999;
    position: relative;
}

/* Texto indicativo abaixo do sininho */
.btn-favorite::after {
    content: 'Inativo';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    color: #999;
    opacity: 0.8;
}

/* Sininho DESATIVADO - Visual MUITO CLARO */
.btn-favorite:not(.active) {
    border: 3px dashed #ff6b6b;
    background: #ffe0e0;
    color: #ff4444;
    opacity: 1;
}

.btn-favorite:not(.active)::before {
    content: '🔕';
    /* Sino com X */
    position: absolute;
    font-size: 1.4rem;
}

.btn-favorite:not(.active)::after {
    content: 'Desativado';
    color: #ff4444;
    font-weight: 700;
    opacity: 1;
}

@keyframes pulseInactive {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.btn-favorite:hover {
    transform: scale(1.1) rotate(10deg);
    border-color: var(--primary-color);
    background: #FFFBF2;
}

.btn-favorite.active {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border: 3px solid #ff6b35;
    color: white;
    filter: drop-shadow(0 4px 10px rgba(255, 107, 53, 0.5));
    animation: bellShake 0.5s ease;
}

.btn-favorite.active::before {
    content: '🔔';
    /* Sino normal */
    position: absolute;
    font-size: 1.4rem;
}

.btn-favorite.active::after {
    content: 'Ativo';
    color: #4CAF50;
    font-weight: 700;
    opacity: 1;
}

@keyframes bellShake {
    0% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-15deg);
    }

    45% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0);
    }
}

body.dark-mode .btn-favorite {
    background: #2d1b14;
    border-color: #3d2b24;
}

body.dark-mode .btn-favorite.active {
    background: var(--primary-color);
}

/* Products Carousel 3D com onda orgânica */
.products {
    padding: 8rem 2rem;
    padding-top: 10rem;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFEFD5 100%);
    perspective: 2000px;
    overflow: hidden;
    position: relative;
    margin-top: -2rem;
}

.products::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -10%;
    width: 120%;
    height: 150px;
    background: white;
    border-radius: 0 0 50% 50%;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 280px;
    height: 380px;
    margin: 60px auto;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
    user-select: none;
}

.carousel:active {
    cursor: grabbing;
}

/* Base da Estante (Shelf base effect) */
.carousel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.15) 0%, transparent 70%);
    transform: rotateX(90deg) translateZ(-200px);
    pointer-events: none;
    z-index: -1;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    position: absolute;
    width: 280px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.product-card-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(139, 69, 19, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: float-3d 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.product-card:hover .product-card-inner {
    transform: scale(1.08) translateY(-15px) rotate(2deg);
    box-shadow: 0 30px 70px rgba(139, 69, 19, 0.45);
    border-color: var(--secondary-color);
    border-radius: 40px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
}

.product-info {
    padding: 1.5rem;
    background: white;
}

@keyframes float-3d {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-15px) rotateX(2deg);
    }
}

/* Ads Section com ondas */
.ads {
    padding: 5rem 2rem;
    padding-top: 8rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 30%, #ffd700 70%, #ff6b35 100%);
    background-size: 300% 300%;
    animation: gradient-flow 8s ease infinite;
    position: relative;
    overflow: hidden;
    margin-top: -2rem;
}

/* Onda decorativa será aplicada via info::before */

.ads::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ads::after {
    content: '🔥 🎉 🥧 🍰 ✨';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    letter-spacing: 15px;
    opacity: 0.3;
    animation: float-icons 4s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float-icons {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.ads .section-title {
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.ads-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Força uma única coluna larga no mobile */
    gap: 3rem;
    max-width: 900px;
    /* Aumentado para banners maiores */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .ads-grid {
        max-width: 1000px;
    }
}

.ad-card {
    background: linear-gradient(145deg, #fff5e6 0%, #ffe4c4 30%, #ffd700 100%);
    padding: 2rem;
    border-radius: 35px;
    box-shadow:
        0 10px 40px rgba(255, 107, 53, 0.25),
        0 0 0 3px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #ff6b35;
    position: relative;
    overflow: hidden;
    animation: promo-glow 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.ad-card::before {
    content: '🔥 PROMOÇÃO';
    position: absolute;
    top: -10px;
    /* Movido para a linha branca do título */
    right: 15px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.6);
    z-index: 10;
    animation: promoPulse 2s ease-in-out infinite;
}

.ad-card::after {
    content: '✨';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes promo-glow {

    0%,
    100% {
        box-shadow:
            0 10px 40px rgba(255, 107, 53, 0.25),
            0 0 0 3px rgba(255, 215, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    50% {
        box-shadow:
            0 15px 50px rgba(255, 107, 53, 0.35),
            0 0 0 5px rgba(255, 215, 0, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2) rotate(15deg);
    }
}

@keyframes promoPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 65, 108, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 65, 108, 0.8);
    }
}

.ad-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(255, 107, 53, 0.4),
        0 0 0 5px rgba(255, 215, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: #ff4b2b;
}

.ad-title {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d2691e 0%, #8b4513 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

.ad-description {
    color: #5d4037;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.ad-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.ad-link:hover {
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff4b2b 0%, #ff6b35 100%);
}

/* Imagem/PDF na Promoção */
.ad-image {
    width: 100%;
    max-height: 600px;
    /* Aumentado para banners verticais/grandes */
    height: auto;
    object-fit: contain;
    /* Banner inteiro visível */
    border-radius: 25px;
    display: block;
    background: #fff;
    margin-bottom: 20px;
}

.ad-pdf-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    /* Aumentado */
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    border-radius: 25px;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px dashed rgba(210, 105, 30, 0.4);
}

.ad-pdf-icon {
    font-size: 80px;
    /* Aumentado */
    margin-bottom: 15px;
}

.ad-content {
    padding: 1rem 0;
}

.ad-title {
    font-size: 2rem;
    /* Aumentado */
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 1rem;
}

.ad-description {
    color: #5d4037;
    font-size: 1.25rem;
    /* Aumentado */
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.ad-pdf-link:hover {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 100%);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.ad-pdf-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.ad-pdf-link span {
    font-weight: 600;
    font-size: 1rem;
}

.ad-content {
    flex: 1;
}

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 50px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 60px rgba(93, 64, 55, 0.3);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-section h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 800;
}

.whatsapp-section>p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 3rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.divider span {
    padding: 0 2rem;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.whatsapp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.whatsapp-input-container {
    position: relative;
    width: 100%;
}

.whatsapp-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    z-index: 5;
    pointer-events: none;
}

.whatsapp-input {
    width: 100%;
    padding: 1.3rem 2rem 1.3rem 4rem !important;
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.whatsapp-input:focus {
    outline: none;
    border-color: #25D366;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.whatsapp-input:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.28);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.4rem 3rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 100px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active {
    transform: translateY(-2px) scale(1);
}

.btn-whatsapp:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-status {
    margin-top: 1.5rem;
    padding: 1.5rem 2.5rem;
    background: transparent;
    border-radius: 35px;
    color: white;
    font-weight: 700;
    text-align: center;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.whatsapp-status.success,
.whatsapp-status.error {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    min-height: 4rem;
    backdrop-filter: blur(15px);
}

.whatsapp-status.success {
    background: rgba(76, 175, 80, 0.5);
    border: 3px solid rgba(76, 175, 80, 0.7);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.whatsapp-status.error {
    background: rgba(244, 67, 54, 0.5);
    border: 3px solid rgba(244, 67, 54, 0.7);
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.3);
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
    .whatsapp-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }

    .whatsapp-section h3 {
        font-size: 1.5rem;
    }

    .whatsapp-form {
        max-width: 100%;
    }

    .whatsapp-input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .btn-whatsapp {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Info Section com curvas */
.info {
    padding: 5rem 2rem;
    padding-top: 8rem;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 100%);
    position: relative;
    margin-top: -2rem;
}

.info::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 100px;
    background: inherit;
    clip-path: ellipse(60% 100% at 50% 100%);
    z-index: 1;
}

.info-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 35px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(210, 105, 30, 0.1);
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
    border-radius: 40px;
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* Footer com onda superior */
.footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 4rem 2rem 2rem;
    position: relative;
    margin-top: -2rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -10%;
    width: 120%;
    height: 100px;
    background: inherit;
    border-radius: 0 0 50% 50%;
}

.footer-small {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .schedules,
    .info {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Steam Effect */
.steam-container {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 10;
}

.steam-particle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
    animation: steam-rise 3s infinite ease-out;
}

@keyframes steam-rise {
    0% {
        transform: translate(-50%, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    100% {
        transform: translate(calc(-50% + var(--sway)), -100px) scale(2.5);
        opacity: 0;
    }
}

/* Logo Bread with Steam Animation */
.logo-bread {
    position: relative;
    display: inline-block;
    font-size: 1em;
    animation: logo-bounce 2s ease-in-out infinite;
}

.logo-steam {
    position: absolute;
    top: -0.3em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5em;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: logo-steam-rise 2s ease-out infinite;
    pointer-events: none;
}

.logo-steam.delay {
    left: 30%;
    animation-delay: 0.5s;
}

.logo-steam.delay2 {
    left: 70%;
    animation-delay: 1s;
}

@keyframes logo-steam-rise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    30% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px) scale(1.5);
    }
}

@keyframes logo-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(-3deg);
    }
}

/* Bread Steam Icon in Info Cards */
.info-icon.bread-steam {
    position: relative;
    overflow: visible;
}

.steam-wave {
    position: absolute;
    top: 0.2em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.4em;
    color: rgba(210, 105, 30, 0.6);
    animation: steam-wave-rise 2s ease-out infinite;
    pointer-events: none;
}

.steam-wave.d1 {
    left: 35%;
    animation-delay: 0.4s;
}

.steam-wave.d2 {
    left: 65%;
    animation-delay: 0.8s;
}

@keyframes steam-wave-rise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    30% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-25px) scale(1.8);
    }
}

/* ============= PRÓXIMA FORNADA ============= */
.next-schedule-section {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.next-schedule-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #FF6B35, #D2691E, #A0522D);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.4);
    color: white;
    max-width: 600px;
    width: 100%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(210, 105, 30, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6);
    }
}

.next-schedule-icon {
    font-size: 3rem;
    animation: flame 0.5s ease-in-out infinite alternate;
}

@keyframes flame {
    0% {
        transform: scale(1) rotate(-5deg);
    }

    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

.next-schedule-info {
    flex: 1;
}

.next-schedule-info h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.next-schedule-time {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.next-schedule-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.next-schedule-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-width: 80px;
}

.next-schedule-countdown span {
    font-size: 2rem;
    font-weight: 700;
}

.next-schedule-countdown small {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ============= QR CODE ============= */
.qrcode-section {
    padding: 3rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(210, 105, 30, 0.05));
}

.qrcode-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 35px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(210, 105, 30, 0.1);
    transition: all 0.3s ease;
}

.qrcode-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-radius: 40px;
}

.qrcode-container canvas {
    border-radius: 10px;
}

.qrcode-container p {
    max-width: 280px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Mobile responsivo */
@media (max-width: 600px) {
    .next-schedule-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .next-schedule-time {
        font-size: 1.75rem;
    }

    .next-schedule-countdown {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .next-schedule-countdown span {
        font-size: 1.5rem;
    }
}

/* ============= PWA INSTALL BANNER ============= */
.install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.95) 0%, rgba(160, 82, 45, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.install-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.install-text {
    flex: 1;
    color: white;
}

.install-text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.install-text small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.install-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.install-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
}

.dismiss-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Responsive install banner */
@media (max-width: 480px) {
    .install-banner {
        padding: 0.8rem 1rem;
    }

    .install-banner-content {
        gap: 0.8rem;
    }

    .install-icon {
        font-size: 2rem;
    }

    .install-text strong {
        font-size: 0.95rem;
    }

    .install-text small {
        font-size: 0.75rem;
    }

    .install-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ============= RESPONSIVIDADE MOBILE-FIRST ============= */

/* Cards Info em Coluna no Mobile */
@media (max-width: 768px) {
    .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 3rem 1rem;
    }

    .info-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Promoções Responsivas - Mobile First */
@media (max-width: 768px) {
    .ads {
        padding: 3rem 0.5rem;
        padding-top: 5rem;
    }

    .ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .ad-card {
        border-radius: 20px;
        padding: 0;
        margin: 0 0.5rem;
        width: calc(100% - 1rem);
        overflow: hidden;
    }

    .ad-card::before {
        /* Faixa de promoção menor no mobile */
        padding: 6px 45px;
        font-size: 0.7rem;
        right: -35px;
        top: 15px;
    }

    .ad-image {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: 500px;
        object-fit: contain;
        border-radius: 20px 20px 0 0;
        margin: 0;
        display: block;
    }

    .ad-content {
        padding: 1.5rem;
    }

    .ad-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .ad-description {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Carrossel de Produtos no Mobile */
@media (max-width: 768px) {
    .products {
        padding: 4rem 1rem;
        padding-top: 6rem;
    }

    .carousel {
        width: 220px;
        height: 320px;
        margin: 30px auto;
    }

    .product-card {
        width: 220px;
    }

    .product-card-inner {
        border-radius: 25px;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 1rem;
    }
}

/* Schedule Cards no Mobile */
@media (max-width: 768px) {
    .schedules {
        padding: 3rem 1rem;
        padding-top: 5rem;
        clip-path: none;
        margin-top: 0;
    }

    .schedules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-card {
        border-radius: 20px;
        padding: 1.5rem;
    }

    .schedule-time {
        font-size: 2rem;
    }
}

/* Hero Section no Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 15px 40px 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .whatsapp-section {
        padding: 1.5rem 1rem;
        border-radius: 30px;
        margin-top: 2rem;
    }

    .whatsapp-section h3 {
        font-size: 1.3rem;
    }

    .btn-whatsapp {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* Próxima Fornada Mobile */
@media (max-width: 480px) {
    .next-schedule-section {
        padding: 1rem;
    }

    .next-schedule-card {
        padding: 1rem;
        border-radius: 15px;
    }

    .next-schedule-icon {
        font-size: 2rem;
    }

    .next-schedule-time {
        font-size: 1.5rem;
    }
}

/* QR Code Section Mobile */
@media (max-width: 768px) {
    .qrcode-section {
        padding: 2rem 1rem;
    }

    .qrcode-container {
        padding: 1.5rem;
        border-radius: 25px;
        width: 100%;
        max-width: 320px;
    }
}

/* Melhorar visual Mobile - Aspecto de Forno */
@media (max-width: 768px) {

    /* Fundo com textura de madeira para mobile */
    body::before {
        animation: none;
        background:
            linear-gradient(135deg,
                rgba(139, 69, 19, 0.15) 0%,
                rgba(160, 82, 45, 0.1) 25%,
                rgba(210, 105, 30, 0.15) 50%,
                rgba(139, 69, 19, 0.1) 75%,
                rgba(160, 82, 45, 0.15) 100%),
            repeating-linear-gradient(90deg,
                rgba(101, 67, 33, 0.03) 0px,
                rgba(101, 67, 33, 0.03) 1px,
                transparent 1px,
                transparent 4px);
    }

    /* Adicionar textura de madeira vertical */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            repeating-linear-gradient(0deg,
                transparent 0px,
                rgba(101, 67, 33, 0.02) 2px,
                transparent 4px);
        pointer-events: none;
        z-index: -1;
    }

    /* Cards com visual de forno */
    .schedule-card,
    .info-card {
        box-shadow:
            0 8px 25px rgba(101, 67, 33, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border: 2px solid rgba(139, 69, 19, 0.2);
    }

    .ad-card {
        box-shadow:
            0 10px 35px rgba(255, 107, 53, 0.3),
            0 0 0 3px rgba(255, 215, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
    }

    /* Manter curvas orgânicas apenas no topo das seções */
    .products::before,
    .schedules::before,
    .info::before {
        display: block;
        opacity: 0.6;
    }

    .footer::before {
        display: block;
    }
}

/* Extra pequeno - telefones antigos */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .ad-title {
        font-size: 1.1rem;
    }

    .carousel {
        width: 180px;
        height: 280px;
    }

    .product-card {
        width: 180px;
    }
}