/* -------------------------------------------------------------
   SISTEMA DE DESIGN & VARIÁVEIS
------------------------------------------------------------- */
:root {
    --primary: #7194cc;
    --primary-rgb: 113, 148, 204;
    --primary-dark: #4b70aa;
    --primary-light: #f0f4fa;
    --primary-soft: rgba(113, 148, 204, 0.15);
    
    --navy: #253b5c;
    --navy-light: #3d5a80;
    
    --white: #ffffff;
    --bg-base: #fafbfe;
    
    --text-dark: #2c384a;
    --text-light: #6b7c96;
    
    --success: #2ec4b6;
    --success-rgb: 46, 196, 182;
    
    --font-display: 'Fraunces', Georgia, serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(113, 148, 204, 0.05);
    --shadow-md: 0 12px 32px rgba(113, 148, 204, 0.12);
    --shadow-lg: 0 24px 64px rgba(113, 148, 204, 0.18);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
}

/* -------------------------------------------------------------
   RESET E CONFIGURAÇÕES GERAIS
------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-dark);
    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-smooth);
}

ul {
    list-style: none;
}

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

/* -------------------------------------------------------------
   ELEMENTOS DE INTERFACE REUTILIZÁVEIS
------------------------------------------------------------- */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag-light {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-family: var(--font-display);
    font-variation-settings: 'SOFT' 100, 'opsz' 72;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

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

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

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(113, 148, 204, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(113, 148, 204, 0.45);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy);
    border: 2px solid rgba(113, 148, 204, 0.3);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* Efeito Pulsante para CTAs */
.pulse-btn {
    position: relative;
    z-index: 1;
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: var(--primary);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none; /* o pulso não pode aumentar a área de hover do botão */
    animation: pulseGlow 2.5s infinite;
}

.btn-white.pulse-btn::after {
    background-color: var(--white);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.15, 1.3);
        opacity: 0;
    }
}

/* -------------------------------------------------------------
   APRESENTAÇÃO DE ABERTURA
   Sequência: raminho se desenha → nome letra a letra → linha →
   "Psicóloga Clínica" → CRP → cortina sobe revelando a página
------------------------------------------------------------- */
.intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 42%, rgba(113, 148, 204, 0.28) 0%, transparent 55%),
        var(--navy);
    color: var(--white);
    text-align: center;
    cursor: pointer;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro.is-leaving {
    clip-path: inset(0 0 100% 0);
}

.intro.is-gone {
    display: none;
}

.intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s ease;
}

.intro.is-leaving .intro-inner {
    transform: translateY(-60px);
    opacity: 0;
}

.intro-sprout {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
}

.intro-sprout path {
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: introDraw 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.intro-sprout path:nth-child(2) { animation-delay: 0.35s; }
.intro-sprout path:nth-child(3) { animation-delay: 0.5s; }

@keyframes introDraw {
    to { stroke-dashoffset: 0; }
}

.intro-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    font-size: clamp(2.6rem, 9vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.intro-name .ch {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.12em;
}

.intro-name .ch > span {
    display: inline-block;
    transform: translateY(105%);
    animation: introRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i) * 45ms + 0.3s);
}

@keyframes introRise {
    to { transform: translateY(0); }
}

.intro-line {
    display: block;
    width: 64px;
    height: 1px;
    margin: 18px 0 16px;
    background-color: var(--primary);
    transform: scaleX(0);
    animation: introLine 0.8s cubic-bezier(0.65, 0, 0.35, 1) 1.05s forwards;
}

@keyframes introLine {
    to { transform: scaleX(1); }
}

.intro-role,
.intro-crp {
    opacity: 0;
    transform: translateY(10px);
    animation: introFade 0.7s ease forwards;
}

.intro-role {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-light);
    animation-delay: 1.25s;
}

.intro-crp {
    margin-top: 10px;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    animation-delay: 1.45s;
}

