/* --- GERAL E VARIÁVEIS --- */
:root {
    --primary-color: #7C1B2A;
    --primary-dark: #5A1520;
    --accent-color: #52161D;
    --secondary-color: #6B7280;
    --dark-bg: #1F2937;
    --text-color: #6B7280;
    --heading-color: #111827;
    --background-light: #EDEAE0;
    --white-color: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Cloud Loop', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: #EDEAE0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Tan Pearl', serif;
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 { 
    font-size: 3.75rem; 
    line-height: 1.1; 
    font-weight: 800;
}
h2 { 
    font-size: 2.25rem; 
    line-height: 1.2; 
    font-weight: 700;
}
h3 { 
    font-size: 1.25rem; 
    line-height: 1.3; 
    font-weight: 600;
}

section {
    padding: 100px 0;
}

/* --- BOTÕES E COMPONENTES REUTILIZÁVEIS --- */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #4A0F18);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(124, 27, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(124, 27, 42, 0.6);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-light {
    background: linear-gradient(135deg, var(--white-color), #f8f9fa);
    color: var(--heading-color);
    border: 2px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-primary-light:hover {
    background: linear-gradient(135deg, var(--background-light), #e9ecef);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(124, 27, 42, 0.1);
    border-color: var(--primary-color);
}

.btn-primary-light:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white-color);
    color: var(--heading-color);
    border-color: var(--white-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- HEADER --- */
.main-header {
    background: var(--white-color);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Tan Pearl', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 48px;
    margin: 0;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}
.main-nav a:hover {
    color: var(--primary-color);
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}
.main-nav a:hover::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.login-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
}
.login-btn:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero-section {
    background: var(--background-light);
    padding: 120px 0;
    position: relative;
}
.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-content {
    max-width: 100%;
}
.hero-identification {
    margin-bottom: 32px;
}
.hero-identification .profession {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-identification .psychologist-name {
    font-family: 'Tan Pearl', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1.1;
}
.hero-identification .crp {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}
.hero-content h1 {
    color: var(--accent-color);
    
    margin-bottom: 24px;
    font-size: 3rem;
    line-height: 1.1;
}
.hero-content .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-photo {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* --- COMPONENTES REUTILIZÁVEIS --- */
.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* --- 2. SEÇÃO: IDENTIFICAÇÃO COM A DOR --- */
.pain-identification-section {
    background: var(--white-color);
    padding: 120px 0;
    text-align: center;
}
.pain-identification-section h2 {
    margin-bottom: 60px;
    color: var(--accent-color);
}
.pain-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 60px;
}
.pain-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px;
    background: var(--background-light);
    border-radius: 16px;
    transition: transform 0.2s ease;
}
.pain-item:hover {
    transform: translateY(-2px);
}
.pain-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.pain-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}
.connection-phrase {
    font-family: 'Cloud Loop', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

/* --- 3. SEÇÃO: COMO POSSO AJUDAR --- */
.help-section {
    background: var(--background-light);
    padding: 120px 0;
    text-align: center;
}
.help-section h2 {
    margin-bottom: 60px;
    color: var(--accent-color);
}
.benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}
.benefit-item {
    background: var(--white-color);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}
.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.benefit-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}
.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    margin-top: 0;
}

.benefit-item p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* --- 4. SEÇÃO: SOBRE MIM E FUNCIONAMENTO --- */
.about-section {
    background: var(--white-color);
    padding: 120px 0;
}
.about-section h2 {
    margin-bottom: 60px;
    color: var(--accent-color);
    text-align: center;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}
