:root {
    --bg: #032a63;
    --surface: rgba(5, 53, 128, 0.78);
    --primary: #0d73ff;
    --secondary: #031d4c;
    --accent-gold: #d89223;
    --accent-green: #4f991f;
    --text: #edf5ff;
    --muted: #bed3f1;
    --border: rgba(150, 193, 255, 0.2);
    --shadow: 0 24px 46px rgba(1, 15, 41, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 14% 12%, rgba(62, 142, 255, 0.36) 0%, transparent 22%),
                radial-gradient(circle at 82% 18%, rgba(24, 113, 255, 0.26) 0%, transparent 26%),
                radial-gradient(circle at 50% 100%, rgba(8, 58, 132, 0.65) 0%, transparent 36%),
                linear-gradient(180deg, #05367e 0%, #032a63 52%, #02183b 100%);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 42, 99, 0.86), rgba(2, 24, 59, 0.92)),
                url(../img/bg-fazenda-rio-grande.jpg) center bottom / cover no-repeat;
    opacity: 0.9;
    pointer-events: none;
    z-index: -2;
    filter: saturate(0.95) contrast(1.0);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 18%, rgba(80, 158, 255, 0.14) 0%, transparent 24%),
                radial-gradient(circle at 50% 100%, rgba(3, 17, 43, 0.24) 0%, transparent 36%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: 'Barlow Condensed', sans-serif;
    line-height: 1.25;
    margin-top: 0;
    text-transform: uppercase;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.hero {
    position: relative;
    height: 42vh;
    min-height: 290px;
    max-height: 460px;
    display: grid;
    align-items: center;
    background: radial-gradient(circle at left center, rgba(255, 196, 92, 0.3) 0%, transparent 16%),
                radial-gradient(circle at 78% 30%, rgba(70, 150, 255, 0.22) 0%, transparent 28%),
                linear-gradient(135deg, rgba(4, 36, 96, 0.98), rgba(8, 82, 182, 0.94) 52%, rgba(3, 39, 97, 0.98));
    color: #fff;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.08);
    top: -180px;
    right: -140px;
}

.hero::after {
    width: 260px;
    height: 260px;
    background: rgba(240, 178, 63, 0.18);
    bottom: -110px;
    left: -70px;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0 24px;
}

.hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(234, 242, 255, 0.8);
    padding: 0;
}

.hero h1 {
    position: relative;
    display: inline-block;
    font-size: clamp(3.1rem, 9.6vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    text-shadow: 0 8px 24px rgba(1, 15, 41, 0.2);
}

.hero h1::after {
    content: '';
    display: block;
    width: min(180px, 34vw);
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.18));
}

.hero__text {
    max-width: 620px;
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: rgba(237, 245, 255, 0.92);
}

.section {
    padding: 62px 0;
}

.section .container > h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section .container > h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(220px, 36vw);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.12));
}

.section--cards h2,
.section--support h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.section__subtitle {
    margin-top: 0;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 760px;
    font-size: 0.95rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section__intro-support {
    position: relative;
    width: 100%;
    margin: -8px 0 28px;
    padding: clamp(18px, 3vw, 34px);
    border: 1px solid rgba(115, 183, 255, 0.55);
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% -10%, rgba(91, 165, 255, 0.2), transparent 34%),
        radial-gradient(circle at 84% 0%, rgba(71, 150, 249, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(10, 71, 156, 0.95), rgba(4, 46, 112, 0.96));
    color: #f2f8ff;
    box-shadow: 0 16px 30px rgba(3, 26, 68, 0.34);
    overflow: hidden;
}

.section__intro-support::before,
.section__intro-support::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(104, 177, 255, 0.48);
    border-radius: 20px;
}

.section__intro-support::before {
    inset: 10px;
}

.section__intro-support::after {
    inset: 20px;
    border-color: rgba(104, 177, 255, 0.24);
}

.intro-support__kicker {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1rem, 1.9vw, 1.35rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(237, 248, 225, 0.96);
}

.intro-support__title {
    margin: 0;
    font-size: clamp(2.8rem, 10vw, 6.2rem);
    line-height: 0.9;
    color: #f8fff0;
}

.intro-support__subtitle {
    display: inline-block;
    margin: 14px 0 16px;
    padding: 6px 12px;
    background: rgba(78, 154, 41, 0.96);
    border-radius: 6px;
    color: #fffdf4;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.intro-support__steps-wrap {
    position: relative;
    width: min(560px, 100%);
    margin-top: 8px;
    padding: 18px 18px 14px;
    border: 2px solid rgba(230, 149, 44, 0.86);
    border-radius: 18px;
    background: rgba(11, 56, 128, 0.26);
}

