/* ==============================================
   SEUPETMERECE - ESTILOS PRINCIPAIS
   Design inspirado em sites modernos de pet shop
   ============================================== */

/* VARIÁVEIS CSS */
:root {
    --primary-color: #1e7e7e;      /* Azul petróleo */
    --secondary-color: #9acd32;     /* Verde lima */
    --accent-color: #ff6b6b;        /* Coral para destaques */
    --dark-color: #2c3e50;          /* Cinza escuro */
    --light-color: #ecf0f1;         /* Cinza claro */
    --white: #ffffff;
    --text-color: #333333;
    --border-radius: 10px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* BOTÕES */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #165e5e;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #86b82d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* HEADER */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--light-color);
}

.mobile-menu-header img {
    height: 50px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu nav ul {
    padding: 20px;
}

.mobile-menu nav li {
    margin-bottom: 15px;
}

.mobile-menu nav a {
    display: block;
    padding: 10px;
    color: var(--text-color);
    font-weight: 500;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #165e5e 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-promo {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* SEÇÕES */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* COMO FUNCIONA */
.como-funciona {
    background: var(--light-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    position: relative;
    /* transition removida: itens devem ser estáticos */
}

/* .step:hover — hover removido (itens estáticos conforme solicitado) */

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* PRODUTOS */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.produto-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.produto-imagem {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #ffffff; /* 1a/2a: branco em todos os contextos */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e8e8e8; /* 2a: borda sutil */
    box-sizing: border-box;
}

/* 2a) CATÁLOGO: área da imagem branca + borda */
.produtos-grid .produto-imagem {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    box-sizing: border-box;
}
.produtos-grid .produto-imagem img {
    background: transparent !important;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.badge-novo {
    background: var(--accent-color);
}

.produto-info {
    padding: 20px;
}

.produto-marca {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.produto-nome {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-color);
    min-height: 45px;
}

.produto-categoria {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.produto-preco {
    font-size: 14px;
    margin-bottom: 15px;
}

.produto-preco strong {
    font-size: 20px;
    color: var(--primary-color);
}

/* BENEFÍCIOS */
.beneficios {
    background: var(--light-color);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.beneficio {
    background: var(--white);
    padding: 18px 20px; /* 1b: padding reduzido — card menor */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;          /* 1b: ícone + título na mesma linha */
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
}

/* .beneficio:hover — hover removido (itens estáticos conforme solicitado) */

.beneficio-icon {
    font-size: 32px;        /* 1b: ícone menor para caber inline */
    color: var(--secondary-color);
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    margin-bottom: 0;       /* 1b: remove margin-bottom do ícone */
}

.beneficio h3 {
    font-size: 16px;        /* 1b: título em linha com ícone */
    margin-bottom: 4px;
    color: var(--primary-color);
    line-height: 1.2;
}

.beneficio-body {
    flex: 1;                /* 1b: ocupa espaço restante ao lado do ícone */
}

.beneficio p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.45;
}

/* ASSINANTES */
.assinantes-section {
    background: linear-gradient(135deg, var(--primary-color), #165e5e);
    color: var(--white);
}

.assinantes-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.assinantes-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.assinantes-beneficios {
    margin: 30px 0;
}

.assinantes-beneficios li {
    margin-bottom: 15px;
    font-size: 18px;
}

.assinantes-beneficios i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.assinantes-imagem {
    text-align: center;
    opacity: 0.2;
}

/* CONTATO */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contato-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contato-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contato-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contato-item:hover .contato-icon {
    color: var(--white);
}

.contato-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contato-item a {
    color: var(--primary-color);
}

.contato-item:hover a {
    color: var(--white);
}

/* FOOTER */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-horarios li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom i {
    color: var(--accent-color);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

/* ═══════════════════════════════════════════════════
   BOTÕES SOCIAIS FLUTUANTES (lateral esquerda)
═══════════════════════════════════════════════════ */
.social-float {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 998;
}
.social-float a,
.social-float button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,.22);
    transition: transform .2s, box-shadow .2s;
}
.social-float a:hover,
.social-float button:hover {
    transform: scale(1.12);
    box-shadow: 0 5px 16px rgba(0,0,0,.30);
}
.social-float .sf-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-float .sf-facebook  { background: #1877F2; }
.social-float .sf-email     { background: #EA4335; }

/* Voltar ao Topo */
#btn-topo {
    position: fixed;
    right: 30px;
    bottom: 100px; /* 1d: mais perto do WhatsApp (era 280px) */
    width: 46px;
    height: 46px;
    background: #1e7e7e;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(30,126,126,.4);
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s;
}
#btn-topo.visivel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#btn-topo:hover { background: #165e5e; }

/* ═══════════════════════════════════════════════════
   HEADER MOBILE FIXO — NOVA ORDEM ÍCONES
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Header sticky garantido */
    .header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1100;
    }
    /* Empurra conteúdo abaixo do header fixo */
    body {
        padding-top: 80px;
    }
    .header-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        padding: 10px 12px !important;
    }
    /* Logo à esquerda */
    .logo {
        flex-shrink: 0;
        order: 1;
    }
    .logo img { height: 38px !important; }

    /* Esconder nav desktop */
    .main-nav { display: none !important; }
    .main-nav.active {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 70px 20px 20px 20px;
        z-index: 1200;
        box-shadow: -4px 0 20px rgba(0,0,0,.15);
        overflow-y: auto;
        animation: slideInRight .25s ease;
    }
    @keyframes slideInRight {
        from { transform: translateX(100%); opacity: 0; }
        to   { transform: translateX(0); opacity: 1; }
    }
    .main-nav.active ul {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .main-nav.active ul li a {
        display: block;
        padding: 14px 10px;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        font-weight: 500;
    }
    .main-nav.active ul li a.active,
    .main-nav.active ul li a:hover { color: var(--primary-color); }
    .mobile-menu-toggle {
        cursor: pointer;
        z-index: 1300;
    }

    /* Esconder ações desktop */
    .header-actions { display: none !important; }

    /* Nova toolbar mobile */
    .mobile-header-icons {
        display: flex !important;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
        order: 2;
    }
    .mhi-btn {
        width: auto;
        min-width: 40px;
        height: auto;
        min-height: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 16px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #fff;
        position: relative;
        transition: background .15s;
        flex-shrink: 0;
        padding: 4px 6px;
    }
    .mhi-btn .mhi-label {
        font-size: 9px;
        font-weight: 600;
        line-height: 1;
        color: rgba(255,255,255,0.9);
        letter-spacing: 0.3px;
        font-family: 'Inter', sans-serif;
    }
    .mhi-btn:hover { background: rgba(255,255,255,.15); }
    .mhi-btn.mhi-cadastro { background: rgba(255,255,255,.25); color: #fff; border-radius: 8px; }
    .mhi-btn.mhi-cadastro:hover { background: rgba(255,255,255,.4); }
    .mhi-btn.mhi-logged { color: #fff; }
    .mhi-carrinho-cnt {
        position: absolute;
        top: -2px;
        right: -2px;
        background: #e74c3c;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        border-radius: 10px;
        padding: 1px 4px;
        min-width: 15px;
        text-align: center;
    }
    /* Toggle menu — fica no fim */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 18px;
        flex-shrink: 0;
        order: 3;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

/* RESPONSIVO - TABLET */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .assinantes-content {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* RESPONSIVO - MOBILE */
@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    /* 1d) botão topo mais perto do WhatsApp */
    #btn-topo {
        right: 20px;
        bottom: 85px;
    }
}

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

/* ========================================
   CARROSSEL
   ======================================== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.7;
    z-index: 2;
}

.carousel-watermark img {
    width: 120px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.carousel-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #1e7e7e;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .carousel-watermark img {
        width: 80px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
/* --- ESTILOS DO MODAL --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}
#modalBody h3 { color: #1a7373; margin-bottom: 15px; }
#modalBody .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
/* ADIÇÕES E MELHORIAS PARA MOBILE E SEÇÃO CONTATOS */

/* ==============================================
   MELHORIAS MOBILE - MODAL E RESPONSIVIDADE
   ============================================== */

/* Modal responsivo */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 1001;
}

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

/* Mobile: Modal ocupa mais espaço */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 20px;
        max-height: 95vh;
    }
    
    .close-modal {
        right: 10px;
        top: 10px;
        font-size: 32px;
    }
}

/* ==============================================
   SEÇÃO DE CONTATOS
   ============================================== */

.contato-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contato-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.contato-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
}

.contato-card.whatsapp .contato-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contato-card.instagram .contato-icon {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.contato-card.facebook .contato-icon {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

.contato-card.email .contato-icon {
    background: linear-gradient(135deg, var(--primary-color), #165e5e);
}

.contato-card h3 {
    color: var(--dark-color);
    font-size: 20px;
    margin: 0;
}

.contato-card p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.contato-cta {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
}

.contato-card:hover .contato-cta {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Mobile: Cards de contato empilhados */
@media (max-width: 768px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contato-card {
        padding: 25px 20px;
    }
}

/* ==============================================
   FOOTER - ÁREA DE ATENDIMENTO
   ============================================== */

.footer-localidades {
    list-style: none;
    padding: 0;
}

.footer-localidades li {
    padding: 5px 0;
    color: rgba(255,255,255,0.8);
}

.footer-localidades i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* ==============================================
   MELHORIAS MOBILE - RESPONSIVIDADE GERAL
   ============================================== */

@media (max-width: 768px) {
    /* Header mobile */
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 12px 20px;
        background: var(--light-color);
        border-radius: 8px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    .header-actions {
        display: none;
    }
    
    /* Hero mobile */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    /* Produtos grid mobile */
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Steps mobile */
    .steps {
        grid-template-columns: 1fr;
    }
    
    /* Benefícios mobile */
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    /* Assinantes mobile */
    .assinantes-content {
        flex-direction: column;
        text-align: center;
    }
    
    .assinantes-imagem {
        margin-top: 30px;
        font-size: 60px;
    }
    
    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Formulários mobile */
    .form-row {
        grid-template-columns: 1fr !important;
    }
    
    .form-cadastro {
        padding: 20px !important;
    }
    
    /* Container geral */
    .container {
        padding: 0 15px;
    }
    
    /* Textos mobile */
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    /* Botões mobile */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* ==============================================
   DESKTOP - MENU MOBILE TOGGLE ESCONDIDO
   ============================================== */

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ==============================================
   CALENDÁRIO E CAMPOS DE DATA
   ============================================== */

input[type="date"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    width: 100%;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ==============================================
   CHECKBOX E RADIO ESTILIZADOS
   ============================================== */

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .checkbox-group,
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==============================================
   ALERTAS E NOTIFICAÇÕES
   ============================================== */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-sucesso {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert i {
    font-size: 20px;
}

/* ==============================================
   UTILIDADES
   ============================================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 20px;
    }
    
    .produto-card {
        padding: 15px;
    }
    
    .footer {
        font-size: 14px;
    }
}


/* ═══════════════════════════════════════════════
   [FIX 06] Modal produto — fechar visível em mobile
   e scroll no PC
═══════════════════════════════════════════════ */

/* Reset da posição para garantir que o .close-modal fique visível */
/* ═══════════════════════════════════════════════
   [FIX 06 v2] Modal produto
   - PC: largura controlada (máx 440px), não muito largo
   - Mobile: centralizado, sem precisar arrastar
═══════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed !important;
    z-index: 10000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.65) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    /* Centralização perfeita via flexbox */
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    box-sizing: border-box;
}

.modal[style*="block"] {
    display: flex !important;
}

.modal-content {
    background: #fefefe;
    border-radius: 14px;
    padding: 20px 22px;
    /* PC: largura máxima menor, não muito largo */
    width: 100%;
    max-width: 440px;
    position: relative;
    animation: slideDown .3s ease-out;
    margin: 0 auto;
    /* Altura máxima com scroll interno */
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Botão fechar — sticky no topo do modal */
.close-modal {
    position: sticky !important;
    float: right;
    top: 0;
    right: 0;
    z-index: 10001 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: bold;
    cursor: pointer;
    color: #555 !important;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -6px -6px 8px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    border: none;
    padding: 0;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.close-modal:hover { background: #e74c3c; color: #fff !important; }

/* Mobile: ocupa mais espaço, centralizado automaticamente */
@media (max-width: 768px) {
    .modal {
        padding: 20px 12px !important;
        align-items: flex-start !important;
    }
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 16px 14px !important;
        max-height: calc(100vh - 40px) !important;
        border-radius: 12px !important;
    }
    .close-modal {
        width: 38px !important;
        height: 38px !important;
        font-size: 24px !important;
    }
}


/* ═══════════════════════════════════════════════
   [FIX 08] Header mobile — fixo, ordem e labels
═══════════════════════════════════════════════ */

/* 08a) Header sempre fixo ao rolar */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background: var(--primary-color, #1e7e7e) !important;
}
/* Compensação global do header fixo */
body {
    padding-top: 70px;
}

/* 08a) Ordem dos itens no header mobile */
@media (max-width: 768px) {
    body { padding-top: 72px !important; }

    .header-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 2px !important;
        padding: 8px 10px !important;
        justify-content: flex-start !important;
    }

    /* Logo — ordem 1 */
    .logo { order: 1 !important; flex-shrink: 0 !important; margin-right: auto !important; }

    /* Toolbar mobile — ordem 2 */
    .mobile-header-icons {
        display: flex !important;
        order: 2 !important;
        align-items: center !important;
        gap: 2px !important;
        flex-shrink: 0 !important;
    }

    /* Toggle menu (3 pontos) — ordem 3, sempre último */
    .mobile-menu-toggle {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
        color: #fff !important;
        font-size: 18px !important;
    }

    /* 08b) Ícone quando usuário está logado — cor destacada (amarelo/verde claro) */
    .mhi-btn.mhi-logged {
        color: #9acd32 !important;
        background: rgba(154, 205, 50, 0.18) !important;
        border-radius: 8px !important;
    }
    .mhi-btn.mhi-logged:hover { background: rgba(154,205,50,0.3) !important; }

    /* 08c) Labels abaixo dos ícones de cadastrar e login */
    .mhi-btn {
        flex-direction: column !important;
        font-size: 14px !important;
        padding: 3px 5px !important;
        min-width: 38px !important;
        min-height: 40px !important;
        color: #fff !important;
    }
    .mhi-btn .mhi-label {
        font-size: 8px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        color: rgba(255,255,255,0.9) !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }
    /* Cadastrar com destaque visual leve */
    .mhi-btn.mhi-cadastro {
        background: rgba(154,205,50,0.25) !important;
        color: #fff !important;
        border-radius: 8px !important;
    }

    /* Carrinho: ícone relativo para badge */
    .mhi-btn .mhi-carrinho-cnt {
        position: absolute;
        top: 1px;
        right: 1px;
        background: #e74c3c;
        color: #fff;
        font-size: 8px;
        font-weight: 700;
        border-radius: 9px;
        padding: 1px 4px;
        min-width: 14px;
        text-align: center;
        line-height: 1.3;
    }
}

/* Header cor de fundo — garantir contraste no desktop também */
@media (min-width: 769px) {
    .header {
        background: var(--white, #fff) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
    }
}

/* ══════════════════════════════════════════
   BOTÃO FECHAR MENU MOBILE (item 03)
══════════════════════════════════════════ */
.nav-close-btn {
    display: none; /* oculto no desktop */
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1400;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .18s;
}
.nav-close-btn:hover {
    background: #f0fafa;
}

@media (max-width: 991px) {
    .main-nav {
        position: relative; /* contexto para o botão absolute */
    }
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* ══════════════════════════════════════════
   [FIX MENU] Menu mobile sem overlay escuro
   Substituído por linha de acento + scroll block
══════════════════════════════════════════ */
body.menu-aberto {
    /* Impede scroll do body quando menu está aberto */
    overflow: hidden;
}

/* Barra de acento no topo do menu aberto (visual clean) */
@media (max-width: 991px) {
    .main-nav.active::before {
        content: '';
        display: block;
        height: 3px;
        background: var(--primary-color);
        border-radius: 0 0 3px 3px;
        margin: -70px -20px 18px -20px;
    }
    /* Sombra mais destacada na borda esquerda do menu - sem overlay na página */
    .main-nav.active {
        box-shadow: -8px 0 32px rgba(0,0,0,.22) !important;
    }
}


/* PROMO SLIDER FIX */
.promo-slider,
.promo-slider img {
    width: 100%;
}

.promo-slider img {
    height: auto;
    aspect-ratio: 16 / 6;
    object-fit: cover;
    display: block;
}

/* evita corte em mobile */
@media (max-width: 768px) {
    .promo-slider img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

/* DOTS DO CARROSSEL */
.carousel-dots,
.slick-dots,
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.carousel-dots button,
.slick-dots li button,
.swiper-pagination-bullet {

    width: 8px;
    height: 8px;

    border-radius: 50%;
    border: none;

    background: #cfcfcf;
    opacity: .6;

    transition: all .25s ease;
}

.carousel-dots button:hover,
.slick-dots li button:hover,
.swiper-pagination-bullet:hover {
    opacity: .9;
}

.carousel-dots .active button,
.slick-dots .slick-active button,
.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* ===== FIX DOTS CARROSSEL ===== */

.slick-dots,
.carousel-dots,
.swiper-pagination {

    position: relative !important;
    bottom: auto !important;

    display: flex !important;
    justify-content: center;
    align-items: center;

    gap: 6px;
    margin-top: 14px;

    list-style: none;
    padding: 0;
}

/* tamanho correto dos dots */

.slick-dots li button,
.carousel-dots button,
.swiper-pagination-bullet {

    width: 8px !important;
    height: 8px !important;

    border-radius: 50% !important;

    background: #cfcfcf !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none;

    opacity: .6;

    font-size: 0;
}

.slick-dots li.slick-active button,
.swiper-pagination-bullet-active,
.carousel-dots .active button {

    background: var(--primary-color) !important;
    opacity: 1;
}

.slick-dots li button:before {
    display: none !important;
}
