@charset "UTF-8";
/* ==========================================================================
   ConseilsAssurs — feuille de styles principale
   1.  Jetons de design
   2.  Réinitialisation & base
   3.  Typographie
   4.  Mise en page
   5.  Boutons & liens
   6.  En-tête & navigation
   7.  Héros (carrousel)
   8.  Sections de l'accueil
   9.  Pages produit
   10. Formulaires & devis
   11. Blog & pages de contenu
   12. Bandeau contact & pied de page
   13. Animations
   14. Réactivité
   ========================================================================== */

/* ============================================ 1. Jetons de design ======== */
:root {
    /* Marque */
    --navy: #001e5c;
    --navy-700: #002a6e;
    --navy-500: #0151a8;
    --navy-100: #dbe5f5;
    --orange: #ff5e00;
    --orange-600: #e35300;
    --orange-300: #ff8a3d;
    --orange-100: #ffe4d2;

    /* Neutres */
    --ink: #11224a;
    --muted: #5a6580;
    --paper: #ffffff;
    --mist: #f4f7fc;
    --cream: #fff2ea;
    --line: #e4eaf4;

    /* Rythme */
    --shell: 1180px;
    --gutter: clamp(1.15rem, 4vw, 2.5rem);
    --section-y: clamp(3.75rem, 8vw, 7rem);

    /* Formes */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 30px;
    --r-pill: 999px;

    /* Profondeur */
    --sh-sm: 0 1px 2px rgb(17 34 74 / 6%), 0 2px 8px rgb(17 34 74 / 5%);
    --sh-md: 0 4px 12px rgb(17 34 74 / 7%), 0 14px 34px rgb(17 34 74 / 8%);
    --sh-lg: 0 10px 24px rgb(17 34 74 / 9%), 0 30px 70px rgb(17 34 74 / 11%);
    --sh-orange: 0 8px 22px rgb(255 94 0 / 32%);

    /* Mouvement */
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast: .18s;
    --t: .32s;
    --t-slow: .6s;

    --header-h: 84px;
}

/* ================================== 2. Réinitialisation & base =========== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.65 'Montserrat', -apple-system, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

/* Les règles `display` de ce fichier l'emportent sinon sur la feuille du
   navigateur : sans cette ligne, l'attribut `hidden` posé par le script
   n'aurait aucun effet sur les blocs en flex ou en grid. */
[hidden] { display: none !important; }

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

/* Les icônes produit vivent sur un canevas carré : `contain` garantit
   qu elles ne seront jamais étirées, même si les attributs du gabarit
   annonçaient un autre rapport. */
.solution-card__badge img,
.product__ico img,
.mini-card img,
.type__ico,
.p-hero__panel-ico { object-fit: contain; }

a { color: var(--navy-500); text-decoration: none; }

a:hover { color: var(--orange); }

button { font: inherit; color: inherit; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1em; }

dl,
dd { margin: 0; }

figure { margin: 0; }

table { border-collapse: collapse; width: 100%; }

:focus-visible {
    outline: 3px solid var(--orange-300);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 200;
    padding: .7rem 1.1rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--r-sm);
    font-weight: 600;
    transition: top var(--t) var(--ease);
}

.skip-link:focus { top: 1rem; color: #fff; }

/* Filet orange en haut de page (repris de la maquette) */
.topbar {
    height: 6px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-300) 45%, var(--orange) 100%);
}

/* ============================================== 3. Typographie =========== */
.h1,
.h2,
.h3 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.015em;
}

.h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.h2 strong,
.h3 strong { font-weight: 700; color: var(--navy); }

.eyebrow {
    margin: 0 0 .75rem;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section__lead {
    max-width: 62ch;
    margin: -.35rem 0 2.5rem;
    color: var(--muted);
    font-size: 1.05rem;
}

/* ============================================= 4. Mise en page =========== */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tight { padding-block: clamp(2.5rem, 5vw, 4.25rem); }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.35rem;
}

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

/* ========================================== 5. Boutons & liens =========== */
.btn {
    --btn-bg: var(--orange);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.6rem;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: #fff;
    font-size: .87rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}

.btn .ico { transition: transform var(--t) var(--ease); }

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

.btn:active { transform: translateY(0); }

.btn--primary {
    background: linear-gradient(115deg, var(--orange-300) 0%, var(--orange) 55%, var(--orange-600) 100%);
    box-shadow: var(--sh-orange);
}

.btn--primary:hover { box-shadow: 0 12px 30px rgb(255 94 0 / 42%); }

.btn--primary:hover .ico { transform: translateX(4px); }

/* Reflet qui balaie le bouton au survol */
.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgb(255 255 255 / 42%), transparent);
    transform: skewX(-18deg);
    transition: left var(--t-slow) var(--ease-out);
}

.btn--primary:hover::after { left: 120%; }

.btn--ghost {
    background: transparent;
    border: 2px solid var(--navy-100);
    color: var(--navy);
    box-shadow: var(--sh-sm);
}

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

.btn--sm { padding: .7rem 1.2rem; font-size: .74rem; }

