/* ============================================
   Água Mineral Santa Fé — Estilos Principais
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0077B6;
    --primary-dark: #005f8a;
    --primary-light: #00B4D8;
    --accent: #48CAE4;
    --light: #CAF0F8;
    --lighter: #F0F9FF;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --danger: #EF4444;
    --success: #22C55E;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 90px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-800);
    line-height: 1.2;
    font-weight: 700;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    text-decoration: none;
}
.brand-icon { font-size: 1.6rem; }
.brand-text { letter-spacing: -0.5px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    display: inline-block;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-radius: 50px;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-link:hover { color: var(--primary); background: var(--lighter); }
.nav-link.active { color: var(--white); background: var(--primary); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 50%, #48CAE4 100%);
    overflow: hidden;
    padding-top: var(--navbar-height);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 24px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Decoração de bolhas */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: float 8s ease-in-out infinite;
}
.bubble:nth-child(1) { width: 120px; height: 120px; bottom: 10%; left: 5%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 80px; height: 80px; top: 20%; right: 10%; animation-delay: 2s; }
.bubble:nth-child(3) { width: 60px; height: 60px; bottom: 30%; right: 20%; animation-delay: 4s; }
.bubble:nth-child(4) { width: 150px; height: 150px; top: 40%; left: 15%; animation-delay: 1s; }
.bubble:nth-child(5) { width: 40px; height: 40px; top: 10%; left: 40%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--white);
    color: var(--primary);
}
.btn-primary:hover {
    background: var(--lighter);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}
.btn-solid {
    background: var(--primary);
    color: var(--white);
}
.btn-solid:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Sections --- */
.section {
    padding: 100px 0;
}
.section-light { background: var(--gray-50); }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 24px auto 0;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.product-card-img {
    height: 240px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-img .placeholder-icon {
    font-size: 4rem;
    color: var(--gray-300);
}
.product-card-body {
    padding: 24px;
}
.product-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.product-card-body .volume {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lighter);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-card-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Filtros de categoria */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-tab {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.8;
}
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.about-image .placeholder-bg {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* --- Video Section --- */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: var(--gray-800);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}
.form-group textarea { min-height: 140px; }

.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--lighter);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-info-item p,
.contact-info-item a {
    color: var(--gray-500);
    font-size: 0.95rem;
}
.maps-embed {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 10px;
    box-shadow: var(--shadow);
}
.maps-embed iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Form Messages */
.form-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: none;
}
.form-message.success { display: block; background: #dcfce7; color: #166534; }
.form-message.error { display: block; background: #fef2f2; color: #991b1b; }

/* --- Page Header (internas) --- */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 10px;
}
.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.social-links {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}
.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* --- Product Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}
.modal-header h3 { font-size: 1.2rem; }
.modal-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px; }
.modal-body img {
    max-width: 280px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin: 0 auto 20px;
    display: block;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
}

.modal-body .volume {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lighter);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.modal-body p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    .brand-logo {
        height: 50px;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card-img {
        height: 200px;
        padding: 15px;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-header { padding: 120px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 8px 16px; font-size: 0.8rem; }
    .brands-carousel { margin-bottom: 30px; }
    .brand-item { width: 70px; height: 70px; padding: 8px; }
    .modal { margin: 10px; }
    .modal-body img { max-width: 200px; max-height: 200px; }
}


/* --- Utility --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }

/* --- Brands Carousel --- */
.brands-carousel {
    max-width: 600px;
    margin: 0 auto 50px;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}
.brands-carousel::before,
.brands-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.brands-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}
.brands-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), transparent);
}
.brands-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scrollBrands 12s linear infinite;
    width: max-content;
}
.brand-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.brand-item:hover {
    transform: scale(1.1);
}
.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Logo --- */
.brand-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

