/* =========================================================
   Portfolio Augustin Kamdjom — Feuille de style
   Palette dérivée du logo Ici-Sport (bleu roi + rouge).
   ========================================================= */

:root {
    --blue:        #1226d4;
    --blue-deep:   #0a1240;
    --blue-ink:    #070c2b;
    --red:         #ff2b3d;
    --red-soft:    #ff5561;

    --ink:         #0e1222;
    --body:        #4a4f63;
    --muted:       #8b90a3;
    --line:        #e7e9f2;
    --bg:          #ffffff;
    --bg-soft:     #f5f6fc;
    --bg-alt:      #eef0fa;

    --radius:      18px;
    --radius-sm:   12px;
    --shadow:      0 18px 50px -20px rgba(10, 18, 64, .35);
    --shadow-sm:   0 8px 24px -12px rgba(10, 18, 64, .28);
    --container:   1180px;
    --ease:        cubic-bezier(.22, .61, .36, 1);

    --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
ul, ol { list-style: none; padding: 0; }

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

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.5rem; border-radius: 100px; font-weight: 600; font-size: .98rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -10px rgba(18, 38, 212, .6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(18, 38, 212, .7); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 18, 64, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
    display: grid; place-items: center; width: 42px; height: 42px; flex: none;
    background: var(--blue); color: #fff; border-radius: 12px; font-weight: 800; letter-spacing: -.03em;
    position: relative;
}
.brand-mark::after {
    content: ""; position: absolute; right: 5px; bottom: 5px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.brand-text { display: flex; flex-direction: column; font-weight: 700; color: var(--ink); line-height: 1.15; }
.brand-text small { font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: .4rem; }
.nav a { padding: .55rem .9rem; border-radius: 100px; font-weight: 500; font-size: .95rem; color: var(--body); transition: color .2s, background .2s; }
.nav a:hover { color: var(--blue); background: var(--bg-soft); }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: .4rem; }
.nav .nav-cta:hover, .nav .nav-cta.is-active { background: var(--blue); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.hero-glow {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(closest-side at 78% 30%, rgba(18, 38, 212, .12), transparent 70%),
        radial-gradient(closest-side at 15% 85%, rgba(255, 43, 61, .08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .08em; color: var(--blue);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,43,61,.15); }

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin: 1rem 0 .3rem;
    display: flex; flex-direction: column;
}
.hero h1 .alias { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 600; color: var(--red); letter-spacing: 0; margin-top: .4rem; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink); font-weight: 600; margin-bottom: 1rem; }
.hero-intro { max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-media { position: relative; }
.hero-photo {
    position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
    aspect-ratio: 4 / 3.4; border: 6px solid #fff;
}
.hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 43, .28));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-badge {
    position: absolute; left: -14px; bottom: 26px; z-index: 2;
    background: #fff; color: var(--ink); padding: .8rem 1.2rem; border-radius: 14px;
    box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 600;
}
.hero-badge strong { color: var(--blue); font-size: 1.4rem; display: block; }

/* ---------- Stats ---------- */
.stats { padding-bottom: clamp(1rem, 3vw, 2rem); }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    background: var(--blue-deep); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem);
    background-image: radial-gradient(closest-side at 90% 10%, rgba(255,43,61,.22), transparent 60%);
}
.stat { text-align: center; color: #fff; padding: .4rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat-value { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.72); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-eyebrow {
    font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red);
    margin-bottom: .6rem;
}
.section-eyebrow.light { color: var(--red-soft); }
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.section-head { max-width: 40ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; object-position: center 25%; width: 100%; }
.about-tag {
    position: absolute; right: -12px; bottom: -14px; background: var(--red); color: #fff;
    padding: .6rem 1.1rem; border-radius: 100px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
}
.about-copy p { margin-bottom: 1rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 780px; margin-inline: auto; padding-left: 2rem; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(var(--blue), var(--red)); border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -2rem; top: 6px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(18,38,212,.12);
}
.timeline-item:last-child .timeline-marker { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,43,61,.14); }
.timeline-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.timeline-period {
    display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--blue); background: var(--bg-alt); padding: .25rem .7rem; border-radius: 100px; margin-bottom: .6rem;
}
.timeline-card h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.timeline-role { font-weight: 600; color: var(--red); font-size: .92rem; margin-bottom: .5rem; }

/* ---------- Cards / Expertise ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.card::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue);
    transition: width .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--bg-alt); color: var(--blue); margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .96rem; }

/* ---------- Media strip ---------- */
.media-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: center;
}
.media-logo {
    display: grid; place-items: center; height: 120px; padding: 1.2rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease);
}
.media-logo:hover { transform: translateY(-5px); }
.media-logo img { max-height: 78px; width: auto; object-fit: contain; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; padding: 0;
    box-shadow: var(--shadow-sm); background: var(--bg-alt);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .5s var(--ease); }
