/* =============================================
   DRA. MAYSA CORREIA - SITE INSTITUCIONAL (MODERN)
   Aesthetic: Delicate, Professional, Modern, Feminine
   With impressive animations & creative transitions
   ============================================= */

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

:root {
    /* Colors - Dusty Rose Palette */
    --rose-primary: #C4897B;
    --rose-secondary: #E3B4A6;
    --rose-light: #F7EBE8;
    --rose-dark: #8A5A50;

    --text-primary: #4F4F4F;
    --text-secondary: #6F6F6F;
    --bg-white: #FFFFFF;
    --bg-off-white: #FAFAFA;

    --border-light: rgba(196, 137, 123, 0.15);

    /* Effects */
    --shadow-soft: 0 10px 40px rgba(196, 137, 123, 0.08);
    --shadow-hover: 0 20px 60px rgba(196, 137, 123, 0.15);
    --glass: rgba(255, 255, 255, 0.7);
    --blur: blur(12px);

    /* Layout */
    --container-max: 1240px;
    --radius-soft: 20px;
}

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

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.9;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #444;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.02em;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.4s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-primary), var(--rose-secondary), var(--rose-primary));
    background-size: 200% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 10000;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === FLOATING DECORATIVE ELEMENTS === */
.floating-element {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.06;
}

.float-1 {
    width: 300px;
    height: 300px;
    background: var(--rose-primary);
    top: 20%;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    background: var(--rose-secondary);
    bottom: 10%;
    left: -60px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.float-3 {
    width: 150px;
    height: 150px;
    background: var(--rose-dark);
    top: 50%;
    left: 50%;
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-3deg); }
    75% { transform: translate(15px, 10px) rotate(2deg); }
}

/* === MODERN SCROLL ANIMATIONS === */

/* Effect 1: Blur Reveal (Dreamy) */
.reveal-blur {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.95) translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
}

/* Effect 2: Clip Path (Curtain) - For Images */
.reveal-clip {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-clip.active {
    clip-path: inset(0 0 0 0);
}

/* Effect 3: Text Slide Up (Elegant) */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Effect 4: Reveal from Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Effect 5: Reveal from Right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Effect 6: Scale Reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.5s cubic-bezier(0.22, 1, 0.36, 1), -webkit-backdrop-filter 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    height: 108px;
    overflow: hidden;
}

.logo img {
    height: 193px;
    width: auto;
    margin-top: 16px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), height 0.5s cubic-bezier(0.22, 1, 0.36, 1), margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover img {
    transform: translateY(-2px);
}

.header.scrolled .logo {
    height: 88px;
}

.header.scrolled .logo img {
    height: 152px;
    margin-top: 12px;
}

.logo-light {
    display: block;
    opacity: 0.9;
}

.logo-dark {
    display: none;
}

.header.scrolled .logo-light {
    display: none;
}

.header.scrolled .logo-dark {
    display: block;
    opacity: 0.8;
}

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

/* Contato dentro do nav - escondido no desktop */
.nav-contact {
    display: none;
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--rose-primary);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateX(-50%);
}

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

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 100px;
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
}

.nav-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta:hover {
    color: var(--rose-primary) !important;
    border-color: var(--bg-white);
}

.header.scrolled .nav-cta {
    border-color: var(--rose-primary);
    color: var(--rose-primary) !important;
}

.header.scrolled .nav-cta::before {
    background: var(--rose-primary);
}

.header.scrolled .nav-cta:hover {
    color: var(--bg-white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: white;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

.header.scrolled .hamburger span {
    background: var(--text-primary);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 16px 44px;
    border-radius: 100px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
    color: var(--bg-white);
    box-shadow: 0 10px 30px rgba(196, 137, 123, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(196, 137, 123, 0.45);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

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

/* Magnetic button effect class */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    background-color: #1a1a1a;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at 10% 20%, rgba(196, 137, 123, 0.08) 0%, transparent 40%);
}

/* Animated gradient orbs in hero */
.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    background: var(--rose-primary);
    top: -20%;
    left: -10%;
    animation: glow-pulse 6s ease-in-out infinite;
}

.hero-glow-2 {
    background: var(--rose-secondary);
    bottom: -30%;
    right: -15%;
    animation: glow-pulse 8s ease-in-out infinite reverse;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.2); opacity: 0.25; }
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 80px 80px 10%;
    z-index: 3;
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    position: relative;
}

