/* 
   ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLING - PSICÓLOGA JÚLIA DI SIMONI
   ==========================================================================
*/

/* --- Variables --- */
:root {
    /* Cores de Base da Identidade Visual */
    --color-gold: #F7C86A;        /* Laranja pastel / Amarelo Mostarda */
    --color-wine: #5A0002;        /* Vinho / Borgonha Profundo */
    --color-cream: #f1d7a7;       /* Creme quente personalizado (mais amarelado) */
    --color-white: #f1d7a7;       /* Creme quente personalizado para cards e boxes */
    
    /* Variáveis Semânticas */
    --color-bg: var(--color-gold);  /* Fundo principal da página agora é Dourado */
    --color-surface: var(--color-white);
    --color-text-main: #2E0001;   /* Vinho escuro para alta legibilidade */
    --color-text-muted: #3A332F;  /* Marrom acinzentado escuro para melhor legibilidade */
    --color-primary: var(--color-wine);
    --color-primary-light: #F6E3C5;
    --color-accent: var(--color-cream);
    --color-accent-hover: #E9B859;
    --color-accent-light: #FDF7EC;
    --color-wine-hover: #7D080C;
    --color-wine-light: #F5E1E0;
    --color-border: rgba(90, 0, 2, 0.12); /* Borda vinho translúcida suave */
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(90, 0, 2, 0.04);
    --shadow-medium: 0 15px 40px rgba(90, 0, 2, 0.08);
    --shadow-navbar: 0 4px 30px rgba(90, 0, 2, 0.03);
    
    /* Fonts - Prata para cabeçalhos e Montserrat para corpo */
    --font-serif: 'Prata', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

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

.max-w-lg {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

section {
    padding: 100px 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400; /* Serif Prata looks best at normal weight */
    line-height: 1.3;
}

h1 em, h2 em, h3 em, h4 em, .cta-title em, .section-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: var(--color-primary);
}

.intro-section h2 em, .how-it-works h2 em, .final-cta-section h2 em {
    color: var(--color-accent);
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.section-title-left em {
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

/* --- Inline SVGs / Doodles Styling --- */
.doodle {
    pointer-events: none;
    display: inline-block;
    vertical-align: middle;
}

.doodle-sparkle {
    color: var(--color-primary);
    animation: rotate-sparkle 8s linear infinite;
    margin-right: 8px;
}

.doodle-sparkle-inline {
    color: var(--color-primary);
    animation: rotate-sparkle 8s linear infinite;
    vertical-align: middle;
    margin-top: -6px;
    margin-right: 4px;
}

.about-section .doodle-sparkle-inline {
    color: var(--color-primary);
}

.doodle-sofa {
    color: var(--color-accent);
    margin: 0 auto 20px auto;
    display: block;
    animation: float-spiral 4s ease-in-out infinite;
}

.doodle-road {
    color: var(--color-primary);
    position: absolute;
    top: -20px;
    left: -25px;
    z-index: 5;
    opacity: 0.85;
}

.doodle-intro-star {
    position: absolute;
    left: 8%;
    top: 25%;
    color: var(--color-accent);
    opacity: 0.45;
    animation: float-spiral 6s ease-in-out infinite;
}

.doodle-intro-heart {
    position: absolute;
    right: 10%;
    top: 18%;
    color: var(--color-accent);
    opacity: 0.45;
    animation: rotate-sparkle 12s linear infinite;
}

.doodle-intro-loop {
    position: absolute;
    right: 7%;
    bottom: 22%;
    color: var(--color-accent);
    opacity: 0.5;
    animation: float-spiral 8s ease-in-out infinite alternate;
}

.doodle-intro-scribble {
    position: absolute;
    left: 10%;
    bottom: 18%;
    color: var(--color-accent);
    opacity: 0.5;
    animation: float-spiral 5s ease-in-out infinite;
}

.doodle-intro-sparkles {
    position: absolute;
    left: 28%;
    top: 12%;
    color: var(--color-accent);
    opacity: 0.45;
    animation: rotate-sparkle 16s linear infinite;
}

.doodle-intro-leaves {
    position: absolute;
    right: 26%;
    bottom: 12%;
    color: var(--color-accent);
    opacity: 0.5;
    animation: float-spiral 7s ease-in-out infinite alternate;
}

/* Ocultar em dispositivos móveis e tablets para manter a legibilidade do texto */
@media (max-width: 992px) {
    .doodle-intro-star,
    .doodle-intro-heart,
    .doodle-intro-loop,
    .doodle-intro-scribble,
    .doodle-intro-sparkles,
    .doodle-intro-leaves {
        display: none;
    }
}

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

@keyframes float-spiral {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(4deg); }
}

/* --- Interactive Elements & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(90, 0, 2, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-wine-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 0, 2, 0.25);
    color: var(--color-accent);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(90, 0, 2, 0.15);
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: var(--color-wine-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 0, 2, 0.25);
    color: var(--color-accent);
}

.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background-color: var(--color-wine-hover);
    transform: translateY(-1px);
    color: var(--color-accent);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Pulse animation for CTAs matching Vinho */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 0, 2, 0.3);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(90, 0, 2, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(90, 0, 2, 0);
    }
}

