@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
    /* Cores Principais - Pastéis */
    --pastel-salmon: #FFD2CC;
    --pastel-salmon-light: #FFF2F0;
    --pastel-salmon-dark: #E89E95;
    
    --pastel-blue: #D4EBF8;
    --pastel-blue-light: #F2F8FC;
    --pastel-blue-dark: #8EBFDA;
    
    --pastel-yellow: #FFF4CC;
    --pastel-yellow-light: #FFFDF2;
    --pastel-yellow-dark: #E6D085;

    /* Cores de Fundo e Texto */
    --bg-main: #FAF7F2; /* Creme suave aconchegante */
    --bg-card: #FFFFFF;
    --text-dark: #2F3E46; /* Grafite azulado suave */
    --text-muted: #5C6B73;
    --white: #FFFFFF;
    
    /* Fontes */
    --font-title: 'Quicksand', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Bordas e Cantos (Absolutamente tudo arredondado) */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 50px;
    
    /* Sombras */
    --shadow-soft: 0 10px 35px rgba(47, 62, 70, 0.05);
    --shadow-hover: 0 20px 45px rgba(47, 62, 70, 0.12);
    --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.06);

    /* Transições */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customizado */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--pastel-salmon);
    border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pastel-salmon-dark);
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.3;
}

/* Classes Utilitárias */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-padding {
    padding: 100px 0;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background-color: var(--pastel-salmon);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--pastel-salmon-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--pastel-blue);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--pastel-blue-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Cabeçalho / Navbar */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.header.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px; /* Aumentado de 48px para 60px */
    width: auto;
    filter: brightness(0) opacity(0.85); /* Torna o logotipo branco em cinza-escuro elegante */
    transition: var(--transition);
}

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

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

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--pastel-salmon);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--pastel-salmon-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hamburguer Mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

/* Seção Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Fundo com a foto header.png ocupando o topo inteiro e fundindo no off-white */
    background: linear-gradient(to right, rgba(250, 247, 242, 1) 35%, rgba(250, 247, 242, 0.75) 48%, rgba(250, 247, 242, 0) 75%), url('header.png') no-repeat center right / cover;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--pastel-yellow);
    border-radius: var(--radius-pill);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #8A6D00;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.25;
}

.hero-title span {
    color: var(--pastel-salmon-dark);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

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

.hero-img-mobile-banner {
    display: none;
}

/* Seção Diferenciais (Clean, Editorial, Premium) */
.diferenciais {
    background-color: var(--white);
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--pastel-blue-light);
    color: #4A8CA6;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

.diferencial-card {
    background-color: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    border-top: 5px solid var(--pastel-salmon-dark);
}

.diferencial-card:nth-child(2) {
    border-top-color: var(--pastel-blue-dark);
}

.diferencial-card:nth-child(3) {
    border-top-color: var(--pastel-yellow-dark);
}

.diferencial-card:nth-child(4) {
    border-top-color: var(--pastel-salmon-dark);
}

.diferencial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.diferencial-number {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--pastel-salmon-dark);
    opacity: 0.45;
    margin-bottom: 15px;
}

.diferencial-card:nth-child(2) .diferencial-number {
    color: var(--pastel-blue-dark);
}

.diferencial-card:nth-child(3) .diferencial-number {
    color: var(--pastel-yellow-dark);
}

.diferencial-card:nth-child(4) .diferencial-number {
    color: var(--pastel-salmon-dark);
}

.diferencial-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.diferencial-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Seção Especialidades */
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.especialidade-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.especialidade-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.especialidade-card.card-puericultura:hover {
    border-color: var(--pastel-yellow);
}

.especialidade-card.card-autismo:hover {
    border-color: var(--pastel-salmon);
}

.especialidade-card.card-parto:hover {
    border-color: var(--pastel-blue);
}

.card-img-container {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.especialidade-card:hover .card-img {
    transform: scale(1.08);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.card-puericultura .card-icon {
    background-color: var(--pastel-yellow);
    color: #8A6D00;
}

.card-autismo .card-icon {
    background-color: var(--pastel-salmon);
    color: #B25A4E;
}

.card-parto .card-icon {
    background-color: var(--pastel-blue);
    color: #4A8CA6;
}

.especialidade-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.especialidade-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    border-top: 1px solid #F0ECE4;
    padding-top: 20px;
}

.card-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.card-feature-item i {
    color: #27AE60;
    font-size: 1rem;
}

/* Seção Sobre a Dra. Camila */
.sobre {
    background-color: var(--white);
}

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

.sobre-img-box {
    position: relative;
    display: flex;
    justify-content: center;
}

.sobre-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    border: 8px solid var(--white);
    background-color: var(--pastel-yellow-light);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.sobre-img-box:hover .sobre-img {
    transform: rotate(0deg) scale(1.02);
}

.sobre-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--pastel-yellow);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(4deg);
}

.sobre-badge span:first-child {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: #8A6D00;
}

.sobre-badge span:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sobre-content {
    display: flex;
    flex-direction: column;
}

.sobre-meta {
    display: flex;
    gap: 15px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--pastel-salmon-dark);
    margin-bottom: 25px;
}

