/* =========================================
   ESTILO PREMIUM - DRA. ANA CLARA
   Tema: Marsala, Rose Gold & Nude (Sofisticado & Feminino)
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- PALETA DE CORES RENOVADA --- */
    --primary-color: #8E5B6D;    /* Marsala/Mauve Sofisticado (Cor principal) */
    --primary-dark: #6D4050;     /* Vinho profundo para contrastes */

    --secondary-color: #FDF6F7;  /* Nude Rosado (Fundo suave) */
    --accent-color: #C5A059;     /* Dourado Champanhe (Luxo) */
    --accent-hover: #B08D48;     /* Dourado mais escuro */

    --dark-purple: #5D3A46;      /* Tom escuro de vinho/terra */
    --light-pink: #FAF0F2;       /* Rosa muito pálido/Off-white quente */

    --text-dark: #4A4A4A;        /* Cinza Chumbo Suave */
    --text-light: #7A7A7A;       /* Cinza Médio */

    --bg-light: #FFFFFF;         /* Branco limpo */
    --white: #FFFFFF;

    --gold: #C5A059;             /* Mantendo compatibilidade com seu código */

    /* Sombras mais suaves e difusas (Estilo moderno) */
    --shadow: 0 10px 30px rgba(142, 91, 109, 0.08); 
    --shadow-lg: 0 20px 40px rgba(142, 91, 109, 0.15);

    --radius: 12px; /* Bordas arredondadas padrão */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 15px; }
.mt-5 { margin-top: 30px; }
.mb-3 { margin-bottom: 15px; }

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.header-contact {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.header-contact a, .header-contact span {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.header-contact a:hover { opacity: 0.8; color: var(--accent-color); }

nav { padding: 15px 0; }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    font-style: normal; /* Removi o itálico para modernizar */
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-menu a:hover { color: var(--primary-color); }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero {
    /* Imagem de fundo cobrindo tudo */
    background: linear-gradient(rgba(93, 58, 70, 0.7), rgba(93, 58, 70, 0.5)), 
                url('clinica/medica2.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll; /* Use 'fixed' se quiser efeito parallax */
    color: var(--white);
    padding: 140px 0; /* Mais espaço vertical para respirar */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh; /* Garante que ocupe boa parte da tela */
}

.hero-image {
    display: none; 
}

.hero-image img {
    width: 100%;                     /* Ocupa a largura disponível */
    max-width: 450px;                /* Limita o tamanho para não ficar gigante */
    height: auto;                    /* Mantém a proporção original (não estica) */
    border-radius: 12px;             /* Borda levemente arredondada (remove o corte em arco) */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.15);

    /* Garante que a imagem apareça inteira */
    object-fit: cover;               
    object-position: center top;     /* Foca no rosto/topo da imagem */
}

.hero-content {
    display: block; /* Removemos o grid de 2 colunas */
    max-width: 800px; /* Limita a largura do texto para não ficar muito esticado */
    margin: 0 auto; /* Centraliza o bloco de texto */
    text-align: center; /* Centraliza o texto */
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 56px;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Sombra para leitura */
}

.hero-text .subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    background: rgba(0,0,0,0.2); /* Fundo sutil atrás do subtítulo */
    padding: 5px 15px;
    border-radius: 50px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center; /* Centraliza os botões */
    flex-wrap: wrap;
}

.hero-badge {
    position: absolute;
    bottom: 40px;
    right: 40px; /* Fixado no canto inferior direito da tela */
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 140px;
    border-left: 4px solid var(--accent-color);
    z-index: 3;
}

/* Responsividade específica para este novo Hero */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        min-height: auto;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 40px auto 0;
        display: inline-block;
    }
}

/* Botões Premium */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #B08D48);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.3);
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B08D48, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--white);
    color: var(--primary-color);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 160px;
    border-left: 4px solid var(--accent-color);
}

