:root {
    --cream: #FAF7F2;
    --blush: #E8D5C4;
    --rose: #C4866A;
    --deep: #3A2820;
    --white: #FFFFFF;
    --text: #4A3728;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    animation: floatPulse 2.5s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: white;
    flex-shrink: 0;
}

@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 48px rgba(37, 211, 102, 0.65);
    }
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 247, 242, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(196, 134, 106, 0.15);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--deep);
    letter-spacing: 0.03em;
}

.logo span {
    color: var(--rose);
    font-style: italic;
}

nav a {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    margin-left: 36px;
    opacity: 0.75;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 1;
}

.nav-cta {
    background: var(--rose) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    opacity: 1 !important;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: var(--deep) !important;
    transform: translateY(-1px);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px 80px 80px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 134, 106, 0.12);
    border: 1px solid rgba(196, 134, 106, 0.3);
    color: var(--rose);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 28px;
    width: fit-content;
    animation: fadeSlideIn 0.8s ease both;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--rose);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--deep);
    margin-bottom: 10px;
    animation: fadeSlideIn 0.9s 0.1s ease both;
}

.hero h1 em {
    font-style: italic;
    color: var(--rose);
    display: block;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text);
    opacity: 0.7;
    line-height: 1.7;
    max-width: 440px;
    margin: 24px 0 40px;
    animation: fadeSlideIn 1s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeSlideIn 1s 0.35s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--deep);
    padding: 16px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(58, 40, 32, 0.2);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.btn-secondary:hover {
    border-color: var(--rose);
    color: var(--rose);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(196, 134, 106, 0.2);
    animation: fadeSlideIn 1s 0.5s ease both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--rose);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    text-transform: uppercase;
}

.hero-right {
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s 0.2s ease both;
}

.hero-img-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-deco-circle {
    position: absolute;
    top: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: rotateSlow 20s linear infinite;
}

.hero-deco-circle::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.hero-overlay-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid rgba(196, 134, 106, 0.2);
    max-width: 240px;
}

.hero-overlay-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--deep);
    line-height: 1.5;
    opacity: 0.9;
}

.hero-overlay-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--rose);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 8px;
    font-style: normal;
}

/* SHARED */
section {
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rose);
    font-weight: 500;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: var(--deep);
    line-height: 1.15;
}

/* ESPECIALIDADES */
.especialidades {
    padding: 100px 80px;
    background: var(--white);
}

.esp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.esp-header-left {
    max-width: 500px;
}

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

.esp-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid rgba(196, 134, 106, 0.12);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.esp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--blush));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.esp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(196, 134, 106, 0.15);
    border-color: rgba(196, 134, 106, 0.25);
}

.esp-card:hover::before {
    transform: scaleX(1);
}

.esp-icon {
    width: 52px;
    height: 52px;
    background: rgba(196, 134, 106, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--rose);
}

.esp-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.esp-icon i {
    font-size: 24px;
    color: var(--rose);
}

.esp-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--deep);
    margin-bottom: 10px;
}

.esp-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    opacity: 0.68;
}

/* SOBRE */
.sobre {
    padding: 100px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--cream);
}

.sobre-img {
    position: relative;
    height: 560px;
}

.sobre-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 24px;
}

.credenciais {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rose);
    opacity: 0.8;
    margin-bottom: 16px;
}

.localizacao-info {
    background: rgba(232, 213, 196, 0.2);
    border-left: 3px solid var(--rose);
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.localizacao-info h4 {
    color: var(--deep);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.localizacao-info .endereco {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.8;
    margin: 0;
}

.credenciais-footer {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
}

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

.sobre-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.72;
}

.formacao-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.formacao-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    opacity: 0.8;
}

.formacao-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--rose);
    border-radius: 50%;
    flex-shrink: 0;
}

/* DEPOIMENTOS */
.depoimentos {
    padding: 100px 80px;
    background: var(--deep);
    color: white;
}

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

.dep-header .section-label {
    color: var(--blush);
}

.dep-header .section-title {
    color: white;
}

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

.dep-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.dep-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.stars {
    color: #FFD700;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.dep-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

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

.dep-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--blush));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.dep-name {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.dep-role {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 2px;
}

.dep-more-reviews {
    text-align: center;
    margin-top: 40px;
}

.reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--blush);
    padding: 14px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.reviews-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--blush);
    color: white;
    transform: translateY(-2px);
}

.reviews-btn svg {
    fill: currentColor;
}

/* CTA */
.cta-section {
    padding: 100px 80px;
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 134, 106, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 158, 140, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content .section-title {
    margin-bottom: 16px;
}

.cta-content .section-title em {
    font-style: italic;
    color: var(--rose);
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 40px;
}

.cta-localizacao {
    margin: 32px 0;
}

/* Opção 3: Design Split (Endereço + Mapa) */
.localizacao-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(58, 40, 32, 0.08);
    border: 1px solid rgba(196, 134, 106, 0.1);
}

.localizacao-split .endereco-text {
    text-align: left;
}

.localizacao-split .map-btn {
    background: var(--blush);
    color: var(--deep);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.localizacao-split .map-btn:hover {
    background: var(--rose);
    color: white;
    transform: translateY(-2px);
}

.localizacao-split h3 {
    color: var(--deep);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.endereco-detalhe {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.8;
    padding: 16px;
    background: rgba(232, 213, 196, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--rose);
}

.endereco-detalhe strong {
    color: var(--deep);
    font-weight: 600;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--whatsapp);
    color: white;
    padding: 20px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.25s;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.cta-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5);
}

.cta-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.cta-info {
    margin-top: 20px;
    font-size: 0.82rem;
    opacity: 0.55;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* FOOTER */
footer {
    background: var(--deep);
    color: rgba(255, 255, 255, 0.55);
    padding: 40px 80px 20px 80px;
    font-size: 0.82rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

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

.footer-column h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.footer-column a:hover {
    color: var(--blush);
    transform: translateY(-1px);
}

.footer-logo {
    flex: 1;
}

.footer-links {
    flex: 1;
}

.footer-contact {
    flex: 1;
}

.footer-social {
    flex: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--blush);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

footer .logo {
    color: white;
    font-size: 1.1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

footer a:hover {
    color: var(--blush);
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    footer {
        padding: 40px 28px 20px 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-column {
        gap: 16px;
        align-items: center;
    }

    .social-links {
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .social-links a {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 24px;
    }
}

/* ANIMATIONS */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

@media (max-width: 900px) {
    header {
        padding: 16px 24px;
    }

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 120px 28px 48px;
        order: 1;
    }

    .hero-right {
        height: 320px;
        order: 2;
    }

    .hero-stats {
        gap: 24px;
    }

    .especialidades, .sobre, .depoimentos, .cta-section {
        padding: 64px 28px 80px 28px;
    }

    .esp-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .esp-grid, .dep-grid {
        grid-template-columns: 1fr;
    }

    .sobre {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-img {
        height: 280px;
    }

    .sobre-badge {
        right: 10px;
        bottom: -10px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    .localizacao-split {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }

    .localizacao-split .endereco-text {
        text-align: center;
    }

    .endereco-detalhe {
        padding: 20px;
        font-size: 0.9rem;
    }

    .localizacao-split .map-btn {
        justify-content: center;
        width: 100%;
    }

    .dep-more-reviews {
        margin-top: 32px;
    }

    .reviews-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}