/* ================================================================
   PROJETO: ODONTOCARE - DIGYO BOUTIQUE
   ARQUITETURA: CSS MODULAR PROFISSIONAL (V12.0)
   INSPIRAÇÃO: D3.html | PALETA: Soft Welcoming
================================================================ */

/* ----------------------------------------------------------------
   1. IDENTIDADE E VARIÁVEIS (O Coração do Design)
---------------------------------------------------------------- */
:root {
    /* Cores de Acolhimento */
    --primary: #38bdf8;          /* Azul Bebê */
    --primary-light: #e0f2fe;
    --secondary: #1e293b;        /* Slate Navy (Títulos) */
    --accent: #fb923c;           /* Laranja (Ação) */
    --white: #ffffff;
    --bg-soft: #f8fafc;
    
    /* Efeitos e Sombras Blindadas */
    --glass: rgba(255, 255, 255, 0.98);
    --gradient-hero: linear-gradient(135deg, rgba(1,91,19, 0.85), rgba(30, 41, 59, 0.8));
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(56, 189, 248, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Estrutura */
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 85px;
}

/* ----------------------------------------------------------------
   2. RESET E CONFIGURAÇÕES BASE
---------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--secondary); 
    background-color: var(--white); 
    line-height: 1.7; 
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ----------------------------------------------------------------
   3. TIPOGRAFIA (Hieraquia Visual)
---------------------------------------------------------------- */
h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    color: var(--secondary); 
    letter-spacing: -1px; 
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.section-title { text-align: center; margin-bottom: 60px; }

/* ----------------------------------------------------------------
   4. COMPONENTES GLOBAIS (Botões e Tags)
---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 50px; font-weight: 700;
    text-decoration: none; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(251, 146, 60, 0.25); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(251, 146, 60, 0.35); }

.section-tag {
    background: var(--primary-light); color: var(--primary);
    padding: 8px 18px; border-radius: 100px; font-size: 0.75rem;
    font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   5. CABEÇALHO (Header Padronizado)
---------------------------------------------------------------- */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    background: var(--glass);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* Logo conforme referência visual */
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo i { font-size: 2.2rem; color: #1a569d; } /* Azul da logo */
.logo-text { display: flex; flex-direction: column; }
.brand-name { 
    font-family: 'Montserrat'; font-weight: 800; font-size: 1.6rem; 
    color: #1a569d; line-height: 1; 
}
.brand-name span { color: #1a569d; } /* Mantendo azul escuro conforme imagem */
.brand-tagline { 
    font-size: 0.75rem; font-weight: 600; color: #00c4a3; /* Verde/Teal da imagem */
    margin-top: 4px; 
}

/* Efeitos de Seleção nos Itens */
nav ul { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-link { 
    text-decoration: none; color: #333; font-weight: 600; font-size: 0.95rem; 
    padding: 8px 0; position: relative; transition: var(--transition);
}

/* Efeito de Underline Animado ao Selecionar/Hover */
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: #00c4a3; /* Seguindo o teal da marca */
    transition: var(--transition);
}

.nav-link:hover { color: #00c4a3; }
.nav-link:hover::after { width: 100%; }

/* Botão de Contato (CTA) */
.header-cta { 
    padding: 12px 28px !important; font-size: 0.9rem !important; 
    margin-left: 10px;
}

.mobile-menu-btn { display: none; font-size: 1.5rem; color: var(--secondary); cursor: pointer; }

@media (max-width: 992px) {
    .mobile-menu-btn { display: block; }
    nav { display: none; }
}

/* ----------------------------------------------------------------
   6. SEÇÃO HERO (Fundo Sombreado D3)
---------------------------------------------------------------- */
.hero {
    height: 90vh; min-height: 650px; margin-top: var(--header-height);
    background: var(--gradient-hero), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?q=80&w=1920&auto=format&fit=crop');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero-content h2 { font-size: 4.5rem; color: white; margin-bottom: 25px; line-height: 1.1; }

/* ----------------------------------------------------------------
   7. GRIDS INTELIGENTES (Ajuste de Cards)
---------------------------------------------------------------- */
.services-grid, .team-grid {
    display: grid; gap: 35px; justify-content: center; padding: 40px 0;
}

/* ----------------------------------------------------------------
   8. CARDS DE SERVIÇOS (Proporção Paisagem 16:9)
---------------------------------------------------------------- */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); }
.service-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid #f1f5f9;
}
.card-image-landscape {
    width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
}

/* ----------------------------------------------------------------
   9. CARDS DE EQUIPE (Proporção Retrato 3:4)
---------------------------------------------------------------- */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); }
.team-member {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition); border: 1px solid #f1f5f9;
}
.member-img-portrait {
    width: 100%; aspect-ratio: 3 / 4; overflow: hidden;
}