.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 24px;
}
.about-text .btn {
    margin-top: 32px;
}
.about-image {
    display: flex;
    justify-content: center;
}
.secondary-photo {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Funcionamento do atendimento */
.functioning-section {
    background: var(--background-light);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}
.functioning-section h3 {
    margin-bottom: 40px;
    text-align: center;
    color: var(--heading-color);
}
.functioning-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.step {
    display: flex;
    gap: 20px;
    align-items: start;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.step-content h4 {
    color: var(--heading-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.step-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}
.modalities {
    background: var(--white-color);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 40px;
}
.modalities p {
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.6;
}
.modalities p:last-child {
    margin-bottom: 0;
}

/* Ética e Sigilo */
.ethics-section {
    background: var(--background-light);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 60px;
}
.ethics-section h3 {
    margin-bottom: 20px;
    color: var(--heading-color);
}
.ethics-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Chamada Final */
.final-call {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 40px;
    border-radius: 20px;
    color: var(--white-color);
}
.final-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.4;
}
.final-call .btn {
    background: linear-gradient(135deg, var(--white-color), #f8f9fa);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.final-call .btn:hover {
    background: linear-gradient(135deg, var(--background-light), #e9ecef);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4), 0 0 0 1px var(--primary-color);
    border-color: var(--white-color);
}

.final-call .btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 5. SEÇÃO: REDES SOCIAIS E ENCERRAMENTO --- */
.social-section {
    background: var(--background-light);
    padding: 120px 0;
    text-align: center;
}
.social-section h2 {
    margin-bottom: 60px;
    color: var(--accent-color);
}
.instagram-embeds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto 60px;
    max-width: 1200px;
}

.instagram-embeds-grid .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.instagram-feed {
    max-width: 600px;
    margin: 0 auto 60px;
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.instagram-embed-placeholder {
    text-align: center;
}
.instagram-embed-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.instagram-embed-fallback {
    padding: 60px 40px;
    text-align: center;
    background: var(--background-light);
    border-radius: 16px;
    display: none;
}
.instagram-embed-fallback.show {
    display: block;
}
.fallback-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.visit-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(124, 27, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.visit-instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.visit-instagram:hover::before {
    left: 100%;
}

.visit-instagram:hover {
    background: linear-gradient(135deg, var(--primary-dark), #4A0F18);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(124, 27, 42, 0.4);
}

.visit-instagram:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(124, 27, 42, 0.6);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.closing-phrase {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* --- 6. SEÇÃO: CONTATO --- */
.contact-section {
    background: var(--white-color);
    padding: 120px 0;
    text-align: center;
}
.contact-section h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}
.contact-section p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Layout para desktop */
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-item {
    position: relative;
    display: block;
    background: var(--background-light);
    padding: 32px;
    padding-top: 60px; /* Space for the icon */
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
}
.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.contact-icon {
    position: absolute;
    top: -24px; /* Position icon above the box */
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
    border: 4px solid var(--white-color); /* Match background */
}
.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.contact-item p {
    font-size: 1.125rem;
    color: var(--text-color);
    margin: 0;
    transition: color 0.2s ease;
    overflow-wrap: break-word; /* Fix for long text overflow */
}
.contact-item:hover p {
    color: var(--primary-dark);
}

.contact-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- CLASSES UTILITÁRIAS DE FONTES --- */

/* Tan Pearl Font Classes (Títulos) */
.tan-pearl-light {
  font-family: "Tan Pearl", serif;
  font-weight: 300;
  font-style: normal;
}

.tan-pearl-regular {
  font-family: "Tan Pearl", serif;
  font-weight: 400;
  font-style: normal;
}

.tan-pearl-medium {
  font-family: "Tan Pearl", serif;
  font-weight: 500;
  font-style: normal;
}

.tan-pearl-semibold {
  font-family: "Tan Pearl", serif;
  font-weight: 600;
  font-style: normal;
}

.tan-pearl-bold {
  font-family: "Tan Pearl", serif;
  font-weight: 700;
  font-style: normal;
}

.tan-pearl-extrabold {
  font-family: "Tan Pearl", serif;
  font-weight: 800;
  font-style: normal;
}

/* Cloud Loop Font Classes (Corpo do texto) */
.cloud-loop-light {
  font-family: "Cloud Loop", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.cloud-loop-regular {
  font-family: "Cloud Loop", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.cloud-loop-medium {
  font-family: "Cloud Loop", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.cloud-loop-semibold {
  font-family: "Cloud Loop", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.cloud-loop-bold {
  font-family: "Cloud Loop", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.main-footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding-top: 80px;
    padding-bottom: 40px;
}
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-top .logo {
    color: var(--white-color);
    font-size: 1.5rem;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}
.footer-nav a:hover {
    color: var(--primary-color);
}
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.social-icon {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: var(--white-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(124, 27, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- FLOATING ACTION BUTTON - WHATSAPP --- */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(124, 27, 42, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0) translateY(20px);
}

.whatsapp-fab.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.whatsapp-fab svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.whatsapp-fab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.whatsapp-fab::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(124, 27, 42, 0.3);
    transform: translate(-50%, -50%);
    animation: pulse-whatsapp 2s infinite;
    z-index: 0;
}

@keyframes pulse-whatsapp {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 32px rgba(124, 27, 42, 0.6);
}

.whatsapp-fab:hover::before {
    opacity: 1;
}

.whatsapp-fab:hover svg {
    transform: scale(1.15);
}

.whatsapp-fab:active {
    transform: scale(0.95) translateY(0);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsividade do FAB */
@media (max-width: 768px) {
    .whatsapp-fab {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-fab svg {
        width: 24px;
        height: 24px;
    }
}

.footer-bottom {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}
/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */

/* Breakpoint para Tablets e telas menores (Ex: iPads, Laptops pequenos) */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }

    section {
        padding: 80px 0;
    }

    /* Ajuste do Header */
    .main-nav ul {
        gap: 32px;
    }

    /* Hero Section */
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-identification .psychologist-name {
        font-size: 2rem;
    }

    /* Pain identification */
    .pain-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Help section */
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .functioning-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    /* Social section */
    .instagram-embeds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}


/* Breakpoint para Celulares (Ex: iPhones, Androids) */
@media (max-width: 768px) {

    /* --- GERAL --- */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.125rem; }
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }


    /* --- HEADER E NAVEGAÇÃO MOBILE --- */
    .main-header {
        padding: 16px 0;
    }
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    .logo {
        font-size: 1.5rem;
        z-index: 1002;
    }
    /* Esconde apenas header-actions em mobile */
    .header-actions {
        display: none; 
    }

    /* --- HERO SECTION --- */
    .hero-section {
        padding: 80px 0;
    }
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-identification .psychologist-name {
        font-size: 1.75rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .main-photo {
        max-width: 280px;
        height: 350px;
    }
    
    /* --- PAIN IDENTIFICATION --- */
    .pain-identification-section {
        padding: 80px 0;
    }
    .pain-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pain-item {
        padding: 20px;
    }
    .connection-phrase {
        font-size: 1.25rem;
    }

    /* --- HELP SECTION --- */
    .help-section {
        padding: 80px 0;
    }
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .benefit-item {
        padding: 32px 24px;
    }

    /* --- ABOUT SECTION --- */
    .about-section {
        padding: 80px 0;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .secondary-photo {
        max-width: 250px;
        height: 320px;
    }
    .functioning-section {
        padding: 40px 24px;
    }
    .functioning-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .final-call {
        padding: 40px 24px;
    }
    .final-text {
        font-size: 1.25rem;
    }

    /* --- SOCIAL SECTION --- */
    .social-section {
        padding: 80px 0;
    }
    .instagram-embeds-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* --- CONTACT SECTION --- */
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin: 0;
    }
    
    .contact-item {
        background: var(--background-light);
        padding: 32px 24px;
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
        margin-bottom: 0;
    }
    
    .contact-icon {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0 auto 20px;
        border: none;
    }
    
    .contact-item h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 12px;
    }
    
    .contact-item p {
        font-size: 1.125rem;
        color: var(--text-color);
        line-height: 1.6;
    }
    
    .instagram-feed {
        padding: 24px;
        margin-bottom: 40px;
    }
    .closing-phrase {
        font-size: 1.25rem;
    }

    /* --- FOOTER --- */
    .main-footer {
        padding-top: 60px;
    }
    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay staggering for multiple items - apenas para filhos diretos em listas */
.pain-list .reveal:nth-child(1) { transition-delay: 0s; }
.pain-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.pain-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.pain-list .reveal:nth-child(4) { transition-delay: 0.3s; }

.benefits-list .reveal:nth-child(1) { transition-delay: 0s; }
.benefits-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.benefits-list .reveal:nth-child(3) { transition-delay: 0.2s; }

.functioning-steps .reveal:nth-child(1) { transition-delay: 0s; }
.functioning-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.functioning-steps .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ============================================
   HAMBURGER MENU
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Destacar header quando menu está aberto */
    body.menu-open .main-header {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        transition: background 0.3s ease;
    }

    /* Mudar cor do logo quando menu está aberto */
    body.menu-open .logo {
        color: var(--white-color);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
    }

    /* Mudar cor das linhas do hambúrguer quando menu está aberto para X branco */
    body.menu-open .hamburger span {
        background: var(--white-color);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        padding: 80px 20px 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

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

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 16px 20px;
        color: var(--white-color);
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .main-nav ul li a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: 30px;
        transform: translateX(5px);
    }

    /* Overlay when menu is open */
    .main-nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}