:root {
    --purple: #7652a7;
    --blue: #1f65a8;
    --turquoise: #35aebd;
    --pink: #ef5d91;
    --gold: #f4b72f;
    --lavender: #c9b8ea;
    --ink: #21324a;
    --muted: #66708a;
    --paper: #fff7e9;
    --cream: #fff1d5;
    --white: #ffffff;
    --line: rgba(33, 50, 74, 0.12);
    --wash: rgba(201, 184, 234, 0.22);
    --shadow: 0 18px 42px rgba(31, 101, 168, 0.14);
    --radius-xl: 22px;
    --radius-lg: 14px;
    --radius-md: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Rubik", "Assistant", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 18px 18px, rgba(239, 93, 145, 0.14) 0 3px, transparent 4px),
        radial-gradient(circle at 58px 46px, rgba(244, 183, 47, 0.2) 0 3px, transparent 4px),
        radial-gradient(circle at 88px 20px, rgba(53, 174, 189, 0.14) 0 2px, transparent 3px),
        linear-gradient(180deg, var(--paper) 0%, #fffdf8 50%, #f5fbff 100%);
    background-size: 108px 108px, 128px 128px, 96px 96px, auto;
    overflow-x: hidden;
}

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

img,
svg,
canvas,
video {
    max-width: 100%;
}

button,
input,
select,
textarea {
    min-width: 0;
}

.site-shell {
    min-height: 100vh;
    padding: 20px;
}

.site-header,
.site-footer {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(31, 101, 168, 0.08);
}

.site-footer {
    margin-top: 36px;
    border-radius: var(--radius-xl);
    align-items: flex-start;
}

.main-nav,
.footer-links,
.lang-switch,
.hero-actions,
.step-actions,
.registration-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--blue);
    min-width: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(31, 101, 168, 0.18));
}

.brand-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--turquoise));
    box-shadow: 0 0 0 8px rgba(239, 93, 145, 0.13);
}

.lang-switch a.is-active,
.main-nav a:hover,
.footer-links a:hover {
    color: var(--pink);
}

main {
    max-width: 1360px;
    margin: 24px auto 0;
}

.hero-panel,
.registration-hero,
.cta-strip,
.admin-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(245, 250, 255, 0.94)),
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(53, 174, 189, 0.1) 18px 20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}

.hero-panel::after,
.registration-hero::after,
.cta-strip::after {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 240px;
    height: 240px;
    border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
    background: rgba(201, 184, 234, 0.36);
    filter: blur(8px);
}

.hero-copy h1,
.registration-hero h1,
.cta-strip h2,
.section-heading h2 {
    font-family: "Assistant", sans-serif;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1;
    margin: 10px 0 16px;
}

.hero-copy p,
.registration-hero p,
.cta-strip p {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 58ch;
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    max-width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(201, 184, 234, 0.28);
    color: var(--blue);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--turquoise));
    box-shadow: 0 12px 24px rgba(31, 101, 168, 0.24);
}

.btn-secondary {
    background: rgba(244, 183, 47, 0.24);
    color: #8a5d00;
}

