* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #C9A16B;
    --dark-blue: #1a1a4e;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
}

nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2d2d6e 100%);
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 161, 107, 0.3);
}

/* Sections */
.section {
    max-width: 80%;
    margin: 0 auto;
    padding: 80px 2rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    text-align: center;
}

.section-alt {
    background: var(--light-gray);
}

/* Problem Solution */
.problem-solution {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
}

/* cada coluna ocupa 50% da largura da section */
.problem-solution > .problem-solution-text,
.problem-solution > .problem-solution-carrossel {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

/* conteúdo interno ocupa 80% do espaço da coluna e fica centralizado */
.problem-solution > .problem-solution-text > * {
    width: 80%;
    margin: 0 auto;
}

/* --- Configuração do carrossel --- */
.problem-solution > .problem-solution-carrossel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    margin: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    position: relative;
    min-height: 400px;
}

/* Wrapper que define tamanho fixo - ESQUEÇA O HTML WRAPPER, VOLTO AO ORIGINAL */
.problem-solution > .problem-solution-carrossel > .imagem {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    aspect-ratio: 16/9;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    opacity: 0;
    transition: transform 2s ease-in-out, opacity 2s ease-in-out; /* 2 segundos = mais devagar */
    
    /* Desfoque completo nas 4 bordas */
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, white 2%, white 98%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, white 2%, white 98%, transparent 100%);
    -webkit-mask-size: 100% 100%, 100% 100%;
    -webkit-mask-position: 0 0, 0 0;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    
    mask-image: 
        linear-gradient(to right, transparent 0%, white 2%, white 98%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, white 2%, white 98%, transparent 100%);
    mask-size: 100% 100%, 100% 100%;
    mask-position: 0 0, 0 0;
    mask-repeat: no-repeat;
    mask-composite: intersect;
}

/* imagem ativa visível */
.problem-solution > .problem-solution-carrossel > .imagem.ativa {
    display: block;
    opacity: 1;
}

/* responsivo */
@media (max-width: 768px) {    
    .problem-solution {
        flex-direction: column;
    }
    
    .problem-solution > .problem-solution-text,
    .problem-solution > .problem-solution-carrossel {
        flex: 0 0 100%;
    }
    
    .problem-solution > .problem-solution-carrossel > .imagem {
        width: 100%;
    }
}

.metric-box {
    background: var(--primary-gold);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.metric-box h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* Differentials */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.differential-card {
    background: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.differential-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    margin-left: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    flex: 1;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-member h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 1rem;
}

.team-member .foto-perfil {
    width: 80%;
    height: auto;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.use-case h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.faq-question {
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--dark-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2d2d6e 100%);
    color: var(--white);
    padding: 80px 2rem;
    text-align: center;
}

.cta-final h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-gold);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.5rem;
}

.scroll-top.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-grid,
    .differentials-grid,
    .team-grid,
    .use-cases-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .problem-solution {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}