/* CSS Design System para RAADS Landing Page */

:root {
    --brand-yellow: #FFC527;
    --soft-black: #1E1E1E;
    --white: #FFFFFF;
    --off-white: #FDFCF8;
    --dark-gray: #4A4A4A;
    --light-gray: #E0E0E0;
    --medium-gray: #9E9E9E;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(30,30,30, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--soft-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- HEADER --- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centralizado para máximo destaque na Hero */
}

.main-logo {
    height: 60px; /* Tamanho com destaque */
    width: auto;
    object-fit: contain;
    animation: fadeInScale 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px; /* Aumentar padding top por causa do header absoluto */
    background: radial-gradient(circle at 80% 20%, rgba(255, 197, 39, 0.05) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* --- COLUNA ESQUERDA --- */

.content-column {
    animation: fadeInUp 0.8s ease-out forwards;
}

.urgency-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.urgency-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--brand-yellow);
    padding: 8px 16px;
    border-radius: 50px;
}

.urgency-tag span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--soft-black);
    letter-spacing: 0.05em;
}

.cake-beside {
    position: relative;
    width: 105px;
    height: 105px;
    flex-shrink: 0;
}

.cake-small {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

@media (min-width: 969px) {
    .cake-beside, .cake-small {
        width: 165px;
        height: 165px;
    }
}

.candle-flame {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 14px;
    background: radial-gradient(ellipse at bottom, #FFC527 0%, #FF8C00 40%, rgba(255, 140, 0, 0) 70%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flame-dance 0.6s ease-in-out infinite alternate;
    transform-origin: bottom center;
    filter: blur(0.5px);
    pointer-events: none;
}

@keyframes flame-dance {
    0% { transform: translateX(-50%) scaleX(1) scaleY(1) rotate(-4deg); opacity: 1; }
    50% { transform: translateX(-50%) scaleX(0.85) scaleY(1.15) rotate(3deg); opacity: 0.9; }
    100% { transform: translateX(-50%) scaleX(1.1) scaleY(0.9) rotate(-2deg); opacity: 1; }
}

.main-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 32px;
}

.highlight {
    color: var(--brand-yellow);
    position: relative;
    z-index: 1;
}

.benefit-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.check-icon {
    color: var(--brand-yellow);
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: -2px;
}

.form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--soft-black);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-gray);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 197, 39, 0.15);
}

.input-group input::placeholder {
    color: var(--medium-gray);
    opacity: 0.7;
}

.cta-button {
    width: 100%;
    background-color: var(--brand-yellow);
    color: var(--soft-black);
    border: none;
    padding: 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 16px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 197, 39, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.security-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 0.75rem;
}

.lock-icon {
    opacity: 0.6;
}

/* --- COLUNA DIREITA --- */

.video-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInRight 1s ease-out forwards;
    position: relative; /* Base para os balões */
}

.floating-balloons-right {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2; /* Balões por trás do player */
}

.video-container {
    width: 100%;
    max-width: 320px; /* Estilo de story */
    position: relative;
    z-index: 10; /* Player na frente dos balões */
}

.balloon {
    position: absolute;
    opacity: 0.3;
    animation: float-right-balloons 8s infinite ease-in-out;
    filter: sepia(1) saturate(3) hue-rotate(-20deg);
}

.b1 { font-size: 60px; top: 10%; left: -20px; animation-delay: 0s; }
.b2 { font-size: 40px; top: 40%; right: -30px; animation-delay: -2s; }
.b3 { font-size: 80px; bottom: 15%; left: -40px; animation-delay: -4s; }

@keyframes float-right-balloons {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.video-frame {
    position: relative;
    aspect-ratio: 9/16;
    background-color: var(--soft-black);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-frame:hover {
    transform: scale(1.02);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: brightness(0.8);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-black);
    box-shadow: 0 0 30px rgba(255, 197, 39, 0.5);
    transition: all 0.3s ease;
}

.video-frame:hover .play-button {
    transform: scale(1.15);
    background-color: var(--white);
}

.video-support-text {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

/* --- ANIMAÇÕES --- */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* Quebra as colunas para reordenar os filhos livremente */
    .content-column,
    .video-column {
        display: contents;
    }
    
    /* Ordem: Título -> Formulário -> Checks -> Vídeo */
    .urgency-row       { order: 1; margin: 0 auto 16px; }
    .main-headline     { order: 2; }
    .form-card         { order: 3; }
    .benefit-list      { order: 4; }
    .floating-balloons-right { order: 5; display: none; }
    .video-container   { order: 5; margin: 0 auto; }
    
    .urgency-tag {
        margin: 0 auto;
    }
    
    .benefit-list li {
        justify-content: center;
    }
    
    .video-container {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 20px 24px;
    }
    
    .main-logo {
        height: 45px;
    }

    .main-headline {
        font-size: 2rem;
    }
    
    .form-card {
        padding: 24px;
    }

    .urgency-tag span {
        white-space: nowrap;
        font-size: 0.65rem;
    }
}

/* --- FOOTER --- */

.main-footer {
    background-color: var(--soft-black);
    color: var(--medium-gray);
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-brand:hover {
    transform: translateY(-5px);
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-brand:hover .footer-logo {
    opacity: 1;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
}

.footer-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-icon {
    flex-shrink: 0;
    margin-bottom: -1px; /* Ajuste fino de alinhamento */
}

.footer-phone, 
.footer-phone a, 
.footer-phone a:link, 
.footer-phone a:visited, 
.footer-phone a:active {
    color: var(--brand-yellow) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    transition: opacity 0.3s ease;
}

.footer-phone a:hover {
    text-decoration: underline !important;
    opacity: 0.8 !important;
}

.footer-legal {
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-links {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.75rem;
}

.footer-links a {
    color: var(--brand-yellow);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.divider {
    color: var(--dark-gray);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 24px;
    }
}

/* --- ELEMENTOS DE ANIVERSÁRIO --- */

/* Balões Decorativos Background */
body::before, body::after {
    content: '🎈';
    position: fixed;
    font-size: 40px;
    opacity: 0.15;
    z-index: -1;
    animation: float-balloons 10s linear infinite;
    filter: sepia(1) saturate(5) hue-rotate(-20deg); /* Aproximar do amarelo */
}

body::before {
    left: 5%;
    animation-duration: 12s;
    animation-delay: -2s;
}

body::after {
    right: 5%;
    animation-duration: 15s;
    animation-delay: -5s;
}

@keyframes float-balloons {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-20vh) rotate(20deg); }
}

/* --- PÁGINAS LEGAIS (Privacidade/Termos) --- */

.legal-section {
    padding: 160px 24px 100px;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--soft-black);
}

.legal-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 60px;
    font-weight: 500;
}

