/* =====================================
   VARIÁVEIS
===================================== */

:root {

    --primary: #3b817b;
    --primary-dark: #28655f;

    --secondary: #dcefeb;

    --background: #f7faf9;
    --white: #ffffff;

    --text: #203331;
    --muted: #687a77;

    --border: #e1eae7;

    --dark: #183f3b;

    --shadow:
        0 20px 50px rgba(32, 51, 49, 0.10);

    --radius: 22px;

    --container: 1120px;
}


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

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


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    color: var(--text);

    background:
        var(--background);

    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


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


button,
input,
select,
textarea {
    font-family: inherit;
}


/* =====================================
   CONTAINER
===================================== */

.container {

    width:
        min(
            calc(100% - 40px),
            var(--container)
        );

    margin-inline: auto;
}


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

.header {

    position: absolute;

    width: 100%;

    top: 0;
    left: 0;

    z-index: 100;

    padding: 22px 0;
}


.nav {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 1rem;

    line-height: 1.1;
}


.logo strong {
    display: block;
    font-size: 1.15rem;
}


.logo-icon {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    background: var(--primary);

    color: white;

    border-radius: 12px;

    font-size: 1.5rem;

    font-weight: 700;
}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 28px;

    color: #48605c;

    font-size: .92rem;
}


.nav-menu a {

    transition: .2s ease;
}


.nav-menu a:hover {

    color: var(--primary);
}


.btn {

    display: inline-flex;

    justify-content: center;
    align-items: center;

    border: none;

    cursor: pointer;

    padding: 15px 23px;

    border-radius: 12px;

    background: var(--primary);

    color: white;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(59, 129, 123, .20);
}


.btn-small {

    padding: 11px 17px;

    border-radius: 999px;

    font-size: .86rem;
}


.btn-outline {

    background: white;

    color: var(--text);

    border: 1px solid var(--border);

    box-shadow: none;
}


.btn-outline:hover {

    background: white;

    color: var(--primary);
}


.menu-toggle {

    display: none;

    border: none;

    background: none;

    font-size: 1.5rem;

    cursor: pointer;
}


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

.hero {

    min-height: 720px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 85% 30%,
            rgba(59,129,123,.16),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #edf7f5,
            #f7faf9 60%,
            #e5f1ee
        );
}


.hero::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    right: -220px;
    bottom: -260px;

    background:
        rgba(59,129,123,.08);
}


.hero-content {

    display: grid;

    grid-template-columns:
        1.1fr
        .9fr;

    gap: 80px;

    align-items: center;

    padding-top: 60px;

    position: relative;

    z-index: 1;
}


.eyebrow {

    display: inline-block;

    padding: 7px 13px;

    border-radius: 999px;

    background: white;

    color: var(--primary-dark);

    border:
        1px solid
        rgba(59,129,123,.15);

    font-size: .78rem;

    font-weight: 800;

    margin-bottom: 20px;
}


.hero h1 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    line-height: 1.03;

    letter-spacing: -.045em;

    margin-bottom: 25px;
}


.hero h1 span {

    display: block;

    color: var(--primary);
}


.hero p {

    max-width: 590px;

    font-size: 1.08rem;

    color: var(--muted);

    margin-bottom: 30px;
}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.hero-info {

    display: flex;

    gap: 35px;

    margin-top: 45px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(32,51,49,.10);
}


.hero-info div {

    display: flex;

    flex-direction: column;
}


.hero-info strong {

    font-size: 1.1rem;
}


.hero-info span {

    color: var(--muted);

    font-size: .78rem;
}


/* HERO IMAGE */

.hero-image {

    position: relative;
}


.image-placeholder {

    min-height: 500px;

    border-radius: 32px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 15px;

    color: var(--primary-dark);

    background:

        linear-gradient(
            145deg,
            #c9e3de,
            #eaf5f2
        );

    box-shadow:
        var(--shadow);
}


.doctor-icon {

    width: 100px;
    height: 100px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,.65);

    font-size: 3rem;
}


