/**
 * UFoundMe! Partners — feuille de style du site revendeur indépendant.
 * Auteur : Gilles Capelluto — MOLDEREZ-CONSULT.
 */

@font-face {
    font-family: Inter;
    src: url("/assets/fonts/InterVariable-Latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #171126;
    --petrol: #04313c;
    --petrol-soft: #e7f0f1;
    --coral: #ff7058;
    --coral-dark: #c8402a;
    --paper: #fffdfb;
    --warm: #f8f3ef;
    --lilac: #f4f0f8;
    --line: #ded6e4;
    --muted: #6d6777;
    --white: #fff;
    --success: #0b6e4f;
    --error: #a52d3b;
    --shadow: 0 22px 60px rgba(23, 17, 38, 0.11);
    --shadow-soft: 0 12px 34px rgba(23, 17, 38, 0.08);
    --radius-lg: 32px;
    --radius-md: 22px;
    --shell: min(100% - 32px, 1240px);
}

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

html {
    color-scheme: light;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
p, h1, h2, h3 { margin-top: 0; }

h1, h2, h3 {
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-wrap: balance;
}

h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 4.8vw, 4.4rem); max-width: 15ch; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.2vw, 3.1rem); max-width: 22ch; }
h3 { margin-bottom: 12px; font-size: clamp(1.16rem, 1.7vw, 1.45rem); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(40px, 4.5vw, 64px); }
.section-tint { background: var(--warm); }