.legal-item {
    margin-bottom: 40px;
}

.legal-item h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--soft-black);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-item h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background-color: var(--brand-yellow);
    border-radius: 2px;
    display: inline-block;
}

.legal-item p {
    margin-bottom: 16px;
    color: var(--dark-gray);
    line-height: 1.8;
}

.legal-item ul {
    list-style: none;
    margin-top: 10px;
}

.legal-item ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--dark-gray);
}

.legal-item ul li::before {
    content: '•';
    color: var(--brand-yellow);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--brand-yellow);
}

@media (max-width: 768px) {
    .legal-section {
        padding-top: 120px;
    }
}

/* --- PÁGINA DE OBRIGADO (Thank You) --- */

.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    text-align: center;
    background: radial-gradient(circle at center, #2a2a2a 0%, var(--soft-black) 100%);
}

.thank-you-content {
    max-width: 700px;
    animation: fade-up 0.8s ease-out;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    display: block;
}

.thank-you-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--brand-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.thank-you-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.vip-button {
    display: inline-block;
    background-color: var(--brand-yellow);
    color: var(--soft-black);
    padding: 22px 48px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(255, 197, 39, 0.3);
    position: relative;
    overflow: hidden;
    animation: glow-pulse 2s infinite;
}

.vip-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 197, 39, 0.5);
    background-color: #ffd45e;
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 10px rgba(255, 197, 39, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 197, 39, 0.7); }
    100% { box-shadow: 0 0 10px rgba(255, 197, 39, 0.4); }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .thank-you-section {
        padding-top: 100px;
    }
    .vip-button {
        padding: 18px 32px;
        font-size: 1rem;
        width: 100%;
    }
}

/* ---- MULTI-STEP FORM ---- */

.hidden {
    display: none !important;
}


@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.form-step.slide-out {
    animation: slideOut 0.3s ease forwards;
}

.form-step.slide-in {
    animation: slideIn 0.35s ease forwards;
}

/* Indicador de Progresso */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.progress-step .step-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.progress-step.active {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    box-shadow: 0 0 14px rgba(255, 197, 39, 0.5);
}

.progress-step.active .step-number {
    color: var(--soft-black);
}

.progress-step.done {
    background-color: rgba(255, 197, 39, 0.25);
    border-color: var(--brand-yellow);
}

.progress-step.done .step-number {
    color: var(--brand-yellow);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.15);
}

/* Select Customizado */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-color: #1e1e1e;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 44px 14px 16px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.select-wrapper select option {
    background-color: #2a2a2a;
    color: var(--white);
}

.select-wrapper select:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(255, 197, 39, 0.15);
}

.select-wrapper select.input-error {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.15);
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    pointer-events: none;
}

/* Option Cards (seleção por cartão) */
.option-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background-color: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    transition: all 0.25s ease;
    user-select: none;
}

.option-card:hover {
    border-color: rgba(255, 197, 39, 0.5);
    background-color: rgba(255, 197, 39, 0.05);
    color: var(--white);
}

.option-card.selected {
    border-color: var(--brand-yellow);
    background-color: rgba(255, 197, 39, 0.12);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(255, 197, 39, 0.2);
}

.option-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.options-error .option-card {
    border-color: rgba(255, 77, 79, 0.5);
}

/* Input de erro */
input.input-error {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.15) !important;
}

.ceo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background-color: #F4F4F4; /* Fundo cinza claro da imagem */
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 197, 39, 0.15);
}

.input-group .phone-input-wrapper select.country-select {
    width: auto;
    padding: 14px 16px;
    border: none;
    border-right: 1px solid #ddd;
    border-radius: 0;
    background-color: transparent;
    color: #444; /* Cor escura base para legibilidade na imagem */
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.input-group .phone-input-wrapper input {
    flex: 1;
    border: none;
    border-radius: 0;
    background-color: transparent;
    padding: 14px 16px;
    color: #444;
    font-weight: 600;
    box-shadow: none;
}

.input-group .phone-input-wrapper input::placeholder {
    color: #aaa;
    font-weight: 500;
}

.input-group .phone-input-wrapper input:focus,
.input-group .phone-input-wrapper select:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.input-group .phone-input-wrapper select:focus {
    border-right: 1px solid #ddd;
}
