/* ==========================================================
   EBF 2026 - Armadura de Deus
   ========================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #111;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-left: var(--sidebar-width);
}

img { max-width: 100%; height: auto; display: block; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Design tokens ---------- */
:root {
    --color-navy: #0f1e5c;
    --color-navy-dark: #091244;
    --color-red: #e93545;
    --color-red-dark: #c9222f;
    --color-yellow: #f5b515;
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-muted: #666;

    --color-blue: #2b87e3;
    --color-orange: #ff9a1a;
    --color-pink: #ff7bb0;
    --color-lightpink: #ffb0cf;
    --color-char-red: #ff3a4c;

    --container: 1200px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-md: 0 10px 30px rgba(0,0,0,.15);

    --sidebar-width: 72px;
}

.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;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section-title {
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    letter-spacing: .02em;
}

.btn--primary {
    background: var(--color-red);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 53, 69, .35);
}

/* ==========================================================
   MENU LATERAL (HEADER)
   ========================================================== */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(9, 18, 68, 0.45);
    backdrop-filter: blur(2px);
}

.sidebar-backdrop.is-visible {
    display: block;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    z-index: 100;
    background: var(--color-navy);
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
}

.header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 16px 0 20px;
    gap: 20px;
    min-height: 100%;
}

.header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}

.header__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 8px;
    color: #fff;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color .2s ease, background .2s ease;
}

.nav__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav__link:hover {
    color: var(--color-yellow);
    background: rgba(255,255,255,.08);
}

.nav__link--active {
    color: var(--color-yellow);
    background: rgba(245, 181, 21, 0.18);
}

.nav__link--active .nav__icon {
    filter: drop-shadow(0 0 6px rgba(245, 181, 21, 0.45));
}

.nav__link--cta.nav__link--active {
    color: #fff;
    background: var(--color-red-dark);
    box-shadow: inset 0 0 0 2px rgba(245, 181, 21, 0.85);
}

.nav__link--cta.nav__link--active:hover {
    background: var(--color-red-dark);
    color: #fff;
}

.nav__link:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

.nav__link--cta {
    background: var(--color-red);
    margin-top: 10px;
    border-radius: var(--radius-sm);
}

.nav__link--cta:hover {
    background: var(--color-red-dark);
    color: #fff;
}

.nav__link--cta:focus-visible {
    outline-color: #fff;
}

.header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    padding: 10px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 101;
    background: var(--color-navy);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.header__toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

.header__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__toggle.is-open span:nth-child(2) { opacity: 0; }
.header__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    margin-top: 0;
    min-height: 800px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background-color: #c2c2c2;
    background-image: url(assets/Herobanner.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 48px 24px;
    width: 100%;
}

.hero__subtitle {
    font-size: clamp(0.6rem, 1vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 4px;
}

.hero__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.hero__description {
    font-weight: 600;
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.hero__cta {
    padding: 14px 32px;
}

/* ==========================================================
   A EBF
   ========================================================== */
.about {
    position: relative;
    background: url(assets/Lego.png) no-repeat top right, var(--color-navy);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
}

.about__bricks {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    max-width: 700px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about__bricks img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
}

.about__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
    padding: 0 15%;
}

.about__title {
    margin: 0 0 12px;
    line-height: 0;
}

.about__title-img {
    display: block;
    width: min(100%, clamp(260px, 45vw, 250px));
    height: auto;
}

.about__subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 20px;
}

.about__description {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 700px;
    color: #d5d9ec;
}

.about__video {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    max-width: 520px;
    box-shadow: var(--shadow-md);
}

.about__video-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================
   PERSONAGENS
   ========================================================== */
.characters {
    padding: 80px 0 100px;
    background: #fff;
}

.characters__title {
    margin-bottom: 12px;
}

.characters__subtitle {
    text-align: center;
    color: var(--color-muted);
    font-size: 1rem;
    margin-bottom: 48px;
}

.characters__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin-inline: auto;
}

.character {
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    transition: transform .3s ease;
}

.character:hover { transform: translateY(-6px); }

