/* ==============================================
   IDA Conseil — feuille de style du site (v2)
   Fond clair, un accent sarcelle, une police.
   =============================================== */

:root {
    --teal: #058283;
    --teal-bright: #00a6a6;
    --teal-soft: #e3f1f1;
    --navy: #21333e;
    --navy-deep: #13212a;
    --ink: #1a2a33;
    --text: #4f5d66;
    --muted: #7a868d;
    --bg: #fbfaf7;
    --bg-alt: #f3f1ec;
    --card: #ffffff;
    --line: #e6e2da;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(19, 33, 42, .05), 0 8px 24px rgba(19, 33, 42, .06);
    --shadow-lg: 0 2px 4px rgba(19, 33, 42, .06), 0 24px 48px rgba(19, 33, 42, .12);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-logo: 'Montserrat', var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0 0 .75rem;
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1rem; }

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

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

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

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.accent { color: var(--teal); }

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

.eyebrow-light { color: var(--teal-bright); }

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

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: .6rem 1rem; border-radius: var(--radius-sm);
    background: var(--navy); color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 600 .95rem/1 var(--font);
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
    white-space: nowrap;
}

.btn i { font-size: .85em; transition: transform .2s; }
.btn:hover i { transform: translateX(3px); }

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

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); color: var(--navy); }

.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: .9rem;
    letter-spacing: .04em; text-transform: uppercase;
    white-space: nowrap;
}
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Bande d'annonce ---------- */
.announce { background: var(--navy); color: #d7e3e8; font-size: .875rem; }
.announce .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .25rem 1rem; padding-top: .6rem; padding-bottom: .6rem; text-align: center;
}
.announce strong { color: #fff; }
.announce a { color: var(--teal-bright); font-weight: 700; }
.announce a:hover { color: #fff; }

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

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo {
    display: inline-flex; align-items: center;
    font: 700 1.15rem/1 var(--font-logo);
    letter-spacing: .3em;
}
.logo-ida {
    padding: .55rem .2rem .55rem .9rem;
    border-radius: 999px 0 0 999px;
    background: var(--teal-soft);
    color: var(--teal);
}
.logo-conseil { padding-left: .1rem; color: var(--navy); }
.logo-light .logo-ida { background: rgba(0, 166, 166, .15); color: var(--teal-bright); }
.logo-light .logo-conseil { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
    color: var(--ink); font-weight: 600; font-size: .95rem;
    position: relative;
}
.main-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--teal);
    transform: scaleX(0); transition: transform .2s;
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.main-nav a i { font-size: .7em; color: var(--muted); }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; padding: 10px;
    border: 0; border-radius: var(--radius-sm);
    background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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); }

/* ---------- Hero ---------- */
.hero {
    padding: 5rem 0 4.5rem;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(0, 166, 166, .10), transparent 70%),
        radial-gradient(700px 400px at 0% 100%, rgba(33, 51, 62, .05), transparent 70%),
        var(--bg);
}

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }

.hero .lead { font-size: 1.15rem; max-width: 34rem; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-visual { position: relative; }

.roadmap-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.roadmap-head { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.25rem; }
.roadmap-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.roadmap-title { margin-left: .5rem; font-weight: 700; color: var(--ink); font-size: .95rem; }

.roadmap-steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .65rem; }
.roadmap-steps li {
    display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .9rem;
    padding: .8rem .9rem;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--bg);
}
.roadmap-steps i {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
    background: var(--bg-alt); color: var(--muted);
}
.roadmap-steps strong { display: block; color: var(--ink); font-size: .95rem; }
.roadmap-steps span { display: block; font-size: .82rem; color: var(--muted); }
.roadmap-steps em {
    font-style: normal; font-size: .72rem; font-weight: 700;
    padding: .3rem .6rem; border-radius: 999px;
    background: var(--bg-alt); color: var(--muted);
}
.roadmap-steps .done i { background: var(--teal-soft); color: var(--teal); }
.roadmap-steps .done em { background: var(--teal-soft); color: var(--teal); }
.roadmap-steps .active { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(5, 130, 131, .08); }
.roadmap-steps .active i { background: var(--teal); color: #fff; }
.roadmap-steps .active em { background: var(--navy); color: #fff; }

.roadmap-progress { height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.roadmap-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); }

.hero-badge {
    position: absolute; top: -26px; right: 24px;
    display: flex; align-items: center; gap: .8rem;
    padding: .9rem 1.2rem;
    border-radius: 14px;
    background: var(--navy); color: #c9d6dc;
    box-shadow: var(--shadow-lg);
}
.hero-badge i { font-size: 1.2rem; color: var(--teal-bright); }
.hero-badge strong { display: block; color: #fff; font-size: .95rem; }
.hero-badge span { font-size: .8rem; }

/* ---------- Bande de confiance ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 3rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.trust-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust-logos { display: flex; align-items: center; gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.trust-logos img {
    height: 56px; width: auto; max-width: 120px; object-fit: contain;
    border-radius: 8px;
    filter: grayscale(100%); opacity: .6;
    transition: filter .25s, opacity .25s;
}
.trust-logos a:hover img, .trust-logos a:focus img { filter: none; opacity: 1; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
    margin-bottom: 3rem;
}
.section-head > div { max-width: 44rem; }
.section-head p:last-child { margin-bottom: 0; font-size: 1.05rem; }

/* ---------- Services (mosaïque) ---------- */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1.25rem;
}

.tile {
    position: relative;
    display: flex; flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--text);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.tile h3 { margin-top: 1.1rem; }
.tile p { flex: 1; font-size: .95rem; }

.tile-icon {
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--teal-soft); color: var(--teal); font-size: 1.15rem;
}

.tile-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--teal); }
.tile-link i { transition: transform .2s; }
.tile:hover .tile-link i { transform: translateX(4px); }