.hero-facts {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.hero-visual {
    min-height: 360px;
    position: relative;
}

.hero-card {
    position: absolute;
    display: grid;
    gap: 8px;
    width: 220px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
}

.hero-card span {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.card-one {
    inset: 18px auto auto 20px;
    background: linear-gradient(180deg, rgba(244, 183, 47, 0.34), rgba(255, 253, 248, 0.96));
}

.card-two {
    inset: 170px 40px auto auto;
    background: linear-gradient(180deg, rgba(53, 174, 189, 0.24), rgba(255, 253, 248, 0.96));
}

.hero-blob {
    position: absolute;
    inset: 70px auto auto 110px;
    width: 280px;
    height: 280px;
    border-radius: 42% 58% 66% 34% / 44% 33% 67% 56%;
    background: linear-gradient(135deg, rgba(201, 184, 234, 0.52), rgba(244, 183, 47, 0.34));
    animation: drift 8s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(4deg); }
}

.content-section {
    margin-top: 28px;
    padding: 30px;
    background: rgba(255, 253, 248, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.home-page {
    display: grid;
    gap: 24px;
}

/* ── Section À propos / Présentation ── */
.home-about {
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
    background:
        radial-gradient(circle at 10% 20%, rgba(201, 184, 234, 0.22), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 183, 47, 0.18), transparent 40%),
        rgba(255, 253, 248, 0.92);
    border-radius: calc(var(--radius-xl) + 8px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.home-about-header {
    text-align: center;
    margin-bottom: 36px;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.home-about-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
    margin: 0;
}

.home-about-intro {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-muted, #555);
    max-width: 680px;
    line-height: 1.7;
    margin: 0;
}

.home-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.home-about-card {
    display: grid;
    gap: 10px;
    padding: 24px 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(118, 82, 167, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(118, 82, 167, 0.14);
}

.home-about-icon {
    font-size: 2rem;
    line-height: 1;
}

.home-about-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
}

.home-about-card p {
    font-size: 0.93rem;
    color: var(--text-muted, #555);
    line-height: 1.65;
    margin: 0;
}

.home-about-tagline {
    text-align: center;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
}

.home-about-tagline p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--blue);
    margin: 0;
    font-style: italic;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    min-height: min(720px, calc(100vh - 150px));
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-xl) + 8px);
    background:
        radial-gradient(circle at 84% 18%, rgba(244, 183, 47, 0.34), transparent 24%),
        radial-gradient(circle at 10% 88%, rgba(239, 93, 145, 0.2), transparent 28%),
        radial-gradient(circle at 72% 82%, rgba(53, 174, 189, 0.2), transparent 26%),
        linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(246, 250, 255, 0.94));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 2px dashed rgba(118, 82, 167, 0.18);
    border-radius: calc(var(--radius-xl) + 2px);
    pointer-events: none;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
}

.home-hero-copy h1 {
    max-width: 11ch;
    margin: 16px 0;
    font-family: "Assistant", sans-serif;
    font-size: clamp(2.6rem, 7vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: var(--purple);
    overflow-wrap: anywhere;
}

.holidays-hero .home-hero-copy h1 {
    max-width: 14ch;
}

.home-hero-copy p {
    max-width: 58ch;
    margin: 0 0 24px;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.75;
}

.home-hero-logo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 34px);
    border-radius: 38% 62% 48% 52% / 55% 42% 58% 45%;
    background:
        radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.96), transparent 38%),
        linear-gradient(135deg, rgba(201, 184, 234, 0.42), rgba(53, 174, 189, 0.18));
    animation: floatLogo 7s ease-in-out infinite;
}

.home-hero-logo img {
    display: block;
    width: min(100%, 520px);
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(31, 101, 168, 0.22));
}

.hero-ribbon {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    bottom: clamp(18px, 4vw, 38px);
    display: flex;
    gap: 9px;
}

.hero-ribbon span {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--pink);
    box-shadow: 0 0 0 6px rgba(239, 93, 145, 0.12);
}

.hero-ribbon span:nth-child(2) { background: var(--gold); box-shadow: 0 0 0 6px rgba(244, 183, 47, 0.14); }
.hero-ribbon span:nth-child(3) { background: var(--turquoise); box-shadow: 0 0 0 6px rgba(53, 174, 189, 0.12); }
.hero-ribbon span:nth-child(4) { background: var(--purple); box-shadow: 0 0 0 6px rgba(118, 82, 167, 0.12); }
.hero-ribbon span:nth-child(5) { background: var(--blue); box-shadow: 0 0 0 6px rgba(31, 101, 168, 0.12); }

.home-quick-nav,
.play-card-grid,
.info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-quick-nav a,
.play-card,
.info-strip div {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.9);
    box-shadow: 0 14px 30px rgba(31, 101, 168, 0.08);
    min-width: 0;
}

.home-quick-nav a {
    display: grid;
    gap: 8px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-quick-nav a::after,
.play-card::after {
    content: "";
    position: absolute;
    inset: auto -28px -42px auto;
    width: 112px;
    height: 112px;
    border-radius: 999px;
    background: rgba(201, 184, 234, 0.34);
}

.home-quick-nav a:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    border-color: rgba(239, 93, 145, 0.32);
    box-shadow: 0 18px 38px rgba(31, 101, 168, 0.14);
}

.home-quick-nav strong,
.play-card h3,
.info-strip strong {
    color: var(--blue);
}

.home-quick-nav span,
.info-strip span {
    color: var(--muted);
}

.home-band,
.home-cta {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-xl) + 4px);
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 247, 233, 0.9)),
        radial-gradient(circle at 96% 0, rgba(201, 184, 234, 0.28), transparent 28%);
    box-shadow: var(--shadow);
}

