/* =========================================
   VARIABLES & SETUP
   ========================================= */
:root {
    --bg-dark: #0D0D0D;
    --bg-light: #1A1A1A;
    --text-ivory: #F5F3EE;
    --text-muted: rgba(245, 243, 238, 0.7);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --red-bordeaux: #800000;
    --red-bordeaux-hover: #A00000;
    --red-glow: rgba(128, 0, 0, 0.4);

    --font-heading: 'Montserrat', sans-serif;
    --font-hook: 'Playfair Display', serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-ivory);
    font-family: var(--font-heading);
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 10;
}

/* Typography Utilities */
.hook-italic {
    font-family: var(--font-hook);
    font-style: italic;
    font-weight: 400;
}

.highlight-gold {
    color: var(--gold);
}

.bold {
    font-weight: 800;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    filter: grayscale(100%) contrast(1.2) brightness(0.4);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* camada preta 75% de opacidade */
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    overflow-wrap: break-word;
    /* evita corte no Chrome mobile */
    word-break: break-word;
}

@media (max-width: 639px) {
    .headline {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        /* menor no mobile para caber inteiro */
        letter-spacing: -0.01em;
        line-height: 1.15;
    }

    .headline .hook-italic {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }
}

.mobile-break {
    display: none;
}

@media (max-width: 639px) {

    /* sm breakpoint no tailwind */
    .mobile-break {
        display: block;
    }
}

.headline .hook-italic {
    text-transform: none;
    font-size: clamp(3rem, 6vw, 5.5rem);
    display: inline-block;
}

.subheadline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    position: relative;
    background-color: var(--red-bordeaux);
    color: var(--text-ivory);
    padding: 1.5rem 3rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    transform: scale(1.05);
}

.cta-text {
    position: relative;
    z-index: 10;
}

.cta-shine {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.cta-button:hover .cta-shine {
    transform: translateX(100%);
}

.security-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    color: var(--text-ivory);
}

.security-icon {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.security-text {
    font-size: 0.75rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

@media (max-width: 768px) {
    .security-text {
        font-size: 11px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: drift 2s infinite ease-in-out;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-ivory);
    border-bottom: 2px solid var(--text-ivory);
    transform: rotate(45deg);
}

@keyframes drift {

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

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

/* =========================================
   CONTRAST SECTION
   ========================================= */
.contrast-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080808 100%);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 0 auto var(--spacing-lg);
}

.contrast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contrast-grid {
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
}

.contrast-card {
    background: rgba(25, 25, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

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

.card-teoria {
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.card-batalha {
    border-top: 3px solid var(--gold);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-batalha .card-title {
    color: var(--gold);
}

.contrast-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Equivalent to space-y-6 */
}

.contrast-list li {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* Espaçamento entre icone e texto */
    line-height: 1.5;
    word-break: break-word;
    /* Previne vazar div no mobile */
}

.card-batalha .contrast-list li {
    color: var(--text-ivory);
}

.bullet {
    color: var(--red-bordeaux);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    /* Previne q ícone encolha se linha for enorme */
    margin-top: 0.1rem;
    /* Micro alinhar icone com o topo do T */
    line-height: 1;
    width: 24px;
    /* Fixa largura x do icone */
    text-align: center;
}

.bullet.check {
    color: var(--gold);
}

.list-text {
    flex: 1 1 0%;
    /* Força o texto a tomar TODO e apenas o espaço restante, quebrando com div */
    min-width: 0;
    /* Ajuda grids flexiveis em mobile iOS a n extrapolar tela */
}

.vs-badge {
    background: var(--bg-dark);
    color: var(--gold);
    font-family: var(--font-hook);
    font-style: italic;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--gold-glow);
}

/* =========================================
   ARSENAL SECTION
   ========================================= */
.arsenal-section {
    padding: var(--spacing-xl) 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ffffff" fill-opacity="0.03"/></svg>') var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Pulsão suave no título O ARSENAL */
@keyframes arsenal-pulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(212, 175, 55, 0.15),
            0 0 30px rgba(212, 175, 55, 0);
        letter-spacing: 0.12em;
    }

    50% {
        text-shadow:
            0 0 20px rgba(212, 175, 55, 0.45),
            0 0 60px rgba(212, 175, 55, 0.2),
            0 0 100px rgba(212, 175, 55, 0.08);
        letter-spacing: 0.18em;
    }
}

.arsenal-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    animation: arsenal-pulse 3.5s ease-in-out infinite;
    color: var(--text-ivory);
}

.arsenal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.arsenal-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.arsenal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.7s ease;
}