.btn--lg { padding: 1.05rem 1.9rem; font-size: .9rem; }

.btn--block { width: 100%; justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--orange);
    font-size: .92rem;
    font-weight: 700;
}

.link-arrow .ico { transition: transform var(--t) var(--ease); }

.link-arrow:hover { color: var(--orange-600); }

.link-arrow:hover .ico { transform: translateX(5px); }

/* Retour en haut */
.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 60;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    box-shadow: var(--sh-md);
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px) scale(.9);
    pointer-events: none;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.to-top:hover { background: var(--orange); }

/* ==================================== 6. En-tête & navigation ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgb(17 34 74 / 7%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.site-header__logo { flex: 0 0 auto; }

.site-header__cta { margin-left: auto; }

/* Verrou de marque */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.brand__mark {
    width: 52px;
    height: auto;
    transition: transform var(--t) var(--ease);
}

.site-header__logo:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }

.brand__text { display: block; }

.brand__name {
    display: block;
    color: var(--navy);
    font-size: 1.38rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
}

.brand__name span { color: var(--orange); }

.brand__baseline {
    display: block;
    margin-top: 2px;
    color: var(--navy-500);
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.brand--footer .brand__name { font-size: 1.3rem; }

.site-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(.7rem, 1.8vw, 1.65rem);
}

.site-nav__link {
    position: relative;
    display: block;
    padding: .4rem 0;
    color: var(--navy);
    font-size: .87rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease);
}

.site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t) var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--orange); }

.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }

.site-nav__foot { display: none; }

/* Bouton hamburger */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--r-sm);
    background: var(--mist);
    cursor: pointer;
}

.burger__bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--navy);
    transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}

.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgb(0 30 92 / 45%);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}

.nav-scrim.is-shown { opacity: 1; }

/* ========================================= 7. Héros (carrousel) ========== */
.hero {
    position: relative;
    isolation: isolate;
}

.hero__viewport {
    /* Toutes les diapositives occupent la même cellule de grille : elles
       partagent donc exactement la même boîte, quelle que soit la longueur
       de leur texte. C est ce qui garantit que l image et son voile
       couvrent la totalité du bloc, sans bande résiduelle en bas. */
    position: relative;
    display: grid;
    grid-template-areas: "slide";
    min-height: clamp(430px, 62vh, 620px);
}

.hero__slide {
    position: relative;
    grid-area: slide;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .75s var(--ease), visibility .75s;
}

.hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Le sujet est à droite du cadre : on garde le visage et de l air
       au-dessus, la colonne de texte occupant la gauche. */
    object-position: 68% 6%;
}

.hero__slide.is-active .hero__img { animation: kenburns 14s var(--ease-out) forwards; }

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(94deg, rgb(0 20 54 / 92%) 0%, rgb(0 20 54 / 74%) 34%, rgb(0 20 54 / 12%) 62%, rgb(0 20 54 / 5%) 100%),
        linear-gradient(0deg, rgb(0 20 54 / 45%), transparent 55%);
}

.hero__body {
    padding-block: clamp(3rem, 8vw, 5.5rem);
    max-width: 100%;
}

.hero__title {
    max-width: 15ch;
    margin: 0 0 1.15rem;
    color: #fff;
    font-size: clamp(2.1rem, 5.1vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.hero__line { display: block; }

.hero__slide.is-active .hero__line { animation: rise .8s var(--ease-out) forwards; }

.hero__slide.is-active .hero__line:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__line:nth-child(3) { animation-delay: .2s; }

.hero__line--hi { color: var(--orange); }

.hero__text {
    max-width: 42ch;
    margin: 0 0 1.9rem;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

.hero__slide.is-active .hero__text { animation: rise .8s .3s var(--ease-out) forwards; }

/* Le titre, le texte et l appel à l action apparaissent en cascade.
   L état masqué n est posé que si le navigateur annonce accepter les
   animations : sinon le contenu reste simplement visible. */
@media (prefers-reduced-motion: no-preference) {
    .hero__line,
    .hero__text,
    .hero__cta {
        opacity: 0;
        transform: translateY(20px);
    }
}

.hero__slide.is-active .hero__cta { animation: rise .8s .42s var(--ease-out) forwards; }

.hero__nav {
    position: absolute;
    top: 50%;
    right: clamp(.9rem, 2.5vw, 2rem);
    z-index: 3;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    box-shadow: var(--sh-orange);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}

.hero__nav:hover {
    background: var(--orange-600);
    transform: translateY(-50%) scale(1.08);
}

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    z-index: 3;
    display: flex;
    gap: .5rem;
    transform: translateX(-50%);
}

.hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    /* Un liseré sombre garde les puces visibles sur les diapositives claires. */
    background: rgb(255 255 255 / 60%);
    box-shadow: 0 0 0 1px rgb(0 20 54 / 22%);
    cursor: pointer;
    transition: width var(--t) var(--ease), background var(--t) var(--ease);
}

.hero__dot.is-active {
    width: 30px;
    border-radius: var(--r-pill);
    background: var(--orange);
    box-shadow: none;
}

/* ================================= 8. Sections de l'accueil ============== */
/* --- Nos solutions --- */
.solutions { background: var(--paper); }

.solutions__head { margin-bottom: 2.5rem; }

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.solutions__all {
    grid-column: 1 / -1;
    margin: .5rem 0 0;
    text-align: right;
}

.solution-card {
    display: block;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
}

.solution-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.solution-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out);
}

