/* ==========================================
   DR. DIEGO SCHÚ — DESIGN SYSTEM PREMIUM
   ========================================== */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
    --color-dark: #2C2A26;
    --color-gold: #C79B3C;
    --color-gold-light: #EAE5DD;
    --color-light: #F4F7FA;
    --color-taupe: #c9beaf;
    --color-accent: #C79B3C;
    --gradient-gold: linear-gradient(135deg, #C79B3C 0%, #e0c179 100%);
    --gradient-dark: linear-gradient(135deg, #2C2A26 0%, #3E3B36 100%);
    --gradient-hero: linear-gradient(135deg, #2C2A26 0%, #8f6e28 50%, #C79B3C 100%);
    --shadow-glow: 0 0 30px rgba(199, 155, 60, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 20px 60px rgba(199, 155, 60, 0.15);
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
}

/* ── Base ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 700;
}

/* Page load animation */
body {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Utility Classes ── */
.bg-custom-dark {
    background-color: var(--color-dark);
}

.text-custom-gold {
    color: var(--color-gold);
}

.bg-custom-gold {
    background-color: var(--color-gold);
}

.bg-custom-light {
    background-color: var(--color-light);
}

.bg-custom-beige {
    background-color: var(--color-gold-light);
}

.bg-custom-taupe {
    background-color: var(--color-taupe);
}

.text-custom-taupe {
    color: var(--color-taupe);
}

.border-custom-gold {
    border-color: var(--color-gold);
}

/* ── Quill Alignment ── */
.ql-align-center {
    text-align: center;
}

.ql-align-justify {
    text-align: justify;
}

.ql-align-right {
    text-align: right;
}

.ql-align-left {
    text-align: left;
}

/* ── Main Wrapper Containment ── */
.main-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
    display: block;
}

/* ── Header / Navbar ── */
#main-header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-header.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Active nav link */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--color-gold) !important;
}

/* Nav CTA Button */
.nav-cta {
    background: linear-gradient(90deg, var(--color-gold), #e0c179);
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(199, 155, 60, 0.3);
}

.nav-cta:hover {
    background: linear-gradient(90deg, #b58d34, var(--color-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 155, 60, 0.4);
}

/* ── Mobile Menu ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 60;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    z-index: 55;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 120px 40px 40px;
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    transform: translateX(30px);
    opacity: 0;
}

.mobile-menu.active a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu.active a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu a:hover {
    color: var(--color-gold);
    padding-left: 12px;
}

.mobile-menu a.mobile-menu-cta {
    color: #fff !important;
    background: linear-gradient(90deg, var(--color-gold), #e0c179);
    text-align: center;
    border-radius: 14px;
    padding: 16px 0;
    margin-top: 16px;
    border-bottom: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 155, 60, 0.2);
}

.mobile-menu a.mobile-menu-cta:hover {
    background: linear-gradient(90deg, #b58d34, var(--color-gold));
    color: #fff !important;
    padding-left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 42, 38, 0.5);
    backdrop-filter: blur(4px);
    z-index: 54;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

/* ── Hero Gradient Text ── */
.text-gradient-hero {
    background: linear-gradient(180deg, #2C2A26 0%, #C79B3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ── Subpage Hero Header (Premium) ── */
.subpage-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.hero-background-shape {
    clip-path: none;
}

@media (min-width: 768px) {
    .hero-background-shape {
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Hero Background Image Overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('equipamentos-para-consultorio-odontologico.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 8s ease-in-out infinite;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.subpage-hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.subpage-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.subpage-hero .breadcrumb {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.subpage-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.subpage-hero .breadcrumb a:hover {
    color: #fff;
}

.subpage-hero .breadcrumb span {
    margin: 0 8px;
}

/* Geometric decorative shapes */
.subpage-hero .deco-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    z-index: 1;
}

.subpage-hero .deco-shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    transform: rotate(45deg);
    animation: rotateSlow 20s linear infinite;
}

.subpage-hero .deco-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 25%;
    transform: rotate(30deg);
    animation: rotateSlow 15s linear infinite reverse;
}

.subpage-hero .deco-shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 8%;
    border-radius: 50%;
    animation: floatOrb 12s ease-in-out infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ── Premium Button ── */
.btn-premium {
    background: linear-gradient(90deg, var(--color-gold), #e0c179);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(199, 155, 60, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    background: linear-gradient(90deg, #b58d34, var(--color-gold));
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(199, 155, 60, 0.35);
}

/* ── Hero Premium Enhancement ── */
.hero-bg-faint {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    /* Full width on mobile */
    height: 100%;
    background-image: url('equipamentos-para-consultorio-odontologico.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(to top, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to top, transparent, black 40%);
}

@media (min-width: 768px) {
    .hero-bg-faint {
        width: 65%;
        mask-image: linear-gradient(to right, transparent, black 30%);
        -webkit-mask-image: linear-gradient(to right, transparent, black 30%);
    }
}

.hero-vertical-bar {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    /* Merged: almost same width as PC but fits mobile */
    height: 140%;
    background: linear-gradient(180deg, var(--color-gold) 0%, rgba(199, 155, 60, 0) 100%);
    z-index: 5;
    opacity: 1;
    max-width: 100vw;
}

@media (min-width: 768px) {
    .hero-vertical-bar {
        width: 380px;
        opacity: 1;
    }
}

/* ── New Scroll Button ── */
.scroll-btn-new {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: bounceSlow 3s infinite;
    background: transparent;
}

.scroll-btn-new:hover {
    background: var(--color-dark);
    color: #fff;
    transform: scale(1.1);
}

@keyframes bounceSlow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    z-index: 20;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.badge-1 {
    top: 20%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 25%;
    right: -10%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}


/* ── Scroll Indicator ── */
.scroll-indicator {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 5px solid var(--color-light);
    box-shadow: 0 0 0 3px var(--color-gold), var(--shadow-glow);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.scroll-indicator:hover {
    transform: scale(1.15);
    animation: none;
    box-shadow: 0 0 0 3px var(--color-gold), 0 0 40px rgba(212, 175, 55, 0.4);
}

/* ── Feature Cards (Premium + Animated) ── */
.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Gradient top bar — slides in from left */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer sweep on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.04), transparent);
    transition: none;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    animation: shimmerSweep 0.8s ease forwards;
}

@keyframes shimmerSweep {
    0% {
        left: -60%;
    }

    100% {
        left: 120%;
    }
}

.feature-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.15);
}

/* Icon — rotates + grows + glows */
.feature-card i {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.feature-card:hover i {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.5));
    animation: iconPulseGlow 1.5s ease-in-out infinite;
}

@keyframes iconPulseGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.7));
    }
}