.character--blue {
    background: linear-gradient(165deg, #5eb0ff 0%, var(--color-blue) 42%, #1566bd 100%);
}

.character--orange {
    background: linear-gradient(165deg, #ffc14d 0%, var(--color-orange) 45%, #e07800 100%);
}

.character--red {
    background: linear-gradient(165deg, #ff7a88 0%, var(--color-char-red) 45%, #c41d32 100%);
}

.character--lightpink {
    background: linear-gradient(165deg, #ffd6e8 0%, var(--color-lightpink) 40%, #f080b0 100%);
}

.character--pink {
    background: linear-gradient(165deg, #ffa8cf 0%, var(--color-pink) 42%, #e04d8a 100%);
}

.character__media {
    position: relative;
    flex: 1;
    min-height: 200px;
    width: 100%;
}

.character__img {
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: opacity .35s ease;
}

.character__img--default,
.character__img--armadura {
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    bottom: 0;
    height: auto;
    max-height: 100%;
}

.character__img--armadura {
    opacity: 0;
    pointer-events: none;
}

.character:hover .character__img--armadura {
    opacity: 1;
}

.character:hover .character__img--default {
    opacity: 0;
}

.character__name {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 14px 8px;
}

/* ==========================================================
   LOJINHA — split editorial (metade imagem / metade texto)
   ========================================================== */
.shop--split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: stretch;
    min-height: min(88vh, 620px);
    width: 100%;
    overflow: hidden;
}

.shop-split__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 7vw, 72px) clamp(28px, 5vw, 48px);
    background: linear-gradient(180deg, #D58638 0%, #6F461D 100%);
}

.shop-split__visual-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 70% 55% at 20% 80%, rgba(245, 181, 21, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(233, 53, 69, 0.12) 0%, transparent 40%),
        repeating-linear-gradient(
            -12deg,
            transparent,
            transparent 40px,
            rgba(255, 255, 255, 0.02) 40px,
            rgba(255, 255, 255, 0.02) 41px
        );
}

.shop-split__visual-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.shop-split__stamp {
    margin: 0 0 18px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-yellow);
}

.shop-split__product {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45));
    transform-origin: center center;
    transition: transform 0.35s ease;
}

.shop-split__zoom-trigger {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    position: relative;
    border-radius: 12px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}

.shop-split__zoom-trigger:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .shop-split__zoom-trigger:hover .shop-split__product {
        transform: scale(1.28);
    }
}

.shop-split__zoom-trigger:focus-visible .shop-split__product {
    transform: scale(1.28);
}

@media (prefers-reduced-motion: reduce) {
    .shop-split__product {
        transition: none;
    }

    .shop-split__zoom-trigger:hover .shop-split__product,
    .shop-split__zoom-trigger:focus-visible .shop-split__product {
        transform: none;
    }
}

.shop-split__zoom-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(15, 30, 92, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

.shop-split__zoom-icon {
    flex-shrink: 0;
}

/* Ampliação da camiseta (lightbox) */
.shop-zoom {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}

.shop-zoom[hidden] {
    display: none;
}

.shop-zoom__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 40, 0.82);
    cursor: pointer;
}

.shop-zoom__dialog {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 960px);
    max-height: min(92vh, 960px);
    margin: auto;
    padding: 12px;
    background: #fff;
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.shop-zoom__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(15, 30, 92, 0.15);
}

.shop-zoom__close:hover {
    background: #f0f2f8;
}

.shop-zoom__close:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 2px;
}

.shop-zoom__img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(calc(92vw - 48px), 900px);
    max-height: min(calc(92vh - 80px), 900px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
}

.shop-split__aside {
    background: #f6f7f9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(40px, 7vw, 80px) clamp(28px, 5vw, 56px);
    border-left: 1px solid rgba(15, 30, 92, 0.08);
}

.shop-split__aside-inner {
    max-width: 400px;
}

.shop-split__eyebrow {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-red);
}