.solution-card:hover .solution-card__media > img { transform: scale(1.07); }

.solution-card__badge {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    background: rgb(255 255 255 / 94%);
    box-shadow: var(--sh-sm);
    transition: transform var(--t) var(--ease);
}

.solution-card:hover .solution-card__badge { transform: scale(1.1) rotate(-5deg); }

.solution-card__badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.solution-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.35rem;
}

.solution-card__name {
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.solution-card__go {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--orange);
    transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}

.solution-card:hover .solution-card__go {
    background: var(--orange);
    color: #fff;
    transform: translateX(4px);
}

/* --- L'expertise humaine --- */
.expertise {
    position: relative;
    background: var(--mist);
    padding-block: var(--section-y);
    overflow: hidden;
}

.expertise__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1.9rem;
    margin-top: 2rem;
}

.pillars__item {
    position: relative;
    padding-left: 1.1rem;
    border-left: 3px solid var(--orange-100);
    transition: border-color var(--t) var(--ease);
}

.pillars__item:hover { border-left-color: var(--orange); }

.pillars__title {
    margin: 0 0 .3rem;
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.pillars__text { margin: 0; color: var(--muted); font-size: .92rem; }

.expertise__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.expertise__media img {
    width: 100%;
    aspect-ratio: 4 / 3.1;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}

.expertise__media:hover img { transform: scale(1.04); }

/* --- Pourquoi nous choisir (raisons) --- */
.reasons {
    background:
        radial-gradient(90% 60% at 100% 0%, var(--cream) 0%, transparent 62%),
        radial-gradient(70% 50% at 0% 100%, var(--mist) 0%, transparent 60%),
        var(--paper);
}

.reasons__title {
    margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
    color: var(--navy);
    font-size: clamp(1.8rem, 4.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-align: center;
}

.reasons__title span { color: var(--orange); }

.reasons__list {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.35rem);
    max-width: 820px;
    margin-inline: auto;
}

.reason {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: clamp(1.1rem, 3vw, 2.25rem);
    align-items: start;
}

.reason__ico {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    color: var(--orange);
    transition: transform var(--t) var(--ease);
}

.reason:hover .reason__ico { transform: scale(1.08) rotate(-4deg); }

.reason__lead {
    margin: 0;
    color: var(--orange);
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.reason__sub {
    margin: .1rem 0 .45rem;
    color: var(--navy);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 700;
    line-height: 1.25;
}

.reason__text { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- Notre histoire & identité --- */
.story { padding-block: var(--section-y); background: var(--paper); }

.story__top {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 5vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.story__intro .h2 strong { color: var(--orange); }

.story__lead { color: var(--muted); font-size: 1.02rem; max-width: 46ch; }

.story__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.story__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.story__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.1rem, 2.5vw, 1.75rem);
}

.info-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--mist);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.info-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.info-card--legal { background: var(--cream); border-color: var(--orange-100); }

.info-card__head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.1rem;
}

.info-card__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--orange);
    box-shadow: var(--sh-sm);
}

.info-card__title {
    margin: 0;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
}

.info-card p { color: var(--muted); font-size: .94rem; }

.info-card p:last-child { margin-bottom: 0; }

.legal-list { display: grid; gap: .85rem; }

.legal-list__row {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: .5rem 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px dashed rgb(255 94 0 / 25%);
}

.legal-list__row:last-child { padding-bottom: 0; border-bottom: 0; }

.legal-list dt { color: var(--muted); font-size: .86rem; }

.legal-list dd { color: var(--navy); font-size: .92rem; font-weight: 700; }

/* --- Nos valeurs --- */
.values { background: var(--mist); }

.values__title { text-align: center; margin-bottom: 2.25rem; }

.values__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
}

.value-card {
    padding: 1.55rem 1.25rem;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-sm);
    text-align: center;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.value-card:hover { transform: translateY(-7px); box-shadow: var(--sh-md); }

