/* ============================================
   AVANCE LANDING PAGE - Single Page Design
   ============================================ */

/* --- CSS Variables --- */
:root {
    --violet: #371DC9;
    --purple: #4A0EBC;
    --yellow: #FFDE00;
    --gold: #E2C30A;
    --deep-violet: #2B16A3;
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --font-heading: 'Arial Rounded MT Bold', 'Nunito', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Page System --- */
.page { display: none; }
.page--active { display: block; }

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.header--scrolled {
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo img {
    height: 36px;
    width: auto;
    cursor: pointer;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
}

.header__link:hover,
.header__link--active {
    color: var(--violet);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.header__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.btn--primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: var(--violet);
    color: var(--white);
    border-color: var(--violet);
}

.btn--secondary:hover {
    background: var(--deep-violet);
    border-color: var(--deep-violet);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--violet);
    border-color: var(--violet);
}

.btn--outline:hover {
    background: var(--violet);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--gray-700);
    border-color: transparent;
    padding: 8px 16px;
}

.btn--ghost:hover { color: var(--violet); }

.btn--large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn--white {
    background: var(--white);
    color: var(--violet);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--gray-50);
}

/* --- Page Hero --- */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(55,29,201,0.04) 0%, var(--white) 100%);
}

.page-hero__badge {
    display: inline-block;
    background: rgba(55,29,201,0.08);
    color: var(--violet);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.page-hero__title .highlight {
    color: var(--violet);
}

.page-hero__title .highlight--yellow {
    color: var(--yellow);
    text-shadow: 0 0 20px rgba(255,222,0,0.3);
}

.page-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.page-hero__question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--violet);
    margin-bottom: 8px;
}

.page-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Hero Dark (violet bg) --- */
.page-hero--dark {
    background: linear-gradient(180deg, var(--purple) 0%, var(--violet) 60%, var(--deep-violet) 100%);
    color: var(--white);
}

.page-hero--dark .page-hero__title,
.page-hero--dark .page-hero__subtitle {
    color: var(--white);
}

.page-hero--dark .page-hero__badge {
    background: rgba(255,222,0,0.2);
    color: var(--white);
    border: 1px solid rgba(255,222,0,0.4);
}

/* --- Section --- */
.section {
    padding: 80px 0;
}

.section--gray { background: var(--gray-50); }
.section--violet-light { background: rgba(55,29,201,0.04); }
.section--dark { background: var(--violet); color: var(--white); }
.section--dark .section__title { color: var(--white); }

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.section__subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* --- Card Components --- */