.shop-split__title {
    margin: 0;
    font-size: clamp(2.25rem, 5.5vw, 3.6rem);
    font-weight: 900;
    line-height: 0.98;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.shop-split__title-img {
    display: block;
    width: min(100%, 380px);
    height: auto;
}

.shop-split__subtitle {
    margin: 10px 0 0;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 600;
    color: var(--color-muted);
}

.shop-split__rule {
    width: 56px;
    height: 5px;
    margin: 22px 0 20px;
    border: none;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-red), var(--color-yellow));
}

.shop-split__lead {
    margin: 0;
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    line-height: 1.65;
    color: #3a3d4f;
}

.shop-split__lead strong {
    color: var(--color-navy);
    font-weight: 700;
}

.shop-split__bullets {
    margin: 20px 0 0;
    padding: 0 0 0 1.15rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4a4d5c;
}

.shop-split__bullets li {
    margin-bottom: 6px;
}

.shop-split__bullets li:last-child {
    margin-bottom: 0;
}

.shop-split__pricebox {
    margin-top: 26px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 30, 92, 0.1);
    box-shadow: 0 8px 28px rgba(15, 30, 92, 0.07);
}

.shop-split__price-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.shop-split__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
}

.shop-split__currency {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
}

.shop-split__amount {
    font-size: clamp(3rem, 7.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1;
    color: var(--color-navy);
}

.shop-split__buy {
    margin-top: 22px;
    padding: 14px 28px;
    font-size: 0.92rem;
}

.shop-split__note {
    margin: 14px 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--color-muted);
    max-width: 340px;
}

/* ==========================================================
   PROGRAMAÇÃO
   ========================================================== */
.program {
    position: relative;
    background: url(assets/bg-Programacao.png) no-repeat center right, linear-gradient(180deg, #F3B30B 0%, #8D6806 100%);
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
    min-height: 560px;
}

.program__character {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    max-width: 520px;
    z-index: 0;
    pointer-events: none;
}

.program__character img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
}

.program__inner {
    position: relative;
    z-index: 1;
}

.program__text { max-width: 560px; }

.program__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.program__date {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 32px;
}

.program__list {
    display: grid;
    gap: 20px;
}

.program__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.program__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: #fff;
    margin-top: 2px;
}

.program__icon svg { width: 100%; height: 100%; }

.program__item h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.program__item p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: .95;
}

/* ==========================================================
   INSCRIÇÃO
   ========================================================== */
.signup {
    position: relative;
    background: url(assets/bg-Inscricao.png) no-repeat bottom left, linear-gradient(180deg, #DA1332 0%, #740A1B 100%);
    color: #fff;
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 520px;
}

.signup__character {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 35%;
    max-width: 420px;
    z-index: 0;
    pointer-events: none;
}

.signup__character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
}

.signup__inner {
    position: relative;
    z-index: 1;
    padding-left: calc(30% + 24px);
}

.signup__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 32px;
    color: #fff;
}

.signup__form {
    display: grid;
    gap: 16px;
    max-width: 752px;
}

.signup__row {
    display: grid;
    gap: 16px;
    align-items: end;
}

.signup__row--crianca {
    grid-template-columns: minmax(0, 1fr) minmax(3.5rem, 4.5rem) minmax(4.5rem, 6.5rem);
}

