/* ==========================================================================
   CSS CUSTOM PROPERTIES (VARIÁVEIS)
   ========================================================================== */
:root {
    /* Identidade Visual Requerida */
    --color-black: #000000;
    --color-bordo: #7a1c3d;
    --color-rosa: #db7f7f;
    --color-bege: #ddb7ab;
    --color-branco: #fffcfb;

    /* Gradientes Premium */
    --gradient-hero: linear-gradient(135deg, var(--color-black) 0%, #1a060d 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-bege) 0%, var(--color-rosa) 100%);
    --gradient-bordo: linear-gradient(135deg, var(--color-bordo) 0%, #4a1024 100%);

    /* Tipografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Efeitos Constants (Luxury aesthetics) */
    --glass-bg: rgba(255, 252, 251, 0.05);
    --glass-border: rgba(221, 183, 171, 0.2);
    --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    --glow-shadow: 0 0 20px rgba(221, 183, 171, 0.3);

    /* Transições Suaves e Dramáticas */
    --transition-fast: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-slow: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: var(--color-black);
    color: var(--color-branco);
}

html {
    font-size: 16px;
    /* Dark theme base */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bordo);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-rosa);
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-branco);
    letter-spacing: -0.01em;
    word-wrap: break-word; /* Impede que títulos longos estiquem a tela no mobile */
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES (Efeitos Premium)
   ========================================================================== */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
}

/* Remove or simplify scrolled state as it's no longer fixed */
.navbar.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

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

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

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-branco);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-bordo);
    color: var(--color-branco);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(122, 28, 61, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(122, 28, 61, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-bege);
    border: 1px solid var(--color-bege);
}

.btn-outline:hover {
    background: rgba(221, 183, 171, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

/* Shine Effect for Hero Buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 252, 251, 0.4),
            transparent);
    transform: rotate(25deg);
    transition: none;
    animation: shineEffect 6s infinite cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-shine-delay::after {
    animation-delay: 1.5s;
}

/* Hover Animations for Buttons */
.pulse-hover:hover {
    animation: pulse-sm 2s infinite;
}

.glow-hover:hover {
    box-shadow: 0 0 20px rgba(221, 183, 171, 0.5);
    border-color: var(--color-rosa);
}

@keyframes pulse-sm {
    0% {
        box-shadow: 0 0 0 0 rgba(122, 28, 61, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(122, 28, 61, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(122, 28, 61, 0);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-black);
    overflow: hidden; /* Evita que orbes flutuantes causem scroll horizontal */
    padding-top: 140px;
    padding-bottom: 80px;
}

/* Background Animated Orbs / Glassmorphism */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    mix-blend-mode: screen;
    /* animation: floatOrb 20s infinite ease-in-out alternate; */
    /* Removed original animation */
}

/* Enhanced Orb Animations */
@keyframes floatOrb1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10%, 15%) scale(1.2);
    }

    66% {
        transform: translate(-5%, 20%) scale(0.8);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatOrb2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    33% {
        transform: translate(-15%, -10%) scale(0.9);
    }

    66% {
        transform: translate(10%, -20%) scale(1.3);
    }

    100% {
        transform: translate(0, 0) scale(1.1);
    }
}

@keyframes floatOrb3 {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-40%, -60%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-bordo);
    top: -20%;
    right: -10%;
    opacity: 0.5;
    animation: floatOrb1 25s infinite linear;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-rosa);
    bottom: -10%;
    left: -15%;
    opacity: 0.3;
    animation: floatOrb2 30s infinite linear;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-bege);
    top: 50%;
    left: 50%;
    opacity: 0.2;
    animation: floatOrb3 20s infinite ease-in-out;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
    /* Above BG */
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(221, 183, 171, 0.1);
    border: 1px solid var(--color-bege);
    border-radius: 20px;
    color: var(--color-bege);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-img-container {
    position: relative;
    width: 100%;
    z-index: 1;
    /* Aplicando o gradiente de desvanecimento no container */
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero-img-premium {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Melhora a renderização de nitidez */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Força aceleração de hardware para evitar sub-pixels desfocados */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-bordo);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-bege);
    font-size: 0.9rem;
    box-shadow: var(--glow-shadow);
    animation: floatingText 4s infinite ease-in-out;
}

.badge-top-right {
    top: 40px;
    right: 0; /* Corrigido: era -20px, causava overflow horizontal */
}

/* ==========================================================================
   ANIMATIONS (Keyframes)
   ========================================================================== */
@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.95);
    }
}