.hero-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--rose-secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--rose-secondary);
    animation: line-expand 1.5s ease forwards;
}

@keyframes line-expand {
    from { width: 0; }
    to { width: 30px; }
}

.hero-title {
    font-size: 3.8rem;
    color: var(--bg-white);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-title em {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 500;
    color: var(--rose-secondary);
    position: relative;
}

/* Animated underline on hero title em */
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-secondary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-reveal 1.5s ease 0.8s forwards;
}

@keyframes underline-reveal {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 300;
}

.hero-image {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    will-change: transform;
}

/* Slow ken burns effect */
.hero-image.active img {
    transform: scale(1.08);
}

/* Decorative line on hero image */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--rose-primary), transparent);
    opacity: 0.5;
}

/* === PARTICLE CANVAS === */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* === SECTIONS GENERAL === */
.section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rose-dark);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    width: 25px;
    height: 1px;
    background: var(--rose-dark);
    opacity: 0.5;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 400;
}

.section-title em {
    font-style: normal;
    font-weight: 500;
    color: var(--rose-primary);
    position: relative;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
}

.text-highlight {
    display: block;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--rose-dark);
    position: relative;
    padding-left: 20px;
}

.section-inline-cta {
    margin-top: 48px;
    text-align: center;
}

.text-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 3px;
    height: calc(100% - 10px);
    background: linear-gradient(to bottom, var(--rose-primary), var(--rose-secondary));
    border-radius: 2px;
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.centered-content .section-tag::before {
    display: none;
}

/* === SECTION DIVIDER === */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-primary), transparent);
    margin: 0 auto 40px;
    opacity: 0.5;
}

/* === LAYOUTS === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-col.reverse .col-text {
    order: -1;
}

.col-img {
    position: relative;
}

/* Decorative frame on images */
.col-img::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--rose-primary);
    border-radius: 400px 400px 0 0;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.col-img:hover::before {
    opacity: 0.35;
}

.img-rounded {
    border-radius: 400px 400px 0 0;
    box-shadow: var(--shadow-soft);
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.col-img:hover .img-rounded {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* === ICONS (FIXED) === */
.feature-icon,
.exp-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--rose-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Animated circle behind icon */
.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--rose-light);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-icon::before {
    transform: scale(1.5);
}

.feature-icon svg,
.exp-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.2px;
    position: relative;
    z-index: 1;
}

/* === CARDS === */
.feature-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: var(--radius-soft);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