@keyframes introFade {
    to { opacity: 1; transform: translateY(0); }
}

.intro-skip {
    position: absolute;
    bottom: 28px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Animações de Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* -------------------------------------------------------------
   VOLTAR AO TOPO (anel = progresso de leitura, --read via JS)
------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 36px;
    bottom: 106px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--navy);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top svg {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.back-to-top circle {
    fill: none;
    stroke-width: 2.5;
}

.btt-track {
    stroke: var(--primary-light);
}

.btt-ring {
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: calc(1 - var(--read, 0));
}

.back-to-top i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* -------------------------------------------------------------
   CURSOR PERSONALIZADO (apenas mouse; .has-cursor é ativado via JS)
   Estados na .cursor: is-link, is-whatsapp, is-card, is-pressed, is-dark
------------------------------------------------------------- */
.cursor {
    --cursor-color: var(--primary-dark);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor.is-active {
    opacity: 1;
}

.has-cursor,
.has-cursor * {
    cursor: none !important;
}

/* Com o efeito magnético ativo, o botão não "sobe" no hover:
   isso o tirava de baixo do mouse e fazia o hover piscar */
.has-cursor .btn:hover {
    transform: none;
}

.cursor-ring,
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: translate, scale;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 1.5px solid var(--cursor-color);
    opacity: 0.5;
    transition:
        scale 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background-color: var(--cursor-color);
    transition: scale 0.3s ease, background-color 0.3s ease;
}

/* Links e botões: o anel cresce e preenche, o ponto some */
.cursor.is-link .cursor-ring {
    scale: 1.5;
    opacity: 1;
    border-color: transparent;
    background-color: rgba(113, 148, 204, 0.18);
}

.cursor.is-link .cursor-dot {
    scale: 0;
}

/* Links do WhatsApp: verde */
.cursor.is-whatsapp .cursor-ring {
    background-color: rgba(37, 211, 102, 0.2);
}

/* Cards: anel amplo e discreto */
.cursor.is-card .cursor-ring {
    scale: 2.2;
    opacity: 0.25;
}

/* Clique: encolhe rapidamente */
.cursor.is-pressed .cursor-ring {
    scale: 0.8;
    transition-duration: 0.12s;
}

.cursor.is-link.is-pressed .cursor-ring {
    scale: 1.2;
}

/* Sobre fundos escuros, o cursor fica branco */
.cursor.is-dark {
    --cursor-color: var(--white);
}

.cursor.is-dark.is-link .cursor-ring {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Marca-texto nas frases-chave do "Sobre", desenhado ao aparecer */
.hl {
    background: linear-gradient(transparent 58%, rgba(113, 148, 204, 0.3) 58%) no-repeat left bottom / 0% 100%;
    color: inherit;
    transition: background-size 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.reveal.active .hl {
    background-size: 100% 100%;
}

.reveal.active .hl:nth-of-type(1) { transition-delay: 0.6s; }
.reveal.active .hl:nth-of-type(2) { transition-delay: 1.1s; }
.reveal.active p:nth-child(3) .hl { transition-delay: 1.6s; }

/* Base de Transição para Imagens 3D Tilt */
.hero-img, .sobre-img {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* -------------------------------------------------------------
   HEADER / NAVBAR (GLASSMORPHISM)
------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.navbar-header.scrolled {
    padding: 12px 0;
    background-color: rgba(250, 251, 254, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(113, 148, 204, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--navy-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(113, 148, 204, 0.25);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--navy);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: none; /* Mobile first */
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--navy);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(113, 148, 204, 0.15) 0%, rgba(250, 251, 254, 0) 50%);
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(113, 148, 204, 0.08) 0%, rgba(250, 251, 254, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "visual"
        "content";
    gap: 48px;
    align-items: center;
}

.hero-content {
    grid-area: content;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--white);
    color: var(--navy-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(113, 148, 204, 0.15);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    font-size: 2.6rem;
    font-weight: 450;
    letter-spacing: -0.02em;
    color: var(--navy);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.trust-badge i {
    color: var(--primary);
    font-size: 1rem;
}

/* Botão "Respire comigo" — a barra enche ao inspirar e esvazia ao expirar */
.breath-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    min-width: 168px;
    background-color: var(--white);
    border: 1px solid rgba(113, 148, 204, 0.3);
    border-radius: 50px;
    color: var(--navy-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.breath-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary-soft);
    transform-origin: left;
    transform: scaleX(var(--fill, 0));
    transition: transform var(--fill-time, 0.4s) ease-in-out;
}

.breath-btn > * {
    position: relative;
}

.breath-btn i {
    color: var(--primary);
}

.breath-btn:hover,
.breath-btn[aria-pressed="true"] {
    border-color: var(--primary);
    color: var(--navy);
}

.breath-btn:focus-visible,
.copy-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Durante a respiração guiada, o halo fica mais amplo e presente */
.image-wrapper.is-guided .hero-breath {
    animation: breatheGuided 10s ease-in-out infinite;
    background: radial-gradient(circle at 45% 40%, rgba(113, 148, 204, 0.45) 0%, rgba(113, 148, 204, 0.14) 55%, transparent 72%);
}

@keyframes breatheGuided {
    0%, 100% {
        transform: scale(0.9);
        border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    }
    40% {
        transform: scale(1.18) rotate(6deg);
        border-radius: 55% 45% 42% 58% / 56% 52% 48% 44%;
    }
}

/* Imagem e Elementos Flutuantes da Hero */
.hero-visual {
    grid-area: visual;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 0.82;
    border-radius: var(--border-radius-lg);
    z-index: 2;
}

.image-border-deco {
    position: absolute;
    top: 20px;
    left: -20px;
    right: 20px;
    bottom: -20px;
    border: 2px solid var(--primary-soft);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: floatAnim 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 55%;
    left: -8%;
}

.floating-card.card-2 {
    bottom: 5%;
    right: -8%;
    animation-delay: 3s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

.fc-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.fc-text p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1px;
}

/* Halo que respira: inspira 4s (0–40%), expira 6s (40–100%) */
.hero-breath {
    position: absolute;
    inset: -7% -9% -5% -6%;
    background: radial-gradient(circle at 45% 40%, rgba(113, 148, 204, 0.28) 0%, rgba(113, 148, 204, 0.08) 55%, transparent 72%);
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    z-index: -2;
    pointer-events: none;
    animation: breathe 10s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(0.94) rotate(0deg);
        border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    }
    40% {
        transform: scale(1.05) rotate(4deg);
        border-radius: 55% 45% 42% 58% / 56% 52% 48% 44%;
    }
}

/* -------------------------------------------------------------
   ABERTURA DA HERO (sequência única ao carregar)
------------------------------------------------------------- */
.hero-title .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.hero-title .word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i) * 45ms + 150ms);
}