/* Card title underline reveal */
.feature-card h3 {
    position: relative;
    display: inline-block;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.5s ease 0.1s;
    border-radius: 2px;
}

.feature-card:hover h3::after {
    width: 100%;
}

/* ── Dark Cards (Experience section — Animated) ── */
.dark-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Moving spotlight */
.dark-card::before {
    content: '';
    position: absolute;
    top: -80%;
    left: -80%;
    width: 260%;
    height: 260%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Bottom border glow */
.dark-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.dark-card:hover::before {
    opacity: 1;
    animation: spotlightMove 3s ease-in-out infinite;
}

.dark-card:hover::after {
    transform: scaleX(1);
}

@keyframes spotlightMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(10%, 5%);
    }

    50% {
        transform: translate(-5%, 10%);
    }

    75% {
        transform: translate(5%, -5%);
    }
}

.dark-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(212, 175, 55, 0.25), 0 0 30px rgba(212, 175, 55, 0.1);
}

/* Icon bounce on hover */
.dark-card i {
    transition: all 0.4s ease;
    display: inline-block;
}

.dark-card:hover i {
    animation: iconBounce 0.6s ease;
    color: var(--color-accent) !important;
}

@keyframes iconBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1.05);
    }
}

/* ── Experience Cards (Colored Border) ── */
.exp-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: none;
}

.exp-card:hover::before {
    animation: shimmerSweep 0.8s ease forwards;
}