.arsenal-card:hover::before {
    left: 150%;
}

.arsenal-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(25, 25, 25, 0.8);
    transform: translateY(-3px);
}

.card-icon {
    font-family: var(--font-hook);
    font-style: italic;
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* =========================================
   OFFER SECTION
   ========================================= */
.offer-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(0deg, #050505 0%, var(--bg-dark) 100%);
    display: flex;
    justify-content: center;
}

.offer-box {
    background: rgba(245, 243, 238, 0.05);
    /* F5F3EE/5 */
    border: 1px solid rgba(245, 243, 238, 0.1);
    /* F5F3EE/10 */
    border-radius: 3rem;
    /* rounded-[3rem] */
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.offer-label {
    color: var(--gold);
    font-family: monospace;
    font-size: 0.75rem;
    /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.offer-header {
    margin-bottom: var(--spacing-lg);
}

.offer-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.offer-subtitle {
    color: var(--text-ivory);
    opacity: 0.6;
    font-size: 0.875rem;
    /* text-sm */
    font-style: italic;
    max-width: 28rem;
    margin: 0 auto 2rem auto;
    line-height: 1.5;
}

.offer-subtitle span {
    color: var(--text-ivory);
    font-weight: bold;
    opacity: 1;
    /* override paren opacity */
}

.price-anchoring {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.anchor-text {
    color: #FFFFFF;
    text-decoration: line-through;
    text-decoration-color: #800000;
    /* risco vermelho Bordeaux */
    -webkit-text-decoration-color: #800000;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.strike {
    text-decoration: line-through;
    opacity: 0.5;
}

.final-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-right: 0.25rem;
    color: var(--gold);
    font-weight: bold;
}

.value {
    font-size: 6rem;
    /* text-8xl */
    font-weight: 900;
    /* font-black */
    letter-spacing: -0.05em;
    /* tracking-tighter */
    color: var(--text-ivory);
    line-height: 1;
}

.price-terms {
    color: var(--gold);
    font-weight: bold;
    font-size: 0.75rem;
    /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.offer-cta {
    width: 100%;
}

.offer-cta .cta-button {
    width: 100%;
    padding: 1.5rem 4rem;
    /* px-16 py-6 */
}

@media (min-width: 768px) {
    .offer-cta .cta-button {
        width: auto;
    }
}

.security-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.security-stack .security-text {
    font-size: 10px;
    color: rgba(245, 243, 238, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.guarantee-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    background-color: rgba(212, 175, 55, 0.05);
}

.guarantee-text {
    font-size: 11px;
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(128, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(128, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(128, 0, 0, 0);
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #050505;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & REVEALS
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

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

/* Reveal Classes (to be triggered via JS) */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Reveal Classes (to be triggered via JS) */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right,
.mt-reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.mt-reveal.active {
    opacity: 1;
    transform: translate(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* =========================================
   NEW REACT EXPORT STYLES
   ========================================= */

/* Fixed Animated Background */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-color: var(--bg-dark);
    pointer-events: none;
}

.bg-pulse {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    /* Aumenta opacidade base para clarear mais */
    background: radial-gradient(circle at 50% 50%, #2a2a2a 0%, #0d0d0d 100%);
    /* Centro bem mais cinza claro que antes */
    animation: bgPulse 6s infinite alternate ease-in-out;
}

.bg-bounce {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    /* Bolha um pouco maior */
    height: 50%;
    background-color: rgba(128, 0, 0, 0.15);
    /* Vermelho um pouco mais intenso no blur */
    filter: blur(100px);
    /* Menos blur para mais luminosidade aparente */
    border-radius: 50%;
    animation: bgBounce 12s infinite alternate ease-in-out;
}

/* Nova bolha de luz para criar mais movimento visual e claridade no lado oposto */
.bg-bounce-right {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background-color: rgba(212, 175, 55, 0.05);
    /* Dourado muito suave no canto inferior direito */
    filter: blur(120px);
    border-radius: 50%;
    animation: bgBounceRight 15s infinite alternate ease-in-out;
}

@keyframes bgPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.05);
        /* Expansao sutil do cinza */
    }
}

@keyframes bgBounce {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15%, 20%) scale(1.1);
        /* Movimento diagonal + leve zoom */
    }
}

@keyframes bgBounceRight {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

/* Modifiers for Hero Text */
.lowercase-text {
    text-transform: lowercase;
    font-weight: 300;
    letter-spacing: normal;
}

.hero-text-stack {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-light {
    font-weight: 300;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .text-nowrap-desktop {
        white-space: nowrap;
    }
}

.tracking-wide {
    letter-spacing: 0.3em;
    opacity: 0.5;
    font-size: 10px;
}

/* Remove Extra Title wrapper on contrast */
.contrast-container {
    padding-top: var(--spacing-lg);
}

.arsenal-section {
    padding: var(--spacing-xl) 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23ffffff" fill-opacity="0.03"/></svg>') var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.arsenal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.arsenal-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.arsenal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.7s ease;
}

.arsenal-card:hover::before {
    left: 150%;
}

.arsenal-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(25, 25, 25, 0.8);
    transform: translateY(-3px);
}

.card-icon {
    font-family: var(--font-hook);
    font-style: italic;
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Testimonials / Social Proof (Flutuantes) */
/* ==========================================================================
   PROVAS SOCIAIS HÍBRIDAS — SP-* SYSTEM
   ========================================================================== */

/* Section Wrapper */
.sp-section {
    position: relative;
    padding: 5rem 1.5rem 3rem;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* overflow: hidden causava carrossel branco no Safari — nunca usar aqui */
    overflow-x: clip;
    overflow-y: visible;
}

/* Section Header */
.sp-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 2rem;
    pointer-events: none;
}

/* =========================================================
   DESKTOP: BOLINHAS FLUTUANTES
   ========================================================= */
.sp-bubbles {
    position: relative;
    width: 100%;
    height: 440px;
    z-index: 2;
}

@keyframes sp-float {

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

    33% {
        transform: translateY(-18px) translateX(12px);
    }

    66% {
        transform: translateY(14px) translateX(-10px);
    }
}

.sp-bubble-wrap {
    position: absolute;
    animation: sp-float 14s ease-in-out infinite;
}

.sp-bubble {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* overflow: visible — NECESSÁRIO para o tooltip aparecer acima da bolinha */
    overflow: visible;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    z-index: 2;
}

/* Foto do avatar cobrindo a bolinha (clip-path mantém círculo sem overflow:hidden na bolinha) */
.sp-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    /* recorte circular sem overflow na bolinha */
    opacity: 0.85;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sp-initials {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: opacity 0.25s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.sp-bubble:hover .sp-avatar {
    opacity: 0.2;
}

/* TOOLTIP BALLOON — oculto por padrão */
.sp-tooltip {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    transform-origin: bottom center;
    width: 240px;
    background: #0D0D0D;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 16px;
    padding: 1.1rem 1.2rem 1rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 200;
    /* Seta para baixo */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.12);
}

.sp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.5);
}

.sp-quote {
    font-style: italic;
    font-size: 0.78rem;
    color: rgba(245, 243, 238, 0.9);
    line-height: 1.5;
    margin-bottom: 0.65rem;
}

.sp-name {
    display: block;
    color: #D4AF37;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.2rem;
}

.sp-role {
    display: block;
    color: rgba(245, 243, 238, 0.4);
    font-family: monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* HOVER STATE */
.sp-bubble:hover {
    transform: scale(1.18);
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
    z-index: 100;
}

.sp-bubble:hover .sp-initials {
    opacity: 0.1;
}

.sp-bubble:hover .sp-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* CLICK STATE (js toggles .sp-open) */
.sp-bubble.sp-open {
    transform: scale(1.18);
    border-color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.35);
    z-index: 100;
}

.sp-bubble.sp-open .sp-initials {
    opacity: 0.1;
}

.sp-bubble.sp-open .sp-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* =========================================================
   MOBILE: CARROSSEL DESLIZANTE (oculto no desktop)
   ========================================================= */
.sp-carousel-wrapper {
    display: none;
    width: 100%;
    min-width: 0;
    /* previne colapso no Safari */
    z-index: 5;
    margin-top: 1rem;
}

.sp-carousel {
    display: -webkit-box;
    /* Safari antigo */
    display: -webkit-flex;
    /* Safari moderno */
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Scroll suave iOS */
    scroll-snap-type: x mandatory;
    -webkit-scroll-snap-type: x mandatory;
    align-items: flex-start;
    /* Impede colapso de altura no Safari */
    gap: 14px;
    padding: 0.5rem 1.25rem 1.25rem;
    scrollbar-width: none;
}

.sp-carousel::-webkit-scrollbar {
    display: none;
}

.sp-card {
    /* Safari ignora flex shorthand — usar propriedades explícitas */
    flex-grow: 0;
    flex-shrink: 0;
    /* proibir o Safari de esmagar o card */
    flex-basis: auto;
    width: 82%;
    /* largura explícita para WebKit */
    min-width: 82%;
    /* largura mínima explícita para Safari */
    scroll-snap-align: center;
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateZ(0);
    /* forçar GPU / hardware acceleration no Safari */
    -webkit-transform: translateZ(0);
    box-sizing: border-box;
}

.sp-card-quote {
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(245, 243, 238, 0.88);
    line-height: 1.55;
    flex: 1;
}

.sp-card-name {
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.sp-card-role {
    font-family: monospace;
    color: rgba(245, 243, 238, 0.4);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sp-swipe-hint {
    text-align: center;
    color: rgba(245, 243, 238, 0.3);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
}

/* =========================================================
   BOTÃO CTA — SEMPRE ABAIXO, SEMPRE VISÍVEL
   ========================================================= */
.sp-cta {
    position: relative;
    z-index: 20;
    margin-top: 3.5rem;
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

/* =========================================================
   RESPONSIVIDADE: TRAVA MÓBIL
   ========================================================= */
@media (max-width: 767px) {
    .sp-section {
        padding: 4rem 0 3rem;
        /* Garante que o overflow não suprima o carrossel no Safari */
        overflow-x: clip;
        overflow-y: visible;
    }

    /* Mata o painel de bolinhas no celular */
    .sp-bubbles {
        display: none !important;
    }

    /* Faz o carrossel aparecer no celular (flex context para % funcionar no Safari) */
    .sp-carousel-wrapper {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: column;
        flex-direction: column;
        width: 100%;
    }

    /* Botão 100% de largura no celular */
    .sp-cta {
        margin-top: 2rem;
        padding: 0 1.25rem;
    }

    .sp-cta .cta-button {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

@media (min-width: 768px) {

    /* No desktop o carrossel fica oculto */
    .sp-carousel-wrapper {
        display: none !important;
    }

    /* Bolinhas visíveis */
    .sp-bubbles {
        display: block;
    }
}

.testimonials-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 5rem;
    pointer-events: none;
}

.ghost-label {
    color: var(--gold);
    font-family: monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    margin-bottom: 1rem;
}

.testimonials-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: var(--text-ivory);
    line-height: 1.1;
}

.highlight-bordeaux {
    color: var(--primary);
}

.bubbles-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bubble-wrap {
    position: absolute;
    /* Inline styles for position & animation-delay bi-product will be added via JS */
}

/* Animations */
@keyframes float {

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

    33% {
        transform: translateY(-10px) translateX(5px);
    }

    66% {
        transform: translateY(10px) translateX(-5px);
    }
}

@keyframes fadeInTestimonial {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.bubble {
    width: 3rem;
    height: 3rem;
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
}

@media (min-width: 768px) {
    .bubble {
        width: 4rem;
        height: 4rem;
    }
}

.bubble-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(13, 13, 13, 0.4);
    /* Escurece imagem um pouco */
    border-radius: 50%;
    transition: all 0.5s ease;
}

.bubble-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    animation: fadeInTestimonial 0.3s ease forwards;
    position: relative;
    /* Z-index fix context over the overlay */
    z-index: 2;
}

.bubble:hover {
    transform: scale(5);
    z-index: 50;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bubble:hover .bubble-overlay {
    background-color: rgba(13, 13, 13, 0.9);
    /* Oculta quase toda a img no hover para focar no texto */
}

.bubble:hover .bubble-content {
    display: flex;
}

.bubble-quote {
    font-size: 3px;
    /* Appears normal when scaled 5x */
    color: var(--text-ivory);
    opacity: 0.9;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    padding: 0 0.5rem;
}

.bubble-author {
    font-size: 2px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

/* ==========================================================================
   SEÇÃO DE PROVAS SOCIAIS (HÍBRIDA: DESKTOP VS MOBILE)
   ========================================================================== */
.social-proof-section {
    position: relative;
    padding: 100px 0;
    background-color: #0D0D0D;
    overflow: hidden;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-red {
    color: #800000;
}

/* -- COMPORTAMENTO PC (BOLINHAS) -- */
.desktop-bubbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bubble-wrapper {
    position: absolute;
    animation: float-bubble 15s ease-in-out infinite;
}

.bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    overflow: hidden;
}

.bubble-initial {
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.2rem;
}

.bubble-content {
    display: none;
    background: #0D0D0D;
    border: 2px solid #800000;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.bubble-content p {
    color: #F5F3EE;
    font-size: 9px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.bubble-content strong {
    color: #D4AF37;
    font-size: 8px;
    text-transform: uppercase;
}

.bubble:hover {
    transform: scale(4);
    z-index: 100;
    border: none;
}

.bubble:hover .bubble-initial {
    display: none;
}

.bubble:hover .bubble-content {
    display: flex;
}

@keyframes float-bubble {

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

    33% {
        transform: translateY(-30px) translateX(20px);
    }

    66% {
        transform: translateY(20px) translateX(-20px);
    }
}

/* -- COMPORTAMENTO CELULAR (CARROSSEL) -- */
.mobile-carousel-wrapper {
    display: none;
    /* Escondido por padrão no PC */
    width: 100%;
    z-index: 5;
    margin-top: 40px;
}

.mobile-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 0 20px 20px 20px;
    scrollbar-width: none;
    /* Esconde scrollbar no Firefox */
}

.mobile-carousel::-webkit-scrollbar {
    display: none;
}

/* Esconde scrollbar no Chrome/Safari */

.carousel-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: #1A1A1A;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text {
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(245, 243, 238, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-name {
    color: #D4AF37;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.card-role {
    font-family: monospace;
    color: rgba(245, 243, 238, 0.5);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.swipe-text {
    font-size: 0.7rem;
    color: rgba(245, 243, 238, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* -- REGRA DE RESPONSIVIDADE (A TRAVA) -- */
@media (max-width: 768px) {
    .desktop-bubbles {
        display: none !important;
        /* MATA as bolinhas no celular */
    }

    .mobile-carousel-wrapper {
        display: block !important;
        /* NASCE o carrossel no celular */
    }

    .social-proof-section {
        min-height: auto;
        padding: 60px 0;
    }

    .cta-final-container {
        margin-top: 20px;
        padding: 0 20px;
    }

    .cta-final-container .btn {
        width: 100%;
        /* Botão ocupa a tela toda no celular */
        box-sizing: border-box;
    }
}