@keyframes floatingText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes shineEffect {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* REVEAL CLASSES (Used by JS) */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px); /* Reduzido de -80px para evitar overflow */
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px); /* Reduzido de 80px para evitar overflow */
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px); /* Reduzido de 80px */
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .badge-top-right {
        right: 10px;
    }

    .nav-links {
        display: none;
        /* Add mobile menu logic here via JS later */
    }

    .mobile-toggle {
        display: block;
    }

    .logo-img {
        height: 55px;
    }

    /* Mobile Menu Animation Support */
    .nav-links {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   GLOBAL LAYOUT & SECTIONS
   ========================================================================== */
.large-highlight-title {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    line-height: 1.1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    white-space: nowrap;
}

#resultados .section-header {
    max-width: 1000px;
}

@media (max-width: 1100px) {
    .large-highlight-title {
        font-size: 4rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 992px) {
    .large-highlight-title {
        font-size: 3.2rem;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .large-highlight-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
}

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

.padding-block {
    padding: 140px 0;
}

.bg-darker {
    background: #0a0305;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: rgba(255, 252, 251, 0.7);
    font-size: 1.1rem;
}

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

.mt-5 {
    margin-top: 50px;
}

/* ==========================================================================
   DIFERENCIAIS SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    /* Pull up to overlap hero slightly */
    position: relative;
    z-index: 10;
}

.feature-card {
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-fast);
}

.hover-glow:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(219, 127, 127, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-black);
    box-shadow: 0 10px 20px rgba(221, 183, 171, 0.2);
}

.icon-pulse {
    animation: pulseIcon 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.feature-card h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--color-bege);
}

.feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 252, 251, 0.7);
    line-height: 1.6;
}

@keyframes pulseIcon {
    0% {
        box-shadow: 0 0 0 0 rgba(221, 183, 171, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(221, 183, 171, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(221, 183, 171, 0);
    }
}

/* ==========================================================================
   PROCEDIMENTOS SECTION
   ========================================================================== */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    width: 100%;
}

.procedure-card {
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-fast);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.procedure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(122, 28, 61, 0.5);
}

.procedure-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.procedure-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.procedure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.7;
    transition: var(--transition-fast);
}



.procedure-card:hover .procedure-img {
    transform: scale(1.1);
}

.procedure-card:hover .procedure-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(122, 28, 61, 0.8) 100%);
    opacity: 0.9;
}



.procedure-content {
    padding: 30px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.procedure-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-bege);
}

.procedure-content p {
    font-size: 0.9rem;
    color: rgba(255, 252, 251, 0.7);
    line-height: 1.5;
}

/* ==========================================================================




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

.sobre-img-wrapper {
    position: relative;
    /* border-radius moveu para o inner wrapper para evitar clipping do badge */
}

.img-shine-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    line-height: 0;
    box-shadow: var(--premium-shadow);
}

.img-shine-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 252, 251, 0.3) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shineImage 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shineImage {
    0% {
        left: -150%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.sobre-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.sobre-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.experience-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-bege);
    line-height: 1;
}

.experience-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.sobre-content {
    padding-right: 20px;
}

.sobre-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.sobre-content p {
    margin-bottom: 20px;
    color: rgba(255, 252, 251, 0.8);
    font-size: 1.05rem;
}

.sobre-list {
    margin-top: 30px;
}

.sobre-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.sobre-list i {
    font-size: 1.5rem;
}

/* ==========================================================================
   COMO FUNCIONA / TIMELINE
   ========================================================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

/* Connecting line for desktop */
@media (min-width: 992px) {
    .timeline::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--color-bordo), transparent);
        z-index: 1;
    }
}

.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-black);
    box-shadow: 0 10px 20px rgba(221, 183, 171, 0.2);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: var(--glow-shadow);
}

.timeline-content {
    padding: 30px 20px;
    border-radius: 16px;
    height: calc(100% - 100px);
}

.timeline-content h3 {
    color: var(--color-bege);
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: rgba(255, 252, 251, 0.7);
    line-height: 1.6;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 35px;
    border-radius: 16px;
}

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

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-rosa);
}

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

.reviewer-info h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
}

.stars {
    color: #ffb800;
    /* Standard star color */
    font-size: 0.9rem;
    margin-top: 5px;
}

