/* =========================================================================
   Atiom — feuille de style (refonte)
   Charte conservée : océan #046791 · lagon #5cc1d5 · encre #0d0d3f
   Ardoise de fond reprise du spot vidéo : brume #eaf3f7
   ========================================================================= */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Couleurs */
    --ink: #0d0d3f;
    --ocean: #046791;
    --ocean-dark: #035a7b;
    --lagon: #5cc1d5;
    --brume: #eaf3f7;
    --brume-deep: #d6e8ef;
    --paper: #ffffff;
    --muted: #4a5578;
    --line: rgba(13, 13, 63, 0.12);
    --ok: #1f8a5b;

    /* Typographie */
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

    /* Rayons : trois niveaux seulement */
    --r-s: 12px;
    --r-m: 22px;
    --r-l: 36px;

    --shadow: 0 24px 50px -28px rgba(13, 13, 63, 0.35);
    --header-h: 76px;
    --wrap: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ocean-dark); }

/* Visible au clavier, partout */
:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--lagon);
    border-radius: 6px;
}

.hidden { display: none !important; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    padding: 0.7rem 1.1rem; border-radius: var(--r-s);
    background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Gras utilisé dans les textes du catalogue */
.font-bold { font-weight: 700; }

/* Conteneur */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ----- Titres -------------------------------------------------------- */
.h-display {
    font-size: clamp(2.5rem, 6.2vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.h-section {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.accent {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    font-size: 1.12em;
    letter-spacing: -0.01em;
    color: var(--ocean);
}

.on-dark .accent { color: var(--lagon); }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }

/* ----- Boutons ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    min-height: 3rem; padding: 0.75rem 1.5rem;
    border: 2px solid transparent; border-radius: 999px;
    background: var(--ocean); color: #fff;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--ocean-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }

.btn--ghost { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn--ghost:hover { background: var(--ocean); color: #fff; }

.btn--lagon { background: var(--lagon); color: var(--ink); }
.btn--lagon:hover { background: #7bd0e0; color: var(--ink); }

.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--block { width: 100%; }

/* ----- En-tête ------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: var(--header-h);
}

.site-logo { display: block; flex: none; }
.site-logo img { height: 52px; width: auto; }

.nav { display: none; align-items: center; gap: 0.6rem; }

.nav__phone {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 0.9rem; border-radius: 999px;
    color: var(--ink); font-weight: 700; text-decoration: none;
}
.nav__phone:hover { background: var(--brume); color: var(--ink); }
.nav__phone img { width: 1.25rem; height: 1.25rem; }

.nav__link {
    padding: 0.5rem 0.9rem; border-radius: 999px;
    color: var(--ink); font-weight: 600; text-decoration: none;
}
.nav__link:hover { background: var(--brume); color: var(--ink); }

.dropdown { position: relative; }

.dropdown__menu {
    position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 110;
    width: 17rem; padding: 0.5rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
    box-shadow: var(--shadow);
}

.dropdown__menu a {
    display: block; padding: 0.6rem 0.85rem; border-radius: var(--r-s);
    color: var(--ink); font-weight: 600; text-decoration: none;
}
.dropdown__menu a:hover { background: var(--brume); }

.burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border: 0; border-radius: 999px;
    background: var(--brume); cursor: pointer;
}
.burger img { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1.25rem; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}

.mobile-menu__title { margin: 1rem 0 0.4rem; font-weight: 800; }
.mobile-menu a:not(.btn) {
    display: block; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--line);
    color: var(--ink); font-weight: 600; text-decoration: none;
}

@media (min-width: 980px) {
    .nav { display: flex; }
    .burger, .mobile-menu { display: none !important; }
}

/* ----- Accueil : hero ----------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--brume);
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.hero::before {
    content: ""; position: absolute; z-index: 0;
    width: 46rem; height: 46rem; border-radius: 50%;
    right: -14rem; top: -16rem; background: rgba(92, 193, 213, 0.22);
}

.hero__grid {
    position: relative; z-index: 1;
    display: grid; gap: 2.5rem; align-items: center;
}

.hero__text { max-width: 38rem; }

.proof {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem;
    padding: 0.4rem 1rem 0.4rem 0.7rem; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line);
    font-size: 0.92rem; font-weight: 600; color: var(--ink);
}
.proof svg { width: 1.1rem; height: 1.1rem; fill: #f5b301; }
.proof span { color: var(--muted); font-weight: 500; }

.hero__title { margin-bottom: 1.25rem; }
.hero__title .accent { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0 2rem; }

.checks { display: grid; gap: 0.6rem; }
.checks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); }
.checks img { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 0.1rem; }

.hero__visual { position: relative; width: min(100%, 540px); margin-inline: auto; aspect-ratio: 1 / 1; }

.hero__photo {
    position: absolute; inset: 7%; overflow: hidden; border-radius: 50%;
    border: 8px solid var(--paper);
    box-shadow: 0 40px 70px -30px rgba(13, 13, 63, 0.55);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; }

.dot { position: absolute; border-radius: 50%; }
.dot--1 { width: 17%; height: 17%; top: 0; right: 9%; background: var(--lagon); }
.dot--2 { width: 8%; height: 8%; top: 20%; right: 0; background: var(--ink); }
.dot--3 { width: 12%; height: 12%; bottom: 12%; left: 2%; background: var(--ocean); }
.dot--4 { width: 6%; height: 6%; top: 6%; left: 14%; background: var(--lagon); opacity: 0.6; }
.dot--5 { width: 4%; height: 4%; bottom: 3%; left: 22%; background: var(--ink); opacity: 0.85; }

.mascot { position: absolute; right: -1%; bottom: -5%; z-index: 3; width: 30%; }

.mascot__img {
    width: 100%; cursor: pointer;
    filter: drop-shadow(0 14px 14px rgba(13, 13, 63, 0.3));
    transform-origin: 50% 100%;
    animation: mascot-in 0.8s cubic-bezier(0.2, 1.15, 0.4, 1) 0.3s both,
        mascot-idle 5s ease-in-out 1.5s infinite;
}
.mascot a { display: block; transform-origin: 50% 100%; }
.mascot a:hover { animation: mascot-wave 0.7s ease-in-out; }

.bubble {
    position: absolute; right: -9%; bottom: 100%; width: max-content; max-width: 13rem;
    padding: 0.7rem 2rem 0.7rem 1rem;
    background: var(--ink); color: #fff; border-radius: var(--r-m) var(--r-m) 6px var(--r-m);
    box-shadow: var(--shadow);
    transform-origin: 100% 100%;
    opacity: 0; animation: bubble-in 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) 1.2s forwards;
}
.bubble strong { display: block; font-size: 1.02rem; line-height: 1.25; }
.bubble span { display: block; margin-top: 0.1rem; font-size: 0.82rem; color: var(--lagon); }
.bubble.est-fermee { display: none; }

.bubble__close {
    position: absolute; top: 0.25rem; right: 0.35rem; width: 1.5rem; height: 1.5rem;
    border: 0; background: transparent; color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.bubble__close:hover { color: #fff; }

@keyframes mascot-in { from { opacity: 0; transform: translateY(40%) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes mascot-idle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-1.5deg) translateY(-4px); } }
@keyframes mascot-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg) translateY(-8px); } 75% { transform: rotate(3deg) translateY(-4px); } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(0.85); } to { opacity: 1; transform: none; } }

@media (min-width: 980px) {
    .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}

@media (min-width: 1240px) {
    .mascot { right: calc(-1% - 28px); }
}

@media (max-width: 640px) {
    .hero::before { width: 22rem; height: 22rem; right: -9rem; top: -7rem; }
    .mascot { width: 34%; right: 0; }
    .bubble { right: 4%; max-width: 10.5rem; padding: 0.5rem 1.7rem 0.5rem 0.8rem; }
    .bubble strong { font-size: 0.92rem; }
    .bubble span { display: none; }
}

/* ----- Sections ------------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--brume { background: var(--brume); }

.section__head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.1rem; }

/* Services */
.services { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.service {
    position: relative; display: flex; flex-direction: column; gap: 0.35rem;
    min-height: 15rem; padding: 1.6rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
    color: var(--ink); text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service:hover { border-color: var(--lagon); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }

.service__icon {
    display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 0.9rem;
    border-radius: 50%; background: var(--brume);
}
.service__icon img { width: 2.2rem; height: 2.2rem; }

.service h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; }
.service p { color: var(--muted); }

.service__go {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 1.1rem;
    color: var(--ocean); font-weight: 700;
}
.service__go svg { width: 1.1rem; height: 1.1rem; transition: transform 0.2s; }
.service:hover .service__go svg { transform: translateX(4px); }

@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* Vidéo */
.video-band { padding: clamp(1rem, 3vw, 2rem) 0; }

.video-panel {
    position: relative; overflow: hidden;
    display: grid; gap: 2.5rem; align-items: center; justify-items: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--ink); color: #fff; border-radius: var(--r-l);
}
.video-panel::before, .video-panel::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.video-panel::before { width: 26rem; height: 26rem; left: -9rem; top: -11rem; background: rgba(92, 193, 213, 0.14); }
.video-panel::after { width: 14rem; height: 14rem; right: 6%; bottom: -6rem; background: rgba(4, 103, 145, 0.55); }

.video-panel__text { position: relative; z-index: 1; max-width: 34rem; justify-self: start; }
.video-panel__tag {
    display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.9rem; border-radius: 999px;
    background: rgba(92, 193, 213, 0.16); color: var(--lagon); font-size: 0.9rem; font-weight: 600;
}
.video-panel h2 { margin-bottom: 1.1rem; }
.video-panel .lede { color: rgba(255, 255, 255, 0.78); margin-bottom: 1.4rem; }
.video-panel .checks li { color: rgba(255, 255, 255, 0.88); }
.video-panel__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.8rem 0 1.4rem; }
.video-panel__legal { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

.phone {
    position: relative; z-index: 1; width: min(300px, 76vw); aspect-ratio: 9 / 16; padding: 9px;
    border-radius: 2.3rem; background: #000;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16), 0 40px 60px -25px rgba(0, 0, 0, 0.7);
}
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1.8rem; background: var(--brume); cursor: pointer; }

.phone__sound {
    position: absolute; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.9rem; border: 0; border-radius: 999px;
    background: rgba(13, 13, 63, 0.88); color: #fff; font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.phone__sound:hover { background: var(--ocean); }
.phone__sound svg { width: 1.1rem; height: 1.1rem; }

.phone__play {
    position: absolute; inset: 9px; display: none; align-items: center; justify-content: center;
    border: 0; border-radius: 1.8rem; background: rgba(13, 13, 63, 0.3); cursor: pointer;
}
.phone__play.est-visible { display: flex; }
.phone__play span { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #fff; }
.phone__play svg { width: 1.7rem; height: 1.7rem; margin-left: 0.2rem; fill: var(--ocean); }

@media (min-width: 900px) { .video-panel { grid-template-columns: 1.2fr 0.8fr; } }

/* À propos */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about__img { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__text p { margin: 1rem 0 1.5rem; color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Nous trouver */
.find { display: grid; gap: 2.5rem; align-items: center; }
.info-list { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list img { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.15rem; }
.info-list a { font-weight: 700; }
.map { overflow: hidden; border-radius: var(--r-l); box-shadow: var(--shadow); background: var(--brume-deep); }
.map iframe { display: block; width: 100%; height: 26rem; border: 0; }
@media (min-width: 900px) { .find { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; } }

/* ----- Bandeau de confirmation (accueil) ---------------------------- */
.notice {
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    padding: 0.9rem 1.25rem; font-weight: 600; text-align: center;
}
.notice img { width: 1.5rem; height: 1.5rem; flex: none; }
.notice--ok { background: #dff3e8; color: #14573a; }
.notice--ko { background: #fde4e4; color: #8a1c1c; }

/* ----- Pages intérieures -------------------------------------------- */
.page-hero { background: var(--brume); padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; width: 32rem; height: 32rem; border-radius: 50%;
    right: -10rem; top: -14rem; background: rgba(92, 193, 213, 0.2);
}
.page-hero__grid { position: relative; display: grid; gap: 2rem; align-items: center; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.crumbs { padding: 0; list-style: none; margin: 0 0 1.4rem; }
.crumbs li { display: inline; }

.h-page { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero__copy { color: var(--muted); font-size: 1.08rem; max-width: 36rem; }
.page-hero__copy + .page-hero__copy { margin-top: 0.9rem; color: var(--ink); }

.page-hero__img { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.page-hero__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.page-hero__badge {
    position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.7rem;
    padding: 0.5rem 1.1rem 0.5rem 0.5rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow);
    font-weight: 700; color: var(--ink);
}
.page-hero__badge span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--brume); }
.page-hero__badge img { width: 1.7rem; height: 1.7rem; }

@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; } }

/* Liste des produits d'une catégorie */
.products { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.product {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m);
    color: var(--ink); text-decoration: none; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.product:hover { border-color: var(--lagon); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.product__icon { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--brume); }
.product__icon img { width: 2rem; height: 2rem; }
.product__body { flex: 1; min-width: 0; }
.product__body h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.product__body p { margin-top: 0.15rem; color: var(--muted); font-size: 0.95rem; }
.product__go { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ocean); color: #fff; transition: transform 0.2s; }
.product:hover .product__go { transform: translateX(3px); }
.product__go svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .products { grid-template-columns: repeat(3, 1fr); } }

/* ----- Formulaires --------------------------------------------------- */
.form-layout { display: grid; gap: 2rem; align-items: start; }
.form-card {
    padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; }
.field__hint { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }

.input {
    display: block; width: 100%; min-height: 3.1rem; padding: 0.7rem 1rem;
    border: 1.5px solid #b9c4d6; border-radius: var(--r-s);
    background: #fff; color: var(--ink); font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #75809a; }
.input:hover { border-color: var(--ocean); }
.input:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(92, 193, 213, 0.45); }
.input:user-invalid { border-color: #b3261e; }
textarea.input { min-height: 8rem; resize: vertical; }

.input[type="file"] { padding: 0.55rem; cursor: pointer; }
.input[type="file"]::file-selector-button {
    margin-right: 0.9rem; padding: 0.5rem 1rem; border: 0; border-radius: 999px;
    background: var(--brume); color: var(--ocean); font: inherit; font-weight: 700; cursor: pointer;
}

.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } .field--row .field { margin-bottom: 0; } }
.field--row { margin-bottom: 1.15rem; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.4rem; font-size: 0.92rem; color: var(--muted); }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--ocean); }

.side-card {
    padding: 1.6rem; border-radius: var(--r-l); background: var(--ink); color: #fff;
}
.side-card h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.side-card p { color: rgba(255, 255, 255, 0.78); }
.side-card .info-list { margin-top: 1.2rem; }
.side-card a { color: #fff; }
.side-card .info-list img { filter: brightness(0) invert(1); }

@media (min-width: 980px) { .form-layout { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; } .form-layout--reverse .form-card { order: 2; } }
@media (min-width: 980px) { .form-layout .side-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ----- 404 / message ------------------------------------------------- */
.center-page { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; background: var(--brume); }
.center-page .mascot-static { width: clamp(9rem, 22vw, 13rem); margin: 0 auto 1.5rem; filter: drop-shadow(0 14px 14px rgba(13, 13, 63, 0.25)); }
.center-page p { margin: 1rem auto 2rem; max-width: 30rem; color: var(--muted); font-size: 1.1rem; }
.center-page__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.code { font-family: var(--font-accent); font-style: italic; font-size: clamp(4rem, 14vw, 7rem); line-height: 1; color: var(--ocean); }

/* ----- Pied de page -------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 2.2rem; }
.site-footer img { width: 9rem; height: auto; }
.site-footer h2 { margin-bottom: 0.7rem; color: #fff; font-size: 1.05rem; font-weight: 800; }
.site-footer p { font-size: 0.97rem; }
.site-footer__legal {
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.85rem; color: rgba(255, 255, 255, 0.62);
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; } }

/* ----- Mouvement réduit --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mascot__img, .mascot a:hover { animation: none; }
    .bubble { animation: none; opacity: 1; }
    .btn, .service, .product { transition: none; }
}
