/* VARIÁVEIS DE SISTEMA — TEMA CLARO DERMATOLOGIA */
:root {
    --cor-primaria: #dbbfdb;
    --cor-primaria-hover: #c8a6c8;
    --cor-secundaria: #34495e;
    --cor-secundaria-hover: #243342;
    --cor-fundo: #ffffff;
    --cor-fundo-alt: #f8f6f8;
    --cor-fundo-card: #ffffff;
    --cor-texto: #2c3e50;
    --cor-texto-suave: #546e7a;
    --cor-borda: rgba(52, 73, 94, 0.12);
    --cor-destaque: #34495e;
    --fonte-principal: 'Montserrat', sans-serif;
    --fonte-destaque: 'Lobster', cursive;
    --container-max: 1200px;
    --header-height: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    font-family: var(--fonte-principal);
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
    scroll-behavior: smooth;
}

main, section, footer {
    max-width: 100% !important;
    overflow-x: clip !important;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* REGRAS DE TIPOGRAFIA */
h1, h2, h3, h4 {
    color: var(--cor-secundaria) !important;
    font-weight: 600;
    line-height: 1.25;
}

p {
    color: var(--cor-texto-suave);
    overflow-wrap: anywhere;
}

.destaque-texto {
    color: var(--cor-secundaria);
    background: linear-gradient(120deg, rgba(219, 191, 219, 0.4), transparent);
    padding: 0 6px;
    border-radius: 4px;
}

.badge-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f0e4f0;
    color: var(--cor-secundaria);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.secao-cabecalho {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.secao-titulo {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.secao-subtitulo {
    font-size: 1.05rem;
}

/* BOTÕES COM WCAG AAA CONTRASTE NÍTIDO */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* BOTÃO PRIMÁRIO: Usando tom escuro elegante para sustentar texto branco legível */
.btn-primario {
    background-color: var(--cor-secundaria);
    color: #ffffff !important;
}

.btn-primario:hover {
    background-color: var(--cor-secundaria-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(52, 73, 94, 0.25);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--cor-secundaria);
    color: var(--cor-secundaria) !important;
}

.btn-outline:hover {
    background-color: var(--cor-secundaria);
    color: #ffffff !important;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(52, 73, 94, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(52, 73, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 73, 94, 0); }
}

/* HEADER & NAVBAR */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cor-borda);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo-nome {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cor-secundaria);
}

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

.nav-link {
    text-decoration: none;
    color: var(--cor-texto);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--cor-secundaria);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-nav-desktop {
    height: 40px;
    padding: 8px 18px;
    font-size: 0.85rem;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap !important;
}

.btn-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: rgba(52, 73, 94, 0.05);
    border: 1.5px solid var(--cor-borda);
    border-radius: 10px;
    cursor: pointer;
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--cor-secundaria);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-cta-box {
    display: none;
    margin-top: 20px;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.hero-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 246, 248, 0.88) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-pulsante {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cor-secundaria);
    margin-bottom: 20px;
}

.pulsante-dot {
    width: 8px;
    height: 8px;
    background-color: #27ae60;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    animation: dotPulse 1.6s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(39, 174, 96, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); }
}

.hero-titulo {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-subtitulo {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-botoes {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-pilulas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pilula-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cor-secundaria);
    background-color: #f0e4f0;
    padding: 4px 12px;
    border-radius: 20px;
}

.hero-card-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 4px solid #ffffff;
}

.hero-card-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.badge-top {
    top: 20px;
    right: 20px;
}

.badge-bottom {
    bottom: 20px;
    left: 20px;
}

.badge-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cor-secundaria);
}

.badge-sub {
    font-size: 0.75rem;
    color: var(--cor-texto-suave);
}

.badge-stars {
    color: #f39c12;
    font-size: 0.9rem;
}

/* ESTATÍSTICAS */
.estatisticas-section {
    background-color: var(--cor-fundo-alt);
    padding: 40px 0;
    border-bottom: 1px solid var(--cor-borda);
}

.estatisticas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-numero {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cor-secundaria);
}

.stat-descricao {
    font-size: 0.85rem;
    font-weight: 500;
}

/* SOBRE A DRA. JOANA */
.sobre-section {
    padding: 90px 0;
}

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

.sobre-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.sobre-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.sobre-exp-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--cor-secundaria);
    color: #ffffff;
    padding: 16px 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-anos {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.exp-lbl {
    font-size: 0.75rem;
    text-align: center;
}

.sobre-desc {
    margin-bottom: 16px;
}

.sobre-pontos-list {
    list-style: none;
    margin-top: 20px;
}

.sobre-pontos-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--cor-texto);
}

.sobre-pontos-list stroke {
    color: var(--cor-secundaria);
}

/* DIFERENCIAIS VISUAIS */
.diferenciais-section {
    background-color: var(--cor-fundo-alt);
    padding: 90px 0;
}

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