.play-card {
    min-height: 230px;
    display: grid;
    align-content: end;
    gap: 10px;
}

.play-card span {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
}

.play-card h3,
.play-card p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.play-card p {
    line-height: 1.65;
}

.play-card-blue {
    background: linear-gradient(135deg, rgba(53, 174, 189, 0.3), rgba(255, 253, 248, 0.94));
}

.play-card-pink {
    background: linear-gradient(135deg, rgba(239, 93, 145, 0.26), rgba(255, 253, 248, 0.94));
}

.play-card-gold {
    background: linear-gradient(135deg, rgba(244, 183, 47, 0.34), rgba(255, 253, 248, 0.94));
}

.day-tabs {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.day-tab-list {
    display: grid;
    gap: 10px;
}

.day-tab {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-align: start;
    min-width: 0;
    overflow-wrap: anywhere;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.day-tab:hover {
    transform: translateX(4px);
}

[dir="rtl"] .day-tab:hover {
    transform: translateX(-4px);
}

.day-tab.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--blue));
    box-shadow: 0 14px 28px rgba(118, 82, 167, 0.22);
}

.day-panel {
    display: none;
    min-height: 100%;
    padding: clamp(22px, 4vw, 34px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 92% 20%, rgba(244, 183, 47, 0.26), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.92));
    border: 1px solid var(--line);
    min-width: 0;
}

.day-panel.is-active {
    display: grid;
    align-content: center;
    gap: 12px;
}

.day-panel strong {
    font-size: clamp(1.6rem, 4vw, 3rem);
    color: var(--pink);
}

.day-panel p {
    max-width: 62ch;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.75;
}

.info-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-strip div {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.home-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    background:
        radial-gradient(circle at 8% 18%, rgba(239, 93, 145, 0.16), transparent 26%),
        linear-gradient(135deg, rgba(118, 82, 167, 0.12), rgba(53, 174, 189, 0.14)),
        rgba(255, 253, 248, 0.94);
}

.home-cta h2,
.home-cta p {
    margin: 10px 0 0;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.section-heading {
    margin-bottom: 20px;
}

.three-grid,
.gallery-grid,
.benefit-list,
.schedule-panel,
.signature-grid,
.dashboard-stats,
.admin-cards {
    display: grid;
    gap: 18px;
}

.three-grid,
.schedule-panel,
.dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soft-card,
.benefit-item,
.schedule-block,
.gallery-card,
.registration-summary div,
.subsection-card,
.signature-box,
.admin-card,
.stat-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(245, 250, 255, 0.94));
    border: 1px solid var(--line);
    min-width: 0;
    overflow-wrap: anywhere;
}

.gallery-card {
    min-height: 220px;
    color: var(--ink);
    font-weight: 700;
    display: flex;
    align-items: flex-end;
}

.gallery-card.sunrise { background: linear-gradient(135deg, rgba(244, 183, 47, 0.65), rgba(239, 93, 145, 0.24)); }
.gallery-card.mint { background: linear-gradient(135deg, rgba(53, 174, 189, 0.46), rgba(255, 253, 248, 0.8)); }
.gallery-card.sky { background: linear-gradient(135deg, rgba(31, 101, 168, 0.34), rgba(255, 253, 248, 0.92)); }
.gallery-card.coral { background: linear-gradient(135deg, rgba(239, 93, 145, 0.35), rgba(244, 183, 47, 0.42)); }

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit-item strong,
.registration-summary strong,
.stat-card strong {
    font-size: 1.7rem;
    color: var(--blue);
}

.holiday-table-wrap,
.admin-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.holiday-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.holiday-table th,
.holiday-table td,
.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: start;
    border-bottom: 1px solid var(--line);
}

