/* ========================================
   ATELIÊ MÃOS DE MARIA - ESTILOS COMPLETOS
   ======================================== */

/* Variáveis CSS */
:root {
    --azul-mariano: #4a90e2;
    --azul-escuro: #2c5aa0;
    --dourado: #d4af37;
    --dourado-escuro: #b8960c;
    --fundo-claro: #f9fbfc;
    --branco: #ffffff;
    --texto-escuro: #333333;
    --texto-claro: #666666;
    --sombra: rgba(0, 0, 0, 0.1);
    --transicao: all 0.3s ease;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--fundo-claro);
    color: var(--texto-escuro);
    line-height: 1.6;
}

/* ========================================
   MENU FIXO
   ======================================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background: var(--branco);
    box-shadow: 0 2px 10px var(--sombra);
    z-index: 1000;
    transition: var(--transicao);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img { height: 50px; width: auto; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-mariano);
}

.logo-text span { color: var(--dourado); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--texto-escuro);
    font-weight: 500;
    transition: var(--transicao);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--dourado);
    transition: var(--transicao);
}

.nav-menu a:hover { color: var(--azul-mariano); }
.nav-menu a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px; height: 3px;
    background: var(--azul-mariano);
    transition: var(--transicao);
}

/* ========================================
   BOTÕES GERAIS
   ======================================== */
.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicao);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--azul-mariano);
    color: var(--branco);
}

.btn-primary:hover {
    background: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--azul-mariano);
    border: 2px solid var(--azul-mariano);
}

.btn-secondary:hover {
    background: var(--azul-mariano);
    color: var(--branco);
}

.btn-dourado { background: var(--dourado); color: var(--branco); }
.btn-dourado:hover { background: var(--dourado-escuro); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fundo-claro) 0%, #e8f4fc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { z-index: 1; }

.hero-content h1 {
    font-size: 3rem;
    color: var(--azul-mariano);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span { color: var(--dourado); }

.hero-content p {
    font-size: 1.2rem;
    color: var(--texto-claro);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */
.section { padding: 80px 20px; }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--azul-mariano);
    margin-bottom: 15px;
}

.section-header h2 span { color: var(--dourado); }

.section-header p {
    color: var(--texto-claro);
    font-size: 1.1rem;
}

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

/* ========================================
   FILTROS
   ======================================== */
.filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 10px 25px;
    border: 2px solid var(--azul-mariano);
    background: transparent;
    color: var(--azul-mariano);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transicao);
    font-weight: 500;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--azul-mariano);
    color: var(--branco);
}

/* ========================================
   GRID DE PRODUTOS
   ======================================== */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .produtos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .produtos-grid { grid-template-columns: 1fr; }
}

.produto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.produto-card:hover { transform: translateY(-5px); }

.produto-imagem {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--fundo-claro);
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transicao);
}

.produto-card:hover .produto-imagem img { transform: scale(1.05); }

.produto-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(74, 144, 226, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transicao);
}

.produto-card:hover .produto-overlay { opacity: 1; }

.btn-zoom {
    background: var(--branco);
    color: var(--azul-mariano);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transicao);
}

.btn-zoom:hover { background: var(--dourado); color: var(--branco); }

.produto-info { padding: 20px; }

.produto-categoria {
    display: inline-block;
    background: rgba(74, 144, 226, 0.1);
    color: var(--azul-mariano);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.produto-info h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--texto-escuro);
}

.produto-preco {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dourado);
    margin-bottom: 15px;
}

/* Botão carrinho dentro do card */
.btn-add-carrinho {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--azul-mariano);
    color: var(--branco);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transicao);
    font-size: 0.9rem;
}

.btn-add-carrinho:hover { background: var(--azul-escuro); }

/* Botão WhatsApp dentro do card */
.btn-whatsapp {
    width: 100%;
    padding: 10px;
    background: #25d366;
    color: var(--branco);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transicao);
    font-size: 0.9rem;
}

.btn-whatsapp:hover { background: #128c7e; }

/* ========================================
   SEÇÃO VÍDEO
   ======================================== */
.video-section {
    background: #f9f9f9;
    padding: 80px 0;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-btn {
    width: 80px; height: 80px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.play-btn:hover { transform: scale(1.1); }

.botoes-video {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.catalogo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.catalogo-btn img {
    width: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.catalogo-btn:hover img { transform: scale(1.05); }

/* ========================================
   SEÇÃO DEPOIMENTOS
   ======================================== */
.depoimentos-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 4px 18px;
    -webkit-overflow-scrolling: touch;
}

.depoimento-card {
    background: var(--branco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--sombra);
    transition: var(--transicao);
    flex: 0 0 min(360px, 86vw);
    scroll-snap-align: center;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.depoimento-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   SEÇÃO SOBRE
   ======================================== */
.sobre-section { background: var(--branco); }

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sobre-texto h3 {
    font-size: 2rem;
    color: var(--azul-mariano);
    margin-bottom: 20px;
}

.sobre-texto p {
    color: var(--texto-claro);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.sobre-valores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.valor-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.valor-icon {
    width: 50px; height: 50px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azul-mariano);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.valor-item h4 { font-size: 1rem; color: var(--texto-escuro); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img { height: 60px; margin-bottom: 15px; }
.footer-logo p { color: rgba(255, 255, 255, 0.8); }

.footer-links h4,
.footer-contato h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dourado);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transicao);
}

.footer-links a:hover { color: var(--dourado); }

.footer-contato p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links { display: flex; gap: 15px; }

.social-links a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    text-decoration: none;
    transition: var(--transicao);
}

.social-links a:hover {
    background: var(--dourado);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transicao);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ========================================
   MODAL ZOOM PRODUTO
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active { display: flex; }

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px; right: 0;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transicao);
}

.modal-close:hover { color: var(--dourado); }

.modal-info {
    background: var(--branco);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

.modal-info h3 {
    color: var(--azul-mariano);
    margin-bottom: 10px;
}

.modal-info p {
    color: var(--dourado);
    font-size: 1.3rem;
    font-weight: 700;
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.produto-card,
.depoimento-card {
    animation: fadeIn 0.5s ease forwards;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--fundo-claro); }
::-webkit-scrollbar-thumb { background: var(--azul-mariano); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--azul-escuro); }

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
    .sobre-content { grid-template-columns: 1fr; }
    .sobre-imagem { order: -1; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--branco);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transicao);
    }

    .nav-menu.active { left: 0; }
    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .hero-content h1 { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .filtros { gap: 10px; }
    .filtro-btn { padding: 8px 15px; font-size: 0.9rem; }
    .sobre-valores { grid-template-columns: 1fr; }
    .botoes-video { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .btn { padding: 12px 20px; font-size: 0.9rem; }

    .depoimentos-grid { grid-template-columns: 1fr; }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links { justify-content: center; }

    .whatsapp-float {
        width: 50px; height: 50px;
        font-size: 1.2rem;
        bottom: 20px; right: 20px;
    }
}
