/* ========================================
   Dra. Cristiane Coelho - Premium Clinic Theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0b2b47;
    --secondary-color: #2b6cb0;
    --accent-color: #d2a548;
    --accent-soft: #f6ecda;
    --text-dark: #243647;
    --text-light: #607287;
    --bg-white: #ffffff;
    --bg-light: #f5f8fb;
    --bg-cream: #fbf8f2;
    --whatsapp: #25d366;
    --border-soft: rgba(20, 45, 74, 0.08);
    --shadow-soft: 0 18px 40px rgba(11, 43, 71, 0.08);
    --shadow-hover: 0 25px 50px rgba(43, 108, 176, 0.16);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 10px 25px rgba(43, 108, 176, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 43, 71, 0.3);
}

.btn-outline {
    border-color: rgba(43, 108, 176, 0.25);
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--bg-white);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.3);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 12px;
    color: var(--accent-color);
}

.pulse-anim {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.header.scrolled {
    padding: 4px 0;
    box-shadow: 0 10px 30px rgba(9, 25, 47, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo img {
    height: 64px;
    transition: var(--transition);
    object-fit: contain;
}

.header.scrolled .logo img {
    height: 54px;
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

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

.btn-mobile-only {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-text-contrast,
.section-title-contrast {
    color: var(--bg-white);
}

.section-subtitle-contrast {
    color: #f3d79b;
}

.hero {
    position: relative;
    padding: 158px 0 88px;
    min-height: 96vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(210, 165, 72, 0.18), transparent 28%),
        linear-gradient(135deg, #edf4fa 0%, #ffffff 48%, #f8f5ef 100%);
}

.hero-bg-shape {
    position: absolute;
    top: -8%;
    right: -5%;
    width: 44%;
    height: 90%;
    background: linear-gradient(180deg, rgba(43, 108, 176, 0.12), rgba(210, 165, 72, 0.08));
    border-radius: 40% 60% 50% 50%;
    filter: blur(18px);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(43, 108, 176, 0.08);
    color: var(--secondary-color);
    border: 1px solid rgba(43, 108, 176, 0.15);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: clamp(2.9rem, 5vw, 4.3rem);
    margin-bottom: 20px;
    max-width: 680px;
}

.hero-content p {
    font-size: 1.08rem;
    color: var(--text-light);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

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

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(43, 108, 176, 0.08);
}

.hero-features i {
    color: var(--accent-color);
}

.image-wrapper {
    position: relative;
}

.image-wrapper > img {
    border-radius: 28px 28px 32px 120px;
    box-shadow: var(--shadow-soft);
    border: 10px solid rgba(255, 255, 255, 0.88);
    max-height: 680px;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.floating-card {
    position: absolute;
    bottom: 28px;
    left: -26px;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatY 4s ease-in-out infinite;
    max-width: 260px;
}

.floating-card i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.floating-card span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.35;
}

.hero-side-note {
    position: absolute;
    top: 26px;
    right: -26px;
    width: 220px;
    background: rgba(11, 43, 71, 0.94);
    color: var(--bg-white);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow-hover);
}

.hero-side-note img {
    border-radius: 16px;
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 12px;
}

.hero-side-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.hero-side-note span {
    display: block;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.media-section,
.signature,
.cases,
.testimonials {
    padding: 96px 0;
}

.about,
.services {
    padding: 104px 0;
}

.media-grid,
.about-grid,
.signature-grid,
.test-grid {
    display: grid;
    gap: 60px;
    align-items: center;
}

.media-grid,
.about-grid {
    grid-template-columns: 1fr 1fr;
}

.signature-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.media-text p,
.about-text p,
.signature-content p {
    color: var(--text-light);
    font-size: 1.03rem;
}

.media-text p,
.signature-content p {
    margin-bottom: 22px;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.podcast-wrapper {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.podcast-img {
    width: 100%;
    transition: transform 0.6s ease;
    display: block;
}

.podcast-wrapper:hover .podcast-img {
    transform: scale(1.04);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    min-height: 540px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    right: -20px;
    background: rgba(11, 43, 71, 0.95);
    color: var(--bg-white);
    padding: 22px 24px;
    border-radius: 20px;
    text-align: left;
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--accent-color);
    max-width: 250px;
}

.about-badge h3 {
    color: var(--bg-white);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.signature-visual {
    position: relative;
}

.signature-collage {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: stretch;
}

.collage-card {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    background: var(--bg-white);
}

.collage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.collage-main {
    grid-row: span 2;
    min-height: 620px;
}

.collage-top {
    min-height: 300px;
}

.collage-bottom {
    min-height: 300px;
}

.signature-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 28px 0 30px;
}

.signature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
}

.signature-list i {
    color: var(--accent-color);
    margin-top: 4px;
}

.signature-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(210, 165, 72, 0.12), rgba(43, 108, 176, 0.08));
    border: 1px solid rgba(43, 108, 176, 0.1);
}

.signature-note i {
    color: var(--accent-color);
    font-size: 1.35rem;
    margin-top: 3px;
}

.signature-note p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 0.98rem;
}

.services {
    background:
        linear-gradient(180deg, rgba(245, 248, 251, 0.94), rgba(245, 248, 251, 1)),
        var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(43, 108, 176, 0.18);
}

.service-img {
    height: 280px;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

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

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

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

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

.case-item {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: var(--bg-white);
    border: 1px solid var(--border-soft);
}

.case-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.case-item:hover img {
    transform: scale(1.02);
}

.disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #8a95a3;
    margin-top: 30px;
}

.testimonials {
    background:
        radial-gradient(circle at top right, rgba(210, 165, 72, 0.2), transparent 24%),
        linear-gradient(135deg, var(--primary-color) 0%, #15416b 100%);
    color: var(--bg-white);
}

.test-grid {
    grid-template-columns: 1fr 2fr;
}

.print-chat img {
    max-width: 350px;
    border-radius: 22px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.08);
}

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

.video-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-caption {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-white);
}

footer {
    background-color: #07172a;
    color: #94a3b8;
    padding: 78px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 78px;
    margin-bottom: 20px;
    object-fit: contain;
}

.brand-col p {
    margin-bottom: 20px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--bg-white);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-col i {
    color: var(--accent-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #64748b;
}

.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulseWa 2s infinite;
}

.float-wa:hover {
    transform: scale(1.1);
}

@keyframes pulseWa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

@media (max-width: 1150px) {
    .hero-grid,
    .media-grid,
    .about-grid,
    .signature-grid,
    .test-grid {
        gap: 40px;
    }

    .hero-side-note {
        right: 0;
    }

    .floating-card {
        left: 0;
    }
}

@media (max-width: 991px) {
    .hero-grid,
    .media-grid,
    .about-grid,
    .signature-grid,
    .test-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 136px;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .image-wrapper {
        max-width: 620px;
        margin: 0 auto;
    }

    .floating-card {
        left: 20px;
        bottom: 18px;
        animation: none;
    }

    .hero-side-note {
        right: 20px;
        top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        border-left: 2px solid var(--secondary-color);
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-items: flex-start;
    }

    .nav-menu a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    .btn-mobile-only {
        display: block;
        margin-top: 30px;
        text-align: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .hero-content h1 {
        font-size: 2.45rem;
    }

    .hero-features div {
        width: 100%;
        justify-content: center;
    }

    .image-wrapper > img {
        border-radius: 24px;
        max-height: none;
    }

    .hero-side-note {
        position: static;
        width: 100%;
        margin-top: 16px;
    }

    .floating-card {
        position: static;
        max-width: none;
        margin-top: 16px;
    }

    .about-badge {
        position: static;
        max-width: none;
        margin-top: 18px;
    }

    .about-image img {
        min-height: auto;
    }

    .collage-main,
    .collage-top,
    .collage-bottom {
        min-height: auto;
    }

    .signature-collage {
        grid-template-columns: 1fr;
    }

    .cases-grid,
    .video-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
