/* Patricia Rossi Terapeuta — Landing Page */

:root {
    --purple-deep: #5c3d6e;
    --purple: #7b5a8f;
    --purple-light: #a889b8;
    --purple-pale: #ede4f0;
    --purple-whisper: #f8f4fa;
    --gold: #c4a882;
    --gold-light: #e8dcc8;
    --grey: #6b6570;
    --grey-light: #9a949e;
    --text: #3d3840;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(92, 61, 110, 0.1);
    --shadow-lg: 0 12px 48px rgba(92, 61, 110, 0.14);
    --radius: 12px;
    --radius-lg: 20px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans 3', system-ui, sans-serif;
    --header-h: 80px;
    --transition: 0.25s ease;
}

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

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

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

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

a {
    color: var(--purple);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--purple-deep);
}

ul, ol {
    list-style: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--purple-deep);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.narrow {
    width: min(760px, 92vw);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--purple-deep);
}

h1 {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--grey);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(92, 61, 110, 0.3);
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(92, 61, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--purple-deep);
    border-color: var(--purple-light);
}

.btn-outline:hover {
    background: var(--purple-pale);
    color: var(--purple-deep);
}

.btn-light {
    background: var(--white);
    color: var(--purple-deep);
}

.btn-light:hover {
    background: var(--purple-pale);
    color: var(--purple-deep);
}

.btn-sm {
    padding: 0.55rem 1.2rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 90, 143, 0.1);
    height: var(--header-h);
    overflow: visible;
}

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

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
    line-height: 0;
}

.logo-link img {
    width: auto;
    height: calc(var(--header-h) - 18px);
    max-width: clamp(120px, 16vw, 180px);
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.main-nav a:hover {
    color: var(--purple);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple-deep);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 3rem) 0 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, var(--purple-pale) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 85% 20%, var(--gold-light) 0%, transparent 60%),
        linear-gradient(180deg, var(--purple-whisper) 0%, var(--white) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--purple);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.75rem 0 1.25rem;
}

.hero-meta {
    font-size: 0.875rem;
    color: var(--grey-light);
}

.hero-meta .dot {
    margin: 0 0.5rem;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(123, 90, 143, 0.08);
}

.hero-photo-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--purple-pale) 0%, var(--purple-whisper) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.hero-logo-watermark {
    width: 60%;
    opacity: 0.35;
}

.hero-photo-placeholder p {
    font-size: 0.85rem;
    color: var(--grey-light);
    margin: 0;
}

.hero-quote {
    padding: 1.5rem 2rem;
    border-top: 3px solid var(--gold);
    background: var(--purple-whisper);
}

.hero-quote p {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--purple-deep);
    margin: 0;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--purple-whisper);
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--grey);
    max-width: 640px;
}

.section-header.center .section-sub {
    margin-inline: auto;
}

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

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

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.two-col.align-center {
    align-items: center;
}

/* Lists */
.pillar-list li,
.check-list li,
.benefit-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
}

.pillar-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--purple-light);
    font-size: 0.65rem;
    top: 0.45rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: 600;
}

.benefit-list li::before {
    content: '·';
    position: absolute;
    left: 0.25rem;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    top: -0.1rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(123, 90, 143, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-pale);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--grey);
    margin: 0;
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}

.highlight-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.45;
    margin-bottom: 1.5rem;
}

.highlight-box .btn-primary {
    background: var(--white);
    color: var(--purple-deep);
    box-shadow: none;
}

.highlight-box .btn-primary:hover {
    background: var(--purple-pale);
}

.highlight-inline {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--purple);
    margin-top: 2rem;
}

/* Steps */
.steps {
    max-width: 720px;
    margin-inline: auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(123, 90, 143, 0.12);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--purple-light);
    line-height: 1;
    flex-shrink: 0;
}

.step p {
    color: var(--grey);
    margin: 0;
    font-size: 0.95rem;
}

.note {
    font-size: 0.9rem;
    color: var(--grey-light);
    font-style: italic;
    margin-top: 2rem;
}

.note.center {
    text-align: center;
}

/* Modalities */
.modality-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modality {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--purple-light);
}