.intro-support__steps-title {
    display: inline-block;
    margin: -34px 0 10px;
    padding: 3px 14px;
    border-radius: 999px;
    background: rgba(224, 138, 26, 0.98);
    color: #fffdf5;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.03em;
    text-transform: none;
}

.intro-support__steps {
    margin: 0;
    padding-left: 20px;
    color: #f5ffe8;
    font-size: clamp(0.96rem, 2.4vw, 1.18rem);
    line-height: 1.55;
}

.intro-support__steps li + li {
    margin-top: 3px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
}

.day-card {
    background: linear-gradient(180deg, rgba(9, 74, 168, 0.78), rgba(4, 47, 116, 0.88));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.day-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.34);
}

.day-card.is-locked {
    background: linear-gradient(180deg, rgba(39, 72, 123, 0.78), rgba(24, 46, 81, 0.92));
    border-color: rgba(173, 197, 231, 0.18);
    box-shadow: none;
}

.day-card.is-locked:hover {
    transform: none;
    border-color: rgba(173, 197, 231, 0.18);
}

.day-card__badge {
    display: inline-block;
    border: 1px solid rgba(112, 178, 55, 0.38);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(79, 153, 31, 0.95), rgba(66, 128, 24, 0.95));
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.day-card.is-locked .day-card__badge {
    background: rgba(185, 201, 224, 0.14);
    border-color: rgba(185, 201, 224, 0.2);
    color: #d7e4f7;
}

.day-card h3 {
    position: relative;
    margin: 18px 0 14px;
    padding-bottom: 12px;
    font-size: 1.85rem;
    line-height: 1;
    letter-spacing: 0.04em;
    min-height: 2.5em;
}

.day-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 1px;
    background: rgba(255, 255, 255, 0.34);
}

.day-card__status {
    margin: 0 0 16px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d5e5fb;
}

.day-card.is-locked .day-card__status {
    color: #aac0e0;
}

.day-card__downloads-label {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dce9fb;
}

.day-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.btn--primary {
    background: linear-gradient(135deg, #ffffff, #dcebff);
    color: #053a8f;
    box-shadow: 0 12px 24px rgba(1, 15, 41, 0.24);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    color: #032a63;
}

.btn--secondary {
    background: rgba(79, 153, 31, 0.16);
    color: #f5fbff;
    border-color: rgba(95, 174, 44, 0.38);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    background: rgba(79, 153, 31, 0.28);
}

.section--cards h2,
.section--support h2,
.support-box p,
.footer p {
    color: #fff;
}

.btn.is-disabled,
.btn.is-disabled:hover,
.btn.is-disabled:focus-visible {
    background: rgba(172, 187, 208, 0.18);
    color: #b9c9de;
    border-color: rgba(172, 187, 208, 0.16);
    cursor: not-allowed;
    transform: none;
    filter: none;
    pointer-events: none;
}

.support-box {
    background: linear-gradient(180deg, rgba(7, 59, 139, 0.82), rgba(3, 33, 84, 0.92));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.support-box p {
    margin: 10px 0;
    line-height: 1.9;
    letter-spacing: 0.03em;
}

.footer {
    background: linear-gradient(180deg, rgba(1, 22, 57, 0.88), rgba(0, 14, 37, 0.98));
    color: #eef5ff;
    text-align: center;
    padding: 26px 0;
}

.footer p {
    margin: 4px 0;
    letter-spacing: 0.05em;
}

[data-reveal='true'] {
    opacity: 0;
    transform: translateY(18px);
}

[data-reveal='true'].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 300px;
    }

    .hero__content {
        padding: 24px 0 20px;
    }

    .hero__eyebrow {
        letter-spacing: 0.28em;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 18vw, 4.8rem);
    }

    .section--cards h2,
    .section--support h2 {
        font-size: clamp(1.9rem, 12vw, 2.8rem);
    }

    .section__intro-support {
        border-radius: 18px;
    }

    .section__intro-support::before {
        inset: 8px;
    }

    .section__intro-support::after {
        inset: 14px;
    }

    .intro-support__steps-wrap {
        padding: 14px 14px 12px;
    }
}

@media (min-width: 980px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