.signup__row--contacto {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.field--grow {
    min-width: 0;
}

.field--idade input {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.field select {
    padding: 12px 10px;
    font-family: inherit;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #222;
    outline: 2px solid transparent;
    transition: outline-color 0.2s ease;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.field select:focus {
    outline-color: var(--color-navy);
}

.field--sexo select {
    text-align: center;
    text-align-last: center;
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 380px) {
    .signup__row--crianca,
    .signup__row--contacto {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

.field input {
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #222;
    outline: 2px solid transparent;
    transition: outline-color .2s ease;
}

.field input:focus {
    outline-color: var(--color-navy);
}

.signup__info-imagem {
    margin: 0;
    padding: 12px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.signup__info-imagem strong {
    font-weight: 700;
    color: #fff;
}

.signup__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.signup__consent-input {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 3px;
    accent-color: var(--color-navy);
    cursor: pointer;
}

.signup__consent-label {
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.signup__consent-label strong {
    font-weight: 700;
    color: #fff;
}

.signup__consent-extra {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signup__consent-input:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 3px;
}

.signup__duplicate-hint {
    margin: 0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.signup__duplicate-hint[hidden] {
    display: none !important;
}

.signup__submit {
    background: #DA1332;
    padding: 14px 20px;
    margin-top: 8px;
    letter-spacing: .1em;
    font-size: 0.9rem;
}

.signup__submit:hover {
    background: var(--color-navy-dark);
    box-shadow: 0 8px 20px rgba(15, 30, 92, .35);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
    background: var(--color-navy-dark);
    color: rgba(255,255,255,.8);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */

/* ---------- Tablet (641 - 1024) ---------- */
@media (max-width: 1024px) {
    .characters__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .shop--split {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .shop-split__visual {
        min-height: 320px;
        padding: 40px 24px 48px;
    }

    .shop-split__aside {
        border-left: none;
        border-top: 1px solid rgba(15, 30, 92, 0.08);
        justify-content: center;
        text-align: center;
        padding: 40px 24px 48px;
    }

    .shop-split__aside-inner {
        max-width: 440px;
    }

    .shop-split__title-img {
        margin-inline: auto;
    }

    .shop-split__rule {
        margin-left: auto;
        margin-right: auto;
    }

    .shop-split__lead {
        margin-inline: auto;
    }

    .shop-split__bullets {
        display: inline-block;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }

    .shop-split__pricebox {
        text-align: left;
    }

    .shop-split__note {
        margin-inline: auto;
    }

    .program__character {
        width: 45%;
        opacity: .85;
    }

    .signup__inner {
        padding-left: calc(32% + 24px);
    }
}

/* ---------- Mobile (≤ 640) ---------- */
@media (max-width: 640px) {
    body { padding-left: 0; }

    .header__toggle { display: flex; }

    .header {
        transform: translateX(-100%);
        transition: transform .3s ease;
        box-shadow: none;
    }

    .header.is-open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,.25);
    }

    /* --- Hero --- */
    .hero {
        min-height: 640px;
        background-image: url(assets/Herobanner-mobile.png);
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        background-color: #c2c2c2;
    }

    .hero__content { padding: 24px 16px; }

    .hero__description { font-size: 0.9rem; }

    /* --- About --- */
    .about {
        padding: 56px 0;
        background-image: none;
        background-color: var(--color-navy);
    }

    .about__bricks {
        display: none;
    }

    .about__title-img {
        width: min(100%, 320px);
    }

    /* --- Characters --- */
    .characters { padding: 56px 0 72px; }

    .characters__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .character { min-height: 220px; }

    .character__name { font-size: 1rem; padding: 10px 6px; }

    /* --- Shop (split) --- */
    .shop-split__visual {
        min-height: 280px;
        padding: 32px 20px 40px;
    }

    .shop-split__stamp {
        text-align: center;
    }

    .shop-split__aside {
        padding: 32px 20px 44px;
    }

    .shop-split__title {
        font-size: 2rem;
    }

    .shop-split__title-img {
        width: min(100%, 300px);
        margin-inline: auto;
    }

    .shop-split__amount {
        font-size: 3.15rem;
    }

    /* --- Program --- */
    .program {
        padding: 56px 0 72px;
        min-height: 0;
        background-image: none;
        background: linear-gradient(180deg, #F3B30B 0%, #8D6806 100%);
    }

    .program__character {
        display: none;
    }

    .program__text { max-width: 100%; }

    /* --- Signup --- */
    .signup {
        padding: 56px 0 72px;
        min-height: 0;
        background-image: none;
        background: linear-gradient(180deg, #DA1332 0%, #740A1B 100%);
    }

    .signup__character {
        display: none;
    }

    .signup__inner { padding-left: 24px; }

    .signup__form { max-width: 100%; }
}

/* ---------- Small phones (≤ 400) ---------- */
@media (max-width: 400px) {
    .characters__grid {
        grid-template-columns: 1fr;
        max-width: 240px;
    }

    .hero__subtitle { font-size: 1.4rem; }
    .hero__title { font-size: 1.6rem; }
}
