/* ==========================================
   Isabela Marques — Psicóloga
   Paleta: bege + verde oliva
   ========================================== */

:root {
    --bg: #faf6f1;
    --bg-alt: #f0ebe3;
    --bg-card: #ffffff;
    --green: #6b7c5e;
    --green-dark: #556349;
    --green-light: #8a9c7c;
    --text: #3d3d3d;
    --text-muted: #7a7a7a;
    --text-light: #a0a0a0;
    --border: rgba(107, 124, 94, 0.12);
    --border-strong: rgba(107, 124, 94, 0.25);
    --shadow: 0 2px 20px rgba(107, 124, 94, 0.06);
    --shadow-hover: 0 8px 32px rgba(107, 124, 94, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: 1100px;
    --header-h: 72px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Common */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--green);
    color: #fff;
}

.btn--primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 124, 94, 0.3);
}

.btn--outline {
    border: 1.5px solid var(--green);
    color: var(--green);
    background: transparent;
}

.btn--outline:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(250, 246, 241, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled {
    background: rgba(250, 246, 241, 0.97);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-therapy {
    color: var(--text);
}

.logo-dot {
    color: var(--green);
}

.logo-m {
    color: var(--green);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green);
    transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
    color: var(--green);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--green);
    color: #fff !important;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* Menu mobile */
.header__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
    overflow: hidden;
    background: var(--bg);
}

.hero__decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__leaf {
    position: absolute;
    border-radius: 0 70% 0 70%;
    opacity: 0.06;
    background: var(--green);
}

.hero__leaf--1 {
    width: 300px;
    height: 300px;
    top: 8%;
    right: -5%;
    transform: rotate(-30deg);
    animation: leafFloat 14s ease-in-out infinite;
}

.hero__leaf--2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -3%;
    transform: rotate(45deg);
    animation: leafFloat 18s ease-in-out infinite reverse;
}

.hero__leaf--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 15%;
    transform: rotate(15deg);
    opacity: 0.04;
    animation: leafFloat 12s ease-in-out infinite 2s;
}

@keyframes leafFloat {
    0%, 100% { transform: rotate(var(--r, -30deg)) translate(0, 0); }
    50% { transform: rotate(var(--r, -30deg)) translate(15px, -20px); }
}

.hero__leaf--1 { --r: -30deg; }
.hero__leaf--2 { --r: 45deg; }
.hero__leaf--3 { --r: 15deg; }

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero__title em {
    font-style: italic;
    color: var(--green);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero__scroll {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--green), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==========================================
   SOBRE
   ========================================== */
.sobre {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.sobre__inner {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.sobre__foto {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-strong);
}

.sobre__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre__text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 300;
    text-align: justify;
}

.sobre__text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ÁREAS DE ATUAÇÃO
   ========================================== */
.areas {
    padding: 6rem 0;
    background: var(--bg);
}

.areas__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.area-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: all 0.35s ease;
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.area-card__icon {
    width: 48px;
    height: 48px;
    color: var(--green);
    margin-bottom: 1.25rem;
}

.area-card__icon svg {
    width: 100%;
    height: 100%;
}

.area-card__title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.area-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   COMO FUNCIONA (Accordion)
   ========================================== */
.processo {
    padding: 6rem 0;
    background: var(--bg);
}

.accordion {
    max-width: 720px;
    margin: 1rem auto 0;
}

.accordion__item {
    border-bottom: 1px solid var(--border);
}

.accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    text-align: left;
    transition: color 0.3s ease;
}

.accordion__header:hover {
    color: var(--green);
}

.accordion__number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--green);
    min-width: 2rem;
}

.accordion__title {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
}

.accordion__icon {
    width: 24px;
    height: 24px;
    color: var(--green);
    transition: transform 0.3s ease;
}

.accordion__icon svg {
    width: 100%;
    height: 100%;
}

.accordion__item--active .accordion__icon {
    transform: rotate(45deg);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 3rem;
}

.accordion__item--active .accordion__body {
    max-height: 200px;
    padding: 0 0 1.25rem 3rem;
}

.accordion__body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* ==========================================
   ABORDAGEM
   ========================================== */
.abordagem {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.abordagem__content > p {
    color: var(--text-muted);
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.abordagem__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.abordagem__pillar {
    padding: 2rem 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.abordagem__pillar-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--green);
    opacity: 0.4;
    display: block;
    margin-bottom: 0.75rem;
}

.abordagem__pillar h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.abordagem__pillar p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   AGENDAMENTO
   ========================================== */
.agendar {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.agendar .container {
    text-align: center;
}

.agendar__desc {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.contato__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

.contato__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s ease;
}

.contato__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-strong);
}

.contato__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.contato__card-icon--whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contato__card-icon--instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.contato__card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.contato__card-info {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.contato__card-action {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.02em;
    padding: 0.45rem 1.25rem;
    border: 1.5px solid var(--green);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contato__card:hover .contato__card-action {
    background: var(--green);
    color: #fff;
}

/* ==========================================
   CTA FINAL / VÍDEO
   ========================================== */
.cta-final {
    padding: 6rem 0;
    background: var(--bg);
}

.cta-final__inner {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.cta-final__content {
    flex: 1;
}

.cta-final__content p {
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-final__visual {
    flex-shrink: 0;
    width: 380px;
    height: 260px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-final__play-area {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cta-final__play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-final__play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(107, 124, 94, 0.3);
}

.cta-final__play-btn svg {
    margin-left: 3px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 3rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--green);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer__social a:hover {
    color: var(--green);
    border-color: var(--green);
    background: rgba(107, 124, 94, 0.06);
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 968px) {
    .areas__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .abordagem__pillars .abordagem__pillar:last-child {
        grid-column: 1 / -1;
    }

    .cta-final__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-final__visual {
        width: 100%;
        max-width: 420px;
    }

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

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .header__menu-btn {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(250, 246, 241, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

    .header__nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .nav__link {
        font-size: 1rem;
    }

    .hero {
        min-height: 90vh;
        padding-top: calc(var(--header-h) + 3rem);
    }

    .hero__title {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }

    .hero__leaf--1 {
        width: 200px;
        height: 200px;
    }

    .hero__leaf--2 {
        width: 140px;
        height: 140px;
    }

    .hero__leaf--3 {
        display: none;
    }

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

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

    .abordagem__pillars .abordagem__pillar:last-child {
        grid-column: auto;
    }

    .contato__cards {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .sobre__foto {
        width: 150px;
        height: 150px;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .cta-final__visual {
        height: 200px;
    }

    .accordion__body {
        padding-left: 0 !important;
    }

    .accordion__item--active .accordion__body {
        padding-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero__badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.25rem);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}