.value-card__ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--cream);
    color: var(--orange);
    transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.value-card:hover .value-card__ico { background: var(--orange); color: #fff; }

.value-card__name {
    margin: 0 0 .4rem;
    color: var(--orange);
    font-size: .95rem;
    font-weight: 700;
}

.value-card__text { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

/* --- Mission & ambition --- */
.mission { padding-block: var(--section-y); background: var(--paper); }

.mission__inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.mission__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.mission__media img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.mission__text > div { margin-bottom: 1.75rem; }

.mission__text .h3 { margin-bottom: .5rem; }

.mission__text p { color: var(--muted); }

/* ============================================= 9. Pages produit ========== */
.p-hero {
    position: relative;
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(80% 90% at 88% 20%, var(--cream) 0%, transparent 60%),
        var(--paper);
    overflow: hidden;
}

.p-hero__inner {
    display: grid;
    /* La colonne de texte doit rester assez large pour aligner les deux
       boutons d'appel à l'action sur une seule ligne. */
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
}

.p-hero__title {
    margin: .35rem 0 1rem;
    color: var(--navy);
    font-size: clamp(2.2rem, 5.6vw, 3.7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.p-hero__title span { display: block; }

.p-hero__title-hi { color: var(--orange); }

.p-hero__lead {
    max-width: 34ch;
    margin-bottom: 1.85rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.1rem);
}

.p-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.p-hero__media {
    /* Comme dans la maquette, le visuel déborde jusqu au bord droit de la
       fenêtre : on annule la gouttière de la grille, et la moitié de l espace
       restant quand l écran est plus large que la grille. */
    margin-right: calc(-1 * max(var(--gutter), 50vw - (var(--shell) / 2) + var(--gutter)));
    border-radius: var(--r-xl) 0 0 var(--r-xl);
    overflow: hidden;
}

.p-hero__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    animation: fadeScale 1s var(--ease-out) both;
}

.p-hero__panel {
    display: grid;
    place-items: center;
    gap: 1rem;
    aspect-ratio: 3 / 2;
    padding: 2rem;
    border-radius: var(--r-xl);
    background:
        radial-gradient(120% 120% at 20% 10%, rgb(255 255 255 / 18%), transparent 55%),
        linear-gradient(140deg, var(--navy-500), var(--navy) 78%);
    text-align: center;
    box-shadow: var(--sh-lg);
}

.p-hero__panel-ico {
    width: clamp(96px, 15vw, 150px);
    filter: brightness(0) invert(1);
    animation: float 6s var(--ease) infinite;
}

.p-hero__panel-text {
    margin: 0;
    color: rgb(255 255 255 / 88%);
    font-size: 1rem;
    font-weight: 600;
}

.p-hero--flat { background: var(--paper); }

/* --- Avantages --- */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.benefit { text-align: center; }

.benefit__ico {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    color: var(--orange);
    transition: transform var(--t) var(--ease);
}

.benefit:hover .benefit__ico { transform: translateY(-5px) scale(1.06); }

.benefit__title {
    margin: 0 0 .45rem;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.benefit__text { margin: 0; color: var(--muted); font-size: .89rem; }

.benefit--boxed {
    padding: 1.85rem 1.4rem;
    border-radius: var(--r-lg);
    background: var(--mist);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.benefit--boxed:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

/* --- Formules --- */
.formulas { background: var(--mist); }

.formulas__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 2rem;
}

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

.formula {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.35rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-sm);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.formula:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

.formula__ico { color: var(--orange); }

.formula__name {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 700;
}

.formula__text { color: var(--muted); font-size: .93rem; }

/* --- Comment ça marche --- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 2rem;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
}

/* Trait de liaison entre les étapes */
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: -1rem;
    width: 1rem;
    border-top: 2px dashed var(--orange-100);
}

.step__ico { color: var(--orange); }

.step__title {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: 0 0 .3rem;
    color: var(--navy);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.3;
}

.step__num { color: var(--orange); }

.step__text { margin: 0; color: var(--muted); font-size: .88rem; }

/* --- Autres assurances --- */
.others__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    margin-top: 1.5rem;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .95rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.mini-card:hover {
    border-color: var(--orange-100);
    transform: translateX(4px);
    box-shadow: var(--sh-sm);
}

.mini-card img { flex: 0 0 auto; width: 34px; }

.mini-card__name {
    flex: 1;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
}

.mini-card__go { flex: 0 0 auto; color: var(--orange); }

/* --- Liste des produits (page Nos assurances) --- */
.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 1.75rem);
}

.product__link {
    position: relative;
    display: block;
    height: 100%;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.product__link:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

.product__media {
    /* La pastille est un enfant du média : elle reste solidaire de l image
       quelle que soit la hauteur du texte de la carte. Le rapport 4:3
       correspond aux fichiers produits, donc aucun recadrage à l affichage. */
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    /* Nécessaire pour contenir le zoom de l image au survol. */
    overflow: hidden;
}

.product__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease-out);
}

.product__link:hover .product__media > img { transform: scale(1.06); }

.product__media--plain {
    background:
        radial-gradient(110% 110% at 18% 12%, rgb(255 255 255 / 16%), transparent 55%),
        linear-gradient(140deg, var(--navy-500), var(--navy) 80%);
}

.product__ico {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    background: rgb(255 255 255 / 94%);
    box-shadow: var(--sh-sm);
    transition: transform var(--t) var(--ease);
}

.product__link:hover .product__ico { transform: scale(1.08) rotate(-5deg); }

.product__ico img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.product__body { display: block; padding: 1.35rem 1.35rem 1.5rem; }