.status-chip {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.status-open { background: rgba(53, 174, 189, 0.18); color: #197586; }
.status-closed { background: rgba(239, 93, 145, 0.16); color: #9f2f5a; }
.status-half_day { background: rgba(244, 183, 47, 0.28); color: #7b5a13; }

.date-note {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: var(--muted);
}

.cta-strip {
    margin-top: 28px;
    align-items: center;
}

.registration-main {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.multi-step-form {
    padding: 28px;
    background: rgba(255, 253, 248, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    min-width: 0;
    width: 100%;
}

.progress-shell {
    margin-bottom: 26px;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: rgba(118, 82, 167, 0.13);
    border-radius: 999px;
    overflow: hidden;
}

.progress-track span {
    display: block;
    width: 14%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink), var(--gold));
    transition: width 220ms ease;
}

.progress-label {
    margin-top: 12px;
    font-weight: 700;
    min-width: 0;
}

.form-step {
    display: none;
}

.form-step.is-active {
    display: block;
}

.step-heading {
    margin-bottom: 18px;
}

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

.field {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.field span,
.signature-box label {
    font-weight: 700;
}

.bilingual-label {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: baseline;
    justify-content: start;
    column-gap: 0.4em;
    line-height: 1.35;
    min-width: 0;
    max-width: 100%;
    direction: ltr;
    unicode-bidi: isolate;
}

.field > span,
.checkbox-card span,
.holiday-table th,
.holiday-table td,
.contract-header h3,
.contract-badge,
.hero-badge,
.registration-summary span {
    min-width: 0;
}

.field > span .bilingual-label,
.signature-box label .bilingual-label,
.progress-label .bilingual-label,
.holiday-table th .bilingual-label,
.holiday-table td > .bilingual-label,
.status-chip .bilingual-label,
.contract-header h3 .bilingual-label,
.contract-badge .bilingual-label,
.hero-badge .bilingual-label,
.registration-summary .bilingual-label,
.step-heading h2 .bilingual-label,
.registration-hero h1 .bilingual-label {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.label-fr,
.label-he {
    display: inline;
    unicode-bidi: isolate;
}

.label-primary {
    color: inherit;
    font-size: 1em;
    font-weight: inherit;
}

.label-secondary {
    color: inherit;
    font-size: 1em;
    font-weight: inherit;
}

.label-he {
    font-family: "Assistant", "Rubik", sans-serif;
}

.bilingual-separator {
    color: var(--muted);
    font-size: 0.95em;
    font-weight: 700;
    direction: ltr;
    unicode-bidi: isolate;
}

.registration-hero h1 .bilingual-label,
.step-heading h2 .bilingual-label,
.registration-hero p .bilingual-label,
.step-heading p .bilingual-label {
    align-items: flex-start;
    letter-spacing: normal;
}

.registration-hero p .bilingual-label,
.step-heading p .bilingual-label,
.form-subsection p .bilingual-label,
.checkbox-card .bilingual-label,
.date-note .bilingual-label {
    display: inline-flex;
    flex-wrap: wrap;
    white-space: normal;
}

.step-heading .bilingual-label,
.registration-hero .bilingual-label {
    row-gap: 6px;
}

.hero-badge .bilingual-label,
.btn .bilingual-label,
.contract-badge .bilingual-label,
.registration-summary .bilingual-label {
    column-gap: 0.3em;
    row-gap: 1px;
}

.hero-badge,
.btn,
.contract-badge {
    text-align: center;
}

.field input,
.field textarea,
.field select,
.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(118, 82, 167, 0.18);
    background: rgba(255, 255, 255, 0.96);
    font: inherit;
    color: var(--ink);
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: rgba(53, 174, 189, 0.12);
    min-width: 0;
}

.checkbox-card span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.checkbox-inline {
    justify-content: flex-start;
}

.checkbox-large {
    margin-top: 18px;
}

.subsection-card {
    margin-top: 24px;
}

.form-subsection {
    display: grid;
    gap: 16px;
}

.form-subsection h3,
.form-subsection p {
    margin: 0;
}

.form-subsection h3 {
    font-size: 1.25rem;
}

.subsection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.pickup-list,
.contract-columns {
    display: grid;
    gap: 18px;
}

.pickup-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px dashed rgba(118, 82, 167, 0.24);
    border-radius: var(--radius-lg);
}

.contract-card {
    padding: 24px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 248, 234, 0.9);
    border: 1px solid rgba(217, 162, 104, 0.22);
    min-width: 0;
}

.contract-header,
.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
}

.contract-he,
.contract-text-he {
    direction: rtl;
    text-align: right;
}

[lang="he"] .contract-he,
[lang="he"] .contract-text-he {
    order: -1;
}

[lang="fr"] .contract-he h3,
[lang="fr"] .contract-text-he,
[lang="he"] .contract-header > div:first-child h3,
[lang="he"] .contract-text:not(.contract-text-he) {
    color: var(--muted);
    font-size: 0.92em;
}

[lang="fr"] .contract-he .contract-badge,
[lang="he"] .contract-header > div:first-child .contract-badge {
    opacity: 0.72;
}

.contract-badge {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(244, 183, 47, 0.22);
    color: #7b5a13;
    font-weight: 700;
}

.contract-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0;
}

.contract-text,
.contract-text-he {
    min-width: 0;
    overflow-wrap: anywhere;
}

.signature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.signature-grid-single {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 260px);
    margin-inline: auto;
}

