/* ==========================================================================
   taderlafe.com — site vitrine
   Couleurs de marque tirées du logo « TL » : ambre (T) et rouge (L).
   ========================================================================== */

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

/* ---------- Thème clair (par défaut) ---------- */
:root {
    --bg: #faf7f2;
    --bg-alt: #f2ece2;
    --surface: #ffffff;
    --fg: #1d1a17;
    --muted: #5d564e;
    --border: #e4dcd0;
    --border-strong: #cfc4b4;
    --accent: #c8290c;          /* rouge du « L », assombri pour le texte (contraste AA) */
    --amber: #f5a300;           /* ambre du « T » */
    --gradient: linear-gradient(120deg, #f5a300, #e2230b);
    --ink: #1d1a17;             /* bouton principal, bloc contact */
    --ink-fg: #faf7f2;
    --ink-muted: #bdb3a6;
    --shadow: 0 1px 2px rgba(40, 25, 10, .06), 0 12px 32px rgba(40, 25, 10, .08);
    --shadow-lg: 0 2px 4px rgba(40, 25, 10, .06), 0 24px 56px rgba(40, 25, 10, .14);
    --radius: 14px;

    --webtoolz: #6d28d9;
    --webtoolz-bg: #f1ebfd;
    --immo: #1d4ed8;
    --immo-bg: #e8effd;
    --childcontrol: #0f766e;
    --childcontrol-bg: #e2f4f1;
    --ok: #166534;
    --ok-bg: #dcf3e3;
    --warn: #8a4b00;
    --warn-bg: #fdf0d5;

    --plan-a: #dbeafe; --plan-b: #d1fae5; --plan-c: #fce7f3; --plan-d: #fef3c7;
    --plan-line: #374151; --plan-text: #1f2937;

    --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    color-scheme: light;
}

/* ---------- Thème sombre : préférence système, sauf choix explicite « clair » ---------- */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #141110;
        --bg-alt: #1a1614;
        --surface: #211c19;
        --fg: #f3ede5;
        --muted: #b3a99c;
        --border: #342d27;
        --border-strong: #4a4038;
        --accent: #ff7a5c;
        --ink: #f3ede5;
        --ink-fg: #1d1a17;
        --ink-muted: #5d564e;
        --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .45);
        --shadow-lg: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 56px rgba(0, 0, 0, .6);
        --webtoolz: #c4b5fd; --webtoolz-bg: #2a2140;
        --immo: #93c5fd;     --immo-bg: #1b2740;
        --childcontrol: #5eead4; --childcontrol-bg: #14302c;
        --ok: #9be7b4; --ok-bg: #173323;
        --warn: #f5cf7a; --warn-bg: #3a2c0d;
        --plan-a: #1e3a5f; --plan-b: #164034; --plan-c: #4a1d36; --plan-d: #4a3a12;
        --plan-line: #d6d0c8; --plan-text: #f3ede5;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #141110;
    --bg-alt: #1a1614;
    --surface: #211c19;
    --fg: #f3ede5;
    --muted: #b3a99c;
    --border: #342d27;
    --border-strong: #4a4038;
    --accent: #ff7a5c;
    --ink: #f3ede5;
    --ink-fg: #1d1a17;
    --ink-muted: #5d564e;
    --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 12px 32px rgba(0, 0, 0, .45);
    --shadow-lg: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 56px rgba(0, 0, 0, .6);
    --webtoolz: #c4b5fd; --webtoolz-bg: #2a2140;
    --immo: #93c5fd;     --immo-bg: #1b2740;
    --childcontrol: #5eead4; --childcontrol-bg: #14302c;
    --ok: #9be7b4; --ok-bg: #173323;
    --warn: #f5cf7a; --warn-bg: #3a2c0d;
    --plan-a: #1e3a5f; --plan-b: #164034; --plan-c: #4a1d36; --plan-d: #4a3a12;
    --plan-line: #d6d0c8; --plan-text: #f3ede5;
    color-scheme: dark;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; }

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

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: 760px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    padding: .6rem 1rem; border-radius: 8px;
    background: var(--ink); color: var(--ink-fg);
}
.skip-link:focus { top: 12px; }