.product__name {
    display: block;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.product__short {
    display: block;
    margin: .25rem 0 .7rem;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.product__text {
    display: block;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .9rem;
}

/* ================================= 10. Formulaires & devis =============== */
.page-head {
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.75rem);
    background:
        radial-gradient(70% 100% at 92% 0%, var(--cream) 0%, transparent 62%),
        var(--paper);
}

.page-head__title {
    margin: .4rem 0 .9rem;
    color: var(--navy);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.page-head__title span { color: var(--orange); }

.page-head__lead {
    max-width: 62ch;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.08rem);
}

/* Fil d'Ariane */
.crumbs { margin-bottom: .5rem; }

.crumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
}

.crumbs__list li { display: flex; align-items: center; gap: .4rem; }

.crumbs a {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--muted);
    font-weight: 600;
}

.crumbs a:hover { color: var(--orange); }

.crumbs [aria-current] { color: var(--orange); font-weight: 700; }

.crumbs__sep { color: var(--line); }

/* Héros du devis */
.d-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

.d-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 55%;
}

.d-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(96deg, #fff 0%, rgb(255 255 255 / 94%) 30%, rgb(255 255 255 / 62%) 52%, rgb(255 255 255 / 10%) 78%, transparent 100%);
}

.d-hero__title {
    margin: .35rem 0 .9rem;
    color: var(--navy);
    font-size: clamp(2.1rem, 5.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.028em;
}

.d-hero__title span { color: var(--orange); }

.d-hero__lead {
    max-width: 46ch;
    margin-bottom: 1.85rem;
    color: var(--muted);
    font-size: clamp(.98rem, 1.6vw, 1.06rem);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2.25rem);
}

.trust__item {
    display: flex;
    align-items: center;
    gap: .7rem;
    max-width: 22ch;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.35;
}

.trust__item strong { display: block; color: var(--navy); }

.trust__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--navy-100);
    color: var(--navy);
}

/* Panneau du formulaire */
.quote { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.quote__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    border-radius: var(--r-xl);
    background: var(--paper);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}

.quote__col { padding: clamp(1.5rem, 3.5vw, 2.6rem); }

.quote__col--side {
    background: var(--mist);
    border-left: 1px solid var(--line);
}

.block { border: 0; padding: 0; margin: 0 0 2.4rem; }

.block:last-of-type { margin-bottom: 0; }

.block__head {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 0;
    margin-bottom: 1.25rem;
}

.block__num {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
}

.block__title {
    display: block;
    color: var(--navy);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
}

.block__hint {
    display: block;
    margin-top: .2rem;
    color: var(--muted);
    font-size: .87rem;
    font-weight: 400;
    line-height: 1.45;
}