.signature-grid-single .signature-box {
    padding: 12px;
}

.signature-pad {
    display: block;
    width: 100%;
    max-width: 300px;
    min-height: 83px;
    margin-inline: auto;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(118, 82, 167, 0.28);
    touch-action: none;
}

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

.medical-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.88);
    min-width: 0;
}

.detail-field[hidden] {
    display: none;
}

.step-actions {
    margin-top: 24px;
    justify-content: space-between;
}

.is-hidden {
    display: none;
}

.alert {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
}

.alert-error {
    background: rgba(239, 93, 145, 0.14);
    color: #9f2f5a;
}

.alert-success {
    background: rgba(53, 174, 189, 0.16);
    color: #197586;
}

.thank-you-panel .centered-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.admin-layout {
    max-width: 1240px;
    margin: 24px auto 0;
    display: grid;
    gap: 24px;
    min-width: 0;
}

.admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    display: grid;
    gap: 14px;
}

.admin-sidebar a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.86);
}

.admin-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .home-hero,
    .home-quick-nav,
    .play-card-grid,
    .day-tabs,
    .info-strip,
    .home-cta,
    .hero-panel,
    .registration-hero,
    .cta-strip,
    .admin-shell,
    .gallery-grid,
    .three-grid,
    .benefit-list,
    .form-grid,
    .checkbox-grid,
    .contract-columns,
    .signature-grid,
    .dashboard-stats,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero-copy h1 {
        max-width: 13ch;
    }

    .hero-ribbon {
        position: static;
        z-index: 1;
        justify-content: center;
        margin-top: 4px;
    }

    .site-header,
    .site-footer,
    .main-nav,
    .footer-links,
    .step-actions,
    .subsection-header,
    .contract-header,
    .admin-header,
    .registration-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-pill,
    .main-nav,
    .footer-links,
    .lang-switch {
        justify-content: center;
        text-align: center;
    }

    .registration-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .field > span .bilingual-label,
    .signature-box label .bilingual-label,
    .progress-label .bilingual-label,
    .holiday-table th .bilingual-label,
    .holiday-table td > .bilingual-label,
    .status-chip .bilingual-label,
    .contract-header h3 .bilingual-label,
    .contract-badge .bilingual-label,
    .hero-badge .bilingual-label,
    .registration-summary .bilingual-label,
    .step-heading h2 .bilingual-label,
    .registration-hero h1 .bilingual-label {
        display: inline-flex;
        flex-wrap: wrap;
        white-space: normal;
    }

    .pickup-item {
        grid-template-columns: 1fr;
    }

    .site-shell {
        padding: 14px;
    }
}