.btn-pulse {
    animation: pulse 2.5s infinite;
}

/* --- Floating Header / Navbar --- */
.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(241, 215, 167, 0.85); /* Match Creme */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(90, 0, 2, 0.05);
    transition: var(--transition-smooth);
}

.navbar-container.scrolled {
    background-color: rgba(241, 215, 167, 0.95);
    box-shadow: var(--shadow-navbar);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 18px 24px;
}

.navbar-logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    opacity: 0.8;
    margin-top: 2px;
}

.navbar-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

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

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

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

/* --- Hero Section --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.25rem;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-wine);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 8px solid var(--color-surface);
    transform: rotate(1.5deg);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Background soft circle */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background-color: var(--color-accent);
    opacity: 0.35;
    border-radius: 50%;
    z-index: -1;
    bottom: -20px;
    right: 20px;
    filter: blur(15px);
}

/* --- Intro / Coffee Section (Curved and Vinho Background) --- */
.intro-section {
    background-color: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    z-index: 10;
    padding: 110px 0;
}

.coffee-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--color-bg);
    opacity: 0.95;
    margin-bottom: 24px;
}

.intro-text.highlight {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--color-accent);
    font-style: italic;
    margin-top: 36px;
    border-left: 4px solid var(--color-accent);
    padding-left: 24px;
    text-align: left;
}

/* --- Focus Areas / Cards Section --- */
.atuacao-section {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    box-shadow: var(--shadow-medium);
}

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

.card:hover .card-icon {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.card-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.card:hover .card-title {
    color: var(--color-accent);
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition-smooth);
}

.card:hover .card-desc {
    color: var(--color-bg);
    opacity: 0.9;
}

/* --- About Me Section (Gold/Mustard Background) --- */
.about-section {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 100px 0;
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    display: flex;
    justify-content: center;
}

.images-collage {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.collage-frame {
    position: relative;
    border-radius: 4px; /* Polaroid sharp look */
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(90, 0, 2, 0.08);
    border: 6px solid var(--color-surface); /* White borders */
    border-bottom: 28px solid var(--color-surface); /* Polaroid bottom base! */
    transition: var(--transition-smooth);
    width: 100%;
    aspect-ratio: 3 / 4;
}
/* Translucent Tape effect on top of Polaroids */
.collage-frame::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 80px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transform: translateX(-50%) rotate(-4deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    z-index: 10;
}

.collage-frame:hover {
    z-index: 20;
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 15px 35px rgba(90, 0, 2, 0.2);
}

.frame-1 {
    transform: rotate(-1.5deg);
}

.frame-2 {
    transform: rotate(1.5deg);
}

.frame-3 {
    transform: rotate(1.2deg);
}

.frame-4 {
    transform: rotate(-1.8deg);
}

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

.about-card-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.badge-number {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.badge-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2px;
}

.about-text-content {
    display: flex;
    flex-direction: column;
}

.about-paragraph {
    font-size: 1.05rem;
    color: #4A0001;
    margin-bottom: 20px;
}

.about-paragraph strong {
    color: var(--color-primary);
}

.about-paragraph.personal-story {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-gold);
    line-height: 1.7;
    background-color: var(--color-primary);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 10px 0 30px 0;
    border-left: 4px solid var(--color-gold);
}

