/* ==========================================
   YOOGO META DIGITAL - LANDING PAGE
   Design System baseado no Guideline
   ========================================== */

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores - Guideline Yoogo */
    --primary-yellow: #F2C600;
    --secondary-dark-blue: #0F172A;
    --secondary-cobalt-blue: #1E3A8A;
    --tertiary-purple: #B5179E;
    --neutral-dark-gray: #1F2937;
    --neutral-black: #000000;
    --neutral-white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-dark-gray);
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--neutral-black);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

strong {
    font-weight: 600;
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--neutral-black);
    box-shadow: 0 4px 20px rgba(242, 198, 0, 0.3);
}

.btn-primary:hover {
    background-color: #d9b000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(242, 198, 0, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-cobalt-blue);
    color: var(--neutral-white);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.3);
}

.btn-secondary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.4);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    background-color: var(--neutral-white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 60px;
    width: auto;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--secondary-cobalt-blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(242, 198, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(181, 23, 158, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(242, 198, 0, 0.2);
    color: var(--primary-yellow);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(242, 198, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(242, 198, 0, 0);
    }
}

.hero-title {
    color: var(--neutral-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-yellow);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.social-proof {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-white);
    font-size: 1rem;
}

.proof-item i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    color: var(--neutral-black);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--tertiary-purple) 100%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--neutral-dark-gray);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits {
    background-color: var(--neutral-white);
}

.intro-text {
    background-color: #f8fafc;
    border-left: 4px solid var(--primary-yellow);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

.highlight-text {
    color: var(--secondary-cobalt-blue);
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.benefit-card {
    background-color: var(--neutral-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-yellow);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd60a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--neutral-black);
}

.benefit-card h3 {
    color: var(--neutral-black);
    margin-bottom: 1rem;
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ==========================================
   EXAMPLES SECTION
   ========================================== */
.examples {
    background: linear-gradient(180deg, #f8fafc 0%, var(--neutral-white) 100%);
}

/* FORÇA BRUTAL: Prevenir quebra de linha nos valores */
.example-value * {
    box-sizing: border-box;
}

.amount,
.amount * {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.example-card {
    background-color: var(--neutral-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    min-width: 380px;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.example-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-cobalt-blue) 0%, var(--tertiary-purple) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--neutral-white);
}

.example-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
}

.value-before,
.value-after {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.value-before .label,
.value-after .label {
    font-size: 0.875rem;
    color: var(--neutral-dark-gray);
    font-weight: 500;
    line-height: 1.2;
}

.amount-wrapper {
    display: block;
    width: 100%;
    overflow: visible;
}

.value-before .amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary-dark-blue);
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1.2;
}

.value-after .amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tertiary-purple);
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1.2;
}

.arrow {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.example-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background-color: rgba(242, 198, 0, 0.1);
    border-left: 4px solid var(--primary-yellow);
    border-radius: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.example-tip strong {
    white-space: nowrap;
}

/* Garantir que valores monetários NUNCA quebrem */
.amount {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    word-wrap: normal !important;
    hyphens: none !important;
}

.example-tip i {
    color: var(--primary-yellow);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   CALCULATOR
   ========================================== */
.calculator {
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--secondary-cobalt-blue) 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-top: var(--spacing-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.calculator h3 {
    color: var(--neutral-white);
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.calculator h3 i {
    color: var(--primary-yellow);
}

.calculator-input {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
}

.calculator-input label {
    grid-column: 1 / -1;
    color: var(--neutral-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calculator-input input {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1.125rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
    transition: var(--transition);
}

.calculator-input input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.15);
}

.calculator-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.calculator-result {
    margin-top: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px solid var(--primary-yellow);
    display: none;
}

.calculator-result.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
}

.result-item:last-child {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.result-label {
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-yellow);
}

/* ==========================================
   ACTIONS SECTION
   ========================================== */
.actions {
    background-color: var(--neutral-white);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
}

.action-card {
    background-color: var(--neutral-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--neutral-white);
}

.action-icon.card-payment {
    background: linear-gradient(135deg, var(--secondary-cobalt-blue) 0%, #3b82f6 100%);
}

.action-icon.prepaid {
    background: linear-gradient(135deg, var(--tertiary-purple) 0%, #ec4899 100%);
}

/* ==========================================
   STEPS
   ========================================== */
.steps {
    margin-top: var(--spacing-lg);
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.steps h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--neutral-black);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffd60a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-black);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(242, 198, 0, 0.3);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--neutral-black);
}

.step-content p {
    margin: 0;
    color: var(--neutral-dark-gray);
}

/* ==========================================
   FORM SECTION
   ========================================== */
.form-section {
    background: linear-gradient(180deg, var(--neutral-white) 0%, #f8fafc 100%);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--neutral-white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-content {
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--secondary-cobalt-blue) 100%);
    padding: 3rem;
    color: var(--neutral-white);
}

.form-content h2 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.form-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.form-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.form-benefits i {
    color: var(--primary-yellow);
    font-size: 1.25rem;
}

.lead-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neutral-black);
}

.form-group label i {
    color: var(--secondary-cobalt-blue);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(242, 198, 0, 0.1);
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--neutral-dark-gray);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-privacy i {
    color: var(--secondary-cobalt-blue);
}

.success-message {
    padding: 3rem;
    text-align: center;
}

.success-message i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--neutral-black);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--neutral-dark-gray);
    font-size: 1.125rem;
}

/* ==========================================
   SUPPORT SECTION
   ========================================== */
.support {
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--secondary-cobalt-blue) 100%);
    color: var(--neutral-white);
}

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

.support-content h2 {
    color: var(--neutral-white);
}

.support-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-link {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--neutral-white);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background-color: var(--primary-yellow);
    color: var(--neutral-black);
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.contact-item i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--neutral-black);
    padding: 3rem 0;
    color: var(--neutral-white);
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-copyright {
    margin: 1rem 0;
    opacity: 0.7;
}

.footer-note {
    font-style: italic;
    color: var(--primary-yellow);
    margin-top: 1rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (min-width: 1200px) {
    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .example-card {
        min-width: 380px;
    }
    
    .example-value {
        gap: 2rem;
        padding: 1.5rem 1.25rem;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .example-card {
        min-width: 320px;
    }
    
    .value-before .amount,
    .value-after .amount {
        font-size: 1.25rem;
    }
    
    .example-value {
        gap: 1rem;
        padding: 1.25rem 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .example-card {
        min-width: 340px;
    }
    
    .value-before .amount,
    .value-after .amount {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .calculator-input {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .example-card {
        min-width: 300px;
    }
    
    .example-value {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .value-before,
    .value-after {
        min-width: auto;
        width: 100%;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lead-form {
        padding: 2rem 1.5rem;
    }
    
    .form-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .calculator {
        padding: 2rem 1.5rem;
    }
    
    .steps {
        padding: 2rem 1.5rem;
    }
}