/* =========================================================
   VARIABLES
========================================================= */

:root {
    --verde-bella: #80c13f;
    --verde-hover: #0f766e;
    --azul-bella: #0c466c;
    --azul-escuro: #1f2937;
    --titulo: #0f172a;
    --texto: #475569;
    --texto-claro: #64748b;
    --cinza-claro: #f8fafc;
    --branco: #ffffff;

    --shadow-sm: 0 10px 25px rgba(11, 74, 112, 0.08);
    --shadow-md: 0 15px 35px rgba(11, 74, 112, 0.12);
    --shadow-lg: 0 25px 60px rgba(11, 74, 112, 0.18);
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--titulo);
    background: var(--branco);
    line-height: 1.6;
}

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

section {
    padding: 90px 0;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}

/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    display: flex;
    align-items: center;
}

.logo-img img {
    height: 58px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

nav a {
    font-weight: 500;
    color: #374151;
    transition: 0.3s;
}

nav a:hover {
    color: var(--verde-bella);
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--verde-bella);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.6rem;
    cursor: pointer;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary {
    background: var(--verde-bella);
    color: white;
    box-shadow: 0 10px 25px rgba(128, 193, 63, 0.35);
}

.btn-primary:hover {
    background: var(--verde-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--azul-bella);
    color: white;
}

.btn-secondary:hover {
    background: var(--verde-hover);
    transform: translateY(-2px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 150px 0 90px;
    background: linear-gradient(135deg, #eff6ff, #f0fdfa);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--titulo);
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--verde-bella);
}

.hero p {
    font-size: 1.15rem;
    color: var(--texto);
    margin-bottom: 32px;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 32px;
}

.hero-image .doctor-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    display: block;
}

.badge {
    position: absolute;
    width: 70%;
    bottom: -25px;
    background: white;
    padding: 18px 24px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    color: var(--titulo);
    text-align: center;
}

/* =========================================================
   SECTION TITLE
========================================================= */

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

.section-title h2 {
    font-size: 2.4rem;
    color: var(--titulo);
    margin-bottom: 14px;
}

.section-title p {
    color: var(--texto-claro);
    max-width: 680px;
    margin: auto;
}

/* =========================================================
   ABOUT
========================================================= */

.about {
    background: var(--branco);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.3rem;
    color: var(--titulo);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--texto);
    margin-bottom: 18px;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--cinza-claro);
}

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

.card {
    background: white;
    padding: 32px;
    border-radius: 26px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 56px;
    height: 56px;
    background: #ccfbf1;
    color: var(--verde-hover);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

.pelvic-icon svg {
    width: 34px;
    height: 34px;
}

.card h3 {
    color: var(--titulo);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--texto-claro);
    font-size: 0.95rem;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits {
    background: linear-gradient(135deg, var(--verde-hover), #2563eb);
    color: white;
}

.benefits .section-title h2,
.benefits .section-title p {
    color: white;
}

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

.benefit {
    background: rgba(255, 255, 255, 0.13);
    padding: 28px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.benefit h3 {
    margin-bottom: 10px;
}

/* =========================================================
   AGREEMENTS / CONVÊNIOS
========================================================= */

.agreements {
    background: var(--branco);
    padding: 90px 0;
}

.agreement-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
}

.agreement-tab {
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--verde-bella);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.agreement-tab.active,
.agreement-tab:hover {
    background: var(--verde-hover);
    color: white;
}

.agreement-carousel {
    max-width: 780px;
    margin: 0 auto;
}

.agreement-slide {
    display: none;
    animation: fadeAgreement 0.4s ease;
}

.agreement-slide.active {
    display: block;
}

.agreement-slide img {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    background: white;
}

.agreements-city-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 40px auto 0;
}
.agreements-cta {
    padding: 10px;
    text-align: center;
}

.agreement-city-card {
    background: var(--cinza-claro);
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eaf2f6;
}

.agreement-city-card h3 {
    color: var(--azul-bella);
    margin-bottom: 18px;
    font-size: 1.3rem;
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
    background: var(--branco);
}

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

.testimonial {
    background: var(--cinza-claro);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* =========================================================
   LOCATION
========================================================= */

.location {
    background: var(--cinza-claro);
}

.location-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.location-info {
    background: white;
    padding: 36px;
    border-radius: 26px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.location-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
}

.location-tab {
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--verde-bella);
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.location-tab.active,
.location-tab:hover {
    background: var(--verde-hover);
    color: white;
}

.location-carousel {
    position: relative;
}

.location-slide {
    display: none;
    animation: fadeLocation 0.4s ease;
}

.location-slide.active {
    display: block;
}

iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 26px;
}

/* =========================================================
   CTA
========================================================= */

.cta {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    text-align: center;
}

.cta h2 {
    font-size: 2.6rem;
    color: var(--titulo);
    margin-bottom: 16px;
}

.cta p {
    color: var(--texto);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    background: var(--azul-escuro);
    color: white;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-unit {
    background: rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.footer-unit h3 {
    color: var(--branco);
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.footer-unit p {
    color: #dbeafe;
    line-height: 1.8;
    margin-bottom: 10px;
}

.hover_a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin: 40px auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1180px;
    width: 90%;
}

.footer-copy {
    text-align: right;
    color: #dbeafe;
}

.footer-social a {
    color: var(--branco);
    font-weight: 600;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--verde-bella);
}

.instagram-icon {
    color: var(--verde-bella);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.instagram-icon:hover {
    color: white;
    transform: translateY(-2px);
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    background: var(--verde-bella);
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeAgreement {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLocation {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    section {
        padding: 70px 0;
    }

    .navbar {
        height: 86px;
    }

    .logo-img img {
        height: 46px;
    }

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: absolute;
        top: 90px;
        left: 5%;
        width: 90%;
        background: white;
        border-radius: 22px;
        box-shadow: var(--shadow-lg);
        padding: 24px;
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 18px;
    }

    nav a {
        display: block;
        font-size: 1rem;
        padding: 10px 0;
    }

    .hero {
        padding-top: 125px;
    }

    .hero-content,
    .about-content,
    .location-box,
    .footer-grid,
    .agreements-city-cta {
        grid-template-columns: 1fr;
    }

    .cards,
    .benefit-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-image .doctor-img {
        max-width: 280px;
        margin: 0 auto;
    }

    .badge {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .agreement-carousel {
        max-width: 100%;
    }

    .agreement-slide img {
        border-radius: 22px;
        max-height: none;
    }

    .agreement-tabs,
    .location-tabs {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .btn {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}