.image-placeholder > span {

    font-size: .8rem;

    opacity: .65;
}


.floating-card {

    position: absolute;

    left: -30px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 18px;

    background: white;

    border-radius: 16px;

    box-shadow:
        var(--shadow);
}


.floating-icon {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-weight: 800;
}


.floating-card strong,
.floating-card span {

    display: block;
}


.floating-card strong {

    font-size: .8rem;
}


.floating-card span {

    font-size: .7rem;

    color: var(--muted);
}


/* =====================================
   SECTIONS
===================================== */

.section {

    padding: 100px 0;
}


.section-header {

    max-width: 650px;

    margin-bottom: 45px;
}


.section-label {

    display: block;

    color: var(--primary);

    text-transform: uppercase;

    letter-spacing: .13em;

    font-size: .72rem;

    font-weight: 900;

    margin-bottom: 10px;
}


.section-header h2,
.about-text h2,
.contact-info h2 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            2.2rem,
            4vw,
            3.3rem
        );

    line-height: 1.1;

    letter-spacing: -.035em;

    margin-bottom: 15px;
}


.section-header p,
.contact-info > p {

    color: var(--muted);
}


/* =====================================
   SPECIALTIES
===================================== */

.specialties {

    background: white;
}


.cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.service-card {

    padding: 30px;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    background: white;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow:
        var(--shadow);
}


.service-icon {

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: 1.35rem;

    margin-bottom: 22px;
}


.service-card h3 {

    margin-bottom: 10px;

    font-size: 1.15rem;
}


.service-card p {

    color: var(--muted);

    font-size: .92rem;

    margin-bottom: 20px;
}


.service-card a {

    color: var(--primary);

    font-weight: 800;

    font-size: .85rem;
}


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

.about {

    background: var(--background);
}


.about-grid {

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    gap: 80px;

    align-items: center;
}


.about-image {

    position: relative;
}


.clinic-placeholder {

    min-height: 450px;

    padding: 40px;

    border-radius: 30px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    color: white;

    background:

        linear-gradient(
            145deg,
            #477f79,
            #b5d5d0
        );

    box-shadow:
        var(--shadow);
}


.clinic-placeholder span {

    font-size: .75rem;

    text-transform: uppercase;

    letter-spacing: .1em;
}


.clinic-placeholder strong {

    max-width: 300px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 2rem;

    line-height: 1.1;

    margin-top: 8px;
}


.experience-card {

    position: absolute;

    right: -25px;

    bottom: 25px;

    padding: 20px;

    background: white;

    border-radius: 17px;

    box-shadow:
        var(--shadow);
}


.experience-card strong {

    display: block;

    color: var(--primary);

    font-size: 2rem;
}


.experience-card span {

    display: block;

    max-width: 110px;

    color: var(--muted);

    font-size: .75rem;

    line-height: 1.3;
}


.about-text p {

    color: var(--muted);

    margin-bottom: 18px;
}


.check-list {

    list-style: none;

    display: grid;

    gap: 13px;

    margin-top: 28px;
}


.check-list li {

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 700;

    font-size: .92rem;
}


.check-list span {

    width: 25px;
    height: 25px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--secondary);

    color: var(--primary-dark);

    font-size: .75rem;
}


/* =====================================
   TESTIMONIAL
===================================== */

.testimonial {

    padding: 100px 0;

    background: var(--dark);

    color: white;
}


.testimonial-content {

    max-width: 850px;

    margin-inline: auto;

    text-align: center;
}


.testimonial .section-label {

    color: #a7d6cf;
}


.quote {

    font-family:
        Georgia,
        serif;

    font-size: 5rem;

    line-height: .6;

    color: #8cc6be;

    margin: 35px 0 20px;
}


blockquote {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            1.5rem,
            3vw,
            2.3rem
        );

    line-height: 1.35;

    letter-spacing: -.02em;
}


.patient {

    display: flex;

    flex-direction: column;

    margin-top: 25px;

    font-size: .85rem;
}


.patient span {

    color: #a9c4c0;
}


/* =====================================
   CONTACT
===================================== */

