:root {
    --primary: #910202;
    --primary-light: #b51515;
    --primary-dark: #6e0000;
    --primary-rgb: 145, 2, 2;
    --secondary: #69727d;
    --secondary-light: #8e96a0;
    --secondary-dark: #4b525a;
    --bg-body: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-dark: #0d0d0d;
    --text-primary: #1a1a1a;
    --text-secondary: #555c63;
    --text-white: #ffffff;
    --text-offwhite: #f0f2f5;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 25px 35px -5px rgba(145, 2, 2, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --transition-swift: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: 'Fjalla One', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-swift);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fillPillar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(16px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes kb1 {
    0% {
        transform: scale(1.10) translate(0%, 0%);
    }

    100% {
        transform: scale(1.03) translate(1.5%, -1%);
    }
}

@keyframes kb2 {
    0% {
        transform: scale(1.03) translate(-1.5%, 1%);
    }

    100% {
        transform: scale(1.10) translate(0%, 0%);
    }
}

@keyframes heroFadeIn {

    0%,
    40% {
        opacity: 1;
    }

    50%,
    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroFadeIn2 {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes aurora1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, -60px) scale(1.15);
    }

    66% {
        transform: translate(-60px, 40px) scale(0.9);
    }
}

@keyframes aurora2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-100px, 80px) scale(1.2);
    }

    66% {
        transform: translate(60px, -50px) scale(0.85);
    }
}

@keyframes aurora3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 70px) scale(1.1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blur reveal */
.blur-reveal {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.blur-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.blur-reveal.delay-1 {
    transition-delay: 0.1s;
}

.blur-reveal.delay-2 {
    transition-delay: 0.2s;
}

.blur-reveal.delay-3 {
    transition-delay: 0.3s;
}

.blur-reveal.delay-4 {
    transition-delay: 0.4s;
}

.blur-reveal.delay-5 {
    transition-delay: 0.5s;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(145, 2, 2, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--primary);
    background: rgba(145, 2, 2, 0.05);
}

/* Magnetic wrapper — JS adds translate via style */
.mag-btn {
    display: inline-block;
}

/* ─── HEADER ─── */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 100%;
    padding: 1.2rem 200px 0.55rem;
    position: relative;
    z-index: 12;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.header-contact a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.2px;
}

.header-contact a:hover {
    color: var(--text-white);
}

.header-contact i {
    font-size: 0.75rem;
}

.header-line-container {
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 100px;
    pointer-events: none;
    z-index: 10;
}

.header-line-svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 110px;
    max-width: 100%;
    padding: 0 200px;
    position: relative;
    z-index: 11;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: -14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    align-self: flex-start;
    margin-top: 46px;
}

.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.45rem 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: var(--primary);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.btn-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
}

/* ─── HERO ─── */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    background: #111;
}

/* Ken Burns image layers */
.hero-img-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-layer-1 {
    animation: heroFadeIn 16s ease-in-out infinite;
    z-index: 0;
}

.hero-img-layer-1 img {
    animation: kb1 16s ease-in-out infinite alternate;
}

.hero-img-layer-2 {
    animation: heroFadeIn2 16s ease-in-out infinite;
    z-index: 0;
}

.hero-img-layer-2 img {
    animation: kb2 16s ease-in-out infinite alternate;
}

/* Cinematic overlays */
.hero-overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .55) 100%);
}