.hero-badge .badge-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.hero-badge .badge-text {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- CARDS DE INFORMAÇÃO --- */
.info-cards-section {
    background: var(--secondary-color);
    padding: 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid var(--accent-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 30px;
    transition: all 0.3s;
}

.info-card:hover .info-card-icon {
    background: var(--primary-color);
    color: var(--accent-color);
}

.info-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}


/* --- SEÇÃO CONTATO  HOME (GLASSMORPHISM) --- */
.contact-modern-section {
    /* Fundo com gradiente suave e sofisticado */
    background: linear-gradient(135deg, #f5e7f3 0%, #ebedee 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Círculos de cor no fundo para dar o efeito de profundidade através do vidro */
.contact-modern-section::before,
.contact-modern-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

/* Círculo Marsala suave */
.contact-modern-section::before {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.1;
    top: -50px;
    left: -100px;
    filter: blur(60px);
}

/* Círculo Dourado suave */
.contact-modern-section::after {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    opacity: 0.15;
    bottom: -50px;
    right: -50px;
    filter: blur(50px);
}

/* O CARD DE VIDRO */
.glass-card {
    background: rgba(255, 255, 255, 0.7); /* Branco transparente */
    backdrop-filter: blur(20px); /* O desfoque mágico */
    -webkit-backdrop-filter: blur(20px); /* Para Safari */
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); /* Sombra difusa e leve */
    border-radius: 24px;
    padding: 60px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.glass-content h2 {
    font-size: 42px;
    margin: 20px 0;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.glass-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.badge-pill {
    background: rgba(142, 91, 109, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Grid de contatos lado a lado */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-color);
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.contact-item span {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Botão com "Glow" */
.btn-glow {
    background: var(--primary-color);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(142, 91, 109, 0.3); /* Sombra colorida */
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(142, 91, 109, 0.5);
    background: var(--primary-dark);
}

/* Responsividade */
@media (max-width: 768px) {
    .glass-card {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .glass-content h2 {
        font-size: 32px;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}


/* --- DEPOIMENTOS --- */
.testimonials-section {
    background: var(--secondary-color);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '“';
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.testimonial-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* --- ESTRUTURA DE PÁGINAS (SPA) --- */
.page-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-container.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

section { padding: 90px 0; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--accent-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 700;
    display: block;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.decorative-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto;
}

/* --- SOBRE A MÉDICA --- */
.about-hero {
    background: var(--white);
    padding: 100px 0 60px;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image-main img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.quote-box {
    background: var(--secondary-color);
    padding: 40px;
    border-left: 4px solid var(--accent-color);
    margin: 40px 0;
    box-shadow: none;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-box p {
    font-style: italic;
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1.6;
}

.quote-box .author {
    text-align: right;
    margin-top: 20px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.about-details h3 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-details .specialty {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 10px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--accent-color);
    transform: translateX(-50%);
    opacity: 0.5;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-date { grid-column: 1; text-align: right; }

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.3);
}

.timeline-date {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.timeline-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- CREDENCIAIS --- */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.credential-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid var(--accent-color);
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.credential-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* --- TRATAMENTOS & DOENÇAS --- */
.treatments-intro, .diseases-intro {
    background: var(--secondary-color);
    padding: 100px 0 60px;
}

.treatments-grid, .diseases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.treatment-card, .disease-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.treatment-card:hover, .disease-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.treatment-image, .disease-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: none;
}

.treatment-content, .disease-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.treatment-content h3, .disease-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.treatment-link, .disease-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    margin-top: auto;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.treatment-link:hover, .disease-link:hover { color: var(--accent-color); }

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta i { margin-right: 5px; color: var(--accent-color); }

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
    margin-top: auto;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.read-more:hover { color: var(--accent-color); }

/* --- ARTIGO INDIVIDUAL --- */
.article-page {
    background: var(--secondary-color);
    padding: 80px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 60px;
}

.article-header .article-category {
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.article-header h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-content-wrapper {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.article-content-wrapper h2 {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.article-content-wrapper p {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #00acee; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0e76a8; }

.share-btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* --- CONVÊNIOS --- */
.convenios-page-section {
    background: var(--white);
    padding: 60px 0;
}

.convenios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.convenio-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border: 1px solid #eee;
}

.convenio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.convenio-item img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.convenio-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- CONTATO COMPLETO --- */
.contact-full-section {
    background: var(--secondary-color);
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-side {
    background: linear-gradient(135deg, rgba(142, 91, 109, 0.95), rgba(93, 58, 70, 0.95)),
                url('https://i.imgur.com/contato-clinica.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px;
    color: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-side h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-side p { color: rgba(255,255,255,0.9); }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--white);
}

.contact-info-item i {
    font-size: 22px;
    color: var(--accent-color);
    margin-top: 3px;
}

.contact-form-side { padding: 50px; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--secondary-color);
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(142, 91, 109, 0.1);
    outline: none;
    background: var(--white);
}

.form-group button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group button:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

/* --- FOOTER --- */
footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 70px 0 30px;
    font-size: 15px;
    border-top: 5px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li i { color: var(--accent-color); }

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover { color: var(--accent-color); }

/* Força o container a ser uma linha horizontal */
.social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding: 0;
    list-style: none; /* Remove bolinhas se for lista */
}

/* Garante que os links/ícones não ocupem a linha toda */
.social-links a, 
.social-links li {
    display: inline-flex !important;
    width: auto !important;
    margin-bottom: 0 !important; /* Remove margem inferior que empilha */
}

/* Estilo das bolinhas dos ícones */
.social-links a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.whatsapp-float a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- ANIMAÇÕES --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- MEDIA QUERIES (RESPONSIVIDADE) --- */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; margin-bottom: 40px; }
    .hero-image img { width: 70%; max-width: 350px; }
    .hero-badge { position: static; margin: 20px auto 0; }
    .about-intro { grid-template-columns: 1fr; text-align: center; }
    .timeline::before { left: 20px; }
    .timeline-item { grid-template-columns: 1fr; gap: 20px; }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content { grid-column: 1; margin-left: 40px; }
    .timeline-item:nth-child(even) .timeline-date,
    .timeline-item:nth-child(odd) .timeline-date { grid-column: 1; text-align: left; margin-left: 40px; }
    .timeline-dot { left: 20px; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-top .container { justify-content: center; gap: 15px; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        border-radius: 0 0 15px 15px;
        z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-menu a { padding: 15px 0; display: block; }

    .hero { padding: 60px 0; }
    .hero-text h1 { font-size: 36px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

    .article-content-wrapper { padding: 30px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-section ul li { justify-content: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 32px; }
    .hero-image img { width: 90%; }
    .section-title h2 { font-size: 28px; }
    .article-header h1 { font-size: 28px; }
    .article-content-wrapper { padding: 20px; }
}