.exp-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.exp-card i {
    transition: all 0.4s ease;
    display: inline-block;
}

.exp-card:hover i {
    transform: scale(1.2);
}

/* ── Animated Marquee ── */
.marquee-line {
    background: var(--gradient-dark);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.85);
}

.marquee-item .dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 215, 0, 0.9);
        transform: scale(1.4);
    }
}

/* ── CTA Banner (Glassmorphism) ── */
.cta-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent, rgba(255, 215, 0, 0.1));
    border-radius: inherit;
    z-index: -1;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb 8s ease-in-out infinite;
}

/* ── Testimonial Cards (Animated) ── */
.testimonial-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Floating quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 7rem;
    font-family: Georgia, serif;
    color: rgba(212, 175, 55, 0.06);
    line-height: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.testimonial-card:hover::before {
    transform: translateY(-8px) scale(1.1);
    color: rgba(212, 175, 55, 0.12);
}

/* Bottom glow line */
.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.testimonial-card:hover::after {
    width: 80%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.12);
}

/* Avatar ring — gradient spin on hover */
.testimonial-card .avatar-ring {
    background: var(--gradient-gold);
    padding: 3px;
    border-radius: 50%;
    transition: all 0.5s ease;
    position: relative;
}

.testimonial-card:hover .avatar-ring {
    animation: ringPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes ringPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    }
}

.testimonial-card .avatar-ring img {
    border: 3px solid white;
}

/* Stars shimmer on hover */
.testimonial-card:hover .fa-star {
    animation: starTwinkle 0.6s ease forwards;
}

.testimonial-card:hover .fa-star:nth-child(2) {
    animation-delay: 0.08s;
}

.testimonial-card:hover .fa-star:nth-child(3) {
    animation-delay: 0.16s;
}

.testimonial-card:hover .fa-star:nth-child(4) {
    animation-delay: 0.24s;
}

.testimonial-card:hover .fa-star:nth-child(5) {
    animation-delay: 0.32s;
}

@keyframes starTwinkle {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.4) rotate(15deg);
    }

    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

/* ── About Section Image ── */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--color-gold), var(--color-accent)) 1;
    border-radius: 3rem;
    z-index: -1;
    transform: translate(32px, 32px);
    opacity: 0.5;
}

.about-image-wrapper img {
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.02);
}

/* ── Counter Animation ── */
.counter-value {
    display: inline-block;
}

/* ── Stat Numbers ── */
.stat-number {
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseWhatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ── Utility Classes ── */
.bg-custom-light {
    background-color: var(--color-light);
}

.bg-custom-dark {
    background-color: var(--color-dark);
}

.text-custom-dark {
    color: var(--color-dark);
}



/* ── Footer Premium ── */
.footer-premium {
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav-link:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

/* ── FAQ Accordion ── */
.faq-button {
    transition: color 0.3s ease;
}

.faq-button:hover {
    color: var(--color-gold) !important;
}

.faq-button i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    overflow: hidden;
    max-height: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Location Section ── */
.map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.map-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(212, 175, 55, 0.1);
    z-index: 2;
    pointer-events: none;
}

.contact-info-card {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: var(--shadow-glow);
    animation: contactIconBounce 0.5s ease;
}

.contact-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes contactIconBounce {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.25) rotate(-8deg);
    }

    70% {
        transform: scale(1.1) rotate(3deg);
    }

    100% {
        transform: scale(1.15) rotate(-5deg);
    }
}

/* ── Section Dividers ── */
/* BEFORE / AFTER COMPARISON SLIDER */
.comparison-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
    cursor: ew-resize;
    touch-action: none;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

.comparison-slider .img-after {
    clip-path: inset(0 0 0 50%);
}

.comparison-slider .slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.comparison-slider .slider-handle::after {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 4px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.comparison-slider:hover .slider-handle::after {
    transform: translate(-50%, -50%) scale(1.1);
}

.comparison-label {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
    pointer-events: none;
    z-index: 5;
}

.label-before {
    left: 1.5rem;
}

.label-after {
    right: 1.5rem;
}

.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1px);
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .section-divider svg {
        height: 100px;
    }
}