/* Gradient shine on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 137, 123, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(196, 137, 123, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--rose-dark);
}

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

/* === LISTS === */
.check-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 1rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.check-list li:hover {
    transform: translateX(5px);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--rose-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.check-list li:hover::before {
    transform: scale(1.5);
}

/* === DESTAQUE BOX === */
.destaque-box {
    background: linear-gradient(135deg, var(--rose-light), rgba(247, 235, 232, 0.5));
    padding: 40px;
    border-radius: var(--radius-soft);
    border-left: 4px solid var(--rose-primary);
    position: relative;
    overflow: hidden;
}

.destaque-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 137, 123, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.destaque-box p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* === SECTION: POSICIONAMENTO === */
.section-posicionamento {
    background: var(--rose-light);
    position: relative;
}

.section-posicionamento::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 20%, rgba(196, 137, 123, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* === SECTION: PROCESSO === */
.section-processo {
    background-color: var(--rose-light);
}

.resultado-items {
    margin-top: 20px;
}

.resultado-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(196, 137, 123, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.resultado-item:hover {
    transform: translateX(10px);
    border-bottom-color: var(--rose-primary);
}

.resultado-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--rose-primary);
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.resultado-item:hover .resultado-num {
    opacity: 1;
    transform: scale(1.1);
}

.resultado-text {
    font-size: 1.1rem;
}

/* === STEPS / COMO FUNCIONA === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.step-card {
    position: relative;
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-primary), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(196, 137, 123, 0.1);
    position: absolute;
    top: -30px;
    left: 10px;
    z-index: 0;
    transition: color 0.5s ease;
}

.step-card:hover .step-number {
    color: rgba(196, 137, 123, 0.2);
}

.step-card h3,
.step-card p {
    position: relative;
    z-index: 1;
}

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

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

/* === COMO FUNCIONA DETAIL === */
.como-funciona-detail {
    margin-top: 20px;
}

/* === EXPERIENCIA === */
.exp-items {
    margin-top: 40px;
}

.exp-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.exp-item:hover {
    background-color: rgba(196, 137, 123, 0.04);
    transform: translateX(8px);
}

.exp-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    color: var(--rose-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.exp-item:hover .exp-icon {
    transform: scale(1.2) rotate(5deg);
}

.exp-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display';
}

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

/* === TESTIMONIALS === */
.section-depoimentos {
    background: var(--bg-off-white);
    position: relative;
}

.section-depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, rgba(196, 137, 123, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

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

.depoimento-card {
    background: #fff;
    padding: 50px 30px 40px;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

/* Gradient border effect on hover */
.depoimento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-primary), var(--rose-secondary), var(--rose-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.depoimento-card:hover::before {
    transform: scaleX(1);
}

.depoimento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(196, 137, 123, 0.15);
}

.depoimento-quote {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: rgba(196, 137, 123, 0.1);
    font-family: 'Playfair Display';
    line-height: 0;
    transition: color 0.3s ease;
}

.depoimento-card:hover .depoimento-quote {
    color: rgba(196, 137, 123, 0.2);
}

.depoimento-text {
    font-style: normal;
    margin-bottom: 25px;
    color: #666;
    position: relative;
    z-index: 1;
}

.depoimento-name {
    font-weight: 700;
    display: block;
    font-size: 0.9rem;
    color: var(--rose-dark);
}

.depoimento-proc {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #767676;
}

/* === AUTORIDADE === */
.section-autoridade {
    position: relative;
}

.autoridade-cro {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rose-dark);
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Nunito Sans', sans-serif;
}

.autoridade-bio p {
    margin-bottom: 15px;
}

.autoridade-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat {
    position: relative;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--rose-primary);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FILTRO === */
.section-filtro {
    background: var(--bg-white);
}

/* === CTA FINAL === */
.section-cta {
    position: relative;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, var(--rose-dark) 100%);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 137, 123, 0.2), transparent 70%);
    animation: glow-pulse 6s ease-in-out infinite;
}

.section-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 137, 123, 0.1), transparent 70%);
    animation: glow-pulse 8s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Glowing CTA button */
.section-cta .btn-primary {
    background: linear-gradient(135deg, var(--rose-primary), var(--rose-secondary));
    box-shadow: 0 10px 30px rgba(196, 137, 123, 0.4), 0 0 60px rgba(196, 137, 123, 0.15);
    animation: btn-glow 3s ease-in-out infinite;
}

@keyframes btn-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(196, 137, 123, 0.4), 0 0 60px rgba(196, 137, 123, 0.15); }
    50% { box-shadow: 0 10px 30px rgba(196, 137, 123, 0.5), 0 0 80px rgba(196, 137, 123, 0.25); }
}

/* === FOOTER === */
.footer {
    background: #2A2A2A;
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-primary), transparent);
    opacity: 0.3;
}

.footer h3 {
    color: var(--rose-primary);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer a:hover {
    color: var(--rose-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 0;
}

.footer-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(196, 137, 123, 0.12));
    border: 1px solid rgba(196, 137, 123, 0.35);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-brand {
    max-width: 380px;
}

.footer-brand p {
    font-size: 1rem;
}

.footer-contact .btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0.8px;
    padding: 16px 30px;
}

.footer-links h3,
.footer-contact h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--rose-light);
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 22px;
    text-align: center;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.92rem;
}