.card-image-landscape img, .member-img-portrait img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }

/* ----------------------------------------------------------------
   10. GALERIA (Proporção Paisagem 4:3)
---------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }

/* ----------------------------------------------------------------
   11. SEÇÃO SOBRE (Layout com Badge)
---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 100px 0; }
.about-image { position: relative; }
.about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: white; padding: 30px; border-radius: 16px;
    box-shadow: var(--shadow-lg); text-align: center;
}

/* ----------------------------------------------------------------
   12. FORMULÁRIO DE CONTATO (Estilo D3)
---------------------------------------------------------------- */
.contact-container {
    display: grid; grid-template-columns: 1fr 1.3fr;
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.contact-info { padding: 60px; background: var(--secondary); color: white; }
.contact-form-wrapper { padding: 60px; }

input, select, textarea {
    width: 100%; padding: 18px; border-radius: 15px; border: 1px solid #e2e8f0;
    background: #f8fafc; margin-bottom: 20px; font-family: inherit; font-size: 1rem;
}


/* ----------------------------------------------------------------
   13. RODAPÉ (FOOTER) - 4 Colunas
---------------------------------------------------------------- */
footer { background: var(--secondary); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; }

/* ----------------------------------------------------------------
   14. RESPONSIVIDADE
---------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-content h2 { font-size: 2.5rem; }
    .about-grid, .contact-container, .gallery-grid { grid-template-columns: 1fr; }
    nav { display: none; }
}

/* ----------------------------------------------------------------
   15. SWEETALERT THEME: - Caixa de Aviso Elite
---------------------------------------------------------------- */

/* A "Caixa" Principal */
.swal2-popup.elite-notice-box {
    /* Cor de fundo off-white ligeiramente cremosa para parecer papel */
    background-color: #fffbf2 !important; 
    
    /* Textura subtil de papel (padrão SVG muito leve) */
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    
    /* Borda superior dourada para dar o toque premium */
    border-top: 5px solid #d4af37 !important;
    
    /* Cantos arredondados e sombra profunda para dar volume 3D */
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 5px 10px rgba(0,0,0,0.1) !important;
    padding: 30px 25px !important;
}

/* O Título */
.swal2-title.elite-notice-title {
    color: #2c3e50 !important;
    font-family: 'Montserrat', sans-serif !important; /* Usando a sua fonte padrão */
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px !important;
}

/* O Texto da Mensagem */
.swal2-html-container.elite-notice-content {
    color: #475569 !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    font-weight: 500;
}

/* O Botão de Confirmação */
.swal2-confirm.elite-notice-btn {
    border-radius: 30px !important; /* Formato de pílula */
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 12px 35px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra suave no botão */
    transition: all 0.3s ease;
}

.swal2-confirm.elite-notice-btn:hover {
    transform: translateY(-2px); /* Ligeiro efeito de levantar ao passar o rato */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- ARTE: CAIXA DE AVISO PERGAMINHO ELITE --- */
.swal2-popup.elite-notice-box {
    background-color: #fdfbf7 !important; /* Tom de papel marfim */
    /* Textura sutil de fibra de papel em SVG */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/g%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E") !important;
    
    /* Moldura elegante: borda dourada superior e sombra de profundidade */
    border-top: 6px solid #d4af37 !important; 
    border-bottom: 2px solid #e2e8f0 !important;
    border-radius: 4px !important; /* Cantos menos arredondados para parecer papel cortado */
    
    /* Sombras em camadas para efeito 3D real */
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.11), 
        0 2px 2px rgba(0,0,0,0.11), 
        0 4px 4px rgba(0,0,0,0.11), 
        0 8px 8px rgba(0,0,0,0.11), 
        0 16px 16px rgba(0,0,0,0.11) !important;
}

/* Título com Serif para ar de 'Documento' */
.elite-notice-title {
    color: #2c3e50 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px !important;
}