/* Franck Formation – feuille de style du site public */

:root {
    --red: #c8101a;
    --red-dark: #8c0a10;
    --red-light: #fdecec;
    --black: #0b0b0c;
    --ink: #17171a;
    --muted: #5b5b62;
    --line: #e7e4e1;
    --bg: #ffffff;
    --bg-alt: #f5f4f2;
    --radius: 10px;
    --shadow: 0 8px 28px rgba(0, 0, 0, .08);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.accent { color: var(--red); }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.5em; border-radius: 999px; border: 2px solid var(--red);
    background: var(--red); color: #fff; font-weight: 700; text-decoration: none; text-align: center;
    cursor: pointer; font-size: .98rem; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn .icon:last-child:not(:first-child) { transition: transform .2s; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--light { background: #fff; border-color: #fff; color: var(--red); }
.btn--light:hover { background: var(--red-light); border-color: var(--red-light); color: var(--red-dark); }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--block + .btn--block { margin-top: .6rem; }

/* Barre du haut */
.topbar { background: var(--red-dark); color: #fff; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: .4rem 1.5rem; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar__links { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 1em; height: 1em; }

/* En-tête */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 1rem; }
.brand { text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand__text { font-weight: 900; font-size: 1.4rem; color: var(--red); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .1rem; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .7rem .65rem; text-decoration: none; color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::before { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .25rem; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.main-nav > ul > li > a:hover::before, .main-nav > ul > li.is-active > a::before { transform: scaleX(1); }
.main-nav a:hover, .main-nav .is-active > a { color: #ff5a5f; }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: .4rem; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.sub-menu a { color: var(--ink); text-transform: none; font-weight: 600; font-size: .95rem; border-radius: 6px; }
.sub-menu a:hover { background: var(--red-light); color: var(--red); }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub > a::after { content: " ▾"; font-size: .75em; }

.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 11px; width: 24px; height: 3px; background: #fff; border-radius: 2px; content: ""; transition: .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -8px; }
.nav-toggle__bar::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-top: 1px solid #2a2a2a; display: none; max-height: calc(100vh - 80px); overflow-y: auto; }
    .main-nav.is-open { display: block; }
    .main-nav > ul { flex-direction: column; align-items: stretch; padding: .5rem 16px 1rem; }
    .main-nav li { display: flex; flex-wrap: wrap; align-items: center; }
    .main-nav li > a { flex: 1; padding: .8rem .4rem; font-size: .95rem; }
    .main-nav > ul > li > a::before { left: .4rem; right: auto; width: 2rem; }
    .has-sub > a::after { content: none; }
    .sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: #fff; }
    .sub-toggle::before { content: "▾"; font-size: 1.1rem; display: inline-block; transition: transform .2s; }
    .sub-toggle[aria-expanded="true"]::before { transform: rotate(180deg); }
    .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 .4rem 1rem; background: transparent; }
    .sub-menu a { color: #ddd; }
    .sub-menu a:hover { background: none; color: #ff5a5f; }
    .has-sub:hover > .sub-menu { display: none; }
    .sub-menu.is-open, .has-sub:hover > .sub-menu.is-open { display: block; }
}

/* Diaporama d'accueil */
.hero { position: relative; min-height: clamp(460px, 68vh, 620px); background: var(--black); color: #fff; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.32) 38%, rgba(0,0,0,0) 65%); }
.hero__content { position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.hero__content .btn { text-shadow: none; }
.hero__kicker { display: inline-block; background: var(--red); padding: .3em .8em; border-radius: 3px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin: 0 0 1.1rem; }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 900; line-height: 1.04; margin: 0 0 1rem; max-width: 13ch; }
.hero__title .accent { display: block; color: #e3141e; }
.hero__subtitle { font-size: 1.2rem; font-weight: 600; max-width: 38ch; margin: 0 0 1.8rem; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero__dots button[aria-current="true"] { background: var(--red); border-color: var(--red); }

/* Barres noires (atouts, chiffres) */
.dark-bar { background: var(--black); color: #fff; }
.dark-bar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dark-bar__item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.4rem; border-right: 1px solid rgba(255,255,255,.14); }
.dark-bar__item:last-child { border-right: 0; }
.dark-bar__icon { width: 42px; height: 42px; flex: none; color: #fff; stroke-width: 1.6; }
.dark-bar--stats .dark-bar__icon { color: var(--red); }
.dark-bar__small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #c9c9cf; }
.dark-bar__strong { display: block; font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.dark-bar__big { display: block; font-weight: 900; font-size: 1.3rem; color: #fff; text-decoration: none; line-height: 1.2; }
a.dark-bar__big:hover { color: #ff5a5f; }
.dark-bar__text { display: block; font-size: .88rem; color: #c9c9cf; line-height: 1.4; margin-top: .15rem; }
@media (max-width: 900px) {
    .dark-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dark-bar__item:nth-child(2) { border-right: 0; }
    .dark-bar__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 520px) {
    .dark-bar__grid { grid-template-columns: 1fr; }
    .dark-bar__item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 1.1rem .4rem; }
    .dark-bar__item:last-child { border-bottom: 0; }
}

/* Sections & titres */
.section { padding: clamp(52px, 7vw, 90px) 0; }
.section--alt { background: var(--bg-alt); }
.section__header { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0; }
.title-accent { text-align: center; font-weight: 900; }
.title-accent::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin: .7rem auto 0; border-radius: 2px; }
.title-accent--left { text-align: left; }
.title-accent--left::after { margin-left: 0; }

/* Cartes de formations */
.fcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 1100px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fcards { grid-template-columns: 1fr; } }
.fcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.14); }
.fcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.fcard:hover .fcard__media img { transform: scale(1.06); }
.fcard__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 1.3rem; border-radius: 50%; background: var(--red); color: #fff; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.fcard__icon .icon { width: 24px; height: 24px; }
.fcard__body { display: flex; flex-direction: column; flex: 1; padding: .8rem 1.3rem 1.4rem; }
.fcard__title { margin: 0; font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.fcard__title a { color: var(--ink); text-decoration: none; }
.fcard__title a:hover { color: var(--red); }
.fcard__subtitle { margin: .1rem 0 .9rem; color: var(--muted); font-size: .92rem; }
.fcard__list { list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: .92rem; }
.fcard__list li { position: relative; padding: .22rem 0 .22rem 1.1rem; }
.fcard__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.fcard__list a { color: var(--ink); text-decoration: none; }
.fcard__list a:hover { color: var(--red); text-decoration: underline; }
.fcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; color: var(--red); font-weight: 800; text-decoration: none; }
.fcard__more:hover .icon { transform: translateX(3px); }
.fcard__more .icon { transition: transform .2s; }

/* Pourquoi nous choisir */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-alt); }
.why__text { padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px); max-width: 640px; margin-left: auto; width: 100%; }
.why__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.why__content { margin: 1.4rem 0 1.8rem; }
.why__content p { color: #3c3c42; }
.why__content ul, .why__content ol { list-style: none; margin: 1rem 0 0; padding: 0; }
.why__content li { position: relative; padding: .35rem 0 .35rem 2rem; }
.why__content li::before { content: "✓"; position: absolute; left: 0; top: .42rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--red); color: #fff; font-size: .78rem; font-weight: 900; display: grid; place-items: center; }
.why__media { position: relative; min-height: 360px; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg-alt) 0%, rgba(245,244,242,0) 30%); }
@media (max-width: 900px) {
    .why { grid-template-columns: 1fr; }
    .why__text { max-width: none; }
    .why__media { min-height: 260px; order: -1; }
    .why__media::before { background: linear-gradient(0deg, var(--bg-alt) 0%, rgba(245,244,242,0) 35%); }
}

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 960px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: #fff; border-radius: var(--radius); border-top: 5px solid var(--red); box-shadow: var(--shadow); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; }
.price-card__duration { margin: 0; font-size: 2rem; font-weight: 900; color: var(--red); }
.price-card__title { font-size: 1.05rem; text-transform: uppercase; color: var(--muted); }
.price-card__list { list-style: none; margin: 0 0 1.4rem; padding: 0; flex: 1; }
.price-card__list li { padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px dashed var(--line); position: relative; font-size: .95rem; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; display: flex; flex-direction: column; }
.review__quote { width: 32px; height: 32px; color: var(--red); fill: var(--red); margin-bottom: .6rem; }
.review__text { margin: 0 0 1.2rem; color: #3c3c42; font-size: .97rem; flex: 1; }
.review__author { display: flex; align-items: center; gap: .8rem; }
.review__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.review__stars { display: flex; gap: 2px; margin-bottom: .1rem; }
.star { width: 15px; height: 15px; color: #d6d3cf; fill: #d6d3cf; }
.star.is-on { color: #f5a623; fill: #f5a623; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
.faq--full { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.faq__list { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.faq__item summary { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 18px; height: 18px; flex: none; color: var(--red); transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item[open] summary { color: var(--red); }
.faq__answer { padding: 0 1.2rem 1.1rem 3.3rem; color: #3c3c42; }

/* Contenu riche */
.prose { overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.8em; color: var(--red-dark); }
.prose h3 { margin-top: 1.5em; }
.prose figure { margin: 1.8em 0; }
.prose img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.prose li { margin-bottom: .4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before { content: ""; position: absolute; left: .35em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--red); }
.prose ol { counter-reset: step; list-style: none; padding-left: 0; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 2.6em; min-height: 1.9em; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .85em; display: grid; place-items: center; }
.prose blockquote { margin: 1.5em 0; padding: .9em 1.2em; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: var(--red-light); }
.prose blockquote p { margin: 0; }
.container--narrow .title-accent { margin-bottom: 1.6rem; }

/* En-tête de page */
.page-header { position: relative; background: linear-gradient(110deg, var(--black) 0%, #2a0507 55%, var(--red-dark) 100%); color: #fff; padding: 2.6rem 0 2.8rem; }
.page-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.page-header h1 { margin: .3rem 0 0; font-weight: 900; }
.page-header__lead { margin: .6rem 0 0; font-size: 1.1rem; opacity: .9; max-width: 70ch; }
.breadcrumb { font-size: .9rem; opacity: .9; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb a { color: #fff; }

/* Mise en page avec colonne latérale */
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.layout-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .layout-aside, .layout-contact { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 1.5rem; position: sticky; top: 110px; }
@media (max-width: 900px) { .aside { position: static; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.box__title { font-size: 1.25rem; }
.box--accent { background: var(--black); color: #fff; border-color: var(--black); border-top: 4px solid var(--red); }
.box--accent .box__title { color: #fff; }

.cards--compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); color: var(--ink); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card__title { font-weight: 800; font-size: 1.05rem; }
.card__text { color: var(--muted); font-size: .93rem; }
.card__more { margin-top: auto; padding-top: .5rem; color: var(--red); font-weight: 700; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc-list a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.doc-list a:hover { border-color: var(--red); background: var(--red-light); }
.doc-list__icon { flex: none; background: var(--red); color: #fff; font-size: .7rem; font-weight: 900; padding: .35em .5em; border-radius: 4px; }

/* Agences */
.agencies { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.agency { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.agency__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.agency__body { padding: 1.4rem; }
.agency__body p { margin: 0 0 1rem; }
.agency--row { margin-bottom: 1.5rem; border: 1px solid var(--line); }
.agency--row h2 { font-size: 1.3rem; }
.map { width: 100%; height: 260px; border: 0; display: block; }

/* Formulaire */
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: .7rem .8rem; border: 1px solid #c9c5c1; border-radius: 8px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: 2px solid var(--red-light); }
.field [aria-invalid="true"] { border-color: #c00; }
.field__error { color: #b00020; font-size: .9rem; margin: 0; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.field--check input { width: auto; margin-top: .35rem; }
.field--check label { flex: 1; font-weight: 400; }
.field--check .field__error { flex-basis: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1rem; border-radius: 8px; margin: 0 0 1rem; }
.alert--success { background: #e6f4ea; color: #14532d; }
.alert--error { background: #fde8e8; color: #8a1010; }
.alert--info { background: #e8f0fe; color: #1a3d7c; }

/* Bandeau d'appel */
.cta-band { background: radial-gradient(circle at 85% 50%, #5a0a0e 0%, #2a0507 45%, var(--black) 100%); color: #fff; padding: 2.8rem 0; border-top: 4px solid var(--red); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin: 0 0 .5rem; }
.cta-band__title .accent { color: #ff2d36; }
.cta-band p { margin: 0; color: #dedee3; max-width: 60ch; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band__actions .btn { overflow-wrap: anywhere; }

/* Pied de page */
.site-footer { position: relative; background: var(--black); color: #c9c9cf; font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr .7fr; gap: 2.2rem; padding-top: 3.2rem; padding-bottom: 2.6rem; }
.site-footer__grid--3 { grid-template-columns: 1fr 1fr 1.5fr; }
@media (max-width: 960px) { .site-footer__grid, .site-footer__grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand img { width: 210px; height: auto; margin-bottom: .8rem; }
.site-footer__title { color: #fff; font-weight: 800; margin: 0 0 .9rem; font-size: 1rem; }
.site-footer p { margin: 0 0 .5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ff5a5f; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: .45rem; }
.site-footer__links--cols { columns: 2; column-gap: 1.5rem; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; overflow-wrap: anywhere; }
.site-footer__contact .icon { color: var(--red); margin-top: .15em; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; }
.socials a:hover { background: #fff; color: var(--red); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.1rem 0; font-size: .82rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; padding-right: 64px; }
.site-footer__legal { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; }
.back-to-top { position: absolute; right: 16px; bottom: 12px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff !important; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.back-to-top:hover { background: #fff; color: var(--red) !important; }
.back-to-top .icon { width: 22px; height: 22px; }
