:root {
    --navy: #0b1326;
    --navy-2: #132245;
    --dark: #02050e;
    --blue: #1ab8ff;
    --blue-2: #1480ff;
    --blue-3: #0333f2;
    --green: #40e5a1;
    --red: #ff010b;
    --white: #fafcff;
    --muted: #a1b2d1;
    --border: #0f47a6;
    --container: 1360px;
    --radius: 18px;
    --shadow: 0 9px 24px rgba(0, 31, 102, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
    margin: 0;
    background: var(--dark);
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}
main { background: var(--navy-2); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 88px 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .97); color: #05070d;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}
.header-inner {
    width: min(calc(100% - 48px), 1387px); min-height: 115px; margin-inline: auto;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px;
}
.cause-lockup { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.cause-lockup img { width: 155px; height: 60px; object-fit: contain; }
.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: 34px; }
.main-nav a { font-size: 14px; font-weight: 600; text-transform: uppercase; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus-visible { color: #087ef5; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: #071026; transition: .25s; }

.button {
    display: inline-flex; align-items: center; justify-content: center; min-width: 330px; min-height: 66px;
    padding: 18px 28px; border: 1px solid #2eb8ff; border-radius: 11px;
    background: linear-gradient(90deg, var(--blue-2), var(--blue-3));
    box-shadow: 0 10px 27px rgba(0, 97, 255, .48); color: #fff;
    font-size: 18px; font-weight: 700; text-align: center; text-transform: uppercase;
    transition: transform .2s, filter .2s, box-shadow .2s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 34px rgba(0, 97, 255, .56); }
.button-small { min-width: 263px; min-height: 66px; font-size: 17px; }
.button-compact { min-width: 310px; min-height: 60px; }

.hero {
    position: relative;
    z-index: 2;
    overflow: visible;
    background-color: #010817;
}

/* Azul-escuro sobre toda a imagem */
.hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(1, 8, 23, .08) 0%,
        rgba(1, 8, 23, .15) 35%,
        rgba(1, 8, 23, .40) 58%,
        rgba(1, 8, 23, .78) 80%,
        #010817 100%
    );
}

/* Curva oval projetada para baixo */
.hero::after {
    content: "";
    position: absolute;
    z-index: 2;

    left: 50%;
    bottom: -80px;
    transform: translateX(-50%);

    width: 116%;
    height: 160px;

    background: #010817;
    border-radius: 0 0 50% 50%;

    pointer-events: none;
}

/* Conteúdo acima do degradê e da curva */
.hero > .container {
    position: relative;
    z-index: 3;
}

/* Evita barra horizontal causada pela largura da curva */
html,
body {
    overflow-x: hidden;
}

/* Curva menor no mobile */
@media (max-width: 820px) {
    .hero {
        overflow: visible;
    }

    /* Reduz o espaço entre o texto e a imagem */
    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        row-gap: 0;
        padding-top: 10px;
    }

    .hero-copy {
        padding: 28px 0 0;
    }

    .hero-art {
        min-height: 0;
        margin-top: -30px;
    }

    .hero-art img {
        display: block;
        width: 115%;
        max-width: none;
        margin-left: -7%;
    }

    /* Mantém o degradê cobrindo o hero inteiro */
    .hero::before {
        inset: 0;
        width: auto;
        height: auto;
    }

    /* Curva para fora do hero */
    .hero::after {
        left: 50%;
        right: auto;
        bottom: -50px;

        width: 145%;
        height: 100px;

        transform: translateX(-50%);
        background: #010817;
        border-radius: 0 0 50% 50%;
    }
}