@media (max-width: 620px) {
    .site-shell {
        padding: 10px;
    }

    .hero-panel,
    .registration-hero,
    .cta-strip,
    .content-section,
    .multi-step-form,
    .home-band,
    .home-cta {
        padding: 20px;
    }

    .site-header {
        border-radius: var(--radius-xl);
        padding: 14px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-pill {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .main-nav,
    .footer-links,
    .lang-switch,
    .hero-actions,
    .registration-summary {
        align-items: stretch;
        width: 100%;
    }

    .main-nav a,
    .footer-links a,
    .lang-switch a,
    .hero-actions .btn,
    .home-cta .btn {
        width: 100%;
    }

    .home-hero {
        padding: 22px;
        border-radius: var(--radius-xl);
    }

    .home-hero::before {
        inset: 12px;
    }

    .home-hero-copy {
        justify-items: stretch;
    }

    .home-hero-copy h1 {
        font-size: clamp(2.4rem, 15vw, 4rem);
        max-width: 100%;
    }

    .home-hero-logo {
        padding: 12px;
    }

    .home-hero-logo img {
        width: min(86vw, 360px);
    }

    .home-quick-nav a,
    .play-card,
    .info-strip div {
        padding: 16px;
    }

    .play-card {
        min-height: 190px;
    }

    .day-tab-list {
        grid-template-columns: 1fr;
    }

    .day-panel strong {
        font-size: clamp(1.4rem, 10vw, 2.35rem);
    }

    .contract-card,
    .subsection-card,
    .signature-box,
    .medical-card {
        padding: 16px;
    }

    .contract-header,
    .admin-header {
        gap: 12px;
    }

    .registration-summary {
        grid-template-columns: 1fr;
    }

    .checkbox-card {
        align-items: flex-start;
        padding: 14px 16px;
    }

    .checkbox-card input[type="checkbox"] {
        margin-top: 3px;
        flex: 0 0 auto;
    }

    .holiday-table th,
    .holiday-table td,
    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
        min-width: 128px;
    }

    .step-actions .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .site-shell {
        padding: 8px;
    }

    .site-header,
    .site-footer,
    .home-hero,
    .home-band,
    .home-cta,
    .registration-hero,
    .multi-step-form,
    .content-section {
        border-radius: 18px;
    }

    .home-hero,
    .registration-hero,
    .multi-step-form,
    .home-band,
    .home-cta,
    .content-section {
        padding: 16px;
    }

    .home-hero-copy h1 {
        letter-spacing: -0.035em;
    }

    .hero-badge,
    .eyebrow,
    .btn,
    .day-tab {
        padding-inline: 14px;
    }

    .field input,
    .field textarea,
    .field select,
    .admin-form input,
    .admin-form textarea,
    .admin-form select {
        padding: 12px 14px;
    }
}

    .home-page--compact {
        width: 100vw;
        max-width: none;
        min-height: calc(100vh - 160px);
        margin-inline: calc(50% - 50vw);
        display: grid;
        align-items: stretch;
    }

    .home-slider-shell,
    .home-slider-card {
        width: 100%;
    }

    .home-slider {
        position: relative;
        min-height: calc(100vh - 160px);
        border-radius: 0;
        overflow: hidden;
        background: #dfe7ef;
    }

    .home-slider-track {
        position: absolute;
        inset: 0;
    }

    .home-slide {
        position: absolute;
        inset: 0;
        margin: 0;
        opacity: 0;
        transition: opacity 320ms ease;
        pointer-events: none;
    }

    .home-slide.is-active {
        opacity: 1;
    }

    .home-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .home-slider-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 52px;
        height: 52px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        color: var(--blue);
        box-shadow: 0 10px 26px rgba(31, 101, 168, 0.18);
        cursor: pointer;
        font: inherit;
        font-size: 2rem;
    }

    .home-slider-control.prev {
        left: 18px;
    }

    .home-slider-control.next {
        right: 18px;
    }

    [dir="rtl"] .home-slider-control.prev {
        left: auto;
        right: 18px;
    }

    [dir="rtl"] .home-slider-control.next {
        right: auto;
        left: 18px;
    }

    .home-slider-dots {
        position: absolute;
        inset: auto 0 18px;
        z-index: 2;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .home-slider-dot {
        width: 11px;
        height: 11px;
        padding: 0;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.55);
        cursor: pointer;
        transition: transform 180ms ease, background 180ms ease;
    }

    .home-slider-dot.is-active {
        background: var(--white);
        transform: scale(1.22);
    }

    .home-contact-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        display: grid;
        justify-items: center;
        gap: 12px;
        text-align: center;
        padding: 18px 20px;
        max-width: min(100% - 40px, 720px);
        border-radius: 24px;
        background: rgba(255, 253, 248, 0.72);
        backdrop-filter: blur(12px);
        box-shadow: 0 20px 50px rgba(8, 29, 58, 0.18);
    }

    .home-contact-card p {
        margin: 0;
        max-width: 56ch;
        color: var(--muted);
        line-height: 1.7;
    }

    .home-contact-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    @media (max-width: 720px) {
        .home-page--compact {
            min-height: auto;
        }

        .home-slider {
            min-height: calc(100vh - 120px);
        }

        .home-contact-card {
            width: calc(100% - 28px);
            padding: 14px;
        }

        .home-slider-control {
            width: 44px;
            height: 44px;
            font-size: 1.6rem;
        }

        .home-contact-actions {
            width: 100%;
            display: grid;
        }

        .home-contact-actions .btn {
            width: 100%;
        }
    }