/* Cartes de type d'assurance */
.types {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.type {
    position: relative;
    display: block;
    padding: 1.15rem .8rem 1rem;
    border: 2px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.type:hover { border-color: var(--orange-300); transform: translateY(-3px); box-shadow: var(--sh-sm); }

.type input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.type.is-checked {
    border-color: var(--orange);
    background: var(--cream);
    box-shadow: 0 6px 18px rgb(255 94 0 / 18%);
}

.type__tick {
    position: absolute;
    top: -10px;
    right: -8px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    opacity: 0;
    transform: scale(.5);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}

.type.is-checked .type__tick { opacity: 1; transform: scale(1); }

.type__ico {
    width: 44px;
    margin: 0 auto .6rem;
    transition: transform var(--t) var(--ease);
}

.type.is-checked .type__ico { transform: scale(1.08); }

.type__name {
    display: block;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.28;
}

.type.is-checked .type__name { color: var(--orange-600); }

.type__short {
    display: block;
    margin-top: .35rem;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.35;
}

/* Champs */
.field { margin: 0; }

.field label,
.check label {
    display: block;
    margin-bottom: .4rem;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 600;
}

.req { color: var(--orange); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8rem .95rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: .92rem;
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

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

.field select {
    appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6580' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.6L12 15.2l5.6-5.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
}

.field input::placeholder,
.field textarea::placeholder { color: #9aa3b8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgb(255 94 0 / 15%);
    outline: 0;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #d92d20; }

.field__err {
    margin: .35rem 0 0;
    color: #d92d20;
    font-size: .8rem;
    font-weight: 600;
}

.quote__col--side .field input,
.quote__col--side .field select,
.quote__col--side .field textarea { background: var(--paper); }

.quote__col--side .grid-2,
.quote__col--side .field { margin-bottom: 1.05rem; }

.phone-group {
    display: flex;
    align-items: stretch;
    gap: .5rem;
}

.phone-group__flag {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 62px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--paper);
}

.flag-ci {
    display: flex;
    width: 26px;
    height: 18px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgb(17 34 74 / 10%);
}

.flag-ci i { flex: 1; }
.flag-ci i:nth-child(1) { background: #f77f00; }
.flag-ci i:nth-child(2) { background: #fff; }
.flag-ci i:nth-child(3) { background: #009e60; }

/* Case à cocher */
.check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: .25rem 0 0;
}

.check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--orange);
    cursor: pointer;
}

.check label {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

/* Zone de dépôt du fichier */
.drop {
    position: relative;
    border: 2px dashed var(--navy-100);
    border-radius: var(--r-md);
    background: var(--paper);
    transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}

.drop:hover,
.drop.is-hover { border-color: var(--orange); background: var(--cream); }

.drop.is-invalid { border-color: #d92d20; }

.drop__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.drop__label {
    display: grid;
    place-items: center;
    gap: .3rem;
    padding: 2.1rem 1.25rem;
    margin: 0;
    text-align: center;
    cursor: pointer;
}

.drop__ico {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: .35rem;
    border-radius: 50%;
    background: var(--navy-100);
    color: var(--navy);
    transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
}

.drop:hover .drop__ico { transform: translateY(-4px); background: var(--orange); color: #fff; }

.drop__title {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.drop__hint { color: var(--muted); font-size: .8rem; }

.drop__file {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: .85rem 1rem;
    border-top: 1px solid var(--line);
    color: var(--navy);
    font-size: .85rem;
    font-weight: 600;
}

.drop__file .ico { color: #059669; flex: 0 0 auto; }

.drop__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.drop__remove {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    color: var(--muted);
    cursor: pointer;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.drop__remove:hover { background: #fee4e2; color: #d92d20; }

.notice {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 1rem 0 0;
    padding: .85rem 1rem;
    border-radius: var(--r-md);
    background: var(--navy-100);
    color: var(--navy);
    font-size: .84rem;
    line-height: 1.5;
}

.notice__ico { flex: 0 0 auto; color: var(--navy-500); }

.quote__submit { margin-top: 1.75rem; }

.quote__legal {
    margin: .85rem 0 0;
    color: var(--muted);
    font-size: .78rem;
    text-align: center;
}

/* Alertes */
.alert {
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.3rem;
    border-radius: var(--r-md);
    border-left: 4px solid;
    animation: rise .5s var(--ease-out) both;
}

.alert__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .35rem;
    font-size: .98rem;
    font-weight: 700;
}

.alert ul { padding-left: 1.2rem; list-style: disc; }

.alert li,
.alert p:last-child { margin: 0; font-size: .88rem; }

.alert--error {
    border-color: #d92d20;
    background: #fef3f2;
    color: #912018;
}

.alert--ok {
    border-color: #059669;
    background: #ecfdf5;
    color: #05603a;
}

/* Formulaire en carte (contact) */
.card-form {
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-md);
}

.card-form__title {
    margin: 0 0 1.5rem;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 700;
}

.card-form .btn { margin-top: 1.5rem; }

.contact-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: start;
}

.side-card {
    padding: clamp(1.4rem, 3vw, 1.9rem);
    border-radius: var(--r-lg);
    background: var(--mist);
    border: 1px solid var(--line);
}

.side-card + .side-card { margin-top: 1.1rem; }

.side-card--cta {
    background: linear-gradient(140deg, var(--navy-500), var(--navy) 80%);
    border-color: transparent;
    color: rgb(255 255 255 / 88%);
}

.side-card--cta .side-card__title { color: #fff; }

.side-card--cta p { font-size: .9rem; }

.side-card__title {
    margin: 0 0 1.1rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
}

.side-list { display: grid; gap: 1.15rem; }

.side-list li { display: flex; align-items: flex-start; gap: .75rem; }

.side-list__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--paper);
    color: var(--orange);
    box-shadow: var(--sh-sm);
}

.side-list strong {
    display: block;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 700;
}

.side-list span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.side-list a { display: block; color: var(--navy-500); font-weight: 600; }

.side-list a:hover { color: var(--orange); }

/* Page de remerciement */
.thanks__inner {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.thanks__ico {
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    animation: pop .7s var(--ease-out) both;
}

.thanks__title {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: clamp(1.8rem, 4.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.thanks__title span { color: var(--orange); }

.thanks__lead { color: var(--muted); font-size: 1.05rem; }

.thanks__ref {
    display: inline-grid;
    gap: .3rem;
    margin: 1.5rem 0 .75rem;
    padding: 1.1rem 2rem;
    border-radius: var(--r-md);
    background: var(--cream);
    color: var(--muted);
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.thanks__ref strong {
    color: var(--navy);
    font-size: 1.5rem;
    letter-spacing: .02em;
    text-transform: none;
}

.thanks__hint { color: var(--muted); font-size: .88rem; }

.thanks__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin: 1.75rem 0 2rem;
}

.thanks__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.thanks__contact li {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .9rem;
}

.thanks__contact .ico { color: var(--orange); }

/* ============================ 11. Blog & pages de contenu =============== */
.posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 2.5vw, 1.75rem);
}

.post__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.4rem, 3vw, 1.85rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.post__link:hover {
    transform: translateY(-7px);
    border-color: transparent;
    box-shadow: var(--sh-md);
}

.post__top {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.1rem;
}

.post__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    background: var(--cream);
    color: var(--orange);
    transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.post__link:hover .post__ico { background: var(--orange); color: #fff; }

.post__cat {
    color: var(--orange);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.post__title {
    margin: 0 0 .6rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.32;
}

.post__excerpt {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: .9rem;
}

.post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .78rem;
}

.post__link .link-arrow { margin-top: auto; }

/* Article */
.page-head--article { padding-bottom: clamp(1rem, 3vw, 1.75rem); }

.article__cat {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: .4rem 0 .7rem;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article__title {
    max-width: 30ch;
    margin: 0 0 .8rem;
    color: var(--navy);
    font-size: clamp(1.8rem, 4.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.022em;
}

.article__meta {
    display: flex;
    gap: .45rem;
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: start;
}

.article__body { max-width: 68ch; }

.article__chapo {
    padding-left: 1.15rem;
    border-left: 3px solid var(--orange);
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.6;
}

.article__body h2 {
    margin: 2.25rem 0 .75rem;
    color: var(--navy);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.28;
}

.article__body p { color: #374151; }

.article__body ul {
    margin: 0 0 1.1rem;
    padding-left: 1.4rem;
    list-style: none;
}

.article__body li {
    position: relative;
    margin-bottom: .6rem;
    color: #374151;
}

.article__body li::before {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: .6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.article__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: var(--r-lg);
    background: var(--cream);
}

.article__cta p { max-width: 44ch; margin: 0; color: var(--muted); font-size: .92rem; }

.article__cta strong { color: var(--navy); }

.article__side {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 1.5rem;
    border-radius: var(--r-lg);
    background: var(--mist);
}

.related { display: grid; gap: 1rem; }

.related a { display: block; }

.related__cat {
    display: block;
    color: var(--orange);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.related__title {
    display: block;
    margin-top: .2rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
}

.related a:hover .related__title { color: var(--orange); }

/* Prose (pages légales) */
.prose { max-width: 76ch; }

.prose__section { margin-bottom: 2.25rem; }

.prose h2 {
    margin: 0 0 .8rem;
    color: var(--navy);
    font-size: clamp(1.15rem, 2.3vw, 1.4rem);
    font-weight: 700;
}

.prose p,
.prose li { color: #374151; font-size: .96rem; }

.prose ul {
    margin: 0 0 1.1rem;
    padding-left: 1.4rem;
    list-style: none;
}

.prose ul li { position: relative; margin-bottom: .55rem; }

.prose ul li::before {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: .6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
}

.prose__dl {
    display: grid;
    gap: .7rem;
    padding: 1.25rem 1.4rem;
    border-radius: var(--r-md);
    background: var(--mist);
}

.prose__dl > div {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: .3rem 1rem;
}

.prose__dl dt { color: var(--muted); font-size: .88rem; }

.prose__dl dd { color: var(--navy); font-size: .92rem; font-weight: 600; }

.prose__updated {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .84rem;
}

/* Comparatif */
.compare {
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--sh-md);
    overflow-x: auto;
}

.compare__table { min-width: 620px; }

.compare__table th,
.compare__table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: .9rem;
    vertical-align: top;
}

.compare__table thead th {
    background: var(--mist);
    color: var(--navy);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.compare__table tbody th {
    width: 30%;
    color: var(--navy);
    font-weight: 600;
}

.compare__table td { color: var(--muted); }

.compare__hi { background: rgb(255 242 234 / 55%); }

.compare__table thead .compare__hi { background: var(--cream); color: var(--orange-600); }

.compare__ok {
    display: inline-block;
    margin-right: .35rem;
    color: #059669;
    vertical-align: -4px;
}

.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }

/* Plan du site */
.sitemap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sitemap__title {
    margin: 0 0 .9rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--cream);
    color: var(--navy);
    font-size: .96rem;
    font-weight: 700;
}

.sitemap ul { display: grid; gap: .55rem; }

.sitemap a { color: var(--muted); font-size: .88rem; }

.sitemap a:hover { color: var(--orange); }

/* À propos */
.about__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: center;
}

.about__p { color: var(--muted); font-size: 1rem; }

.about__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-lg);
}

.about__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ================== 12. Bandeau contact & pied de page ================== */
.help-band { padding-block: clamp(2rem, 4vw, 3rem); }

.help-band__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
    border-radius: var(--r-lg);
    background: var(--cream);
}

.help-band__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--orange);
    box-shadow: var(--sh-sm);
}

.help-band__text { flex: 1 1 260px; }

.help-band__title {
    margin: 0 0 .25rem;
    color: var(--navy);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
}

.help-band__text p { margin: 0; color: var(--muted); font-size: .93rem; }

.contact-band { padding-block: 0 clamp(2rem, 4vw, 3rem); }

.contact-band__box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.1rem, 2.5vw, 1.5rem);
    padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.35rem, 3vw, 2.4rem);
    border-radius: var(--r-lg);
    background:
        radial-gradient(120% 160% at 0% 0%, rgb(1 81 168 / 55%), transparent 60%),
        var(--navy);
    color: #fff;
    box-shadow: 0 18px 44px rgb(0 30 92 / 28%);
}

.contact-band__item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding-right: 1rem;
    border-right: 1px solid rgb(255 255 255 / 14%);
}