/* === TILT EFFECT ON CARDS (JS-controlled) === */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card > * {
    transform: translateZ(20px);
}

/* === PARALLAX SECTIONS === */
.parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* === COUNTER ANIMATION === */
.stat-number[data-count] {
    display: inline-block;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text character animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-text.active .char {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth image zoom on scroll */
.zoom-on-scroll {
    transition: transform 0.3s ease;
    will-change: transform;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid .step-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .two-col {
        gap: 50px;
    }

    .hero-content {
        padding: 120px 40px 60px 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 30px;
    }

    .col-img::before {
        display: none;
    }

}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 100vh;
        min-height: 100svh;
        position: relative;
        background: url('../img/hero.jpg') center center / cover no-repeat;
        background: url('../img/hero.webp') center center / cover no-repeat;
    }

    .hero-content {
        min-height: 100vh;
        min-height: 100svh;
        padding: 150px 30px 50px;
        text-align: center;
        align-items: center;
        justify-content: center;
        background: rgba(26, 26, 26, 0.78);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        display: none;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(26, 26, 26, 0.75) 100%);
    }

    .hero-image::after {
        display: none;
    }

    .img-rounded {
        border-radius: 20px;
        max-height: 400px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 83px;
    }

    .logo img {
        height: 143px;
        margin-top: 12px;
    }

    .header.scrolled .logo {
        height: 74px;
    }

    .header.scrolled .logo img {
        height: 124px;
        margin-top: 10px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav.active {
        right: 0;
    }

    /* Bloco de contato visivel no mobile */
    .nav-contact {
        display: block;
        text-align: center;
        padding-bottom: 20px;
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        width: 100%;
    }

    .nav-contact-title {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--rose-primary);
        margin-bottom: 10px;
    }

    .nav-contact-address {
        font-size: 0.8rem;
        line-height: 1.6;
        color: var(--text-secondary);
        margin-bottom: 12px;
    }

    .nav-contact-phone {
        display: inline-block;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--text-primary);
        border: 1px solid var(--rose-primary);
        padding: 8px 20px;
        border-radius: 100px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-contact-phone:hover {
        background: var(--rose-primary);
        color: white;
    }

    .nav-link {
        color: var(--text-primary) !important;
        font-size: 1rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col.reverse .col-text {
        order: 0;
    }

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

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

    .steps-grid .step-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

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

    .como-funciona-detail {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .autoridade-stats {
        gap: 30px;
    }

    .hero-content {
        min-height: 100vh;
        min-height: 100svh;
        padding: 100px 20px 30px;
    }

    .section-inline-cta {
        margin-top: 36px;
        padding: 0 8px;
    }

    .hero-content .btn,
    .section-inline-cta .btn,
    .cta-content .btn,
    .footer-contact .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: min(100%, 360px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 1.9rem;
    }

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

    .btn {
        padding: 14px 30px;
        font-size: 0.85rem;
    }

    .text-highlight::before {
        display: none;
    }

    .section-tag::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 74px;
    }

    .logo img {
        height: 124px;
        margin-top: 10px;
    }

    .header.scrolled .logo {
        height: 64px;
    }

    .header.scrolled .logo img {
        height: 110px;
        margin-top: 8px;
    }

    html {
        font-size: 15px;
    }

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

    .hero-content {
        min-height: 100vh;
        min-height: 100svh;
        padding: 90px 20px 30px;
        text-align: center;
        align-items: center;
    }

    .hero-tag {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 16px;
    }

    .hero-title em::after {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-tag {
        font-size: 0.7rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
        width: min(100%, 340px);
        max-width: 100%;
    }

    .section-inline-cta {
        padding: 0 6px;
    }

    .col-img img {
        border-radius: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .autoridade-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 0.95rem;
    }

    .depoimento-card {
        padding: 30px 20px 24px;
    }

    .step-card {
        padding: 30px 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .destaque-box {
        padding: 24px 20px;
    }

    .destaque-box p {
        font-size: 0.95rem;
    }

    .footer-content {
        gap: 24px;
    }
}

/* === SMOOTH SCROLL REVEAL TIMING === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}
