/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (Psicóloga Adriana Andrade)
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-dark: hsl(265, 22%, 24%);      /* Warm slate lavender (Headings, Authority) */
    --primary-lavender: hsl(265, 38%, 56%);   /* Soft branding lavender */
    --primary-soft: hsl(265, 55%, 95%);      /* Warm Lilac background highlight */
    
    --bg-warm-cream: hsl(30, 40%, 97%);      /* Soft welcoming beige */
    --bg-white: hsl(0, 0%, 100%);
    --bg-glass: rgba(255, 255, 255, 0.75);
    
    --text-main: hsl(265, 15%, 20%);
    --text-muted: hsl(260, 10%, 46%);
    
    --accent-gold: hsl(38, 25%, 52%);         /* Editorial gold details */
    --accent-gold-soft: hsl(38, 30%, 94%);
    
    --whatsapp-green: hsl(142, 60%, 45%);
    --whatsapp-green-hover: hsl(142, 68%, 38%);
    --whatsapp-pulse-color: rgba(34, 197, 94, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout Variables */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --border-radius-pill: 50px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(74, 58, 92, 0.06);
    --shadow-lg: 0 20px 40px rgba(74, 58, 92, 0.1);
    --shadow-premium: 0 30px 60px rgba(74, 58, 92, 0.12);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

/* ==========================================================================
   REUSABLE UTILITIES & LAYOUTS
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.text-muted {
    color: var(--text-muted);
}

.font-semibold {
    font-weight: 600;
}

.mt-4 {
    margin-top: 32px;
}

.max-w-md {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Badge System */
.badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    border: 1px solid rgba(135, 102, 172, 0.15);
    text-transform: uppercase;
}

.badge-sub {
    background-color: var(--accent-gold-soft);
    color: var(--accent-gold);
    border: 1px solid rgba(133, 108, 62, 0.15);
}

.badge-light-accent {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    border: none;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary-lavender);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(135, 102, 172, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(50, 40, 60, 0.3);
}

