:root {
    --primary: #B32211;
    --primary-dark: #8E1C0E;
    --dark: #1F1F1F;
    --gray: #6F6F6F;
    --light: #F6F6F6;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
}

/* =======================
   NAVBAR
======================= */
.nav-top {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-container img {
    height: 46px;
}

nav a {
    margin-right: 24px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* =======================
   BUTTONS
======================= */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* =======================
   HERO
======================= */
.hero {
    background: var(--light);
    color: var(--dark);
    padding: 100px 20px 0px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #d0d0d0;
    margin-bottom: 30px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    fill: var(--white);
}

/* =======================
   SECTIONS
======================= */
.section {
    padding: 80px 20px;
}

.section-alt {
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: auto;
}

.two-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

h2 {
    font-size: 34px;
    margin-bottom: 30px;
}

/* =======================
   STATS
======================= */
.stats {
    display: grid;
    gap: 20px;
}

.stat {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 20px;
    transition: all 0.3s ease;
}

.stat span {
    font-size: 28px;
    font-weight: 700;
}

/* =======================
   CARDS
======================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 16px rgba(179, 34, 17, 0.5);
}

.card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* =======================
   CHECKLIST
======================= */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 14px;
    font-size: 16px;
}

.checklist i {
    color: var(--primary);
    margin-right: 10px;
}

/* =======================
   STEPS
======================= */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step span {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.step.active span {
    width: 75px;
    height: 75px;
    font-size: 24px;
    line-height: 75px;
}

.step.active p {
    font-weight: 700;
}


/* =======================
   CTA
======================= */
.cta {
    background: var(--primary);
    color: var(--white);
    padding: 70px 20px;
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

/* =======================
   FORMULÁRIO CANDIDATURA
======================= */
.formulario-desc {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
}

.form-candidatura {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group:nth-child(3),
.form-group:nth-child(4) {
    grid-column: 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-candidatura input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.form-candidatura input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 34, 17, 0.1);
}

.form-candidatura button {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 14px 30px;
    font-size: 16px;
}

/* =======================
   FOOTER
======================= */
footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
}


/* =======================
   RESPONSIVE
======================= */
@media (max-width: 900px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    nav a {
        display: none;
    }
}

.stat:hover {
    width:100%;
    background: #B32211;
    color:#FFFFFF;
}

.card p {
    color: #6F6F6F;
    margin-top: 10px;
}

.hero-content img {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.hero-text {
    background: rgba(246, 246, 246, 1);
    padding: 30px 20px 100px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -50px 20px rgba(246, 246, 246, 1);

}

.hero-text h1 {
    color: var(--primary);
}

.hero-text p {
    color: #4A4A4A;
}

.waves-container {
    position: absolute;
    top: -50px;
    left: 0;
    width: auto;
    height: 100vh;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.waves-svg {
    height: 100vh;
    width: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.waves-container-right {
    position: absolute;
    top: -50px;
    right: 0;
    width: auto;
    height: 100vh;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

.waves-svg-right {
    height: 100vh;
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
}

/* Animação de onda para os paths do SVG */
@keyframes waveMotion {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.wave-path {
    animation: waveMotion 4s ease-in-out infinite;
}

/* Delay progressivo para criar efeito de onda */
.wave-path:nth-child(1) { animation-delay: 0s; }
.wave-path:nth-child(2) { animation-delay: 0.2s; }
.wave-path:nth-child(3) { animation-delay: 0.4s; }
.wave-path:nth-child(4) { animation-delay: 0.6s; }
.wave-path:nth-child(5) { animation-delay: 0.8s; }
.wave-path:nth-child(6) { animation-delay: 1s; }
.wave-path:nth-child(7) { animation-delay: 1.2s; }
.wave-path:nth-child(8) { animation-delay: 1.4s; }
.wave-path:nth-child(9) { animation-delay: 1.6s; }
.wave-path:nth-child(10) { animation-delay: 1.8s; }
.wave-path:nth-child(11) { animation-delay: 2s; }
.wave-path:nth-child(12) { animation-delay: 2.2s; }
.wave-path:nth-child(13) { animation-delay: 2.4s; }
.wave-path:nth-child(14) { animation-delay: 2.6s; }
.wave-path:nth-child(15) { animation-delay: 2.8s; }
.wave-path:nth-child(16) { animation-delay: 3s; }
.wave-path:nth-child(17) { animation-delay: 3.2s; }

@media (max-width: 773px) {
    .carousel {
        margin: 0 auto;
    }
}