@media (max-width: 520px) {
    .hero-grid {
        padding-top: 0;
    }

    .hero-copy {
        padding: 22px 0 0;
    }

    .hero-art {
        margin-top: -40px;
    }

    .hero-art img {
        width: 125%;
        margin-left: -12.5%;
    }

    .hero::after {
        bottom: -40px;
        width: 160%;
        height: 80px;
    }
}
.hero-grid { min-height: 704px; display: grid; grid-template-columns: 43% 57%; align-items: center; }
.hero-copy { text-align: center; padding: 60px 0 90px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 30px; color: var(--blue); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .015em; }
.hero h1 { margin: 0 auto 24px; max-width: 610px; color: #fff; font-family: "Orbitron", sans-serif; font-size: clamp(58px, 5.8vw, 96px); line-height: .84; font-weight: 900; text-transform: uppercase; letter-spacing: -.055em; }
.hero h1 span { display: block; font-size: .81em; line-height: 1.08; }
.hero-subtitle { max-width: 560px; margin: 0 auto 30px; color: var(--muted); font-size: 21px; line-height: 1.4; }
.microcopy { margin: 20px 0 0; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.hero-art { align-self: end; position: relative; min-height: 660px; display: flex; align-items: flex-end; justify-content: center; }
.hero-art img { width: min(100%, 840px); max-height: 690px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 32px rgba(0, 70, 255, .3)); }

.purpose {
    position: relative;
    overflow: hidden;
    margin: 80px 0 0;
    background: linear-gradient(
        180deg,
        var(--navy-2) 15%,
        #08122a 100%
    );
}

/* Sombra azulada suave na parte inferior */
.purpose::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 102, 255, .06) 35%,
        rgba(0, 119, 255, .18) 68%,
        rgba(8, 18, 42, .85) 100%
    );
}

/* Mantém o conteúdo acima da sombra */
.purpose > .container {
    position: relative;
    z-index: 2;
}
.purpose-grid { display: grid; grid-template-columns: 1.45fr .7fr; gap: 90px; align-items: center; }
.purpose-copy { max-width: 760px; }
.eyebrow-green { color: var(--green); }
h2 { margin: 0; font-size: clamp(35px, 3.2vw, 50px); line-height: 1.18; letter-spacing: -.035em; }
.purpose-copy > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); font-size: 20px; line-height: 1.5; }
.donation-row { display: flex; align-items: center; gap: 26px; margin: 30px 0; }
.donation-row > img { width: 238px; height: 92px; object-fit: contain; }
.donation-card { width: 430px; min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 20px 30px; border: 1px solid #147380; border-radius: 15px; background: #fff; color: #000; }
.donation-card strong { color: var(--green); font-size: 52px; }
.donation-card span { font-size: 15px; line-height: 1.15; text-transform: uppercase; }
.book-video {
    position: relative;
    width: 337px;
    aspect-ratio: 337 / 602;
    justify-self: center;
    overflow: hidden;
    background: var(--navy-2);
    box-shadow:
        0 -12px 30px rgba(0, 86, 180, .25),
        0 12px 30px rgba(0, 86, 180, .25);
}

/* Sombra sobreposta acima e abaixo */
.book-video::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(2, 12, 35, .95) 0%,
            rgba(5, 42, 90, .55) 8%,
            transparent 22%
        ),
        linear-gradient(
            to top,
            rgba(2, 12, 35, .95) 0%,
            rgba(5, 42, 90, .55) 8%,
            transparent 22%
        );

    box-shadow:
        inset 0 20px 30px rgba(0, 105, 220, .30),
        inset 0 -20px 30px rgba(0, 105, 220, .30);
}

.book-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsivo */
@media (max-width: 820px) {
    .book-video {
        width: min(270px, 75vw);
    }
}