.contact-band__item:last-child { border-right: 0; }

.contact-band__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    transition: transform var(--t) var(--ease);
}

.contact-band__item:hover .contact-band__ico { transform: scale(1.1); }

.contact-band__label {
    margin: 0 0 .2rem;
    color: rgb(255 255 255 / 62%);
    font-size: .76rem;
    font-weight: 600;
}

.contact-band__value {
    display: block;
    margin: 0;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
}

a.contact-band__value:hover { color: var(--orange-300); }

/* Pied de page */
.site-footer {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.socials {
    display: flex;
    gap: .55rem;
    margin-top: 1.25rem;
}

.socials__link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}

.socials__link:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-3px);
}

.site-footer__title {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: .95rem;
    font-weight: 700;
}

.site-footer__col ul { display: grid; gap: .6rem; }

.site-footer__col a { color: var(--muted); font-size: .89rem; }

.site-footer__col a:hover { color: var(--orange); }

.site-footer__about { color: var(--muted); font-size: .89rem; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding-block: 1.15rem;
    border-top: 1px solid var(--line);
}

.site-footer__bottom p { margin: 0; color: var(--muted); font-size: .8rem; }

.site-footer__bottom strong { color: var(--navy); }

/* ============================================= 13. Animations ============ */
@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: none; }
}