.btn-secondary {
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.btn-secondary:hover {
    background-color: var(--whatsapp-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-soft);
}

.btn-outline:hover {
    background-color: var(--primary-soft);
    border-color: var(--primary-lavender);
    transform: translateY(-3px);
}

.btn-white-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-white-glass:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Button Pulse Animation */
.btn-pulse {
    position: relative;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 0 0 0 rgba(135, 102, 172, 0.4);
    animation: pulse-purple 2.5s infinite;
    pointer-events: none;
}

.btn-secondary.btn-pulse::after {
    box-shadow: 0 0 0 0 var(--whatsapp-pulse-color);
    animation: pulse-green 2.5s infinite;
}

@keyframes pulse-purple {
    0% {
        box-shadow: 0 0 0 0 rgba(135, 102, 172, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(135, 102, 172, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(135, 102, 172, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(15px);
    height: 70px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(74, 58, 92, 0.05);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-lavender);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-lavender);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav {
    padding: 10px 22px;
    font-size: 0.88rem;
}

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

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-cta-mobile {
    display: none;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero {
    min-height: 98vh;
    background-color: var(--bg-warm-cream);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(186, 171, 204, 0.18) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(74, 58, 92, 0.1);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-lavender);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Hero Image & Organic Framing */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.shape-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: var(--primary-soft);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    z-index: 1;
    animation: rotate-slow 20s linear infinite alternate;
}

.shape-bg-secondary {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: var(--accent-gold-soft);
    border-radius: 40% 60% 30% 70% / 60% 50% 60% 40%;
    z-index: 1;
    animation: rotate-slow 25s linear infinite alternate-reverse;
}

@keyframes rotate-slow {
    0% {
        border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    }
    50% {
        border-radius: 40% 60% 35% 65% / 60% 40% 60% 40%;
    }
    100% {
        border-radius: 70% 30% 60% 40% / 40% 60% 45% 55%;
    }
}

.image-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 200px 200px 30px 30px; /* Modern portal shape */
    aspect-ratio: 0.8;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-white);
}

.frame-rect {
    border-radius: var(--border-radius-lg);
    aspect-ratio: 0.78;
}

.hero-img, .sobre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-frame-wrapper:hover .hero-img,
.image-frame-wrapper:hover .sobre-img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    z-index: 3;
    background: var(--bg-white);
    padding: 15px 22px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(74, 58, 92, 0.05);
}

.floating-badge .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge .badge-icon svg {
    width: 20px;
    height: 20px;
}

.floating-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.floating-badge .badge-text strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.floating-badge .badge-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   2. SOBRE A PSICÓLOGA
   ========================================================================== */

.sobre {
    background-color: var(--bg-warm-cream);
    overflow: hidden;
}

.sobre-content {
    max-width: 550px;
}

.sobre-bullets {
    margin: 35px 0 45px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullet-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.bullet-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.bullet-icon svg {
    width: 14px;
    height: 14px;
}

.bullet-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bullet-desc strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.experience-year-card {
    position: absolute;
    bottom: -20px;
    right: -25px;
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-year-card .year-num {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold-soft);
}

.experience-year-card .year-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.paragraph {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ==========================================================================
   3. ÁREAS DE ATENDIMENTO
   ========================================================================== */

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

.card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(74, 58, 92, 0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card-service {
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-soft);
    transition: var(--transition-fast);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Hover effects */
.card-service:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(135, 102, 172, 0.15);
}

.card-service:hover::before {
    background-color: var(--primary-lavender);
}

.card-service:hover .card-icon {
    background-color: var(--primary-lavender);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

.areas-cta {
    margin-top: 60px;
}

.areas-cta p {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

/* ==========================================================================
   4. COMO FUNCIONA O ATENDIMENTO
   ========================================================================== */

.como-funciona {
    background-color: var(--bg-warm-cream);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-soft) 0%, var(--primary-lavender) 50%, var(--primary-soft) 100%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.timeline-number-wrapper {
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary-lavender);
    border: 3px solid var(--primary-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    z-index: 3;
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    position: relative;
}

.timeline-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.timeline-tag {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.78rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--accent-gold-soft);
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
}

.timeline-item:hover .timeline-number {
    background-color: var(--primary-lavender);
    color: var(--bg-white);
    transform: scale(1.15);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   5. SEÇÃO DE REFLEXÕES (Instagram Inspired)
   ========================================================================== */

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

.reflexoes-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 50px;
    align-items: center;
}

/* Instagram Post Frame */
.reflexao-card-instagram {
    display: flex;
    justify-content: center;
}

.insta-image-wrapper {
    position: relative;
    max-width: 380px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(74, 58, 92, 0.08);
}

.insta-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.insta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(50, 35, 65, 0.9) 0%, rgba(50, 35, 65, 0.4) 70%, transparent 100%);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.insta-image-wrapper:hover .insta-overlay {
    opacity: 1;
    transform: translateY(0);
}

.insta-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bg-white);
    font-size: 0.8rem;
    font-weight: 500;
}

.insta-logo svg {
    width: 18px;
    height: 18px;
}

/* Magazine articles */
.reflexoes-content-magazine {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.magazine-article {
    background-color: var(--bg-warm-cream);
    padding: 35px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.magazine-category {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.magazine-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--primary-dark);
    font-style: italic;
    margin-bottom: 16px;
}

.magazine-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.magazine-author .line {
    width: 20px;
    height: 1px;
    background-color: var(--text-muted);
}

.magazine-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.magazine-article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
    border-left-color: var(--primary-lavender);
}

.magazine-article:hover .magazine-category {
    color: var(--primary-lavender);
}

/* ==========================================================================
   6. DIFERENCIAIS SECTION
   ========================================================================== */

.diferenciais {
    background-color: var(--bg-warm-cream);
}

.card-diff {
    padding: 30px;
    height: 100%;
}

.diff-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.diff-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.diff-icon svg {
    width: 20px;
    height: 20px;
}

.diff-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.card-diff:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(135, 102, 172, 0.1);
}

