:root {
    --color-text: #1A1613;
    --color-muted: #5C534C;
    --color-accent: #A66E59;
    --color-accent-dark: #8C5B47;
    --color-accent-deeper: #734838;
    --color-bg: #FDFBF7;
    --color-soft: #F4EBE0;
    --color-soft-strong: #F1E4DA;
    --color-white: #FFFFFF;

    --font-body: "Inter", sans-serif;
    --font-title: "Playfair Display", serif;
    --font-signature: "Cormorant Garamond", serif;

    --text-small: 0.88rem;
    --text-base: 0.98rem;
    --text-medium: 1.05rem;
    --text-large: 1.1rem;

    --title-section: clamp(2rem, 3.2vw, 2.65rem);
    --title-hero: clamp(2.55rem, 4.45vw, 4.05rem);

    --section-padding: 100px 10%;
    --radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Evita que as secções fiquem escondidas pela navegação fixa */

section {
    scroll-margin-top: 100px;
}

/* ACESSIBILIDADE */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-text);
    outline-offset: 4px;
}

.nav a:focus-visible,
.btn:focus-visible {
    outline-color: var(--color-white);
}

/* NAVEGAÇÃO */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    padding: 0 8%;
    background: var(--color-accent-dark);
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-logo {
    font-family: var(--font-signature);
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav a {
    font-weight: 600;
    font-size: var(--text-small);
}

.nav ul a {
    position: relative;
}

.nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav ul a:hover::after,
.nav ul a:focus-visible::after {
    transform: scaleX(1);
}

/* ELEMENTOS GERAIS */

.kicker {
    font-size: 0.7rem;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 3.8px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 22px;
}

.btn {
    display: inline-block;
    background: var(--color-accent-dark);
    color: var(--color-white);
    padding: 17px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.93rem;
    transition: background 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--color-accent-deeper);
}

/* HERO */

.hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 155px 10% 105px;
    background: var(--color-soft);
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 940px;
}

.hero h1 {
    font-size: var(--title-hero);
    line-height: 1.1;
    letter-spacing: -1.3px;
    margin-bottom: 32px;
}

.hero h1 i {
    font-family: var(--font-title);
    font-style: italic;
}

.subtext {
    font-size: var(--text-large);
    color: #4C4641;
    margin-bottom: 46px;
}

/* ACOMPANHAMENTO TERAPÊUTICO */

.combined-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.combined-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.88fr 1fr;
    gap: 74px;
    align-items: center;
}

.image-block {
    position: relative;
    max-width: 430px;
    margin: 0 auto;
}

.photo-frame {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    z-index: 2;
    background: var(--color-soft);
}

.photo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(253, 251, 247, 0.08),
            rgba(166, 110, 89, 0.12)
        ),
        rgba(244, 235, 224, 0.14);
    pointer-events: none;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    filter: contrast(0.9) saturate(0.88) brightness(1.02);
}

.image-placeholder-accent {
    position: absolute;
    top: 22px;
    left: -22px;
    width: 100%;
    height: 520px;
    background: var(--color-soft);
    z-index: 1;
    border-radius: var(--radius);
}

.content-block {
    max-width: 590px;
}