.contact {

    background: white;
}


.contact-grid {

    display: grid;

    grid-template-columns:
        .9fr
        1.1fr;

    gap: 80px;

    align-items: start;
}


.contact-info > p {

    max-width: 500px;

    margin-bottom: 30px;
}


.contact-details {

    display: grid;

    gap: 20px;

    margin-bottom: 30px;
}


.contact-item {

    display: flex;

    gap: 13px;

    align-items: flex-start;
}


.contact-icon {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    background: var(--secondary);

    flex-shrink: 0;
}


.contact-item strong,
.contact-item span {

    display: block;
}


.contact-item span {

    color: var(--muted);

    font-size: .84rem;
}


.whatsapp-button {

    display: inline-flex;

    padding: 13px 18px;

    border-radius: 11px;

    background: #25d366;

    color: white;

    font-weight: 800;

    font-size: .9rem;
}


/* FORM */

.form-wrapper {

    padding: 32px;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background: var(--background);

    box-shadow:
        0 15px 40px
        rgba(32,51,49,.05);
}


.form-header {

    margin-bottom: 25px;
}


.form-header h3 {

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 1.7rem;
}


.form-header p {

    color: var(--muted);

    font-size: .85rem;
}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}


.form-group {

    margin-bottom: 17px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    font-size: .8rem;

    font-weight: 800;
}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 13px 14px;

    border:
        1px solid
        var(--border);

    border-radius: 11px;

    background: white;

    color: var(--text);

    outline: none;

    transition:
        border .2s ease;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        var(--primary);
}


.form-group textarea {

    resize: vertical;

    min-height: 110px;
}


.form-button {

    width: 100%;
}


.privacy-note {

    display: block;

    text-align: center;

    margin-top: 12px;

    color: var(--muted);

    font-size: .7rem;
}


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

footer {

    background: #173c39;

    color: #d7e6e3;

    padding: 45px 0 20px;
}


.footer-content {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    gap: 30px;

    padding-bottom: 35px;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}


.footer-logo {

    color: white;
}


.footer-brand > p {

    color: #9fbab6;

    font-size: .8rem;

    margin-top: 12px;
}


.footer-links,
.social-links {

    display: flex;

    flex-direction: column;

    gap: 10px;

    font-size: .82rem;
}


.footer-links a,
.social-links a {

    color: #b4cbc7;

    transition: .2s ease;
}


.footer-links a:hover,
.social-links a:hover {

    color: white;
}


.copyright {

    padding-top: 20px;

    text-align: center;

    color: #8fa9a5;

    font-size: .7rem;
}


/* =====================================
   ANIMAÇÕES
===================================== */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal.active {

    opacity: 1;

    transform: translateY(0);
}


/* =====================================
   RESPONSIVO
===================================== */

@media (max-width: 950px) {

    .hero-content {

        grid-template-columns: 1fr;

    }


    .hero-image {

        display: none;

    }


    .hero {

        min-height: 680px;

    }


    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


@media (max-width: 750px) {

    .container {

        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }


    .nav-menu {

        position: absolute;

        top: 75px;

        left: 14px;
        right: 14px;

        padding: 20px;

        background: white;

        border-radius: 18px;

        box-shadow:
            var(--shadow);

        flex-direction: column;

        align-items: flex-start;

        display: none;
    }


    .nav-menu.active {

        display: flex;

    }


    .nav > .btn-small {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .hero {

        min-height: 720px;

    }


    .hero h1 {

        font-size: 3rem;

    }


    .hero-info {

        gap: 20px;

        flex-wrap: wrap;

    }


    .section {

        padding: 75px 0;

    }


    .cards {

        grid-template-columns: 1fr;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .form-wrapper {

        padding: 22px;

    }


    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .footer-links,
    .social-links {

        align-items: center;

    }


    .experience-card {

        right: 10px;

    }

}


@media (max-width: 450px) {

    .hero h1 {

        font-size: 2.55rem;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-info {

        display: grid;

        grid-template-columns:
            1fr 1fr;

    }

}