@keyframes kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.09); }
}

@keyframes pop {
    0%   { opacity: 0; transform: scale(.4); }
    60%  { opacity: 1; transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* Apparition au défilement.
   Conditionné à la classe « js » posée par le gabarit : sans JavaScript, le
   contenu reste simplement visible au lieu de disparaître. */
.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .7s var(--ease-out) var(--d, 0ms),
        transform .7s var(--ease-out) var(--d, 0ms);
    will-change: opacity, transform;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ============================================ 14. Réactivité ============= */
@media (max-width: 1080px) {
    .types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:not(:last-child)::after { display: none; }
    .products,
    .posts,
    .others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article { grid-template-columns: minmax(0, 1fr); }
    .article__side { position: static; }
}

@media (max-width: 960px) {
    :root { --header-h: 72px; }

    /* Navigation en tiroir */
    .burger { display: block; }
    .site-header__cta { display: none; }

    .site-nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 95;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: min(340px, 86vw);
        padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
        background: var(--paper);
        box-shadow: -12px 0 40px rgb(17 34 74 / 16%);
        transform: translateX(100%);
        transition: transform var(--t) var(--ease);
        overflow-y: auto;
    }

    .site-nav.is-open { transform: none; }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
    }

    .site-nav__link {
        padding: .85rem .25rem;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .site-nav__link::after { display: none; }

    .site-nav__foot {
        display: grid;
        gap: 1rem;
        justify-items: start;
    }

    .site-nav__tel {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        color: var(--navy);
        font-size: .92rem;
        font-weight: 700;
    }

    .site-nav__tel .ico { color: var(--orange); }

    .expertise__inner,
    .story__top,
    .mission__inner,
    .p-hero__inner,
    .about__top,
    .contact-page__grid { grid-template-columns: minmax(0, 1fr); }

    .mission__media { order: 2; }

    .p-hero__media {
        margin-right: 0;
        border-radius: var(--r-xl);
    }

    .solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solutions__all { text-align: left; }

    .quote__panel { grid-template-columns: minmax(0, 1fr); }
    .quote__col--side { border-left: 0; border-top: 1px solid var(--line); }

    .contact-band__box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-band__item:nth-child(2n) { border-right: 0; }

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

    .hero__dots { left: var(--gutter); transform: none; }
}

@media (max-width: 700px) {
    .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solutions__grid,
    .products,
    .posts,
    .others__grid,
    .story__cards,
    .formulas__grid,
    .formulas__grid--3,
    .benefits__grid,
    .steps,
    .pillars,
    .grid-2 { grid-template-columns: minmax(0, 1fr); }

    .reason { grid-template-columns: 60px minmax(0, 1fr); }
    .reason__ico { width: 60px; height: 60px; }
    .reason__ico .ico { width: 40px; height: 40px; }

    .contact-band__box { grid-template-columns: minmax(0, 1fr); }
    .contact-band__item { padding-right: 0; border-right: 0; }
    .contact-band__item:not(:last-child) { padding-bottom: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / 14%); }

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

    .hero__nav { display: none; }
    .hero__viewport { min-height: 520px; }
    .brand__baseline { font-size: .44rem; letter-spacing: .12em; }

    .help-band__box { flex-direction: column; align-items: flex-start; }
    .article__cta { flex-direction: column; align-items: flex-start; }
    .legal-list__row,
    .prose__dl > div { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
    .brand__name { font-size: 1.15rem; }
    .brand__mark { width: 42px; }
}

/* ================================== Préférences d'accessibilité ========== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header,
    .site-nav,
    .to-top,
    .hero__nav,
    .hero__dots,
    .help-band,
    .contact-band { display: none; }

    body { color: #000; }
}