.modality h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.modality p {
    font-size: 0.9rem;
    color: var(--grey);
    margin: 0;
}

.quote-inline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--purple);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 50%, #8b6a9e 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-band p {
    opacity: 0.9;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 1.75rem;
}

.center {
    text-align: center;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
    display: flex;
    flex-direction: column;
}

.testimonial p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text);
    margin: 0;
    flex: 1;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--purple);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--purple-whisper);
    border-radius: var(--radius);
    border: 1px solid rgba(123, 90, 143, 0.1);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.1rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--purple-deep);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--purple-light);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
    color: var(--grey);
    margin: 0;
}

/* Contact */
.section-contact {
    background: linear-gradient(180deg, var(--white) 0%, var(--purple-whisper) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-links {
    margin: 1.5rem 0 2rem;
}

.contact-links li {
    margin-bottom: 1rem;
}

.contact-links a {
    display: flex;
    flex-direction: column;
    color: inherit;
}

.contact-links a:hover strong {
    color: var(--purple);
}

.contact-links strong {
    color: var(--purple-deep);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-links span {
    color: var(--grey);
}

/* Form */
.lead-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(123, 90, 143, 0.08);
}

.lead-form h3 {
    margin-bottom: 0.35rem;
}

.form-intro {
    font-size: 0.9rem;
    color: var(--grey-light);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--purple-deep);
}

.optional {
    font-weight: 400;
    color: var(--grey-light);
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1.5px solid rgba(123, 90, 143, 0.2);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--purple-light);
    box-shadow: 0 0 0 3px rgba(123, 90, 143, 0.12);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-feedback {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    min-height: 1.25rem;
}

.form-feedback.success {
    color: #2d7a4f;
}

.form-feedback.error {
    color: #b33a3a;
}

.form-consent {
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--grey);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--purple);
}

.checkbox-label a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Legal / Privacidade */
.legal-page {
    background: var(--purple-whisper);
}

.legal-header {
    background: var(--white);
    border-bottom: 1px solid rgba(123, 90, 143, 0.12);
    padding: 1rem 0;
}

.legal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.legal-logo img {
    height: 52px;
    width: auto;
}

.legal-back {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--purple);
}

.legal-back:hover {
    color: var(--purple-deep);
}

.legal-main {
    padding: 2.5rem 0 4rem;
}

.legal-content {
    max-width: 720px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
    box-shadow: var(--shadow);
    border: 1px solid rgba(123, 90, 143, 0.08);
}

.legal-content h1 {
    font-size: clamp(1.85rem, 4vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.legal-meta {
    font-size: 0.875rem;
    color: var(--grey-light);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(123, 90, 143, 0.12);
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--purple-deep);
}

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    color: var(--grey);
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.35rem;
    margin: 0.75rem 0 1rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: var(--purple);
    word-break: break-word;
}

.legal-content a:hover {
    color: var(--purple-deep);
}

.legal-contact {
    list-style: none;
    padding-left: 0;
}

.legal-contact li {
    margin-bottom: 0.5rem;
}

.legal-footer {
    background: var(--purple-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.75rem 0;
    text-align: center;
}

.legal-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.75rem;
    margin-bottom: 1rem;
}

.legal-footer-nav a {
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.legal-footer-nav a:hover {
    color: var(--white);
}

.legal-footer-copy {
    font-size: 0.78rem;
    opacity: 0.65;
    margin: 0;
}

@media (max-width: 600px) {
    .legal-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-content {
        padding: 1.75rem 1.25rem;
    }
}

/* Footer */
.site-footer {
    background: var(--purple-deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo {
    margin-inline: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--gold-light);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-legal {
    font-size: 0.78rem;
    line-height: 1.6;
    opacity: 0.75;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: var(--white);
    padding: 0.75rem 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid,
    .two-col,
    .cards-grid,
    .contact-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-photo-placeholder {
        aspect-ratio: 16/10;
    }

    .testimonials {
        gap: 1rem;
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid rgba(123, 90, 143, 0.1);
        padding: 1rem 0;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 1.5rem;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(123, 90, 143, 0.08);
    }

    .main-nav a {
        display: block;
        padding: 0.85rem 0;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 0;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 0.85rem;
        border-radius: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}