.sobre-meta span {
    background-color: var(--pastel-salmon-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.sobre-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.sobre-text p strong {
    color: var(--text-dark);
}

.sobre-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sobre-badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
}

.sobre-badge-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.sobre-badge-text h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.sobre-badge-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Seção Consultório (Galeria) */
.consultorio {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    border: 6px solid var(--white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 62, 70, 0.4);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
    border-radius: calc(var(--radius-lg) - 6px);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.15rem;
    transform: translateY(15px);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* Tamanhos de grade assimétricos para visual premium */
.gallery-item.col-6 {
    grid-column: span 6;
    height: 380px;
}

.gallery-item.col-4 {
    grid-column: span 4;
    height: 300px;
}

.gallery-item.col-8 {
    grid-column: span 8;
    height: 300px;
}

/* Seção Depoimentos (Avaliações do Google) */
.depoimentos {
    background-color: var(--pastel-yellow-light);
    position: relative;
}

.depoimentos-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
}

.rating-stars {
    color: #F1C40F;
    display: flex;
    gap: 3px;
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.rating-logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 1.1rem;
}

.rating-logo span:first-child { color: #4285F4; }
.rating-logo span:nth-child(2) { color: #EA4335; }
.rating-logo span:nth-child(3) { color: #FBBC05; }
.rating-logo span:nth-child(4) { color: #34A853; }

.reviews-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    min-width: 100%;
    padding: 10px 20px;
}

.review-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(255, 244, 204, 0.5);
}

.review-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    color: var(--pastel-yellow);
    opacity: 0.5;
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--pastel-blue);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: var(--shadow-soft);
}

.review-meta-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.review-meta-info .rating-stars {
    font-size: 0.9rem;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--pastel-salmon);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(47, 62, 70, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--pastel-salmon-dark);
    width: 24px;
    border-radius: var(--radius-pill);
}

.depoimentos-cta {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* Seção Convênios e Particular */
.planos {
    background-color: var(--white);
}

.planos-card {
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.planos-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.planos-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.planos-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.planos-tag {
    background-color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.planos-info-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--pastel-blue);
}

.planos-info-box h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2F3E46;
}

.planos-info-box h4 i {
    color: #2980B9;
}

.planos-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.planos-info-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.planos-info-list li i {
    color: #27AE60;
    margin-top: 4px;
}

/* Seção FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #F0ECE4;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--pastel-salmon-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--pastel-salmon-dark);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: var(--white);
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Estado Ativo do FAQ */
.faq-item.active {
    box-shadow: var(--shadow-hover);
    border-color: var(--pastel-salmon);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--pastel-salmon);
    color: var(--text-dark);
}

/* Rodapé (Footer) */
.footer {
    background-color: #2F3E46;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 75px; /* Aumentado de 54px para 75px */
    width: auto;
    align-self: flex-start;
    filter: brightness(0) invert(1); /* Torna o logotipo 100% branco no rodapé escuro */
}

.footer-brand p {
    color: #B2BEC3;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--pastel-salmon);
    border-radius: var(--radius-pill);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links-list a {
    color: #B2BEC3;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--pastel-salmon);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    color: #B2BEC3;
    font-size: 0.95rem;
}

.footer-contact-list i {
    color: var(--pastel-salmon);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

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

.social-icon:hover {
    background-color: var(--pastel-salmon);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #B2BEC3;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-8px) scale(1.05);
    background-color: #20BA5A;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Lightbox para Galeria */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9);
    transition: var(--transition);
    border: 8px solid var(--white);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    background: var(--white);
    padding: 20px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-dark);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--pastel-salmon);
    transform: scale(1.1);
}

/* Animações de Scroll (Fade In e Slide Up) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsividade (Media Queries) */
@media (max-width: 1024px) {
    .sobre-grid,
    .planos-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .especialidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        padding-top: 150px;
        background-position: 80% center; /* Ajusta imagem do fundo para focar na médica */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .sobre-img-box {
        order: -1;
    }
    
    .gallery-item.col-6,
    .gallery-item.col-4,
    .gallery-item.col-8 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: calc(100% - 48px);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-hover);
        flex-direction: column;
        padding: 40px 24px;
        border-radius: var(--radius-lg);
        gap: 20px;
        transition: var(--transition);
        border: 1px solid rgba(240, 236, 228, 0.8);
    }
    
    .nav-menu.active {
        left: 24px;
    }
    
    .nav-cta {
        display: none; /* Oculta na barra do mobile, usaremos no menu flutuante */
    }
    
    .hero {
        background: var(--bg-main);
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 0;
        display: block;
    }
    
    .hero-content {
        max-width: 100%;
        padding-bottom: 40px;
    }
    
    .hero-img-mobile-banner {
        display: block;
        width: 100%;
        height: 320px;
        background: url('header.png') no-repeat 75% center / cover;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: var(--shadow-soft);
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .especialidades-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.col-6,
    .gallery-item.col-4,
    .gallery-item.col-8 {
        grid-column: span 12;
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .sobre-badges-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}