.is-loaded .hero-title .word > span {
    transform: translateY(0);
}

.hero-seq {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tag.hero-seq { transition-delay: 0s; }
.hero-subtitle.hero-seq { transition-delay: 0.7s; }
.hero-actions.hero-seq { transition-delay: 0.85s; }
.hero-trust.hero-seq { transition-delay: 1s; }

.is-loaded .hero-seq {
    opacity: 1;
    transform: translateY(0);
}

.hero-img {
    clip-path: inset(100% 0 0 0 round var(--border-radius-lg));
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, clip-path 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.3s;
}

.is-loaded .hero-img {
    clip-path: inset(0 0 0 0 round var(--border-radius-lg));
}

.hero-breath,
.image-border-deco {
    opacity: 0;
    transition: opacity 1.2s ease 0.9s;
}

.is-loaded .hero-breath,
.is-loaded .image-border-deco {
    opacity: 1;
}

.floating-card {
    opacity: 0;
    scale: 0.85;
    transition: opacity 0.6s ease, scale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.is-loaded .floating-card {
    opacity: 1;
    scale: 1;
}

.is-loaded .floating-card.card-1 { transition-delay: 1.4s; }
.is-loaded .floating-card.card-2 { transition-delay: 1.6s; }

@keyframes floatAnim {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* -------------------------------------------------------------
   SEÇÃO SOBRE MIM
------------------------------------------------------------- */
.sobre-section {
    padding: 100px 0;
    background-color: var(--white);
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-visual {
    display: flex;
    justify-content: center;
}

.profile-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 0.8;
}

.profile-deco-shape {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-soft) 20%, transparent 60%);
    z-index: -1;
}

.sobre-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.profile-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--navy);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.profile-badge .badge-number {
    background-color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.sobre-subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--navy-light);
    margin-bottom: 24px;
    font-weight: 600;
}