.about-gpaci { min-height: 541px; background: radial-gradient(circle at 0 0, rgba(26,184,255,.65), transparent 33%), radial-gradient(circle at 45% 50%, #05389e, #020b20 68%); overflow: hidden; }
.gpaci-grid { min-height: 541px; display: grid; grid-template-columns: .93fr 1.2fr; align-items: stretch; }
.gpaci-copy { padding: 60px 0; max-width: 700px; z-index: 2; }
.gpaci-copy .eyebrow { margin-bottom: 22px; }
.gpaci-logo-card { display: inline-block; padding: 12px 22px; background: #fff; border-radius: 20px; }
.gpaci-logo-card img { width: 245px; height: 100px; object-fit: contain; }
.gpaci-copy > p:not(.eyebrow):not(.microcopy) { max-width: 560px; margin: 20px 0 25px; font-size: 18px; line-height: 1.45; }
.kids-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    transform: translateX(
        calc(
            (100vw - min(100vw, var(--container))) / 2 + 35px
        )
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 22%,
        #000 100%
    );

    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 22%,
        #000 100%
    );
}

@media (max-width: 767px) {
    .kids-image {
        transform: none;
    }
}

.benefits, .speakers { background: var(--navy); }
.section-heading { text-align: center; }
.section-heading .eyebrow { margin-bottom: 32px; }
.section-heading > p:last-child { max-width: 1148px; margin: 34px auto 0; color: var(--muted); font-size: 20px; line-height: 1.42; }
.carousel-shell { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 14px; align-items: center; margin-top: 48px; }
.benefit-track {
    display: flex;
    gap: 22px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.benefit-track::-webkit-scrollbar { display: none; }
.benefit-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: #000;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}
.benefit-card img { width: 100%; aspect-ratio: 384 / 294; object-fit: cover; border-radius: 7px; }
.benefit-card h3 { margin: 18px 0 14px; color: var(--red); font-size: 23px; }
.benefit-card p { margin: 0; font-size: 17px; line-height: 1.35; }
.carousel-arrow { width: 38px; height: 52px; border: 0; background: transparent; color: #fff; font-size: 31px; cursor: pointer; }

.speakers { padding-top: 35px; }
.speaker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.speaker-card { text-align: center; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(10,25,58,.7), rgba(4,10,26,.15)); }
.speaker-card img { width: 191px; height: 191px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 9px 13px rgba(0,31,102,.4)); }
.speaker-card h3 { margin: 0; font-size: 25px; }
.speaker-role { margin: 5px 0 18px !important; color: var(--muted) !important; font-weight: 700; }
.speaker-card p { max-width: 360px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.4; }

.event-info { background: #02050e; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }
.info-card { min-height: 220px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(90deg, #06132b, #040a1a); box-shadow: var(--shadow); }
.info-label { display: flex; gap: 8px; align-items: center; color: var(--blue); font-size: 15px; font-weight: 700; text-transform: uppercase; }
.info-card h3 { min-height: 55px; margin: 18px 0 14px; font-family: "Orbitron", sans-serif; font-size: 24px; line-height: 1.12; text-transform: uppercase; }
.info-card p { margin: 0; font-size: 16px; line-height: 1.35; }
.supporters { display: flex; justify-content: center; gap: 65px; align-items: center; margin-top: 34px; }
.supporters > div { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.supporters img { max-height: 65px; width: auto; object-fit: contain; }

.final-cta {
    width: 100%;
    min-height: 100%;

    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;

    background-image: url("../images/Frame 17.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    text-align: center;
}

.final-cta .container {
    position: relative;
    z-index: 2;
    padding: 62px 0;
}

/* Imagem específica para mobile */
@media (max-width: 820px) {
    .final-cta {
        min-height: 600px;

        background-image: url("../images/Group 14 (1).jpg");
        background-position: center top;
        background-size: cover;
    }
}
.final-cta .eyebrow { margin-bottom: 22px; }
.final-cta > div > p:not(.eyebrow) { color: var(--muted); font-size: 20px; }
.final-cta .button { margin: 15px 0 22px; }
.final-cta strong { display: block; font-size: 15px; }
.final-dna { top: 30px; height: 470px; }
.final-dna-left { left: 6%; transform: rotate(-12deg); }
.final-dna-right { right: 6%; transform: rotate(12deg); }

.site-footer { background: #010308; color: var(--muted); }
.site-footer .container { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 14px; }
.site-footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .button { transition: none; }
}

@media (max-width: 1120px) {
    .header-inner { grid-template-columns: auto auto 1fr; min-height: 92px; }
    .cause-lockup span { display: none; }
    .cause-lockup img { width: 125px; height: 50px; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 12px; }
    .button-small { min-width: 205px; min-height: 56px; font-size: 14px; }
    .hero-grid { grid-template-columns: 48% 52%; }
    .purpose-grid { grid-template-columns: 1.3fr .7fr; gap: 40px; }
    .donation-row { align-items: flex-start; flex-direction: column; }
    .donation-card { max-width: 100%; }
    .gpaci-grid { grid-template-columns: 1fr 1fr; }
    .benefit-card { padding: 20px; }
    .supporters { flex-wrap: wrap; }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 78px; }
    .container { width: min(calc(100% - 32px), var(--container)); }
    .section { padding: 66px 0; }
    .header-inner { width: calc(100% - 30px); min-height: 78px; grid-template-columns: 1fr auto auto; gap: 8px; }
    .cause-lockup img { width: 105px; height: 45px; }
    .menu-toggle { display: block; order: 2; }
    .header-inner > .button { order: 3; min-width: 145px; min-height: 46px; padding: 10px 12px; font-size: 11px; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0;
        padding: 10px 16px 18px; background: rgba(255,255,255,.98); border-top: 1px solid #e7e9ee;
    }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; padding: 14px; font-size: 14px; text-align: center; }
    .hero, .hero-grid { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 32px; }
    .hero-copy { padding: 45px 0 10px; }
    .hero h1 { font-size: clamp(51px, 14vw, 78px); }
    .hero-subtitle { font-size: 17px; }
    .hero-art { min-height: auto; }
    .hero-art img { width: 115%; max-width: none; margin-left: -7%; }
    .hero::before, .hero::after { height: 110px; }
    .hero::after { bottom: 0; }
    .purpose-grid { grid-template-columns: 1fr; }
    .book-cover {
    width: 337px;
    height: auto;
    aspect-ratio: 337 / 602;
    object-fit: cover;
    justify-self: center;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .38);
}
    .purpose-copy { text-align: center; }
    .purpose-copy .eyebrow { text-align: center; }
    .donation-row { align-items: center; }
    .donation-card { width: 100%; text-align: left; }
    .gpaci-grid { width: 100%; grid-template-columns: 1fr; }
    .gpaci-copy { width: calc(100% - 32px); margin-inline: auto; padding-bottom: 20px; text-align: center; }
    .gpaci-copy > p:not(.eyebrow):not(.microcopy) { margin-inline: auto; }
    .kids-image { height: 370px; mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 100%); }
    .section-heading h2 br { display: none; }
    .section-heading > p:last-child { font-size: 17px; }
    .carousel-shell { width: 100%; grid-template-columns: 36px 1fr 36px; gap: 3px; }
    .benefit-track { gap: 14px; padding: 2px 0 14px; }
    .benefit-track::-webkit-scrollbar { display: none; }
    .benefit-card { flex: 0 0 calc(100vw - 110px); scroll-snap-align: center; }
    .speaker-grid, .info-grid { grid-template-columns: 1fr; }
    .speaker-card { max-width: 520px; margin-inline: auto; }
    .supporters { flex-direction: column; gap: 28px; }
    .supporters > div { flex-direction: column; }
    .final-dna { opacity: .2; }
    .site-footer .container { flex-direction: column; justify-content: center; text-align: center; padding: 25px 0; }
}

@media (max-width: 520px) {
    .header-inner > .button { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .eyebrow { margin-bottom: 22px; font-size: 14px; }
    h2 { font-size: 32px; }
    .button { min-width: 0; width: 100%; min-height: 58px; font-size: 15px; }
    .hero-copy { padding-top: 30px; }
    .hero h1 { font-size: 49px; }
    .hero-subtitle { font-size: 16px; }
    .hero-art img { width: 130%; margin-left: -15%; }
    .purpose-copy > p:not(.eyebrow) { font-size: 17px; }
    .donation-row > img { width: 190px; height: auto; }
    .donation-card { padding: 16px; gap: 10px; }
    .donation-card strong { font-size: 42px; }
    .donation-card span { font-size: 12px; }
    .gpaci-logo-card img { width: 210px; height: 82px; }
    .benefit-card { flex-basis: calc(100vw - 85px); padding: 18px; }
    .carousel-arrow { width: 34px; }
    .info-card h3 { font-size: 21px; }
    .supporters > div { text-align: center; }
    .final-cta h2 br { display: none; }
}