.icon {
    width: 1.1em; height: 1.1em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .9rem;
}

.todo {
    display: inline-block; padding: 0 .45rem; border-radius: 6px;
    border: 1px dashed var(--warn); color: var(--warn); background: var(--warn-bg);
    font-size: .9em; font-style: italic;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .75rem 1.35rem;
    border: 1px solid var(--border-strong); border-radius: 999px;
    background: transparent; color: var(--fg);
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { border-color: var(--fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .15s ease; }
.btn:hover .icon { transform: translateX(2px); }

.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--ink-fg); box-shadow: var(--shadow); }
.btn--primary:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.btn--small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.btn--large { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.brand {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--fg); text-decoration: none;
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav > a:not(.btn) {
    padding: .5rem .8rem; border-radius: 8px;
    color: var(--muted); font-weight: 500; text-decoration: none;
}
.site-nav > a:not(.btn):hover { color: var(--fg); background: var(--bg-alt); }
.site-nav > a.is-active:not(.btn) { color: var(--fg); font-weight: 650; background: var(--bg-alt); }
.site-nav .btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--ink-fg); }
.site-nav .btn { margin-left: .4rem; }

.theme-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-left: .25rem;
    border: 1px solid var(--border); border-radius: 999px;
    background: transparent; color: var(--fg); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--border-strong); background: var(--bg-alt); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* On montre l'icône du thème vers lequel on bascule */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.nav-toggle {
    display: none;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--border); border-radius: 10px;
    background: transparent; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 859px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: .25rem;
        padding: .75rem 16px 1.25rem;
        background: var(--bg); border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav > a:not(.btn) { padding: .8rem .6rem; font-size: 1.05rem; }
    .site-nav .btn { margin: .5rem 0 0; }
    .theme-toggle { margin: .5rem 0 0; width: 100%; border-radius: 999px; height: 44px; }
}

/* ---------- Accroche ---------- */
.hero {
    position: relative;
    padding: 4rem 0 4.5rem;
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 380px at 85% 20%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 70%),
        radial-gradient(520px 360px at 70% 80%, color-mix(in srgb, #e2230b 12%, transparent), transparent 70%);
}
.hero__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) {
    .hero { padding: 6rem 0 6.5rem; }
    .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.4vw, 3.9rem);
    font-weight: 700; letter-spacing: -.02em; line-height: 1.08;
}
.hero__title em {
    font-style: italic;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-right: .06em;
}
.hero__lead { margin-top: 1.4rem; max-width: 34em; font-size: 1.15rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Aperçu des trois solutions */
.showcase { display: grid; gap: 1rem; }
.mini {
    padding: 1rem 1.1rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.mini__head {
    display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.mini__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mini--webtoolz .mini__dot { color: var(--webtoolz); }
.mini--immo .mini__dot { color: var(--immo); }
.mini--childcontrol .mini__dot { color: var(--childcontrol); }

.mini__body { display: flex; align-items: center; gap: 1.25rem; }
.mini__score { position: relative; width: 76px; height: 76px; flex: none; }
.mini__score strong {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.5rem;
}
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: var(--webtoolz-bg); }
.ring__value { stroke: var(--webtoolz); stroke-linecap: round; }
.mini__bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; flex: 1; }
.bar { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--webtoolz); opacity: .85; }
.bar--1 { height: 42%; opacity: .35; } .bar--2 { height: 55%; opacity: .45; } .bar--3 { height: 50%; opacity: .55; }
.bar--4 { height: 70%; opacity: .7; }  .bar--5 { height: 82%; opacity: .8; }  .bar--6 { height: 94%; }