.about-subtitle {
    font-size: 1.45rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.experience-list {
    list-style: none;
}

.experience-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.list-bullet {
    font-size: 1.25rem;
    margin-top: 2px;
}

.experience-list li div {
    font-size: 0.95rem;
    color: #4A0001;
    line-height: 1.5;
}

.experience-list li div strong {
    color: var(--color-primary);
}

/* --- How It Works Section (Curved and Vinho Background) --- */
.how-it-works {
    background-color: var(--color-primary);
    color: var(--color-bg);
    position: relative;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    z-index: 10;
    padding: 100px 0;
}

.how-it-works .section-title {
    color: var(--color-accent);
}

.how-it-works .section-subtitle {
    color: var(--color-bg);
    opacity: 0.9;
}

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

.step-card {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(247, 200, 106, 0.15);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(247, 200, 106, 0.12);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 16px;
    margin-top: 15px;
}

.step-text {
    color: var(--color-bg);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.accordion-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--color-accent);
}

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

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

.accordion-arrow {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding: 0 24px 24px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Final CTA Section (Vinho Background) --- */
.final-cta-section {
    background-color: var(--color-primary);
    color: var(--color-accent);
    padding: 110px 0;
    position: relative;
}

.cta-title {
    font-size: 2.75rem;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.cta-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-bg);
    margin-bottom: 40px;
}

.final-cta-section .btn-primary {
    background-color: var(--color-bg);
    color: var(--color-primary);
}