.hero-overlay-bordeaux {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(90, 2, 2, .38) 0%, transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

/* ShinyText */
.shiny-text {
    font-size: 4rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
}

.shiny-text .shiny-accent {
    background: linear-gradient(90deg,
            #910202 10%,
            #972727 30%,
            #882929 50%,
            #631e16 70%,
            #910202 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 9s linear infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.law-pillars {
    display: flex;
    gap: 1rem;
    margin-top: 4rem;
    max-width: 600px;
}

.pillar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
}

.pillar.animate::after {
    animation: fillPillar 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pillar:nth-child(2).animate::after {
    animation-delay: 0.2s;
}

.pillar:nth-child(3).animate::after {
    animation-delay: 0.4s;
}

.pillar:nth-child(4).animate::after {
    animation-delay: 0.6s;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-hint-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ─── MARQUEE TICKER ─── */
.ticker-wrapper {
    background: #111111;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
    padding: 0.85rem 0;
    position: relative;
    z-index: 2;
}

.ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: ticker 29.4s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 2.5rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, .65);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ─── STATS ─── */
.stats-section {
    padding: 5rem 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-suffix {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.stat-bar {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    opacity: 0.3;
    border-radius: 2px;
}

/* ─── SECTION TITLES ─── */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    height: 2px;
    flex-grow: 1;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    opacity: 0.3;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
}

/* ─── SOBRE ─── */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.sobre-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background-color: #eee;
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── MAGIC BENTO GRID ─── */
.bento-section {
    position: relative;
    user-select: none;
}

.bento-grid {
    display: grid;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.magic-bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 220px;
    width: 100%;
    padding: 1.75em;
    border-radius: 20px;
    border: 1px solid rgba(145, 2, 2, 0.12);
    background: #1a0808;
    font-weight: 300;
    overflow: hidden;
    transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;

    --glow-x: 50%;
    --glow-y: 50%;
    --glow-intensity: 0;
    --glow-radius: 300px;
}

/* Once revealed, free transform for GSAP (no CSS transition fighting it) */
.magic-bento-card.blur-reveal.is-visible {
    transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.magic-bento-card:hover {
    box-shadow: 0 12px 40px rgba(145, 2, 2, 0.15);
}

.magic-bento-card__header {
    display: flex;
    align-items: center;
    gap: 0.75em;
    position: relative;
    z-index: 2;
    margin-bottom: auto;
}

.magic-bento-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(145, 2, 2, 0.15);
    color: #e04040;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.magic-bento-card:hover .magic-bento-card__icon {
    background: rgba(145, 2, 2, 0.9);
    color: #fff;
    transform: scale(1.08);
}

.magic-bento-card__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.magic-bento-card__content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin-top: 1.25em;
}

.magic-bento-card__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.magic-bento-card__description {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1em;
}

.magic-bento-card__link {
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e04040;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.magic-bento-card__link:hover {
    color: #ff5555;
}

.magic-bento-card__link i {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.magic-bento-card__link:hover i {
    transform: translateX(5px);
}

/* ── Border glow effect ── */
.magic-bento-card--border-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 6px;
    background: radial-gradient(var(--glow-radius) circle at var(--glow-x) var(--glow-y),
            rgba(145, 2, 2, calc(var(--glow-intensity) * 0.8)) 0%,
            rgba(145, 2, 2, calc(var(--glow-intensity) * 0.4)) 30%,
            transparent 60%);
    border-radius: inherit;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.magic-bento-card--border-glow:hover {
    box-shadow:
        0 8px 30px rgba(60, 2, 2, 0.35),
        0 0 25px rgba(145, 2, 2, 0.15);
}

/* ── Particle styles ── */
.bento-particle-container {
    position: relative;
    overflow: hidden;
}

.bento-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(145, 2, 2, 1);
    box-shadow: 0 0 6px rgba(145, 2, 2, 0.6);
    pointer-events: none;
    z-index: 100;
}

.bento-particle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(145, 2, 2, 0.2);
    border-radius: 50%;
    z-index: -1;
}

/* ── Global spotlight ── */
.bento-global-spotlight {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

/* ── Bento responsive grid ── */
@media (max-width: 599px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .magic-bento-card {
        min-height: 200px;
    }
}

@media (min-width: 600px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .magic-bento-card:nth-child(3) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .magic-bento-card:nth-child(3) .magic-bento-card__title {
        font-size: 1.6rem;
    }

    .magic-bento-card:nth-child(3) .magic-bento-card__description {
        font-size: 0.95rem;
    }

    .magic-bento-card:nth-child(3) .magic-bento-card__icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .magic-bento-card:nth-child(4) {
        grid-column: 1 / span 2;
        grid-row: 2 / span 2;
    }

    .magic-bento-card:nth-child(4) .magic-bento-card__title {
        font-size: 1.6rem;
    }

    .magic-bento-card:nth-child(4) .magic-bento-card__description {
        font-size: 0.95rem;
    }

    .magic-bento-card:nth-child(4) .magic-bento-card__icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .magic-bento-card:nth-child(6) {
        grid-column: 4;
        grid-row: 3;
    }
}

/* ── Bento mobile carousel ── */
@media (max-width: 768px) {
    .bento-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .bento-grid::-webkit-scrollbar {
        display: none;
    }

    .bento-grid .magic-bento-card {
        scroll-snap-align: center;
        flex: 0 0 85%;
        max-width: 85%;
        margin: 0;
        min-height: 220px;
    }

    .bento-grid .magic-bento-card:nth-child(3),
    .bento-grid .magic-bento-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* ─── CARDS GRID (Pilares) ─── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* ─── DARK / AURORA SECTION ─── */
.dark-section-wrapper {
    background: var(--bg-dark);
    color: var(--text-offwhite);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Aurora blobs */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.aurora-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(145, 2, 2, 0.35) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: aurora1 14s ease-in-out infinite;
}

.aurora-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 30, 30, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: aurora2 18s ease-in-out infinite;
}

.aurora-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 10, 10, 0.25) 0%, transparent 70%);
    top: 30%;
    left: 40%;
    animation: aurora3 22s ease-in-out infinite;
}