.sr-only {
    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: 8px;
    left: 8px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font-weight: 750;
    box-shadow: var(--shadow);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(23, 17, 38, 0.08);
    background: rgba(255, 253, 251, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 84px;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--petrol);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand img { width: 148px; }
.brand span { padding-left: 12px; border-left: 1px solid var(--line); }
.brand .brand-copy{display:grid;gap:2px;text-transform:none;letter-spacing:.02em}.brand .brand-copy b{color:var(--ink);font-size:.72rem}.brand .brand-copy small{color:#6b6272;font-size:.66rem;font-weight:650;letter-spacing:0;text-transform:none}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
}

.main-nav a {
    color: #3f394a;
    font-size: 0.88rem;
    font-weight: 680;
    text-decoration: none;
}

.main-nav a:hover { color: var(--coral-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* The theme belongs to the primary header so it never competes with footer
   actions or obscures the application form on compact screens. */
.header-actions > .ufm-site-theme-toggle {
    position: static;
    inset: auto;
    z-index: auto;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
}
.header-actions > .ufm-site-theme-toggle [data-theme-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.reseller-breadcrumb {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding-block: 12px;
    color: var(--muted);
    font-size: 0.82rem;
}
.reseller-breadcrumb a { color: var(--petrol); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.language-switcher {
    display: flex;
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.language-switcher a {
    display: grid;
    min-width: 34px;
    min-height: 34px;
    place-items: center;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.language-switcher a[aria-current="page"] { background: var(--ink); color: var(--white); }

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
}

.menu-toggle span[aria-hidden] { width: 19px; height: 2px; background: var(--white); }

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 760;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(23, 17, 38, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(23, 17, 38, 0.2); }
.button-small { min-height: 44px; padding: 10px 17px; font-size: 0.85rem; }
.button-secondary, .button-quiet { background: transparent; color: var(--ink); box-shadow: none; }
.button-secondary:hover, .button-quiet:hover { background: var(--white); }

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(36px, 4vw, 64px);
    background:
        radial-gradient(circle at 6% 18%, rgba(255, 112, 88, 0.14), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(4, 49, 60, 0.12), transparent 30%),
        var(--paper);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.eyebrow { margin-bottom: 17px; color: var(--coral-dark); font-size: 0.77rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-lead { max-width: 610px; margin-bottom: 30px; color: #514a5b; font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.fact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 28px 0 0;
    padding: 0;
    color: #585161;
    font-size: 0.85rem;
    list-style: none;
}

.fact-list li { display: flex; align-items: center; gap: 8px; }
.fact-list span { position: relative; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: var(--petrol-soft); color: var(--petrol); }
.fact-list span::before { content: ""; width: 8px; height: 4px; margin-top: -2px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.hero-visual { position: relative; padding: 18px 0 74px; }

.hero-scene {
    width: 100%;
    aspect-ratio: 1.9 / 1;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: center;
    box-shadow: var(--shadow);
}

.real-badge-proof {
    position: absolute;
    right: clamp(18px, 4vw, 56px);
    bottom: 0;
    display: grid;
    grid-template-columns: 88px auto;
    align-items: center;
    width: min(330px, calc(100% - 28px));
    margin: 0;
    padding: 10px 18px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.real-badge-proof img { width: 88px; height: 88px; border-radius: 15px; object-fit: contain; background: var(--white); }
.real-badge-proof figcaption { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; font-weight: 780; }
.real-badge-proof figcaption span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(11, 110, 79, 0.12); }

.section-heading { max-width: 790px; margin-bottom: clamp(24px, 3vw, 32px); }
.section-heading > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1.06rem; }
.section-heading-row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 30px; }
.on-request { margin: 0; padding: 12px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 0.86rem; font-weight: 700; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit-card { min-width: 0; padding: 22px; border: 1px solid #e7e0e8; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-soft); }
.benefit-card p { margin-bottom: 0; color: var(--muted); }
.card-number { display: inline-block; margin-bottom: 16px; color: var(--coral-dark); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; }

.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.profile-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-soft); }
.profile-card::before { content: ""; width: 48px; height: 4px; margin-bottom: 24px; border-radius: 9px; background: var(--coral); }
.profile-store::before { background: var(--petrol); }
.profile-network { background: var(--ink); color: var(--white); }
.profile-network::before { background: #c7b4ed; }
.profile-label { margin-bottom: 12px; color: var(--coral-dark); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-network .profile-label { color: #f6c3ba; }
.profile-card > p:not(.profile-label) { color: var(--muted); }
.profile-network > p:not(.profile-label) { color: #d7cfdf; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 780; text-decoration: none; }
.profile-network .text-link { border-color: rgba(255, 255, 255, 0.18); }
.text-link span { color: var(--coral); font-size: 1.5rem; }

/* Separately authorised responsive repair: keep every resource label and status visible. */
@media (max-width: 767px) {
    .resource-grid li { min-width: 0; flex-wrap: wrap; }
    .resource-grid span { min-width: 0; overflow-wrap: anywhere; }
}

/* Co-branding: the retailer palette is confined to the fictional product preview. */
.cobrand-section { border-bottom: 1px solid var(--line); }
.cobrand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.cobrand-copy { min-width: 0; }
.cobrand-copy .section-heading { margin-bottom: 28px; }
.cobrand-points { display: grid; gap: 20px; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: cobrand; }
.cobrand-points li { position: relative; padding-left: 45px; counter-increment: cobrand; }
.cobrand-points li::before { content: "0" counter(cobrand); position: absolute; top: 2px; left: 0; color: var(--petrol); font-size: 0.78rem; font-weight: 850; }
.cobrand-points h3 { margin-bottom: 5px; font-size: 1.08rem; }
.cobrand-points p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.cobrand-copy .button { max-width: 100%; white-space: normal; text-align: center; }
.cobrand-hint { max-width: 58ch; margin: 14px 0 0; color: var(--muted); font-size: 0.82rem; }
.cobrand-figure { min-width: 0; margin: 0; }
.cobrand-stage { --lumipaw-coral: #FF6B5E; --lumipaw-turquoise: #20BBA6; padding: clamp(14px, 2vw, 24px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff0eb, #f3faf7); }
.cobrand-concept { margin-bottom: 20px; color: var(--petrol); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.cobrand-products { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2vw, 20px); }
.cobrand-tag-wrap, .cobrand-card-wrap { min-width: 0; }
.lumipaw-badge-render { width: 100%; height: auto; object-fit: contain; border-radius: 16px; background: var(--paper); }
.cobrand-scan-link { display: flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--petrol); font-size: 0.75rem; font-weight: 750; text-underline-offset: 3px; }
.cobrand-scan-link img { width: 120px; height: 120px; flex: 0 0 auto; }
.cobrand-object-label { margin: 12px 0 0; color: var(--petrol); font-size: 0.75rem; font-weight: 750; text-align: center; }
.cobrand-preview { overflow: hidden; border: 5px solid var(--petrol); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.cobrand-preview-brand { display: grid; min-height: 59px; place-items: center; padding: 13px 15px; border-bottom: 4px solid var(--lumipaw-coral); }
.cobrand-preview-brand img { width: 130px; max-width: 100%; height: auto; }
.cobrand-pet { width: 100%; height: auto; aspect-ratio: 1.1; object-fit: contain; object-position: center bottom; background: #fff7ed; }
.cobrand-preview-copy { padding: 16px 13px 19px; }
.cobrand-demo-label { display: inline-block; margin-bottom: 12px; padding: 4px 8px; border-radius: 999px; background: var(--lumipaw-turquoise); color: var(--petrol); font-size: 0.58rem; font-weight: 850; }
.cobrand-preview-copy strong { display: block; font-size: clamp(0.8rem, 1.25vw, 1.1rem); line-height: 1.25; }
.cobrand-preview-copy p { margin: 9px 0 0; color: var(--muted); font-size: 0.66rem; }
.cobrand-figure > figcaption { margin-top: 16px; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
@media (max-width: 1023px) {
    .cobrand-grid { grid-template-columns: 1fr; }
    .cobrand-figure { width: min(100%, 620px); justify-self: center; }
    .cobrand-preview-copy strong { font-size: 1.05rem; }
}
@media (max-width: 599px) {
    .cobrand-products { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
    .cobrand-tag-wrap { width: min(100%, 440px); }
    .cobrand-card-wrap { width: min(100%, 240px); }
}
@media (max-width: 374px) {
    .cobrand-preview { border-width: 4px; border-radius: 20px; }
    .cobrand-preview-copy { padding: 12px 8px; }
    .cobrand-preview-copy strong { font-size: 0.86rem; }
}

.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.step-list { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-list li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--petrol); color: var(--white); font-weight: 850; }
.step-list h3 { margin-bottom: 6px; }
.step-list p { margin-bottom: 0; color: var(--muted); }
.assistance-card { position: relative; margin: 0; padding-bottom: 72px; }
.assistance-card img { width: 100%; aspect-ratio: 1.45 / 1; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.assistance-card figcaption { position: absolute; right: 20px; bottom: 0; width: min(470px, calc(100% - 40px)); padding: 22px; border-radius: var(--radius-md); background: var(--petrol); color: var(--white); box-shadow: var(--shadow-soft); }
.assistance-card strong, .assistance-card span { display: block; }
.assistance-card strong { margin-bottom: 8px; font-size: 1.08rem; }
.assistance-card span { color: #d4e2e5; font-size: 0.92rem; }

.section-dark { background: var(--ink); color: var(--white); }
.section-heading-light { max-width: 900px; }
.section-heading-light .eyebrow { color: #ffb3a7; }
.responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.responsibility-grid article { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.055); }
.responsibility-grid h3 { color: #ffb3a7; }
.responsibility-grid ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.responsibility-grid li { position: relative; padding-left: 23px; color: #e2dce7; }
.responsibility-grid li::before { content: ""; position: absolute; top: 0.62em; left: 2px; width: 8px; height: 8px; border-radius: 2px; background: #82c8b2; transform: translateY(-50%); }
.privacy-warning { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; padding: 20px 24px; border-radius: 18px; background: #fff3cf; color: #50380c; font-weight: 700; }
.privacy-warning span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #db8b00; color: var(--white); }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.resource-grid li { display: flex; min-width: 0; min-height: 76px; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.resource-grid span { font-weight: 720; }
.resource-grid small { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--lilac); color: #645377; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: 1.05rem; font-weight: 760; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--white); transition: transform 160ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 54px 24px 0; color: var(--muted); }

.application-section { background: linear-gradient(140deg, #f7f1ed 0%, #f2eef8 100%); }
.application-layout { display: grid; grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1.44fr); align-items: start; gap: clamp(24px, 4vw, 56px); }
.application-intro { position: sticky; top: 124px; }
.application-intro > p:not(.eyebrow) { color: var(--muted); }
.form-privacy-note { margin-top: 30px; padding: 20px; border-left: 4px solid var(--petrol); border-radius: 0 16px 16px 0; background: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.application-card { min-width: 0; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow); }
.form-progress { height: 7px; margin-bottom: 12px; overflow: hidden; border-radius: 999px; background: var(--lilac); }
.form-progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--coral); transition: width 220ms ease; }
.step-status { margin-bottom: 25px; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.form-step { margin: 0; padding: 0; border: 0; }
.js .form-step[hidden] { display: none; }
.form-step legend { margin-bottom: 26px; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 780; letter-spacing: -0.035em; }
.required-note { margin: -14px 0 22px; color: var(--muted); font-size: 0.84rem; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.choice-card { position: relative; display: block; }
.choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-card span { display: flex; min-height: 82px; align-items: center; padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); }
.choice-card input:checked + span { border-color: var(--petrol); background: var(--petrol-soft); color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.choice-card input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-grid label, .conditional-group label { display: grid; gap: 7px; min-width: 0; }
.field-grid label > span, .conditional-group label > span { font-size: 0.82rem; font-weight: 760; }
.field-span { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #cfc4d7; border-radius: 12px; background: var(--white); color: var(--ink); }
input, select { min-height: 51px; padding: 11px 13px; }
textarea { padding: 13px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9c8ba7; }
[aria-invalid="true"] { border-color: var(--error); background: #fff8f8; }
.conditional-group { margin-top: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--warm); }
.conditional-group > h3 { margin-bottom: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; margin-top: 22px; font-size: 0.88rem; }
.consent input { width: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--petrol); }
.consent a { font-weight: 750; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; padding: 20px; border-radius: 17px; }
.notice > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--white); font-weight: 900; }
.notice h3 { margin: 0 0 6px; }
.notice p { margin: 0; }
.notice-success { background: #e6f5ef; color: #0a5c43; }
.notice-success > span { background: var(--success); }
.notice-error { background: #fff0f1; color: #79232f; }
.notice-error > span { background: var(--error); }
.error-summary { display: grid; gap: 5px; margin: 13px 0 0; padding-left: 20px; font-size: 0.85rem; }

.legal-section { padding-block: 28px; border-top: 1px solid var(--line); background: var(--warm); }
.legal-section details { padding: 8px 0; }
.legal-section summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 780; list-style: none; }
.legal-section summary::-webkit-details-marker { display: none; }
.legal-section summary span { font-size: 1.5rem; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; color: var(--muted); font-size: 0.86rem; }
.legal-grid p { margin: 0; }

.site-footer { padding: 62px 0 24px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 46px; }
.footer-grid img { width: 168px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-grid p { color: #bfb6c7; }
.footer-brand-signature{display:block;margin:-8px 0 12px;color:#fff;font-size:.78rem;letter-spacing:.025em}
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a { color: #ded7e4; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ai-disclosure { display: flex; align-items: center; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); color: #cbc2d2; font-size: 0.8rem; }
.ai-disclosure p { margin: 0; }
.ai-disclosure span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: var(--coral); font-size: 0.66rem; font-weight: 850; }

/* 1 — petits téléphones, largeur de référence 320 px. */
@media (max-width: 374px) {
    :root { --shell: min(100% - 24px, 1240px); }
    h1 { font-size: 2.45rem; }
    h2 { font-size: 2rem; }
    .button { width: 100%; padding-inline: 16px; }
    .real-badge-proof { grid-template-columns: 70px 1fr; }
    .real-badge-proof img { width: 70px; height: 70px; }
    .application-card { padding: 18px; }
}

/* 2 — téléphones courants, largeur de référence 375 px. */
@media (min-width: 375px) and (max-width: 429px) {
    :root { --shell: min(100% - 28px, 1240px); }
    h1 { font-size: 2.7rem; }
    .button-row .button { width: 100%; }
}

/* 3 — grands téléphones, largeur de référence 430 px. */
@media (max-width: 767px) {
    .section { padding-block: 40px; }
    .header-inner { min-height: 72px; grid-template-columns: 1fr auto; }
    .brand img { width: 128px; }
    .brand span { display: none; }
    .brand .brand-copy{display:grid;padding-left:9px}.brand .brand-copy small{display:none}
    .menu-toggle { display: grid; grid-column: 2; grid-row: 1; }
    .header-actions { position: absolute; top: 12px; right: 58px; display: flex; padding: 0; }
    .header-actions .language-switcher, .header-actions > .button { display: none; }
    .site-header.menu-open .header-actions { position: static; grid-column: 1 / -1; grid-row: 2; justify-content: space-between; padding-bottom: 16px; }
    .site-header.menu-open .header-actions .language-switcher { display: flex; }
    .site-header.menu-open .header-actions > .button { display: inline-flex; }
    .header-actions .button { width: auto; }
    .main-nav { grid-column: 1 / -1; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; border-top: 1px solid var(--line); }
    .main-nav a { padding: 11px 0; font-size: 1rem; }
    .site-header.menu-open .main-nav, .site-header.menu-open .header-actions { display: flex; }
    .site-header.menu-open .header-inner { padding-bottom: 4px; }
    .hero { padding-top: 32px; }
    .hero-grid, .how-grid, .faq-layout, .application-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 24px; }
    .hero-copy { text-align: left; }
    .hero-scene { aspect-ratio: 1.5 / 1; object-position: 58% center; }
    .hero-visual { padding-bottom: 60px; }
    .real-badge-proof { left: 14px; right: auto; }
    .fact-list { display: grid; }
    .section-heading-row { align-items: flex-start; flex-direction: column; }
    .benefit-grid, .profile-grid, .resource-grid, .responsibility-grid, .legal-grid, .footer-grid { grid-template-columns: 1fr; }
    .benefit-card { min-height: 0; }
    .benefit-card:nth-child(2), .benefit-card:nth-child(5) { transform: none; }
    .how-grid { gap: 24px; }
    .assistance-card img { aspect-ratio: 1 / 1; }
    .responsibility-grid ul { grid-template-columns: 1fr; }
    .faq-layout { gap: 12px; }
    .application-intro { position: static; }
    .choice-grid, .field-grid { grid-template-columns: 1fr; }
    .field-span { grid-column: auto; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .footer-grid { gap: 32px; }
}

@media (min-width: 430px) and (max-width: 767px) {
    :root { --shell: min(100% - 36px, 1240px); }
}

/* 4 — tablettes, largeur de référence 768 px. */
@media (min-width: 768px) and (max-width: 1023px) {
    :root { --shell: min(100% - 48px, 1240px); }
    .header-inner { grid-template-columns: 1fr auto; gap: 12px 18px; padding-top: 12px; }
    .brand img { width: 130px; }
    .brand span, .header-actions > .button { display: none; }
    .brand .brand-copy{display:grid;padding-left:9px}.brand .brand-copy small{display:none}
    .header-actions { grid-column: 2; grid-row: 1; }
    .main-nav { grid-column: 1 / -1; grid-row: 2; gap: 12px 18px; flex-wrap: wrap; justify-content: flex-start; padding-bottom: 12px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 720px; }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-card:nth-child(2), .benefit-card:nth-child(5) { transform: none; }
    .profile-grid { grid-template-columns: 1fr 1fr; }
    .profile-network { grid-column: 1 / -1; }
    .how-grid { grid-template-columns: 1fr; }
    .responsibility-grid ul { grid-template-columns: 1fr; }
    .resource-grid { grid-template-columns: 1fr 1fr; }
    .faq-layout, .application-layout { grid-template-columns: 1fr; }
    .application-intro { position: static; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; }
}

/* 5 — ordinateurs compacts, largeur de référence 1024 px. */
@media (min-width: 1024px) and (max-width: 1439px) {
    :root { --shell: min(100% - 64px, 1160px); }
    .brand span { display: none; }
    .brand .brand-copy{display:grid;padding-left:10px}.brand .brand-copy small{display:none}
    .header-inner { gap: 20px; }
    .main-nav { gap: 17px; }
    .main-nav a { font-size: 0.79rem; }
    .header-actions .button { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* 6 — écrans de bureau, largeur de référence 1440 px. */
@media (min-width: 1440px) {
    :root { --shell: min(100% - 96px, 1320px); }
    .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* 7 — grands écrans, largeur de référence 1920 px. */
@media (min-width: 1920px) {
    :root { --shell: 1480px; }
    body { font-size: 18px; }
    .header-inner { min-height: 94px; }
    .hero-scene { max-height: 600px; }
}

/* Progressive navigation stays usable when scripts cannot run. */
@media (max-width: 767px) {
    .site-header.menu-open { max-height: 100dvh; overflow-y: auto; }
    .no-js .site-header { position: static; }
    .no-js .menu-toggle { display: none; }
    .no-js .main-nav, .no-js .header-actions { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
    .site-header, .button-row, .application-section, .site-footer { display: none; }
    .section { padding-block: 24px; }
    .hero-grid, .how-grid, .faq-layout { grid-template-columns: 1fr; }
    body { background: white; color: black; }
}
