/* Fontes Qanelas */
@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-UltraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-UltraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-SemiBoldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-HeavyItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-Black.otf') format('opentype');
    font-weight: 950;
    font-style: normal;
}

@font-face {
    font-family: 'Qanelas';
    src: url('./fonts/Qanelas-BlackItalic.otf') format('opentype');
    font-weight: 950;
    font-style: italic;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #E6C068;
    --dark-gold: #C8A052;
    --light-gold: #F2D584;
    --gradient-gold: linear-gradient(135deg, #E6C068 0%, #F2D584 50%, #C8A052 100%);
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    
    --font-primary: 'Qanelas', sans-serif;
    --font-secondary: 'Qanelas', sans-serif;
    
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(230, 192, 104, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base styles para HTML e Body */
html {
    height: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Typography */
.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-title.center {
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.section-description.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Buttons - Aprimorados com animações sutis */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before,
.btn:active::before {
    left: 100%;
}

/* Melhor suporte para touch em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        min-width: 120px;
        padding: 14px 32px;
        font-size: 1rem;
    }
}

.btn-primary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    transform: translateY(-3px) scale(1.02);
    background: var(--primary-gold);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
    }
}

.logo-img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Estilo especial para o link do simulador no menu */
.nav-simulator {
    background: var(--gradient-gold) !important;
    color: var(--black) !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: var(--shadow-light) !important;
}

.nav-simulator:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: var(--shadow-glow) !important;
    color: var(--black) !important;
}

.nav-simulator::after {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-simulator {
        padding: 6px 16px !important;
        font-size: 0.9rem !important;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Espaço para o header fixo */
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px; /* Mais espaço em mobile devido ao menu wrap */
        min-height: calc(100vh - 120px);
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.hero-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero-card {
        padding: 1.5rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 1rem;
        border-radius: 15px;
    }
}

.hero-team-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
    .hero-team-image {
        max-width: 300px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-team-image {
        max-width: 250px;
    }
}

.partnership-section {
    text-align: center;
}

.partnership-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .partnership-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

.partnership-text strong {
    color: var(--primary-gold);
    font-weight: 700;
}

.btn-partner {
    background: var(--gradient-gold);
    color: var(--black);
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    transition: var(--transition);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 768px) {
    .btn-partner {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .btn-partner {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
    }
}

.btn-partner:hover,
.btn-partner:active,
.btn-partner:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, #F2D584 0%, #E6C068 50%, #C8A052 100%);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 3rem 0;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.image-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.image-placeholder {
    background: var(--gradient-gold);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--light-gray);
}

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

.step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.step h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Documentation Section */
.documentation {
    padding: 6rem 0;
    background: var(--white);
}

.doc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.doc-list {
    list-style: none;
    margin-top: 2rem;
}

.doc-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 2rem;
    color: var(--text-light);
}

.doc-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
    text-align: center;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.contact-item strong {
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.contact-item a:hover {
    color: var(--primary-gold);
}

.location-addresses {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-addresses a {
    display: block;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-secondary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-cnpj {
    font-family: var(--font-primary);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .doc-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

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

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-30px,0);
    }
    70% {
        transform: translate3d(0,-15px,0);
    }
    90% {
        transform: translate3d(0,-4px,0);
    }
}

.hero-text,
.hero-image {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    animation-delay: 0.3s;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
}

/* Botão do Simulador */
.btn-simulator {
    background: var(--gradient-gold);
    color: var(--black);
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-simulator:hover,
.btn-simulator:active,
.btn-simulator:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-gold);
}

/* Modal do Simulador - Aprimorado com animações */
.simulator-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.simulator-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.simulator-container {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-heavy);
    animation: slideUpBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    position: relative;
}

.simulator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 192, 104, 0.05), rgba(242, 213, 132, 0.05));
}

.simulator-logo {
    height: 40px;
    width: auto;
}

.simulator-header h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    text-align: center;
}

.simulator-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 10001;
}

.simulator-close:hover,
.simulator-close:active,
.simulator-close:focus {
    background: var(--light-gray);
    color: var(--text-dark);
    transform: rotate(90deg) scale(1.1);
}

.simulator-progress {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-gray);
    flex-shrink: 0;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 8.33%; /* 1/12 */
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 50px 50px;
    animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 60px;
}

.simulator-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 400px;
}