.sobre-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.sobre-text p strong {
    color: var(--navy);
}

.sobre-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 36px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: var(--bg-base);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* -------------------------------------------------------------
   SEÇÃO ESPECIALIDADES (CARDS)
------------------------------------------------------------- */
.especialidades-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, rgba(113, 148, 204, 0.05) 100%);
}

.especialidades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.esp-card {
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(113, 148, 204, 0.08);
    transition: var(--transition-smooth);
}

.esp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(113, 148, 204, 0.25);
}

/* Efeito Spotlight Estilo Apple */
.esp-card::before, .dif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        350px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(113, 148, 204, 0.12),
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.esp-card:hover::before, .dif-card:hover::before {
    opacity: 1;
}

.esp-card > *, .dif-card > * {
    position: relative;
    z-index: 2;
}

.esp-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.esp-card:hover .esp-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.esp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.esp-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* -------------------------------------------------------------
   SEÇÃO INFANTIL / ABA
------------------------------------------------------------- */
.aba-section {
    padding: 100px 0;
    background-color: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.aba-section .section-title {
    color: var(--white);
}

/* Luz suave que acompanha o cursor (--gx/--gy via JS) */
.aba-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(113, 148, 204, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.aba-section:hover::before {
    opacity: 1;
}

.aba-container {
    position: relative;
    z-index: 1;
}

.aba-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.aba-lead {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    font-weight: 500;
}

.aba-text p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.aba-text p strong {
    color: var(--white);
}

.aba-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pillar-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1;
}

.pillar-item h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.pillar-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.aba-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.aba-graphics {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aba-circle-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113, 148, 204, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.aba-illustration {
    width: 60%;
    z-index: 2;
}

/* Ilustração que se desenha quando a seção aparece */
.aba-illustration .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.aba-illustration .pop {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aba-visual.active .draw,
.aba-visual.active .pop {
    stroke-dashoffset: 0;
    transform: scale(1);
}

.aba-visual.active .pop-1 { transition-delay: 0.5s; }
.aba-visual.active .pop-2 { transition-delay: 0.65s; }
.aba-visual.active .draw-1 { transition-delay: 0.9s; }
.aba-visual.active .draw-2 { transition-delay: 1.5s; }
.aba-visual.active .draw-3 { transition-delay: 1.7s; }

.aba-card-highlight {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 3;
    text-align: center;
}

.ach-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.aba-card-highlight h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.aba-card-highlight p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------
   SEÇÃO DIFERENCIAIS
------------------------------------------------------------- */
.diferenciais-section {
    padding: 100px 0;
    background-color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.dif-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background-color: var(--bg-base);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--primary-light);
}

.dif-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.dif-icon {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.dif-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.dif-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* -------------------------------------------------------------
   SEÇÃO DE PROCESSO (TIMELINE)
------------------------------------------------------------- */
.processo-section {
    padding: 100px 0;
    background-color: var(--bg-base);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background-color: var(--primary-soft);
}

/* Linha da jornada que se preenche conforme o scroll (--progress via JS) */
.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background-color: var(--primary);
    transform-origin: top;
    transform: scaleY(var(--progress, 0));
}

.timeline-item.is-reached .timeline-number {
    background-color: var(--primary);
    color: var(--white);
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -35px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.timeline-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* -------------------------------------------------------------
   CTA FINAL (MUITO PERSUASIVO)
------------------------------------------------------------- */
.cta-final-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 20%, rgba(113, 148, 204, 0.2) 0%, rgba(250, 251, 254, 0) 70%), var(--white);
}

.cta-final-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--border-radius-lg);
    padding: 60px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-final-box::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(113, 148, 204, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.cta-final-box h2 {
    font-family: var(--font-display);
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    font-size: 2.2rem;
    font-weight: 450;
    letter-spacing: -0.015em;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------------------
   FOOTER MODERNO
------------------------------------------------------------- */
.footer-modern {
    background-color: #172436;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-info .logo-light .logo-text {
    color: var(--white);
}

.footer-info .logo-light .logo-text small {
    color: rgba(255, 255, 255, 0.5);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 24px;
}

/* Ícones de Redes Sociais */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(113, 148, 204, 0.3);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links ul a {
    font-size: 0.9rem;
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    border-color: var(--primary);
    color: var(--white);
}

.copy-btn.is-copied {
    background-color: rgba(var(--success-rgb), 0.15);
    border-color: var(--success);
    color: var(--white);
}

.copy-btn.is-copied i {
    color: var(--success);
}

.footer-bottom {
    padding: 30px 0;
    font-size: 0.8rem;
    background-color: #111a27;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

/* -------------------------------------------------------------
   BOTÃO FLUTUANTE WHATSAPP
------------------------------------------------------------- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: floatFloat 4s ease-in-out infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.floating-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--navy);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: translateX(10px);
}

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

@keyframes floatFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* -------------------------------------------------------------
   RESPONSIVIDADE (MEDIA QUERIES)
------------------------------------------------------------- */

/* Telas Médias (Tablets) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        grid-template-areas: "content visual";
        gap: 30px;
    }
    
    .sobre-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 40px;
    }
    
    .sobre-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .especialidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aba-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .cta-final-box {
        padding: 80px 48px;
    }
    
    .cta-final-box h2 {
        font-size: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Telas Grandes (Desktop) */
@media (min-width: 1024px) {
    /* Menu Navigation no Desktop */
    .nav-menu {
        display: block;
    }
    
    .nav-list {
        display: flex;
        gap: 32px;
    }
    
    .nav-link {
        font-family: var(--font-heading);
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--navy-light);
        position: relative;
        padding: 8px 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition-smooth);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--navy);
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    /* Outros ajustes de layout */
    .hero-section {
        padding-top: 180px;
        padding-bottom: 120px;
    }
    
    .hero-container {
        gap: 60px;
    }
    
    .sobre-container {
        gap: 80px;
    }
    
    .especialidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline::after {
        left: calc(50% - 1px);
    }
    
    .timeline-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        padding-bottom: 60px;
    }
    
    .timeline-number {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: right;
    }
    
    .timeline-item:hover .timeline-number {
        transform: translateX(-50%) scale(1.1);
    }
}

/* -------------------------------------------------------------
   MENU LATERAL MOBILE (FADE / SLIDE ELEGANTE)
------------------------------------------------------------- */
.nav-menu.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
    z-index: 998;
    flex-direction: column;
    padding: 100px 30px 40px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
    border-left: 1px solid rgba(113, 148, 204, 0.1);
}

.nav-menu.mobile-open.active {
    transform: translateX(0);
}

.nav-menu.mobile-open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-menu.mobile-open .nav-link {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* -------------------------------------------------------------
   MOVIMENTO REDUZIDO (acessibilidade)
------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }
}