.plan { width: 100%; max-width: 300px; height: auto; margin-inline: auto; }
.plan__room--a { fill: var(--plan-a); } .plan__room--b { fill: var(--plan-b); }
.plan__room--c { fill: var(--plan-c); } .plan__room--d { fill: var(--plan-d); }
.plan__wall { fill: none; stroke: var(--plan-line); stroke-width: 3.5; }
.plan__inner { fill: none; stroke: var(--plan-line); stroke-width: 2; }
.plan text { fill: var(--plan-text); font: 700 9px var(--font-body); text-anchor: middle; }

.kid { display: flex; align-items: center; gap: .75rem; }
.kid + .kid { margin-top: .8rem; }
.kid__avatar {
    display: grid; place-items: center; flex: none;
    width: 34px; height: 34px; border-radius: 50%;
    color: #fff; font-weight: 700; font-size: .9rem;
}
.kid__avatar--a { background: #0f766e; }
.kid__avatar--w { background: #7c3aed; }
.kid__main { flex: 1; min-width: 0; }
.kid__name { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.pill { font-size: .7rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; }
.pill--ok { color: var(--ok); background: var(--ok-bg); }
.pill--warn { color: var(--warn); background: var(--warn-bg); }
.meter { height: 7px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: inherit; background: var(--childcontrol); }
.meter__fill--58 { width: 58%; }
.meter__fill--85 { width: 85%; background: var(--amber); }

/* Accueil, sur grand écran : les trois cartes se chevauchent */
@media (min-width: 960px) {
    .showcase { position: relative; display: block; height: 460px; }
    .showcase .mini { position: absolute; transition: transform .3s ease; }
    .showcase .mini--webtoolz     { top: 0; left: 0; width: 62%; transform: rotate(-2deg); }
    .showcase .mini--immo         { top: 96px; right: 0; width: 56%; transform: rotate(2.5deg); z-index: 1; }
    .showcase .mini--childcontrol { bottom: 0; left: 7%; width: 64%; transform: rotate(-1deg); z-index: 2; }
    .showcase .mini:hover { transform: rotate(0) translateY(-4px); z-index: 3; }
}
@media (prefers-reduced-motion: reduce) { .mini { transition: none; } }

/* ---------- Bandeau métiers ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip__inner {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem;
    padding-block: 1.4rem; color: var(--muted); font-size: .98rem;
}
.strip strong { display: block; color: var(--fg); font-family: var(--font-display); font-size: 1.15rem; }
@media (min-width: 860px) {
    .strip__inner { grid-template-columns: repeat(4, 1fr); }
    .strip p + p { border-left: 1px solid var(--border); padding-left: 1.5rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--alt { background: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: 6.5rem 0; } }

.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 700; letter-spacing: -.015em;
}
.section__lead { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }

/* ---------- Solutions ---------- */
.products { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); } }

.product {
    --c: var(--fg); --c-bg: var(--bg-alt);
    position: relative; display: flex; flex-direction: column;
    padding: 1.9rem 1.6rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .product { transition: none; } .product:hover { transform: none; } }
/* Couleur propre à chaque solution (--c, --c-bg), utilisable sur n'importe quel bloc */
.product--webtoolz,     .page-hero--webtoolz,     .feature-row--webtoolz     { --c: var(--webtoolz);     --c-bg: var(--webtoolz-bg); }
.product--immo,         .page-hero--immo,         .feature-row--immo         { --c: var(--immo);         --c-bg: var(--immo-bg); }
.product--childcontrol, .page-hero--childcontrol, .feature-row--childcontrol { --c: var(--childcontrol); --c-bg: var(--childcontrol-bg); }

.product__name {
    display: inline-block; align-self: flex-start;
    padding: .2rem .7rem; border-radius: 999px;
    background: var(--c-bg, var(--bg-alt)); color: var(--c, var(--accent));
    font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.product__tagline { margin-top: 1.1rem; font-family: var(--font-display); font-size: 1.45rem; }
.product__text { margin-top: .75rem; color: var(--muted); }
.product__points { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; font-size: .96rem; }
.product__points li { display: flex; gap: .55rem; align-items: flex-start; }
.product__points .icon { margin-top: .22em; color: var(--c); }
.product__link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--c); font-weight: 700; text-decoration: none;
}
.product__link:hover { text-decoration: underline; }
/* Toute la carte est cliquable, via le lien */
.product__link::after { content: ""; position: absolute; inset: 0; }
.product__link:focus-visible { outline: none; }
.product:has(.product__link:focus-visible) { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Savoir-faire ---------- */
.skills { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .skills { grid-template-columns: repeat(4, 1fr); } }

.skill {
    padding: 1.6rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.skill__icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: 1.1rem;
    border-radius: 12px;
    background: var(--gradient); color: #fff;
}
.skill__icon .icon { width: 24px; height: 24px; }
.skill h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.skill p { color: var(--muted); font-size: .98rem; }

/* ---------- Approche ---------- */
.approach { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
    .approach { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
    .approach .section__head { position: sticky; top: 110px; margin-bottom: 0; }
}
.values { display: grid; gap: 0; }
.value {
    display: flex; gap: 1.1rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--border);
}
.value:last-child { border-bottom: 1px solid var(--border); }
.value__icon {
    width: 28px; height: 28px; flex: none; margin-top: .1rem;
    fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.value h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.value p { color: var(--muted); }

/* ---------- Déroulement d'un projet ---------- */
.process {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1.25rem;
    counter-reset: step;
}
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li {
    counter-increment: step;
    padding: 1.5rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.process li::before {
    content: "0" counter(step);
    display: block; margin-bottom: .8rem;
    font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.process p { color: var(--muted); font-size: .98rem; }

/* ---------- Contact ---------- */
.cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 2rem; align-items: center;
    padding: 2.5rem 1.5rem;
    border-radius: calc(var(--radius) * 1.6);
    background: var(--ink); color: var(--ink-fg);
}
.cta::before {
    content: ""; position: absolute; z-index: -1;
    width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
    background: var(--gradient); opacity: .35; filter: blur(60px);
}
@media (min-width: 860px) {
    .cta { grid-template-columns: 1.4fr 1fr; padding: 3.5rem 3.5rem; }
}
.cta .eyebrow { color: var(--amber); }
.cta__title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.cta__lead { margin-top: .9rem; color: var(--ink-muted); font-size: 1.1rem; max-width: 32em; }
.cta__actions { display: grid; gap: .6rem; justify-items: start; }
@media (min-width: 860px) { .cta__actions { justify-items: end; text-align: right; } }
.cta .btn--primary { background: var(--amber); border-color: var(--amber); color: #1d1a17; }
.cta .btn--primary:hover { background: #ffb627; border-color: #ffb627; }
.cta__mail { color: var(--ink-muted); font-size: .95rem; overflow-wrap: anywhere; }
.cta__mail a { color: inherit; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.section--tight { padding: 3rem 0; }
@media (min-width: 960px) { .section--tight { padding: 4rem 0; } }
.section__subtitle { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.2rem; }
.section__more { margin-top: 1.6rem; }
.muted { color: var(--muted); }

/* ---------- En-tête de page ---------- */
.page-hero {
    position: relative; isolation: isolate;
    padding: 2rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(640px 320px at 90% 0%, color-mix(in srgb, var(--c, var(--amber)) 16%, transparent), transparent 70%);
}
@media (min-width: 960px) { .page-hero { padding: 2.5rem 0 4.5rem; } }
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
    max-width: 20em;
}
.page-hero__lead { margin-top: 1.2rem; max-width: 40em; font-size: 1.15rem; color: var(--muted); }
.page-hero .product__name { margin-bottom: 1rem; }
.page-hero__split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .page-hero__split { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }
.page-hero__visual .mini { max-width: 460px; margin-inline: auto; }
.page-hero__icon {
    display: grid; place-items: center;
    width: 56px; height: 56px; margin-bottom: 1.2rem;
    border-radius: 14px; background: var(--gradient); color: #fff;
}
.page-hero__icon .icon { width: 28px; height: 28px; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb ol {
    list-style: none; margin: 0 0 1.75rem; padding: 0;
    display: flex; flex-wrap: wrap; gap: .4rem;
    font-size: .88rem; color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--fg); }

/* ---------- Liste des solutions ---------- */
.showcase-list { display: grid; gap: 1.5rem; }
.feature-row {
    display: grid; gap: 2rem; align-items: center;
    padding: 2rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border); border-top: 4px solid var(--c); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
@media (min-width: 900px) {
    .feature-row { grid-template-columns: 1.2fr 1fr; gap: 3rem; padding: 3rem; }
    .feature-row:nth-child(even) .feature-row__visual { order: -1; }
}
.feature-row__category { margin-top: .9rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.feature-row__title { margin-top: .3rem; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.feature-row__lead { margin-top: .8rem; color: var(--muted); }
.feature-row .product__points { margin-bottom: 0; }
.feature-row__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.feature-row__visual .mini { max-width: 440px; margin-inline: auto; }

/* ---------- Grille de fonctionnalités ---------- */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
    padding: 1.6rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.feature__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px; margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--c-bg, color-mix(in srgb, var(--amber) 16%, transparent));
    color: var(--c, var(--accent));
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Tarifs (App\Models\Product, clé 'pricing') ---------- */
.pricing { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.pricing-card {
    display: flex; flex-direction: column;
    padding: 1.8rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.pricing-card--highlight {
    position: relative;
    border-color: var(--c, var(--accent));
    box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
    position: absolute; top: -.7rem; left: 1.5rem;
    padding: .25rem .7rem; border-radius: 999px;
    background: var(--c, var(--accent)); color: var(--ink-fg);
    font-size: .78rem; font-weight: 700;
}
.pricing-card__name { font-family: var(--font-display); font-size: 1.3rem; }
.pricing-card__tagline { margin-top: .3rem; color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.pricing-card__price { margin: 1rem 0 1.4rem; font-family: var(--font-display); font-size: 1.9rem; }
.pricing-card__period { font-family: var(--font-body); font-size: .85rem; color: var(--muted); font-weight: 400; }
.pricing-card .checklist { flex: 1; margin-bottom: 1.6rem; }
.pricing-card .checklist li { font-size: .92rem; }
.pricing-card__cta { width: 100%; justify-content: center; }

/* ---------- Deux colonnes : public visé, étapes, FAQ ---------- */
.split { display: grid; gap: 3rem; align-items: start; }
.split--center { align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split .section__title { margin-bottom: 1.4rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { flex: none; margin-top: .25em; color: var(--accent); }

.note {
    margin-top: 1.75rem; padding: 1rem 1.2rem;
    border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0;
    background: var(--surface); color: var(--muted); font-size: .98rem;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: substep; }
.steps li {
    counter-increment: substep; position: relative;
    padding: 1.1rem 1.2rem 1.1rem 4rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.steps li::before {
    content: counter(substep);
    position: absolute; left: 1.1rem; top: 1.05rem;
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--gradient); color: #fff; font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.steps p { color: var(--muted); font-size: .96rem; }

.faq { display: grid; gap: .75rem; }
.faq details {
    padding: 0 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; color: var(--muted); }

/* ---------- Bandeau d'action ---------- */
.banner {
    display: grid; gap: 1.5rem; align-items: center;
    padding: 2rem 1.6rem;
    background: var(--c-bg, var(--bg-alt));
    border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4);
}
@media (min-width: 760px) { .banner { grid-template-columns: 1fr auto; padding: 2.4rem 2.8rem; } }
.banner__title { font-family: var(--font-display); font-size: 1.6rem; }
.banner p { margin-top: .5rem; color: var(--muted); }

/* ---------- Liens « À découvrir aussi » ---------- */
.related { display: grid; gap: 1rem; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.related__card {
    display: flex; flex-direction: column; gap: .6rem;
    padding: 1.3rem;
    background: var(--surface); color: var(--fg); text-decoration: none;
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.related__card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--c, var(--border-strong)); box-shadow: var(--shadow); }
.related__card strong { font-family: var(--font-display); font-size: 1.15rem; }
.related__card > span:not([class]) { color: var(--muted); }
.related__card--wide { margin-top: 2rem; }
.related__icon { color: var(--accent); }
.related__icon .icon { width: 26px; height: 26px; }
.related__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--c, var(--accent)); font-weight: 700; font-size: .95rem; }

/* ---------- Services ---------- */
.skill--link { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.skill--link:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.skill__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; color: var(--accent); font-weight: 700; font-size: .95rem; }

.service-list { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
.service-card {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.8rem 1.6rem;
    background: var(--surface); color: inherit; text-decoration: none;
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.service-card .skill__icon { flex: none; margin: 0; }
.service-card h2 { font-family: var(--font-display); font-size: 1.35rem; }
.service-card__tagline { margin: .4rem 0 .6rem; font-weight: 600; }
.service-card p:not(.service-card__tagline) { color: var(--muted); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) {
    .related__card, .skill--link, .service-card { transition: none; }
    .related__card:hover, .skill--link:hover, .service-card:hover { transform: none; }
}

/* ---------- À propos ---------- */
.prose .section__title { margin-bottom: .5rem; }
.prose p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
    padding: 1.4rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.stat strong {
    display: block; margin-bottom: .3rem;
    font-family: var(--font-display); font-size: 2.3rem; line-height: 1.1;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: .92rem; }

.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 640px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stack { grid-template-columns: repeat(4, 1fr); } }
.stack li {
    display: flex; flex-direction: column; gap: .2rem;
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.stack strong { font-size: 1.05rem; }
.stack span { color: var(--muted); font-size: .92rem; }

.stack-groups { display: grid; gap: 2.25rem; }
.stack-group__title {
    display: flex; align-items: center; gap: .9rem;
    margin-bottom: 1rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.stack-group__title::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.contact-card {
    display: grid; gap: .8rem; justify-items: start;
    padding: 2rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.4);
    box-shadow: var(--shadow);
}
.contact-card .skill__icon { margin-bottom: .2rem; }
.contact-card h2 { font-family: var(--font-display); font-size: 1.5rem; }
.contact-card__value { font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-card .btn { margin-top: .6rem; }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin: 1.5rem 0 0; }
.contact-details dt { color: var(--muted); font-weight: 600; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact__aside .section__subtitle:not(:first-child) { margin-top: 2.5rem; }
.link-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.link-list a {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem .95rem; border: 1px solid var(--border); border-radius: 999px;
    color: var(--fg); text-decoration: none; font-weight: 600;
}
.link-list a:hover { border-color: var(--border-strong); background: var(--surface); }

/* ---------- Erreur 404 ---------- */
.error-page { text-align: center; padding: 5rem 0 6rem; }
.error-page__code {
    font-family: var(--font-display); font-size: clamp(5rem, 14vw, 8rem); font-weight: 700; line-height: 1;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page .section__title { margin-top: 1rem; }
.error-page__actions { justify-content: center; }

/* ---------- Mentions légales ---------- */
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.4rem 0 .9rem; font-family: var(--font-display); }
.legal p { color: var(--muted); }
.legal p + p { margin-top: .8rem; }
.legal__list {
    display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; margin: 0;
    padding: 1.2rem 1.3rem; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.legal__list dt { font-weight: 600; font-size: .9rem; color: var(--muted); }
.legal__list dd { margin: 0 0 .7rem; overflow-wrap: anywhere; }
@media (min-width: 640px) {
    .legal__list { grid-template-columns: 220px 1fr; }
    .legal__list dd { margin: 0 0 .4rem; }
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 3.5rem; font-size: .96rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; } }
.site-footer__brand p { margin-top: .8rem; color: var(--muted); max-width: 26em; }
.site-footer__title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer ul a { color: var(--fg); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
    margin-top: 3rem; padding-block: 1.4rem;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: .9rem;
}
.site-footer__bottom a { color: inherit; }