.card-diff:hover .diff-icon {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

/* ==========================================================================
   7. DEPOIMENTOS SECTION (Testimonials)
   ========================================================================== */

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

.testimonials-slider-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
    padding: 0 40px;
}

.testimonial-slider {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    padding: 20px 0;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.stars {
    margin-bottom: 20px;
}

.star {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin: 0 2px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--primary-dark);
    font-style: italic;
    margin-bottom: 24px;
}

.patient-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Slider Navigation */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-arrow {
    background-color: var(--primary-soft);
    color: var(--primary-lavender);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-arrow svg {
    width: 18px;
    height: 18px;
}

.slider-arrow:hover {
    background-color: var(--primary-lavender);
    color: var(--bg-white);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-lavender);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   8. CTA FINAL SECTION
   ========================================================================== */

.cta-final {
    background-color: var(--primary-dark);
    padding: 120px 0;
    color: var(--bg-white);
    overflow: hidden;
}

.cta-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(135, 102, 172, 0.25) 0%, transparent 80%);
    pointer-events: none;
}

.cta-final-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.cta-final-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-title {
    color: var(--bg-white);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-final-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.65;
}

.cta-final-actions {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   9. FOOTER & LOCATION (Rodapé)
   ========================================================================== */

.footer {
    background-color: var(--bg-warm-cream);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(74, 58, 92, 0.05);
}

.logo-footer {
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: 0.92rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--primary-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 58, 92, 0.06);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background-color: var(--primary-lavender);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-gold);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-details li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    min-width: 20px;
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    margin-top: 3px;
}

.footer-link {
    font-size: 0.95rem;
    color: var(--text-main);
}

.footer-link:hover {
    color: var(--primary-lavender);
}

.address-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Map Wrapper styling */
.map-wrapper {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 3px solid var(--bg-white);
}

.map-wrapper iframe {
    display: block;
}

/* Footer bottom bar */
.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(74, 58, 92, 0.06);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom .container {
    display: flex;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    transition: var(--transition-smooth);
}

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

.whatsapp-floating:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-in {
    transform: scale(0.96);
}

.reveal-slide-left {
    transform: translateX(-40px);
}

.reveal-slide-right {
    transform: translateX(40px);
}

/* Active animation state triggered by JS */
.reveal.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   MEDIA QUERIES (Responsive Web Design)
   ========================================================================== */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .container, .nav-container {
        padding: 0 32px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .sobre-bullets {
        margin: 25px 0 35px 0;
    }
    
    /* Nav toggle behavior triggered at 1024px */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 30px rgba(74, 58, 92, 0.1);
        padding: 100px 30px 40px 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
    }
    
    .nav-cta-mobile {
        display: block;
        width: 100%;
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
    }
    
    #cta-nav-desktop {
        display: none;
    }
    
    /* Hamburger animation when menu is open */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .container, .nav-container {
        padding: 0 24px;
    }

    section {
        padding: 70px 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    /* Hero section swap stack order */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image-container {
        order: 1;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
        gap: 25px;
    }
    
    .floating-badge {
        left: 10px;
        bottom: 10px;
        padding: 10px 15px;
    }
    
    /* Timeline adjustments */
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        gap: 15px;
    }
    
    .timeline-number-wrapper {
        min-width: 40px;
        height: 40px;
    }
    
    .timeline-number {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    /* Reflexões Instagram inspired */
    .reflexoes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Testimonial slider text size */
    .testimonial-text {
        font-size: 1.15rem;
    }
    
    .testimonials-slider-container {
        padding: 0 10px;
    }
    
    /* CTA Final spacing */
    .cta-final {
        padding: 80px 0;
    }
    
    .cta-final-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer .grid-3 {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-floating svg {
        width: 28px;
        height: 28px;
    }
}