.dif-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}

.dif-card:hover {
    transform: translateY(-6px);
}

.dif-foto-thumb {
    position: relative;
    height: 180px;
}

.dif-foto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dif-icone-badge {
    position: absolute;
    bottom: -18px;
    right: 18px;
    width: 42px;
    height: 42px;
    background: var(--cor-secundaria);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dif-body {
    padding: 24px 20px 20px;
}

.dif-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.dif-body p {
    font-size: 0.85rem;
}

/* PARALLAX BANNER */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.parallax-overlay {
    position: relative;
    width: 100%;
    height: auto;
    background: rgba(52, 73, 94, 0.85);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.parallax-content h2 {
    color: #ffffff !important;
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.parallax-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 30px;
}

/* TRATAMENTOS / SERVIÇOS */
.tratamentos-section {
    padding: 90px 0;
}

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

.card-item {
    background-color: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.card-item:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
}

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

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cor-secundaria);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tempo {
    font-size: 0.8rem;
    color: var(--cor-texto-suave);
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* GALERIA VISUAL */
.galeria-section {
    background-color: var(--cor-fundo-alt);
    padding: 90px 0;
}

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

.galeria-item {
    position: relative;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(44, 62, 80, 0.9) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.galeria-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cor-primaria);
}

.galeria-overlay h4 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.galeria-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

/* SIMULADOR DE AGENDAMENTO */
.simulador-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.simulador-overlay {
    position: relative;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.92);
    padding: 90px 0;
}

.simulador-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid var(--cor-borda);
}

.simulador-info h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.simulador-beneficios {
    list-style: none;
    margin-top: 24px;
}

.simulador-beneficios li {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--cor-texto);
}

.simulador-form .form-group {
    margin-bottom: 20px;
}

.simulador-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--cor-secundaria);
}

.simulador-form input,
.simulador-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cor-borda);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.simulador-form input:focus,
.simulador-form select:focus {
    border-color: var(--cor-secundaria);
}

/* DEPOIMENTOS */
.depoimentos-section {
    padding: 90px 0;
}

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

.depoimento-card {
    background-color: var(--cor-fundo-alt);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.dep-estrelas {
    color: #f39c12;
    margin-bottom: 14px;
}

.dep-texto {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.dep-autor {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dep-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.dep-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.dep-info span {
    font-size: 0.8rem;
    color: var(--cor-texto-suave);
}

/* FAQ ACCORDION */
.faq-section {
    background-color: var(--cor-fundo-alt);
    padding: 90px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--cor-borda);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-pergunta {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--cor-secundaria);
    cursor: pointer;
}

.faq-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.ativo .faq-icon {
    transform: rotate(45deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.ativo .faq-resposta {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* CTA FINAL */
.cta-final-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.cta-final-overlay {
    position: relative;
    width: 100%;
    height: auto;
    background: rgba(52, 73, 94, 0.9);
    padding: 90px 0;
    color: #ffffff;
    text-align: center;
}

.cta-final-container h2 {
    color: #ffffff !important;
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-final-container p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* RODAPÉ & MAPAS */
.site-footer {
    background-color: #243342;
    color: #ffffff;
    padding-top: 60px;
}

.site-footer p {
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-title {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-info-list {
    list-style: none;
}

.footer-info-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-maps-wrapper {
    background: #1a252f;
    padding: 50px 0;
}

.maps-header {
    text-align: center;
    margin-bottom: 24px;
}

.maps-header h3 {
    color: #ffffff !important;
    font-size: 1.8rem;
}

.maps-header p {
    color: #cbd5e1;
}

.maps-frame-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* BOTÃO WHATSAPP FLUTUANTE COM CONTRASTE AAA OBRIGATÓRIO */
.whatsapp-flutuante {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #052e16 !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.05);
}

/* ANIMAÇÃO SCROLL REVEAL MANDATÓRIA */
.reveal, .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.ativo, .reveal.is-visible, .reveal-item.ativo, .reveal-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* RESPONSIVIDADE MOBILE & TABLET (BREAKPOINT BREAK 1080px & 768px) */
@media (max-width: 1080px) {
    .btn-menu-toggle {
        display: flex;
    }

    .btn-nav-desktop {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 30px 24px;
        display: flex;
        flex-direction: column;
        transition: right 0.35s ease;
        z-index: 1001;
    }

    .nav-menu.ativo {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-cta-box {
        display: block;
    }

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container,
    .sobre-grid,
    .diferenciais-grid,
    .servicos-grid,
    .galeria-grid,
    .simulador-box,
    .depoimentos-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px;
    }

    .hero-titulo {
        font-size: 2rem;
    }

    .hero-card-img {
        height: 320px;
    }

    .estatisticas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }

    .whatsapp-flutuante {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-texto {
        display: none !important;
    }
}