.final-cta-section .btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* --- Footer (Vinho Background) --- */
.footer-container {
    background-color: var(--color-primary);
    color: rgba(250, 246, 237, 0.8);
    padding: 60px 0;
    font-size: 0.875rem;
    border-top: 1px solid rgba(247, 200, 106, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 600;
}

.footer-crp {
    font-size: 0.9rem;
    color: var(--color-bg);
    font-weight: 500;
}

.footer-social {
    margin: 8px 0;
}

.social-link {
    color: var(--color-bg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-accent);
}

.footer-warning {
    max-width: 650px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(250, 246, 237, 0.6);
    margin-top: 16px;
}

.footer-warning strong {
    color: rgba(250, 246, 237, 0.8);
}

.footer-copy {
    font-size: 0.75rem;
    margin-top: 24px;
    opacity: 0.6;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Animations & Intersection Observer --- */
.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation States */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for children animation */
.grid-cards .card:nth-child(2) { transition-delay: 0.1s; }
.grid-cards .card:nth-child(3) { transition-delay: 0.2s; }
.grid-cards .card:nth-child(4) { transition-delay: 0.3s; }
.grid-cards .card:nth-child(5) { transition-delay: 0.4s; }
.grid-cards .card:nth-child(6) { transition-delay: 0.5s; }

.grid-steps .step-card:nth-child(2) { transition-delay: 0.15s; }
.grid-steps .step-card:nth-child(3) { transition-delay: 0.3s; }

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .grid-two-columns {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-images {
        order: 2;
    }
    
    .grid-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .navbar-links {
        display: none;
    }
    
    .doodle-road {
        display: none;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .section-title-left {
        font-size: 2rem;
    }
    
    .about-card-badge {
        right: 0;
        bottom: -15px;
        padding: 12px 20px;
    }
    
    .navbar-content {
        padding: 14px 20px;
    }
    
    .btn-nav {
        display: none;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* --- Decorative Doodles for Hero & Final CTA --- */
.doodle-hero-heart {
    position: absolute;
    right: 8%;
    top: 15%;
    color: var(--color-primary);
    opacity: 0.25;
    animation: rotate-sparkle 16s linear infinite;
}

.doodle-hero-flower {
    position: absolute;
    left: 4%;
    top: 48%;
    color: var(--color-primary);
    opacity: 0.25;
    animation: float-spiral 6s ease-in-out infinite alternate;
}

.doodle-hero-star {
    position: absolute;
    right: 15%;
    bottom: 12%;
    color: var(--color-primary);
    opacity: 0.25;
    animation: float-spiral 8s ease-in-out infinite;
}

.doodle-cta-star {
    position: absolute;
    left: 10%;
    top: 25%;
    color: var(--color-accent);
    opacity: 0.45;
    animation: float-spiral 6s ease-in-out infinite;
}

.doodle-cta-heart {
    position: absolute;
    right: 12%;
    top: 20%;
    color: var(--color-accent);
    opacity: 0.45;
    animation: rotate-sparkle 12s linear infinite;
}

.doodle-cta-loop {
    position: absolute;
    right: 8%;
    bottom: 25%;
    color: var(--color-accent);
    opacity: 0.5;
    animation: float-spiral 8s ease-in-out infinite alternate;
}

.doodle-cta-scribble {
    position: absolute;
    left: 12%;
    bottom: 20%;
    color: var(--color-accent);
    opacity: 0.5;
    animation: float-spiral 5s ease-in-out infinite;
}

@media (max-width: 992px) {
    .doodle-hero-heart,
    .doodle-hero-flower,
    .doodle-hero-star,
    .doodle-cta-star,
    .doodle-cta-heart,
    .doodle-cta-loop,
    .doodle-cta-scribble {
        display: none;
    }
}

/* --- Decorative Doodles around Portrait Image --- */
.doodle-image-heart {
    position: absolute;
    top: -20px;
    left: -25px;
    color: var(--color-primary);
    opacity: 0.85;
    z-index: 5;
    animation: float-spiral 5s ease-in-out infinite;
}

.doodle-image-star {
    position: absolute;
    top: -15px;
    right: -25px;
    color: var(--color-primary);
    opacity: 0.85;
    z-index: 5;
    animation: rotate-sparkle 14s linear infinite;
}

.doodle-image-flower {
    position: absolute;
    bottom: -15px;
    right: -25px;
    color: var(--color-primary);
    opacity: 0.85;
    z-index: 5;
    animation: float-spiral 7s ease-in-out infinite alternate;
}

.doodle-image-rainbow {
    position: absolute;
    bottom: -15px;
    left: -25px;
    color: var(--color-primary);
    opacity: 0.85;
    z-index: 5;
    animation: float-spiral 6s ease-in-out infinite alternate;
}

@media (max-width: 576px) {
    .doodle-image-heart,
    .doodle-image-star,
    .doodle-image-flower,
    .doodle-image-rainbow {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .images-collage {
        gap: 12px;
    }
    .collage-frame {
        border-width: 4px;
        border-bottom-width: 18px;
    }
    .collage-frame::after {
        width: 60px;
        height: 18px;
        top: -8px;
    }
}

/* --- Bilingual Experience Overrides (v7) --- */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background-color: rgba(90, 0, 2, 0.08);
    border: 1px solid rgba(90, 0, 2, 0.12);
    border-radius: var(--radius-full);
}

.lang-btn {
    min-width: 44px;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    background-color: rgba(90, 0, 2, 0.08);
}

.lang-btn.active {
    background-color: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 12px rgba(90, 0, 2, 0.18);
}

.hero-subtitle {
    margin-bottom: 18px;
}

.hero-note {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    max-width: 640px;
}

.hero-language-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-english-snippet {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-primary);
}

.lang-inline-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.lang-inline-btn:hover {
    color: var(--color-wine-hover);
}

.bilingual-highlight {
    background-color: rgba(90, 0, 2, 0.08);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin: 0 0 24px 0;
    box-shadow: var(--shadow-soft);
}

.bilingual-highlight p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-primary);
}

.english-inline {
    display: block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.9;
}

.about-paragraph.personal-story {
    margin-top: 0;
}

@media (max-width: 992px) {
    .navbar-content {
        gap: 16px;
    }

    .navbar-actions {
        margin-left: auto;
    }

    .hero-note,
    .hero-language-line {
        justify-content: center;
        text-align: center;
    }

    .bilingual-highlight {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        max-width: 60%;
    }

    .lang-switcher {
        padding: 3px;
    }

    .lang-btn {
        min-width: 40px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .hero-note {
        font-size: 0.95rem;
    }

    .hero-language-line {
        flex-direction: column;
        gap: 8px;
    }
}