.combined-section h2 {
    font-size: var(--title-section);
    line-height: 1.16;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.highlight-text {
    font-size: var(--text-large);
    color: var(--color-text);
    line-height: 1.75;
    margin-bottom: 24px;
}

.content-block p:not(.kicker):not(.highlight-text) {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 20px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* ATIVIDADE PROFISSIONAL */

.professional-section {
    padding: var(--section-padding);
    background: var(--color-soft);
}

.professional-container {
    max-width: 1080px;
    margin: 0 auto;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 56px;
}

.section-heading h2 {
    font-size: var(--title-section);
    line-height: 1.16;
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.professional-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 34px;
    align-items: start;
}

.professional-main {
    display: grid;
    gap: 26px;
}

.professional-block,
.areas-card,
.professional-note {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 34px;
}

.professional-block h3,
.areas-card h3 {
    font-family: var(--font-body);
    font-size: var(--text-medium);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 18px;
}

.professional-block p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 18px;
}

.professional-block p:last-child {
    margin-bottom: 0;
}

/* FORMAÇÕES */

.formation-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.formation-list span {
    display: block;
    padding: 15px 18px;
    background: var(--color-white);
    border-left: 4px solid var(--color-accent);
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* LISTA DE LOCAIS */

.places-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.places-list span {
    position: relative;
    display: block;
    padding-left: 20px;
    color: var(--color-text);
    font-size: 0.96rem;
    line-height: 1.5;
}

.places-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* ÁREAS */

.areas-card {
    position: sticky;
    top: 100px;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.areas-list span {
    display: inline-block;
    padding: 11px 15px;
    background: var(--color-soft-strong);
    border: 1px solid rgba(166, 110, 89, 0.16);
    border-radius: var(--radius);
    color: #3F3833;
    font-size: 0.9rem;
    line-height: 1.4;
}

.professional-note {
    margin-top: 34px;
    background: rgba(253, 251, 247, 0.72);
}

.professional-note p {
    max-width: 820px;
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-muted);
}

/* CONTACTO */

.contact {
    padding: 90px 6% 96px;
    background: var(--color-white);
}

.contact-card {
    max-width: 1080px;
    margin: 0 auto;
    background: var(--color-soft);
    padding: 52px 56px;
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 56px;
    align-items: start;
}

.contact h2 {
    font-size: var(--title-section);
    line-height: 1.16;
    margin-bottom: 24px;
    color: var(--color-text);
}

.contact-sub {
    max-width: 520px;
    margin-bottom: 38px;
    color: var(--color-muted);
    line-height: 1.8;
    font-size: var(--text-base);
}

.contact-details {
    display: grid;
    gap: 24px;
    padding-top: 8px;
}

.detail-item {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(166, 110, 89, 0.2);
}

.detail-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.6px;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-item strong {
    display: block;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-text);
    font-weight: 400;
}

.detail-item strong,
.detail-item a {
    overflow-wrap: anywhere;
}

.detail-item strong a {
    border-bottom: 1px solid rgba(166, 110, 89, 0.35);
}

.location-inline-btn {
    margin-top: 18px;
    padding: 12px 22px;
    border-bottom: none;
    font-size: 0.88rem;
}

/* RODAPÉ */

footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-bg);
    color: #8C827A;
    font-size: 0.82rem;
}

/* RESPONSIVO */

@media (max-width: 1100px) {

    .nav {
        padding: 0 6%;
    }

    .nav ul {
        gap: 22px;
    }

    .nav a {
        font-size: 0.84rem;
    }

}

@media (max-width: 992px) {

    .combined-grid,
    .professional-grid,
    .contact-card {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .image-block {
        max-width: 430px;
        margin: 0 auto;
    }

    .photo-frame,
    .image-placeholder-accent {
        height: 520px;
    }

    .areas-card {
        position: static;
    }

    .contact-details {
        padding-top: 0;
    }

}

@media (max-width: 768px) {

    :root {
        --title-hero: 2.45rem;
        --title-section: 2.05rem;
    }

    section {
        scroll-margin-top: 170px;
    }

    .nav {
        height: auto;
        padding: 18px 6%;
        flex-direction: column;
        gap: 16px;
    }

    .nav-logo {
        font-size: 1.58rem;
        white-space: normal;
        text-align: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 16px;
    }

    .nav a {
        font-size: 0.84rem;
    }

    .hero {
        padding: 165px 6% 84px;
    }

    .hero h1 {
        letter-spacing: -0.8px;
    }

    .subtext {
        font-size: 1rem;
    }

    .combined-section,
    .professional-section,
    .contact {
        padding: 82px 6%;
    }

    .photo-frame,
    .image-placeholder-accent {
        height: 440px;
    }

    .highlight-text {
        font-size: 1.04rem;
    }

    .professional-block,
    .areas-card,
    .professional-note,
    .contact-card {
        padding: 28px 24px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 480px) {

    :root {
        --title-hero: 2.25rem;
        --title-section: 1.95rem;
    }

    section {
        scroll-margin-top: 185px;
    }

    .kicker {
        letter-spacing: 3px;
    }

    .photo-frame,
    .image-placeholder-accent {
        height: 380px;
    }

}

/* RESPEITA A PREFERÊNCIA DE REDUÇÃO DE MOVIMENTO */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}