.dark-section-wrapper .section-title {
    color: var(--text-white);
}

.dark-section-wrapper .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0.2;
}

.dark-section-wrapper .section-subtitle {
    color: #a0a0a0;
}

.dark-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dark-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(145, 2, 2, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.dark-card:hover::before {
    opacity: 1;
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-6px);
    border-color: rgba(145, 2, 2, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.dark-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.dark-card i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.55);
    position: relative;
    z-index: 1;
}

/* ─── SOBRE ─── */
.sobre-section {
    padding: 7rem 0;
    background: #fff;
    position: relative;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(145, 2, 2, .07);
    padding: 6px 14px;
    border-radius: 4px;
}

.sobre-badge i {
    color: var(--primary);
    font-size: 0.85rem;
}

.sobre-badge span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary);
}

.sobre-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 2.8rem;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.sobre-title span {
    color: var(--primary);
}

.sobre-text-strong {
    color: var(--text-secondary);
    line-height: 1.78;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.sobre-text-strong strong {
    color: var(--text-primary);
    font-weight: 600;
}

.sobre-text {
    color: var(--text-secondary);
    line-height: 1.78;
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.sobre-text.last {
    margin-bottom: 32px;
}

.sobre-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.sobre-link:hover {
    opacity: 0.8;
    gap: 12px;
}

/* Override sobre-link when used as star-border */
.sobre-link.star-border-container {
    display: inline-block;
    padding: 2px 0;
    text-decoration: none;
    opacity: 1;
}

.sobre-link.star-border-container:hover {
    opacity: 1;
}

/* ─── STAR BORDER ─── */
.star-border-container {
    display: inline-block;
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    padding: 2px 0;
}

.star-border-gradient {
    position: absolute;
    width: 300%;
    height: 50%;
    opacity: 0.5;
    /* Reduzido de 0.7 para 0.5 */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.star-border-gradient--bottom {
    bottom: -12px;
    right: -250%;
    background: radial-gradient(circle, var(--primary), transparent 10%);
    /* Reduzido de 10% para 6% */
    animation: star-movement-bottom 5s linear infinite alternate;
}

.star-border-gradient--top {
    top: -12px;
    left: -250%;
    background: radial-gradient(circle, var(--primary), transparent 10%);
    /* Reduzido de 10% para 6% */
    animation: star-movement-top 5s linear infinite alternate;
}

.star-border-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 22px;
    border-radius: 9px;
    border: 1px solid rgba(145, 2, 2, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.star-border-container:hover .star-border-content {
    background: rgba(145, 2, 2, 0.03);
    border-color: rgba(145, 2, 2, 0.25);
}

.star-border-content i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.star-border-container:hover .star-border-content i {
    transform: translateX(5px);
}

@keyframes star-movement-bottom {
    0% {
        transform: translate(0%, 0%);
        opacity: 1;
    }

    100% {
        transform: translate(-100%, 0%);
        opacity: 0;
    }
}

@keyframes star-movement-top {
    0% {
        transform: translate(0%, 0%);
        opacity: 1;
    }

    100% {
        transform: translate(100%, 0%);
        opacity: 0;
    }
}

.sobre-img-wrapper {
    position: relative;
}

.sobre-img-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 60px rgba(0, 0, 0, .14);
    aspect-ratio: 4/3;
    background: #e8e4e4;
}

.sobre-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.sobre-float-card {
    position: absolute;
    bottom: -24px;
    left: -28px;
    background: var(--primary);
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 16px 40px rgba(145, 2, 2, .35);
    animation: float 4s ease-in-out infinite;
}

.sobre-float-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.sobre-float-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, .75);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.sobre-accent-line {
    position: absolute;
    top: 24px;
    right: -16px;
    width: 4px;
    height: 80px;
    background: var(--primary);
    border-radius: 2px;
}

/* ─── EQUIPE ─── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.team-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--bg-body);
    overflow: hidden;
    padding-top: 1.5rem;
    padding-inline: 1rem;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

/* ─── CONTATO ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-card i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.info-card h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    text-transform: none;
    letter-spacing: normal;
}

.info-card p,
.info-card a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--bg-dark);
    color: var(--text-offwhite);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-text {
    color: #a0a0a0;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #a0a0a0;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: var(--transition-swift);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.sobre-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #910202;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: border-color .25s;
}

.sobre-link:hover {
    border-color: #910202;
}

.sobre-link.star-border-container {
    border-bottom: none;
    padding-bottom: 0;
    padding: 2px 0;
}

/* ─── BORDER GLOW (Pilares) ─── */
.border-glow-card {
    --edge-proximity: 0;
    --cursor-angle: 45deg;
    --edge-sensitivity: 30;
    --color-sensitivity: calc(var(--edge-sensitivity) + 20);
    --border-radius: var(--radius-md);
    --glow-padding: 40px;
    --cone-spread: 25;
    --card-bg: rgba(20, 20, 20, 0.8);
    --fill-opacity: 0.5;

    --glow-color: hsl(359deg 97% 29% / 100%);
    --glow-color-60: hsl(359deg 97% 29% / 60%);
    --glow-color-50: hsl(359deg 97% 29% / 50%);
    --glow-color-40: hsl(359deg 97% 29% / 40%);
    --glow-color-30: hsl(359deg 97% 29% / 30%);
    --glow-color-20: hsl(359deg 97% 29% / 20%);
    --glow-color-10: hsl(359deg 97% 29% / 10%);

    --gradient-one: radial-gradient(at 80% 55%, #c81e1e 0px, transparent 50%);
    --gradient-two: radial-gradient(at 69% 34%, #910202 0px, transparent 50%);
    --gradient-three: radial-gradient(at 8% 6%, #5a0101 0px, transparent 50%);
    --gradient-four: radial-gradient(at 41% 38%, #c81e1e 0px, transparent 50%);
    --gradient-five: radial-gradient(at 86% 85%, #910202 0px, transparent 50%);
    --gradient-six: radial-gradient(at 82% 18%, #5a0101 0px, transparent 50%);
    --gradient-seven: radial-gradient(at 51% 4%, #910202 0px, transparent 50%);
    --gradient-base: linear-gradient(#c81e1e 0 100%);

    position: relative;
    border-radius: var(--border-radius);
    isolation: isolate;
    transform: translate3d(0, 0, 0.01px);
    display: grid;
    border: 1px solid rgb(255 255 255 / 15%);
    background: var(--card-bg);
    overflow: visible;
}

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card>.edge-light {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.25s ease-out;
    z-index: -1;
}

.border-glow-card:not(:hover):not(.sweep-active)::before,
.border-glow-card:not(:hover):not(.sweep-active)::after,
.border-glow-card:not(:hover):not(.sweep-active)>.edge-light {
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

.border-glow-card::before {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--card-bg) 0 100%) padding-box,
        linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
        var(--gradient-one) border-box,
        var(--gradient-two) border-box,
        var(--gradient-three) border-box,
        var(--gradient-four) border-box,
        var(--gradient-five) border-box,
        var(--gradient-six) border-box,
        var(--gradient-seven) border-box,
        var(--gradient-base) border-box;

    opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
    mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
    -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black calc(var(--cone-spread) * 1%), transparent calc((var(--cone-spread) + 15) * 1%), transparent calc((100 - var(--cone-spread) - 15) * 1%), black calc((100 - var(--cone-spread)) * 1%));
}

.border-glow-card::after {
    border: 1px solid transparent;
    background:
        var(--gradient-one) padding-box,
        var(--gradient-two) padding-box,
        var(--gradient-three) padding-box,
        var(--gradient-four) padding-box,
        var(--gradient-five) padding-box,
        var(--gradient-six) padding-box,
        var(--gradient-seven) padding-box,
        var(--gradient-base) padding-box;

    mask-image: linear-gradient(to bottom, black, black), radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%), radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%), conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black, black), radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%), radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%), radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%), conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
    mask-composite: subtract, add, add, add, add, add;
    -webkit-mask-composite: source-out, source-over, source-over, source-over, source-over, source-over;
    opacity: calc(var(--fill-opacity, 0.5) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
    mix-blend-mode: soft-light;
}

.border-glow-card>.edge-light {
    inset: calc(var(--glow-padding) * -1);
    pointer-events: none;
    z-index: 1;

    mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);
    -webkit-mask-image: conic-gradient(from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%);

    opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
    mix-blend-mode: plus-lighter;
}

.border-glow-card>.edge-light::before {
    content: "";
    position: absolute;
    inset: var(--glow-padding);
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px var(--glow-color),
        inset 0 0 1px 0 var(--glow-color-60),
        inset 0 0 3px 0 var(--glow-color-50),
        inset 0 0 6px 0 var(--glow-color-40),
        inset 0 0 15px 0 var(--glow-color-30),
        inset 0 0 25px 2px var(--glow-color-20),
        inset 0 0 50px 2px var(--glow-color-10),
        0 0 1px 0 var(--glow-color-60),
        0 0 3px 0 var(--glow-color-50),
        0 0 6px 0 var(--glow-color-40),
        0 0 15px 0 var(--glow-color-30),
        0 0 25px 2px var(--glow-color-20),
        0 0 50px 2px var(--glow-color-10);
}

.border-glow-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: auto;
    z-index: 1;
}

.border-glow-inner.dark-card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width:1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-top {
        padding: 1.2rem 1.5rem 0.55rem;
    }

    .header-bottom {
        padding: 0 1.5rem;
        height: 60px;
        align-items: center;
    }

    .header-line-container {
        display: none;
    }

    .brand {
        margin-top: 0;
    }

    .nav-links {
        margin-top: 0;
    }

    .shiny-text {
        font-size: 3.2rem;
    }
}