.gallery-item::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,12,43,.55));
    opacity: .85; transition: opacity .3s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-year {
    position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 800;
    font-size: 1.1rem; letter-spacing: .02em; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- Feature / Ici-Sport ---------- */
.section-feature { background: var(--blue-ink); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.section-feature::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(closest-side at 12% 20%, rgba(18,38,212,.45), transparent 60%),
        radial-gradient(closest-side at 88% 90%, rgba(255,43,61,.28), transparent 55%);
}
.feature-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-copy .section-title { color: #fff; }
.feature-baseline { color: var(--red-soft); font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.feature-list { margin-top: 1.6rem; display: grid; gap: .7rem; }
.feature-list li { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 500; }
.feature-list svg { width: 20px; height: 20px; flex: none; color: var(--red-soft); }
.feature-media {
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 2.4rem; display: grid; place-items: center;
}
.feature-media img { border-radius: 14px; box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.contact-lead { font-size: 1.1rem; margin: 0 auto 2rem; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.7); padding: 2.2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand strong { display: block; color: #fff; }
.footer-brand small { color: rgba(255,255,255,.55); font-size: .8rem; }
.footer-copy { font-size: .88rem; }
.footer-links { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-ext { display: inline-flex; align-items: center; gap: .4rem; color: var(--red-soft) !important; font-weight: 600; }
.footer-ext svg { width: 16px; height: 16px; }

/* ---------- Boutons complémentaires ---------- */
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }

/* =========================================================
   Page Contact
   ========================================================= */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; text-align: center; }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 1rem auto .8rem; max-width: 16ch; }
.page-lead { max-width: 58ch; margin: 0 auto; color: var(--body); font-size: clamp(1rem, 2vw, 1.15rem); }
.page-hero .eyebrow { justify-content: center; }

.contact-page { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }

/* Colonne infos */
.contact-aside {
    background: var(--blue-ink); color: rgba(255,255,255,.82); border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.2rem); position: relative; overflow: hidden;
}
.contact-aside::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(closest-side at 85% 8%, rgba(255,43,61,.28), transparent 60%),
                radial-gradient(closest-side at 10% 95%, rgba(18,38,212,.4), transparent 60%);
}
.contact-aside > * { position: relative; }
.aside-title { color: #fff; font-size: 1.4rem; margin-bottom: .7rem; }
.aside-text { font-size: .96rem; margin-bottom: 1.6rem; }
.info-list { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.info-list li { display: flex; align-items: center; gap: .9rem; }
.info-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px;
    background: rgba(255,255,255,.1); color: #fff; }
.info-ic svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.info-list a { color: var(--red-soft); font-weight: 600; word-break: break-word; }
.info-list a:hover { text-decoration: underline; }
.info-list span span { font-size: .95rem; }

.aside-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm);
    padding: 1.3rem; text-align: center;
}
.aside-card img { max-height: 46px; width: auto; margin: 0 auto .8rem; border-radius: 8px; }
.aside-card p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1rem; }
.aside-card strong { color: #fff; }

/* Formulaire */
.contact-form-wrap {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .45rem; }
.field label small { font-weight: 400; color: var(--muted); }
.req { color: var(--red); }

.input-ic { position: relative; display: flex; align-items: center; }
.input-ic svg { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.input-ic input, .input-ic select { padding-left: 44px; }

.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b90a3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(18,38,212,.1);
}
.field [aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
.field-error { color: var(--red); font-size: .84rem; margin-top: .4rem; font-weight: 500; }

.field-check { margin-top: .4rem; }
.check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400 !important; color: var(--body); cursor: pointer; font-size: .92rem; }
.check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--blue); }

.form-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .4rem; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Alertes */
.alert { display: flex; gap: .9rem; align-items: flex-start; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.6rem; }
.alert p { font-size: .92rem; margin-top: .2rem; }
.alert-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; }
.alert-ic svg { width: 20px; height: 20px; }
.alert-success { background: #e9f9ef; border: 1px solid #b6e8c8; color: #12683a; }
.alert-success .alert-ic { background: #12683a; color: #fff; }
.alert-success strong { color: #0f5230; }
.alert-error { background: #fdecee; border: 1px solid #f6c2c8; color: #a11b28; }
.alert-error .alert-ic { background: var(--red); color: #fff; }
.alert-error strong { color: #8f1622; }

/* Pot de miel : masqué visuellement mais présent pour les bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-aside { order: 2; }
}
@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Retour en haut ---------- */
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
    background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(7,12,43,.92); backdrop-filter: blur(6px);
    display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 640px; text-align: center; }
.lightbox-figure img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox-figure figcaption { color: #fff; margin-top: 1rem; font-weight: 500; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox-close:hover { background: var(--red); }
.lightbox-close svg { width: 24px; height: 24px; }

/* ---------- Animations reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 440px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .media-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
        background: #fff; padding: 1rem 1.2rem 1.6rem; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s var(--ease); visibility: hidden;
    }
    .nav.open { transform: none; visibility: visible; }
    .nav a { padding: .85rem 1rem; border-radius: 12px; font-size: 1.05rem; }
    .nav .nav-cta { margin: .4rem 0 0; text-align: center; justify-content: center; }
    .nav-toggle { display: grid; place-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; }
    .stat:nth-child(odd) { border-left: 0; }
    .stat { padding: 1rem .4rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
    .container { padding-inline: 18px; }
    .cards-grid { grid-template-columns: 1fr; }
    .brand-text small { display: none; }
    .hero-actions .btn, .contact-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