.question-container {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInQuestion 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.question-container.slide-out-left {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.question-container.slide-out-right {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.question-container.slide-in-left {
    animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.question-container.slide-in-right {
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

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

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

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

.question-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-gray);
    background: var(--white);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.option-btn:nth-child(1) { animation-delay: 0.3s; }
.option-btn:nth-child(2) { animation-delay: 0.4s; }
.option-btn:nth-child(3) { animation-delay: 0.5s; }
.option-btn:nth-child(4) { animation-delay: 0.6s; }
.option-btn:nth-child(5) { animation-delay: 0.7s; }

.option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    border-radius: 8px;
    transition: var(--transition);
    z-index: -1;
}

/* Melhor suporte para touch em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    .option-btn {
        min-height: 56px;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}

.option-btn:hover,
.option-btn:active,
.option-btn:focus {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-light);
}

.option-btn.selected {
    border-color: var(--primary-gold);
    background: var(--gradient-gold);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.option-btn.selected::before {
    opacity: 1;
}

.question-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    margin-bottom: 2rem;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.question-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    transform: scale(1.02);
}

.question-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.btn-back {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--light-gray);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 10;
}

.btn-back:hover,
.btn-back:active,
.btn-back:focus {
    border-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px) scale(1.02);
}

.btn-continue {
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    min-width: 120px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.btn-continue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-continue:hover::before,
.btn-continue:active::before {
    width: 300px;
    height: 300px;
}

.btn-continue:hover,
.btn-continue:active,
.btn-continue:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-continue:disabled:hover {
    transform: none;
    box-shadow: none;
}

.success-container {
    text-align: center;
    padding: 2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    animation: bounce 1s ease-in-out;
}

.success-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.success-message {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpBounce {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do Simulador - Melhorada para mobile */
@media (max-width: 768px) {
    .simulator-container {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .simulator-header {
        padding: 1.5rem;
    }
    
    .simulator-header h2 {
        font-size: 1.2rem;
    }
    
    .simulator-content {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .question-title {
        font-size: 1.3rem;
    }
    
    .question-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-back,
    .btn-continue {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .simulator-modal {
        padding: 0;
        align-items: flex-start;
    }
    
    .simulator-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
        margin: 0;
    }
    
    .simulator-header {
        padding: 1rem;
    }
    
    .simulator-content {
        padding: 1rem;
        min-height: calc(100vh - 200px);
    }
    
    .question-container {
        min-height: calc(100vh - 300px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-simulator {
        width: 100%;
        max-width: 300px;
        order: 2;
    }
}

/* Responsive Images */
.responsive-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: var(--shadow-light);
}

.about-image .responsive-image {
    max-height: 300px;
}

.doc-image .responsive-image {
    max-height: 250px;
}

/* Enhanced Mobile Optimization */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-content,
    .doc-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .responsive-image {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
    
    .image-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .responsive-image {
        max-width: 300px;
    }
    
    .about-image .responsive-image,
    .doc-image .responsive-image {
        max-height: 200px;
    }
    
    .image-card {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
    
    .step p {
        font-size: 0.95rem;
    }
    
    .doc-list {
        padding-left: 1rem;
    }
    
    .doc-list li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .responsive-image {
        max-width: 250px;
    }
    
    .about-image .responsive-image,
    .doc-image .responsive-image {
        max-height: 180px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        max-width: 250px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .image-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
    
    .contact-item a {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-menu a {
        padding: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .contact-item a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
    }
}

/* Nossa História Section */
.nossa-historia {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.nossa-historia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(230, 192, 104, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 192, 104, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.historia-content {
    position: relative;
    z-index: 2;
}

.historia-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 2rem auto;
    border-radius: 2px;
    animation: expandLine 1s ease-out;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.historia-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-gold), var(--dark-gold));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 60%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60%;
    margin-right: 0;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 192, 104, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 192, 104, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 192, 104, 0);
    }
}

.timeline-year {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: var(--shadow-light);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid rgba(230, 192, 104, 0.2);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-gold);
}

.timeline-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.historia-mission {
    margin-top: 5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-content {
    background: linear-gradient(135deg, var(--white), rgba(230, 192, 104, 0.05));
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(230, 192, 104, 0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.mission-content h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design para Nossa História */
@media (max-width: 768px) {
    .historia-timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .mission-content {
        padding: 2rem;
    }
    
    .mission-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nossa-historia {
        padding: 4rem 0;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .mission-content {
        padding: 1.5rem;
    }
}

/* Animações adicionais para interatividade */
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    animation: none;
    box-shadow: 0 0 0 15px rgba(230, 192, 104, 0.3);
}

.timeline-item:hover .timeline-year {
    transform: translateX(-50%) scale(1.05);
}

/* Efeito de entrada suave para toda a seção */
.nossa-historia.animate-in {
    animation: sectionFadeIn 1s ease-out;
}

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

/* Modal do Parceiro */
.partner-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.partner-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.partner-container {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    animation: slideUpBounce 0.3s ease;
}

.partner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
}

.partner-logo {
    height: 40px;
    width: auto;
}

.partner-header h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
    text-align: center;
}

.partner-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.partner-close:hover {
    background: var(--light-gray);
    color: var(--text-dark);
}

.partner-content {
    padding: 2rem;
}

.partner-form-container {
    text-align: center;
}

.partner-form-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.partner-form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.partner-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.partner-form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.partner-form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.partner-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-partner-cancel {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--light-gray);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-partner-cancel:hover {
    border-color: var(--text-light);
    color: var(--text-dark);
}

.btn-partner-submit {
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-partner-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-partner-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsividade do Modal do Parceiro */
@media (max-width: 768px) {
    .partner-container {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .partner-header {
        padding: 1.5rem;
    }
    
    .partner-header h2 {
        font-size: 1.2rem;
    }
    
    .partner-content {
        padding: 1.5rem;
    }
    
    .partner-form-actions {
        flex-direction: column;
    }
    
    .btn-partner-cancel,
    .btn-partner-submit {
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .partner-modal {
        padding: 0;
    }
    
    .partner-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .partner-header {
        padding: 1rem;
    }
    
    .partner-content {
        padding: 1rem;
    }
}

/* Page Header para simular.html */
.page-header {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow-light);
    flex-shrink: 0;
}

.page-header .logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.back-to-site {
    text-align: center;
    padding: 1rem 0;
    background: var(--light-gray);
    border-top: 1px solid var(--light-gray);
    flex-shrink: 0;
}

.back-to-site a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.back-to-site a:hover {
    color: var(--dark-gold);
}

/* Estilos para a página simular.html - Otimizados para mobile */
body.simulator-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--light-gray);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.simulator-page .simulator-page-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 100vh;
}

body.simulator-page .page-header {
    width: 100%;
    max-width: 800px;
    border-radius: 20px 20px 0 0;
}

body.simulator-page .simulator-modal {
    position: relative;
    display: block;
    background: transparent;
    width: 100%;
    height: auto;
    backdrop-filter: none;
    overflow-y: visible;
}

body.simulator-page .simulator-container {
    background: var(--white);
    border-radius: 0 0 20px 20px;
    width: 100%;
    min-height: calc(100vh - 200px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-heavy);
    margin: 0;
    display: flex;
    flex-direction: column;
}

body.simulator-page .simulator-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem;
    min-height: 500px;
}

body.simulator-page .question-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

body.simulator-page .question-actions {
    margin-top: auto;
    padding-top: 2rem;
    position: sticky;
    bottom: 0;
    background: var(--white);
    z-index: 10;
}

@media (max-width: 768px) {
    body.simulator-page .simulator-page-container {
        padding: 10px;
        min-height: 100vh;
    }

    body.simulator-page .page-header {
        padding: 1.5rem;
        border-radius: 15px 15px 0 0;
    }

    body.simulator-page .simulator-container {
        min-height: calc(100vh - 150px);
    }

    body.simulator-page .simulator-content {
        min-height: 450px;
    }

    body.simulator-page .question-container {
        min-height: 350px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body.simulator-page {
        padding: 0;
    }

    body.simulator-page .simulator-page-container {
        padding: 0;
        min-height: 100vh;
    }

    body.simulator-page .page-header {
        border-radius: 0;
        padding: 1rem;
        max-width: 100%;
    }

    body.simulator-page .simulator-container {
        width: 100%;
        height: auto;
        border-radius: 0;
        min-height: calc(100vh - 100px);
        margin: 0;
    }

    body.simulator-page .simulator-content {
        padding: 1rem;
        min-height: calc(100vh - 200px);
    }

    body.simulator-page .question-container {
        min-height: calc(100vh - 300px);
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }
}

/* Ajustes finais para garantir que os botões sejam sempre clicáveis */
.btn, .option-btn, .btn-continue, .btn-back, .simulator-close {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

/* Garantir que nada sobreponha os elementos interativos */
.simulator-content * {
    position: relative;
}

.question-actions {
    position: relative;
    z-index: 101;
}