.review-platform {
    margin-left: auto;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.review-text {
    font-style: italic;
    color: rgba(255, 252, 251, 0.8);
    line-height: 1.7;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

/* ==========================================================================
   MAP / CONTACT SECTION
   ========================================================================== */
.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-card {
    padding: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.8rem;
    padding-top: 2px;
}

.contact-item h4 {
    color: var(--color-bege);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 252, 251, 0.8);
    font-size: 0.95rem;
}

.map-iframe-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
    /* Border effect from glass-card */
}

.map-iframe-wrapper iframe {
    border-radius: 12px;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(110%);
    /* Map dark mode effect */
    transition: var(--transition-slow);
}

.map-iframe-wrapper:hover iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

.mb-4 {
    margin-bottom: 30px;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--color-black);
    border-top: 1px solid rgba(221, 183, 171, 0.1);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-desc {
    color: rgba(255, 252, 251, 0.6);
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.6;
}

.mt-3 {
    margin-top: 15px;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bege);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(221, 183, 171, 0.1);
}

.social-links a:hover {
    background: var(--gradient-bordo);
    color: var(--color-branco);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

.footer-links-col h4 {
    color: var(--color-bege);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul a {
    color: rgba(255, 252, 251, 0.6);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 252, 251, 0.5);
    font-size: 0.85rem;
}

.footer-bottom .credits a {
    color: var(--color-bege);
    font-weight: 500;
}

.footer-bottom .credits a:hover {
    color: var(--color-rosa);
}

/* ==========================================================================
   WHATSAPP & FLOATING COMPONENTS
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1100;
    /* Above LGPD and others */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    z-index: -1;
    animation: pulseWave 2.5s infinite linear;
}

.whatsapp-float::after {
    animation-delay: 1.25s;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: iconShake 4s infinite ease-in-out;
}

@keyframes pulseWave {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes iconShake {

    0%,
    90%,
    100% {
        transform: scale(1);
    }

    92% {
        transform: scale(1.1) rotate(-10deg);
    }

    94% {
        transform: scale(1.1) rotate(10deg);
    }

    96% {
        transform: scale(1.1) rotate(-10deg);
    }

    98% {
        transform: scale(1.1) rotate(10deg);
    }
}

/* ==========================================================================
   LGPD BANNER & MODAL
   ========================================================================== */
.lgpd-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: calc(100% - 60px);
    max-width: 420px;
    padding: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(10, 3, 5, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--glow-shadow);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lgpd-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.lgpd-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.lgpd-content p {
    font-size: 0.9rem;
    color: rgba(255, 252, 251, 0.9);
    line-height: 1.6;
    font-weight: 300;
}

.lgpd-content a {
    font-weight: 500;
    text-decoration: none;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
    width: fit-content;
    align-self: flex-end;
    border-radius: 12px;
}

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-gold);
    transition: var(--transition-fast);
}

.hover-underline:hover::after {
    width: 100%;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(221, 183, 171, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--color-bege);
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-branco);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-rosa);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-bordo);
    border-radius: 3px;
}

.modal-body h4 {
    color: var(--color-bege);
    margin: 25px 0 10px;
    font-size: 1.1rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: rgba(255, 252, 251, 0.8);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   MEDIA QUERIES (Mobile responsiveness continuation)
   ========================================================================== */
@media (max-width: 992px) {

    .sobre-container,
    .map-container {
        grid-template-columns: 1fr;
    }

    .sobre-img-wrapper {
        order: 2;
        margin-top: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .sobre-content {
        order: 1;
        padding-right: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .padding-block {
        padding: 60px 0;
    }

    /* CORRECÃO PRINCIPAL: forçar 1 coluna no mobile para evitar overflow */
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .timeline {
        gap: 20px;
    }
    
    section {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px; /* Fotos mais altas no mobile 1-col */
    }

    .item-large,
    .item-wide {
        grid-column: span 1;
    }

    .contact-info-card {
        padding: 25px 20px;
    }

    .map-iframe-wrapper {
        min-height: 350px;
    }
    .lgpd-banner {
        width: 92%; /* Mais seguro que calc com margens fixas */
        left: 4%;
        right: 4%;
        bottom: 12px;
        padding: 10px;
        gap: 5px;
        border-radius: 12px;
    }

    .lgpd-content {
        gap: 8px;
        flex-direction: row; /* Mantendo linha para economizar espaço vertical */
    }

    .cookie-icon {
        font-size: 1rem;
    }

    .lgpd-content p {
        font-size: 0.68rem;
        line-height: 1.25;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .btn-sm {
        margin-top: 5px;
        padding: 5px 10px;
        font-size: 0.68rem;
        width: fit-content;
        align-self: flex-start;
    }
}