@media (max-width:768px) {
    .header-top {
        display: none !important;
    }

    .header-bottom {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
        height: auto !important;
    }

    .brand {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .shiny-text {
        font-size: 2.5rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    #navLinks {
        display: none !important;
    }

    .sm-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        color: #e9e9ef;
        font-family: var(--font-display);
        font-size: 1.2rem;
        letter-spacing: 1px;
        z-index: 2001;
        overflow: visible;
        padding: 10px;
    }

    .sm-toggle-textWrap {
        position: relative;
        height: 1em;
        overflow: hidden;
    }

    .sm-toggle-textInner {
        display: flex;
        flex-direction: column;
        transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    }

    .sm-toggle-line {
        height: 1em;
        line-height: 1;
        display: block;
    }

    .sm-icon {
        position: relative;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1);
    }

    .sm-icon-line {
        position: absolute;
        width: 100%;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
    }

    .sm-icon-line-v {
        transform: rotate(90deg);
    }

    .staggered-menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 2000;
        pointer-events: none;
        overflow: hidden;
    }

    .sm-prelayers {
        position: absolute;
        top: 0;
        right: 0;
        width: clamp(260px, 80vw, 420px);
        height: 100%;
        pointer-events: none;
        z-index: 5;
    }

    .sm-prelayer {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    }

    .sm-prelayer-1 {
        background: rgba(145, 2, 2, 0.4);
        backdrop-filter: blur(8px);
        transition-delay: 0s;
        z-index: 1;
    }

    .sm-prelayer-2 {
        background: rgba(145, 2, 2, 0.8);
        backdrop-filter: blur(12px);
        transition-delay: 0.05s;
        z-index: 2;
    }

    .staggered-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: clamp(260px, 80vw, 420px);
        height: 100%;
        background: #111;
        z-index: 10;
        display: flex;
        flex-direction: column;
        padding: 7rem 2rem 3rem 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
        transition-delay: 0.1s;
        pointer-events: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .sm-panel-inner {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 2rem;
    }

    .sm-panel-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .sm-panel-itemWrap {
        overflow: hidden;
    }

    .sm-panel-item {
        display: inline-block;
        font-family: var(--font-display);
        font-size: 2.8rem;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        transform: translateY(120%) rotate(5deg);
        transform-origin: left bottom;
        transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1), color 0.3s;
        line-height: 1;
    }

    .sm-panel-item:hover {
        color: var(--primary);
    }

    .sm-socials {
        margin-top: auto;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s, transform 0.5s;
        transition-delay: 0s;
    }

    .sm-socials-title {
        font-size: 1rem;
        color: var(--primary);
        text-transform: uppercase;
        margin-bottom: 15px;
    }

    .sm-socials-list {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .sm-socials-link {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.3s;
    }

    .sm-socials-link:hover {
        color: #fff;
    }

    /* Open State */
    body.menu-open .sm-toggle {
        color: #fff;
    }

    body.menu-open .sm-toggle-textInner {
        transform: translateY(-1em);
    }

    body.menu-open .sm-icon {
        transform: rotate(225deg);
    }

    body.menu-open .staggered-menu-wrapper {
        pointer-events: auto;
    }

    body.menu-open .sm-prelayer {
        transform: translateX(0);
    }

    body.menu-open .sm-prelayer-1 {
        transition-delay: 0s;
    }

    body.menu-open .sm-prelayer-2 {
        transition-delay: 0.05s;
    }

    body.menu-open .staggered-menu-panel {
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    body.menu-open .sm-panel-item {
        transform: translateY(0) rotate(0);
    }

    body.menu-open .sm-panel-itemWrap:nth-child(1) .sm-panel-item {
        transition-delay: 0.2s;
    }

    body.menu-open .sm-panel-itemWrap:nth-child(2) .sm-panel-item {
        transition-delay: 0.25s;
    }

    body.menu-open .sm-panel-itemWrap:nth-child(3) .sm-panel-item {
        transition-delay: 0.3s;
    }

    body.menu-open .sm-panel-itemWrap:nth-child(4) .sm-panel-item {
        transition-delay: 0.35s;
    }

    body.menu-open .sm-panel-itemWrap:nth-child(5) .sm-panel-item {
        transition-delay: 0.4s;
    }

    body.menu-open .sm-panel-itemWrap:nth-child(6) .sm-panel-item {
        transition-delay: 0.45s;
    }

    body.menu-open .sm-socials {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.6s;
    }

    .sobre-section {
        padding: 4rem 0;
    }

    .sobre-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .sobre-title {
        font-size: 2.2rem;
    }

    .sobre-float-card {
        left: 10px;
        bottom: -15px;
        padding: 12px 16px;
    }

    .sobre-float-num {
        font-size: 1.5rem;
    }

    .sobre-accent-line {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Ocultar Menu Mobile no Desktop ── */
@media (min-width: 769px) {
    .staggered-menu-wrapper {
        display: none !important;
    }
}

/* ── Location Map Component ── */
.location-map-container {
    perspective: 1000px;
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
    width: 100%;
    min-height: 380px;
}

.location-map-card {
    width: 240px;
    height: 140px;
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    position: relative;
    transform-style: preserve-3d;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.1s;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.location-map-card.expanded {
    width: 360px;
    height: 280px;
    box-shadow: var(--shadow-lg);
}

.loc-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.02), transparent, rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.loc-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: linear-gradient(rgba(0, 0, 0, 1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 1) 1px, transparent 1px);
    background-size: 20px 20px;
    transition: opacity 0.3s;
    z-index: 1;
}

.location-map-card.expanded .loc-grid-pattern {
    opacity: 0;
}

.loc-map-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.1s;
    z-index: 1;
}

.location-map-card.expanded .loc-map-content {
    opacity: 1;
}

.loc-bg {
    position: absolute;
    inset: 0;
    background: #eef0f2;
    border-radius: 16px;
}

.loc-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.loc-svg line {
    stroke: rgba(0, 0, 0, 0.15);
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.loc-svg .loc-road-main {
    stroke-width: 4;
    stroke: rgba(0, 0, 0, 0.25);
}

.loc-svg .loc-road-sec {
    stroke-width: 1.5;
    stroke: rgba(0, 0, 0, 0.1);
}

.location-map-card.expanded .loc-svg line {
    animation: drawRoad 1s ease forwards;
}

@keyframes drawRoad {
    to {
        stroke-dashoffset: 0;
    }
}

.location-map-card.expanded .loc-svg .h-1 {
    animation-delay: 0.2s;
}

.location-map-card.expanded .loc-svg .h-2 {
    animation-delay: 0.3s;
}

.location-map-card.expanded .loc-svg .v-1 {
    animation-delay: 0.4s;
}

.location-map-card.expanded .loc-svg .v-2 {
    animation-delay: 0.5s;
}

.loc-building {
    position: absolute;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.location-map-card.expanded .loc-building {
    opacity: 1;
    transform: scale(1);
}

.b-1 {
    top: 40%;
    left: 10%;
    width: 15%;
    height: 20%;
    transition-delay: 0.5s;
}

.b-2 {
    top: 15%;
    left: 35%;
    width: 12%;
    height: 15%;
    transition-delay: 0.6s;
}

.b-3 {
    top: 70%;
    left: 75%;
    width: 18%;
    height: 18%;
    transition-delay: 0.7s;
}

.b-4 {
    top: 20%;
    right: 10%;
    width: 10%;
    height: 25%;
    transition-delay: 0.55s;
}

.b-5 {
    top: 55%;
    left: 5%;
    width: 8%;
    height: 12%;
    transition-delay: 0.65s;
}

.b-6 {
    top: 8%;
    left: 75%;
    width: 14%;
    height: 10%;
    transition-delay: 0.75s;
}

.loc-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) translateY(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    filter: drop-shadow(0 4px 6px rgba(145, 2, 2, 0.4));
}

.location-map-card.expanded .loc-pin {
    transform: translate(-50%, -50%) scale(1) translateY(0);
}

.loc-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-surface), transparent 60%);
    opacity: 0.8;
    border-radius: 16px;
}

