/* ==========================================================================
   LANDING PAGE - IASMIN CESAR ESCOBAR | PSICÓLOGA CLÍNICA (CRP 05/71651)
   DESIGN SYSTEM & CUSTOM STYLES (VANILLA CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Directly matching Logo Aesthetics */
    --bg-main: #FDF0F7;
    --bg-secondary: #FCEDF5;
    --bg-card: #FFFFFF;
    --bg-soft-pink: #F2D7EC;
    
    --lilac-soft: #E0A2DB;
    --rose-medium: #D174CD;
    --magenta-accent: #A14197;
    --magenta-deep: #7D2D74;
    
    --text-primary: #403640;
    --text-secondary: #6F6270;
    --text-muted: #8E8290;
    --white: #FFFFFF;

    --border-light: rgba(224, 162, 219, 0.35);
    --border-strong: rgba(209, 116, 205, 0.6);
    
    /* Semantic Colors */
    --success-bg: #EAF8F0;
    --success-text: #1E6B43;
    --success-border: #A3E2C0;

    --warning-bg: #FFF8EA;
    --warning-text: #8C5D00;
    --warning-border: #F7D794;

    --error-bg: #FDF0F0;
    --error-text: #9A2424;
    --error-border: #F5B0B0;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Shadows & Transitions */
    --shadow-subtle: 0 4px 20px rgba(64, 54, 64, 0.04);
    --shadow-card: 0 10px 30px rgba(161, 65, 151, 0.06);
    --shadow-hover: 0 20px 40px rgba(161, 65, 151, 0.14);
    --shadow-focus: 0 0 0 4px rgba(224, 162, 219, 0.45);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 84px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--magenta-accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid var(--text-primary);
}

/* Focus Visible Styling for WCAG Compliance */
:focus-visible {
    outline: 3px solid var(--magenta-accent);
    outline-offset: 3px;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    color: var(--magenta-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

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

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 3vw + 0.8rem, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw + 0.5rem, 1.6rem);
}

.section-header {
    text-anchor: middle;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-soft-pink);
    color: var(--magenta-accent);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 12px;
}

/* Decorative Section Divider */
.butterfly-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    opacity: 0.7;
}

.butterfly-divider::before,
.butterfly-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--lilac-soft), transparent);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-medium), var(--magenta-accent));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(161, 65, 151, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--magenta-accent), var(--magenta-deep));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(161, 65, 151, 0.38);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1.5px solid var(--lilac-soft);
    box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--rose-medium);
    color: var(--magenta-deep);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #1DA851;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.btn-disabled, .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   4. STICKY HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(253, 240, 247, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(64, 54, 64, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 46px;
    width: 46px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1.5px solid var(--lilac-soft);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-crp {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--magenta-accent);
    letter-spacing: 0.05em;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 6px 2px;
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--magenta-accent);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--magenta-accent);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-line {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 8px; }
.hamburger-line:nth-child(3) { top: 16px; }

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--magenta-accent);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--magenta-accent);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding: calc(var(--header-height) + 40px) 0 80px 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(224, 162, 219, 0.25) 0%, transparent 50%),
                radial-gradient(circle at 10% 70%, rgba(252, 237, 245, 0.8) 0%, transparent 40%);
    overflow: hidden;
}

.hero-grid {
    display: flex;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--lilac-soft);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--magenta-accent);
    margin-bottom: 24px;
    box-shadow: var(--shadow-subtle);
}

.hero-title {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 640px;
    line-height: 1.7;
}

.hero-author-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid var(--magenta-accent);
    padding: 12px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 32px;
}

.hero-author-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.hero-author-info span {
    color: var(--magenta-accent);
    font-size: 0.88rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid rgba(224, 162, 219, 0.3);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--magenta-accent);
    flex-shrink: 0;
}

.photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 6px solid var(--white);
    background: var(--white);
    transition: transform var(--transition-smooth);
}

.photo-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* --------------------------------------------------------------------------
   6. SECTION: SOBRE MIM
   -------------------------------------------------------------------------- */
.section-padding {
    padding: 90px 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-soft {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: flex-start;
}

.about-media-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.about-photo-wrapper {
    max-width: 420px;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    background: var(--bg-main);
}

.about-photo {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: var(--radius-lg);
}

.about-content-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 4px 0;
}

.about-header .butterfly-divider {
    justify-content: flex-start;
}

.about-card-box {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-card);
    position: relative;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--magenta-deep);
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--rose-medium);
}

.about-text-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.75;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.about-highlight-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.about-highlight-item h4 {
    font-size: 1.05rem;
    color: var(--magenta-accent);
    margin-bottom: 8px;
}

.about-highlight-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   7. SECTION: FORMAÇÃO PROFISSIONAL
   -------------------------------------------------------------------------- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.education-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--rose-medium);
}

.education-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft-pink);
    color: var(--magenta-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.education-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.education-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-top: auto;
}

/* --------------------------------------------------------------------------
   8. SECTION: COMO POSSO AJUDAR (SERVIÇOS)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--lilac-soft);
}

.service-card.highlight-card {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--lilac-soft);
}

.service-badge {
    align-self: flex-start;
    background: var(--bg-soft-pink);
    color: var(--magenta-deep);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   9. SECTION: DEMANDAS ATENDIDAS
   -------------------------------------------------------------------------- */