.tile-feature {
    grid-row: span 2;
    justify-content: flex-end;
    padding: 2.25rem;
    border: 0;
    color: #c9d6dc;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(0, 166, 166, .35), transparent 70%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    overflow: hidden;
}
.tile-feature::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.tile-feature > * { position: relative; }
.tile-feature h3 { color: #fff; font-size: 1.75rem; }
.tile-feature p { flex: 0; font-size: 1.02rem; margin-bottom: 1.5rem; }
.tile-feature:hover { color: #c9d6dc; }
.tile-feature .tile-icon { background: rgba(0, 166, 166, .18); color: var(--teal-bright); margin-bottom: auto; }
.tile-feature .tile-link { color: var(--teal-bright); }

/* Dernière tuile : pleine largeur, contenu à l'horizontale */
.tile-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.5rem; }
.tile-wide h3 { margin: 0; flex: 0 0 auto; }
.tile-wide p { margin: 0; }
.tile-wide .tile-icon { flex: 0 0 auto; }

.tile-accent { background: var(--teal); border-color: var(--teal); color: #e2f4f4; }
.tile-accent:hover { color: #e2f4f4; }
.tile-accent h3 { color: #fff; }
.tile-accent .tile-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.tile-accent .tile-link { color: #fff; }

/* ---------- Approche ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }

.method-panel {
    padding: 2.5rem;
    border-radius: 22px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #b8c7ce;
    box-shadow: var(--shadow-lg);
}
.method-panel h3 { color: #fff; font-size: 1.5rem; line-height: 1.3; margin-bottom: 1.75rem; }

.method-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.method-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.method-steps li > span {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(0, 166, 166, .15); color: var(--teal-bright);
    font-weight: 800; font-size: 1rem;
}
.method-steps strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: .15rem; }
.method-steps li div { font-size: .93rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.why-item { padding: 1.4rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.why-item i { color: var(--teal); font-size: 1.2rem; margin-bottom: .8rem; display: block; }
.why-item h4 { margin-bottom: .35rem; }
.why-item p { margin: 0; font-size: .92rem; }

/* ---------- Secteurs ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sector {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--teal);
}
.sector i {
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.25rem;
    background: var(--teal-soft); color: var(--teal); font-size: 1.4rem;
}
.sector p { margin: 0; font-size: .95rem; }

/* ---------- Postes ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.job-card {
    display: flex; flex-direction: column;
    min-height: 220px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--text);
    transition: transform .25s, box-shadow .25s;
}
a.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }

.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }
.job-meta i { color: var(--teal); margin-right: .3rem; }
.job-card h3 { font-size: 1.1rem; }
.job-card p { flex: 1; font-size: .9rem; }
.job-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.job-badges span { padding: .25rem .65rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: .75rem; font-weight: 700; }
.job-card .tile-link { margin-top: auto; }

.job-skeleton {
    background: linear-gradient(90deg, #fff 0%, var(--bg-alt) 50%, #fff 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite linear;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.jobs-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--line); }

/* ---------- Bande d'appel à l'action ---------- */
.cta-band {
    background:
        radial-gradient(600px 300px at 90% 50%, rgba(0, 166, 166, .35), transparent 70%),
        var(--navy);
    color: #c9d6dc;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 4rem; align-items: start; }

.form { display: grid; gap: 1rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form small { font-weight: 500; color: var(--muted); }

.form input, .form select, .form textarea, .newsletter input {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font: 500 .95rem/1.4 var(--font);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .newsletter input:focus {
    outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(5, 130, 131, .12);
}

.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .6rem !important; font-weight: 500 !important; font-size: .85rem !important; color: var(--text) !important; }
.check input { width: auto; margin-top: .25rem; accent-color: var(--teal); }

.form .btn { justify-self: start; }

.contact-card {
    position: sticky; top: 110px;
    padding: 2rem;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.contact-card ul { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.contact-card li { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink); }
.contact-card li i {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
    background: var(--teal-soft); color: var(--teal);
}
.contact-card li a { color: var(--ink); }
.contact-card li a:hover { color: var(--teal); }

.contact-social { display: flex; gap: .6rem; }
.contact-social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--line); color: var(--navy);
}
.contact-social a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0b8; padding-top: 4.5rem; font-size: .92rem; }
.site-footer a { color: #c9d6dc; }
.site-footer a:hover { color: var(--teal-bright); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: .55rem; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.footer-brand > p { margin: 1rem 0 1.5rem; }

.newsletter-title { margin: 0 0 .6rem; color: #fff; font-weight: 700; }
.newsletter-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; margin-bottom: .75rem; }
.newsletter input { padding: .7rem .9rem; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.newsletter input::placeholder { color: #8a9ba3; }
.newsletter .btn { padding: .7rem 1.1rem; }
.newsletter .check { color: #9fb0b8 !important; font-size: .78rem !important; }

.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
    padding-top: 1.5rem; padding-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.footer-disclaimer { color: #6f8189; font-style: italic; }

.footer-contact { display: grid; gap: .45rem; }
.footer-contact i { width: 1.1rem; color: var(--teal-bright); }

/* ---------- Pages secondaires : en-tête de page ---------- */
.page-hero {
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(800px 360px at 90% 0%, rgba(0, 166, 166, .10), transparent 70%),
        var(--bg);
}
.page-hero h1 { max-width: 52rem; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-meta { margin: 1.25rem 0 0; font-size: .9rem; color: var(--muted); }
.page-meta i { color: var(--teal); margin-right: .35rem; }

/* ---------- Mentions légales ---------- */
.legal { padding: 4rem 0 6rem; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: start; }

.legal-toc {
    position: sticky; top: 110px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}
.legal-toc-title { margin: 0 0 .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-toc ol { margin: 0 0 1.25rem; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: .2rem; }
.legal-toc li { counter-increment: toc; }
.legal-toc ol a {
    display: flex; gap: .65rem; align-items: baseline;
    padding: .5rem .65rem; border-radius: 8px;
    color: var(--ink); font-weight: 600; font-size: .92rem;
}
.legal-toc ol a::before { content: counter(toc, decimal-leading-zero); color: var(--teal); font-size: .78rem; font-weight: 800; }
.legal-toc ol a:hover, .legal-toc ol a.is-active { background: var(--teal-soft); color: var(--teal); }
.legal-toc-contact {
    display: flex; align-items: center; gap: .55rem;
    padding-top: 1rem; border-top: 1px solid var(--line);
    font-size: .85rem; font-weight: 600;
}

.legal-content { max-width: 46rem; }
.legal-section {
    padding: 2.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    scroll-margin-top: 100px;
}
.legal-section h2 { font-size: 1.6rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.legal-section h3 { font-size: 1.05rem; margin: 1.75rem 0 .6rem; }
.legal-section h2 + h3, .legal-section h2 + p { margin-top: 0; }
.legal-section p, .legal-section li { font-size: .95rem; }
.legal-section ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-section li { margin-bottom: .4rem; }
.legal-section li::marker { color: var(--teal); }
.legal-section strong { color: var(--ink); }
.legal-section a { text-decoration: underline; text-underline-offset: 2px; }
.legal-section code { padding: .1rem .35rem; border-radius: 5px; background: var(--bg-alt); font-size: .85em; }
.legal-back-top { margin: 0; text-align: right; }
.legal-back-top a { font-weight: 700; font-size: .9rem; }

/* ---------- Page de remerciement ---------- */
.thanks {
    display: grid; place-items: center;
    min-height: calc(100vh - 76px - 280px);
    padding: 5rem 0;
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(0, 166, 166, .12), transparent 70%),
        var(--bg);
}
.thanks-card {
    max-width: 640px; margin: 0 auto;
    padding: 3rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.thanks-icon {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px; margin-bottom: 1.25rem;
    border-radius: 50%;
    background: var(--teal-soft); color: var(--teal); font-size: 1.5rem;
    box-shadow: 0 0 0 8px rgba(5, 130, 131, .06);
}
.thanks-card h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.thanks-text { margin: .75rem auto 0; max-width: 30rem; }
.thanks-text a, .legal-section a[href^="tel:"] { white-space: nowrap; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }

/* ---------- Bandeau témoins ---------- */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
    max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--navy); color: #c9d6dc;
    box-shadow: var(--shadow-lg);
    font-size: .88rem;
    transform: translateY(20px); opacity: 0;
    transition: transform .3s, opacity .3s;
}
.cookie-banner.is-visible { transform: none; opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--teal-bright); }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-banner .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .main-nav { gap: 1.4rem; }
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 560px; }
    .hero-badge { right: 24px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .tile-feature { grid-column: span 2; grid-row: auto; min-height: 280px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .contact-card { position: static; }
    .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
    .legal-toc { position: static; }
    .legal-content { max-width: none; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem 24px 1.5rem;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
    .main-nav a:not(.btn)::after { display: none; }
    .nav-cta { margin-top: 1rem; }
    .header-inner { position: relative; }

    .section-head { flex-direction: column; align-items: flex-start; }
    .sector-grid, .job-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .wrap { padding-left: 16px; padding-right: 16px; }
    .main-nav { padding-left: 16px; padding-right: 16px; }
    .hero { padding: 3rem 0 4rem; }
    .section { padding: 4rem 0; }
    .bento { grid-template-columns: 1fr; }
    .tile-feature { grid-column: auto; }
    .tile-wide { flex-direction: column; align-items: flex-start; gap: 0; }
    .tile-wide h3 { margin-top: 1.1rem; margin-bottom: .75rem; }
    .tile-wide p { margin-bottom: 1rem; }
    .why-grid, .form-row, .newsletter-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .trust-logos { gap: 1.5rem; }
    .trust-logos img { height: 48px; }
    .roadmap-steps li { grid-template-columns: 38px 1fr; }
    .roadmap-steps em { display: none; }
    .roadmap-steps i { width: 38px; height: 38px; }
    .hero-badge { position: static; margin-top: 1rem; display: inline-flex; }
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .announce { font-size: .8rem; }
    .page-hero { padding: 3rem 0 2.5rem; }
    .legal { padding: 2rem 0 4rem; }
    .legal-section { padding: 1.5rem 1.25rem; }
    .thanks { padding: 3rem 0; min-height: 0; }
    .thanks-card { padding: 2.25rem 1.25rem; }
    .thanks-actions .btn { width: 100%; }
}