.loc-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    pointer-events: none;
}

.loc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.loc-icon-wrap {
    transition: opacity 0.3s;
    filter: drop-shadow(0 0 4px rgba(145, 2, 2, 0.3));
}

.location-map-card.expanded .loc-icon-wrap {
    opacity: 0;
}

.loc-status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: transform 0.2s, background 0.2s;
    pointer-events: auto;
}

.location-map-container:hover .loc-status {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.08);
}

.loc-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 4px var(--primary);
}

.loc-status span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.loc-footer h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    margin-bottom: 2px;
    transition: transform 0.3s;
}

.location-map-container:hover .loc-footer h3 {
    transform: translateX(4px);
}

.loc-coords {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-secondary);
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.location-map-card.expanded .loc-coords {
    max-height: 20px;
    opacity: 1;
    transform: translateY(0);
}

.loc-line {
    height: 1px;
    background: linear-gradient(to right, var(--primary), rgba(145, 2, 2, 0.3), transparent);
    margin-top: 6px;
    transform-origin: left;
    transform: scaleX(0.3);
    transition: transform 0.4s ease;
}

.location-map-container:hover .loc-line,
.location-map-card.expanded .loc-line {
    transform: scaleX(1);
}

.loc-hint {
    position: absolute;
    bottom: 0;
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s;
    pointer-events: none;
}

.location-map-container:hover:not(.is-expanded) .loc-hint {
    opacity: 1;
    transform: translateY(20px);
}


@media (min-width: 1025px) {
    .header-bottom .brand {
        position: absolute !important;
        right: calc(75% - 10px) !important;
    }

    .header-bottom::before {
        content: '';
        display: block;
    }
}


.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .carousel-indicators.mobile-only {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        padding-bottom: 1rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(145, 2, 2, 0.3);
        transition: background-color 0.3s, transform 0.3s;
    }

    .carousel-dot.active {
        background-color: #910202;
        transform: scale(1.3);
    }
}


@media (max-width: 768px) {
    .team-carousel {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.5rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-carousel::-webkit-scrollbar {
        display: none;
    }

    .team-carousel .team-card {
        scroll-snap-align: center;
        flex: 0 0 85%;
        max-width: 85%;
        margin: 0;
    }

    .team-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        padding-bottom: 1rem;
    }
}