.demands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.demand-chip {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.demand-chip:hover {
    border-color: var(--rose-medium);
    background: var(--bg-secondary);
    transform: translateY(-2px);
    color: var(--magenta-deep);
}

.demand-icon {
    width: 22px;
    height: 22px;
    color: var(--rose-medium);
    flex-shrink: 0;
}

.ethical-notice-box {
    background: var(--bg-soft-pink);
    border-left: 4px solid var(--magenta-accent);
    padding: 18px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* --------------------------------------------------------------------------
   10. SECTION: SOBRE A TCC & DIFERENCIAIS
   -------------------------------------------------------------------------- */
.tcc-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.tcc-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.tcc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tcc-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-soft-pink);
    color: var(--magenta-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.tcc-benefit-item span {
    font-size: 1.02rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Differentials */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.differential-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-fast);
}

.differential-card:hover {
    border-color: var(--rose-medium);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.differential-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--magenta-accent);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.differential-card p {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   11. SECTION: COMO FUNCIONA O ATENDIMENTO
   -------------------------------------------------------------------------- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.step-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-subtle);
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--magenta-accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-rules-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1.5px solid var(--lilac-soft);
}

.rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px 32px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.rule-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--magenta-accent);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   12. ACCORDION SYSTEM (POLÍTICAS & FAQ)
   -------------------------------------------------------------------------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.accordion-item:hover {
    border-color: var(--rose-medium);
}

.accordion-item.active {
    border-color: var(--lilac-soft);
    box-shadow: var(--shadow-subtle);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color var(--transition-fast);
}

.accordion-header:hover {
    color: var(--magenta-accent);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--magenta-accent);
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 24px 20px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* --------------------------------------------------------------------------
   13. SECTION: MENTORIA PARA PSICÓLOGOS
   -------------------------------------------------------------------------- */
.mentorship-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--lilac-soft);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-card);
    max-width: 1000px;
    margin: 0 auto;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mentorship-topics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.mentorship-topic-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.topic-icon {
    width: 20px;
    height: 20px;
    color: var(--magenta-accent);
    flex-shrink: 0;
}

.mentorship-disclaimer {
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--warning-border);
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   14. FORMULARIO DE CAPTAÇÃO DE LEADS
   -------------------------------------------------------------------------- */
.form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-hover);
    max-width: 860px;
    margin: 0 auto;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.required-asterisk {
    color: var(--magenta-accent);
    margin-left: 3px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 0.98rem;
    transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    background: var(--white);
    border-color: var(--magenta-accent);
    box-shadow: var(--shadow-focus);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.form-help-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--magenta-accent);
    margin-top: 2px;
    cursor: pointer;
}

/* Form Messages & Alerts */
.form-status-alert {
    grid-column: span 2;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: none;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.form-status-alert.success {
    display: flex;
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.form-status-alert.error {
    display: flex;
    background: var(--error-bg);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}

.form-status-alert.warning {
    display: flex;
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

/* Spinner Icon */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Honeypot field (hidden from humans) */
.website-field-hp {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* --------------------------------------------------------------------------
   15. FOOTER & MODALS & FLOATING BUTTONS
   -------------------------------------------------------------------------- */
.site-footer {
    background: #342B34;
    color: #E2DAE3;
    padding: 70px 0 30px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #B5ABB7;
    margin-bottom: 16px;
}

.footer-links-title {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: #CFC5D0;
}

.footer-links-list a:hover {
    color: var(--lilac-soft);
}

.emergency-alert-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(224, 162, 219, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #D6CBD8;
    line-height: 1.6;
}

.emergency-alert-banner strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    color: #A095A2;
}

/* Floating WhatsApp Button */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-decoration: none;
    animation: waPulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bg-soft-pink);
    color: var(--magenta-accent);
}

/* Modals for Privacy Policy & Terms */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(64, 54, 64, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-light);
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    color: var(--text-primary);
    margin: 20px 0 10px 0;
    font-size: 1.15rem;
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--bg-main);
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   16. MEDIA QUERIES & RESPONSIVENESS
   -------------------------------------------------------------------------- */

/* Large Laptops / Desktops */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-author-badge {
        border-left: none;
        border-top: 3px solid var(--magenta-accent);
        border-radius: var(--radius-md);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-media-col {
        order: 1;
    }

    .about-photo-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-content-col {
        order: 2;
    }

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

    .about-header .butterfly-divider {
        justify-content: center;
    }

    .mentorship-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Mobile & Tablet Drawer Menu (< 1080px) */
@media (max-width: 1080px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(253, 240, 247, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .header-actions .btn-header-cta {
        display: none;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-status-alert {
        grid-column: span 1;
    }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 20px);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 24px 16px;
    }

    .tcc-box, .mentorship-card {
        padding: 24px 18px;
    }

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

    .floating-whatsapp {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .back-to-top {
        bottom: 16px;
        left: 16px;
        width: 42px;
        height: 42px;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