.divider-white {
    fill: #ffffff;
}

.divider-light {
    fill: var(--color-light);
}

.divider-dark {
    fill: var(--color-dark);
}

.divider-flip {
    transform: rotate(180deg);
}

/* ── Section Notch ── */
.section-notch {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 35px;
    background-color: inherit;
    border-radius: 65px 65px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.section-notch i {
    color: var(--color-gold);
    animation: bounceSlow 2s infinite;
    font-size: 1.5rem;
    margin-top: -6px;
}

@keyframes bounceSlow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-1px);
    }
}

/* ── Decorative Elements ── */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.section-badge:hover {
    transform: scale(1.05);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

/* ── Smooth Scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── Selection Color ── */
::selection {
    background: rgba(212, 175, 55, 0.5);
    color: var(--color-dark);
}

/* ── Responsive Tweaks ── */
@media (max-width: 768px) {
    .subpage-hero h1 {
        font-size: 2.5rem;
    }

    .subpage-hero {
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .feature-card {
        min-height: auto;
    }
}

/* -- Office Gallery -- */
.office-gallery {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
        gap: 20px;
        padding: 0 40px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 42, 38, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Masonry-like spans */
@media (min-width: 768px) {
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-row: span 1;
    }

    .gallery-item:nth-child(3) {
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(5) {
        grid-column: span 1;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }

    .gallery-item:nth-child(10) {
        grid-column: span 2;
    }
}

/* -- Lightbox Overlay -- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 42, 38, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    user-select: none;
    animation: fadeIn 0.4s ease;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: zoomIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-controls {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.lightbox-btn {
    background: var(--gradient-gold);
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
}

.lightbox-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 155, 60, 0.4);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--color-gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -- Clean About Section -- */
.section-about-clean {
    background-color: #f8fbff !important;
}

.about-image-wrapper-simple {
    display: flex;
    justify-content: center;
    /* Centralizado no mobile */
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .about-image-wrapper-simple {
        justify-content: center;
        /* Centralizado para equilíbrio total */
    }
}

.about-image-wrapper-simple img {
    width: 100%;
    max-width: 500px;
    /* Reduz o tamanho total mantendo a proporção */
    height: auto;
    display: block;
    border-radius: 2rem;
}
/* ── Comparison Table ── */
.table-wrapper {
    overflow-x: auto;
    margin: 0.5rem 0;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
}

.comparison-table thead tr {
    background: var(--color-dark);
    color: #fff;
}

.comparison-table thead th {
    text-align: center !important;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    border: 1px solid #e1e8ed !important;
    vertical-align: top;
}

.comparison-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.comparison-table th[colspan] {
    text-align: center !important;
}

.comparison-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
    table-layout: auto !important; /* Allow columns to fit content */
}

.comparison-table thead th {
    background-color: #2D2926 !important;
    color: #FFFFFF !important;
    padding: 1.25rem 1.5rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-align: center !important;
    vertical-align: middle !important;
    border: 1px solid #3d3935 !important;
    min-width: 140px !important;
}

.comparison-table tbody tr {

    background-color: #ffffff !important;
    color: #4A4A4A !important;
}

/* Force centering even if there are inner elements */
.inserted-table-container {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 1.5rem 0 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .inserted-table-container table {
        min-width: 500px !important; /* Force internal scroll on mobile */
    }
}

.comparison-table thead th * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.comparison-table td {
    padding: 1rem 1.5rem !important;
    color: #4A4A4A !important;
    border: 1px solid #e1e8ed !important;
    vertical-align: top;
    text-align: center !important;
    min-width: 140px !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.comparison-table td:first-child {
    color: var(--color-dark) !important;
    font-weight: 400 !important;
}

/* Custom Scrollbar for Modal */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: #e2e2e2;
    border-radius: 10px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
}


/* ── Caret / Cursor Color ── */
input, textarea, [contenteditable="true"] {
    caret-color: #8A6720;
}