/* Card Colored (full violet bg) */
.card-colored {
    background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card-colored:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-colored__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-colored__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Card Outlined */
.card-outlined {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card-outlined:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Card Top-Bar */
.card-topbar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border-top: 4px solid var(--violet);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card-topbar:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-topbar__icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-topbar__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.card-topbar__text {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Card Numbered */
.card-numbered {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card-numbered:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-numbered__number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--violet);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.card-numbered__body { flex: 1; }

.card-numbered__duration {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--violet);
    background: rgba(55,29,201,0.08);
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.card-numbered__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.card-numbered__text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Card Dual-Tone */
.card-dualtone {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border-left: 4px solid var(--yellow);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card-dualtone:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-dualtone__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.card-dualtone__text {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Card Asymmetric */
.card-asymmetric {
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card-asymmetric:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-asymmetric--yellow {
    background: rgba(255,222,0,0.12);
}

.card-asymmetric--violet {
    background: rgba(55,29,201,0.06);
}

.card-asymmetric__title {
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.card-asymmetric__text {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* Card Lift (hover lift effect) */
.card-lift {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Gateway Cards (homepage) --- */
.gateway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.gateway-card {
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gateway-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gateway-card--jeune {
    background: var(--yellow);
    color: var(--black);
}

.gateway-card--parent {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-900);
}

.gateway-card--parent:hover { border-color: var(--violet); }

.gateway-card--ecole {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-900);
}

.gateway-card--ecole:hover { border-color: var(--violet); }

.gateway-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.gateway-card__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.85;
}

.gateway-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--violet);
    font-weight: 600;
    font-size: 0.875rem;
}

.gateway-link:hover { text-decoration: underline; }

.gateway-note {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* --- Statistics --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--violet);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* --- Quote Section --- */
.quote-section {
    padding: 60px 0;
    text-align: center;
    background: rgba(55,29,201,0.04);
}

.quote-section__text {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--violet);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section--yellow {
    background: var(--yellow);
    color: var(--black);
}

.cta-section--violet {
    background: var(--violet);
    color: var(--white);
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section__subtitle {
    font-size: 1.0625rem;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Team Section --- */
.team-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--purple) 0%, var(--violet) 100%);
    color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-member {
    text-align: center;
}

.team-member__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid rgba(255,255,255,0.3);
}

.team-member__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member__role {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.team-member__bio {
    font-size: 0.875rem;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* --- FAQ --- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
}

.faq-item__icon {
    font-size: 1.25rem;
    color: var(--violet);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item--open .faq-item__answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-item__answer p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Forms --- */
.form-container {
    max-width: 560px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--violet);
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__error {
    color: #DC2626;
    font-size: 0.8125rem;
    margin-top: 4px;
}

.form__success {
    color: #16A34A;
    font-size: 0.9375rem;
    margin-top: 12px;
    display: none;
}

.checkbox__group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.checkbox__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    cursor: pointer;
}

.checkbox__input {
    width: 18px;
    height: 18px;
    accent-color: var(--violet);
}

/* --- Inscription Box --- */
.inscription-box {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--violet);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

.inscription-box__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.inscription-box__subtitle {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 28px;
}

/* --- Process Grids (auto-built by JS) --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.process-grid .card-topbar {
    text-align: center;
    padding: 20px 16px;
}

.process-grid .card-outlined {
    text-align: center;
    padding: 20px 16px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__text {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--violet);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Cookies Policy Page --- */
.cookies-content {
    max-width: 720px;
    margin: 0 auto;
}

.cookies-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.cookies-content p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 12px;
}

.cookies-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 12px;
}

.cookies-content ul li {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand-logo img {
    height: 32px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background var(--transition);
}

.footer__social a:hover { background: rgba(255,255,255,0.2); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

.footer__heading {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    opacity: 0.6;
}

.footer__list li { margin-bottom: 8px; }

.footer__link {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity var(--transition);
    cursor: pointer;
}

.footer__link:hover { opacity: 1; }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    opacity: 0.5;
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible,
.fade-left.visible {
    opacity: 1;
    transform: translate(0);
}

/* --- Contact success block --- */
.contact-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.contact-success--visible {
    display: block;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .header__nav { display: none; }
    .header__mobile-toggle { display: flex; }

    .header__nav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--gray-200);
    }

    .header__actions { display: none; }
    .header__nav--open + .header__actions { display: flex; flex-direction: column; align-items: stretch; }

    .page-hero { padding: 120px 0 60px; }
    .page-hero__title { font-size: 2rem; }

    .gateway-grid,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

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

    .team-grid { grid-template-columns: 1fr; gap: 32px; }

    .footer__inner { grid-template-columns: 1fr; gap: 32px; }

    .form__row { grid-template-columns: 1fr; }

    .cookie-banner__inner { flex-direction: column; text-align: center; }

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

    .section { padding: 60px 0; }

    /* Mobile nav open state */
    .mobile-nav-open .header__nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-lg);
        gap: 8px;
    }

    .mobile-nav-open .header__link {
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-nav-open .header__actions {
        display: flex;
        flex-direction: column;
        padding: 0 24px 16px;
        gap: 8px;
        position: absolute;
        top: calc(72px + var(--nav-items-height, 300px));
        left: 0;
        right: 0;
        background: var(--white);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .page-hero { padding: 100px 0 48px; }
    .process-grid { grid-template-columns: 1fr; }
}
