/*
 * ATL — thème visuel "éditorial contemporain"
 * Objectif : plus humain, plus chaleureux, plus premium, sans esthétique gamer.
 * CSS original inspiré de principes vus sur des sites reconnus : hiérarchie forte,
 * espace blanc, surfaces sobres, navigation courte et contrastes fonctionnels.
 */

:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-soft: #efe9df;
  --panel: #fffdf9;
  --panel-2: #f2eee7;
  --line: #ddd5c9;
  --line-strong: #c8bcad;
  --ink: #1d2528;
  --muted: #5d6769;
  --muted-2: #7b8382;
  --cyan: #275660;
  --blue: #275660;
  --purple: #b45c45;
  --danger: #a94b43;
  --success: #43705f;
  --accent: #b45c45;
  --accent-soft: #f4e4dd;
  --navy: #21434a;
  --forest: #315d50;
  --sand: #e8ddcf;
  --cream: #fbf8f2;
  --radius: 22px;
  --radius-sm: 13px;
  --shadow: 0 24px 70px rgba(48, 42, 34, .09);
  --shadow-soft: 0 12px 34px rgba(48, 42, 34, .07);
  --container: 1200px;
  --header-h: 76px;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html {
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 92% 8%, rgba(180, 92, 69, .07), transparent 24rem),
    radial-gradient(circle at 4% 28%, rgba(39, 86, 96, .055), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -.006em;
}

::selection {
  background: #d8c4b8;
  color: #172023;
}

.container {
  width: min(calc(100% - 52px), var(--container));
}

.section {
  position: relative;
  padding: clamp(84px, 9vw, 128px) 0;
}

.section--soft {
  background: rgba(239, 233, 223, .64);
  border-block: 1px solid rgba(200, 188, 173, .42);
}

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section__eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.section__title,
.content-page__hero h1,
.article-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.035em;
}

.section__title {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  line-height: 1.02;
}

.section__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.13rem);
  line-height: 1.78;
}

.card {
  border: 1px solid rgba(198, 188, 175, .78);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 1px 0 rgba(255,255,255,.75) inset;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.card:hover {
  border-color: #c6b6a4;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 750;
  letter-spacing: -.01em;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 26px rgba(33, 67, 74, .18);
}

.btn--primary:hover {
  border-color: #17363c;
  background: #17363c;
  box-shadow: 0 14px 30px rgba(33, 67, 74, .23);
}

.btn--ghost {
  border-color: #c9beb0;
  background: rgba(255, 253, 249, .7);
  color: var(--ink);
}

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

.tag {
  min-height: 27px;
  padding: 5px 10px;
  border-color: #d9d0c4;
  border-radius: 999px;
  background: #f6f1e9;
  color: #626a69;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4d806b;
  box-shadow: 0 0 0 4px rgba(77, 128, 107, .12);
}

:focus-visible {
  outline: 3px solid rgba(39, 86, 96, .28);
  outline-offset: 3px;
}

/* Header flottant : simple et lisible */
.site-header,
.site-header.is-scrolled,
.site-header:has(.nav__group.is-open) {
  padding: 10px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .nav {
  min-height: 62px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(198, 188, 175, .75);
  border-radius: 18px;
  background: rgba(255, 253, 249, .88);
  box-shadow: 0 12px 34px rgba(54, 47, 39, .075);
  backdrop-filter: blur(16px) saturate(120%);
}

.brand {
  gap: 11px;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid #d6ccbf;
  border-radius: 11px;
  background: #f1ece4;
}

.brand__text strong {
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: -.015em;
}

.brand__text small {
  margin-top: 2px;
  color: #7b817f;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .015em;
  text-transform: none;
}

.nav__links {
  gap: 3px;
}

.nav__group-toggle {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #4d5657;
  font-size: .88rem;
  font-weight: 700;
}

.nav__group-toggle:hover,
.nav__group-toggle:focus-visible,
.nav__group.is-open > .nav__group-toggle,
.nav__group.has-active-child > .nav__group-toggle {
  background: #f0ebe4;
  color: var(--ink);
}

.nav__group.has-active-child > .nav__group-toggle::after {
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  background: var(--accent);
}

.nav__submenu {
  width: 316px;
  top: calc(100% + 9px);
}

.nav__submenu-inner {
  padding: 8px;
  border: 1px solid #d9d0c5;
  border-radius: 16px;
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 22px 54px rgba(47, 41, 35, .15);
  backdrop-filter: blur(18px);
}

.nav__submenu a {
  gap: 2px;
  padding: 11px 12px;
  border-radius: 10px;
}

.nav__submenu a:hover,
.nav__submenu a.is-current,
.nav__submenu a.is-active {
  background: #f3eee7;
}

.nav__submenu a span {
  color: var(--ink);
  font-size: .89rem;
  font-weight: 750;
}

.nav__submenu a small {
  color: #737b7a;
  font-size: .73rem;
}

.nav__toggle {
  border-color: #d0c6b9;
  border-radius: 11px;
  background: #fffdf9;
}

.nav__toggle span {
  background: var(--ink);
}

.construction-banner {
  margin-top: calc(var(--header-h) + 18px);
  border: 0;
  border-bottom: 1px solid rgba(198, 188, 175, .52);
  background: rgba(232, 221, 207, .55);
  color: #626866;
  font-size: .82rem;
}

.construction-banner .container {
  padding-block: 10px;
}

.construction-banner strong {
  color: var(--ink);
}

/* Hero : typographie forte + bloc d'information contrasté */
.hero {
  min-height: auto;
  padding: clamp(82px, 9vw, 126px) 0 clamp(90px, 9vw, 132px);
  background: transparent;
  overflow: hidden;
}

.hero::before {
  display: block;
  content: "";
  position: absolute;
  width: min(44vw, 580px);
  aspect-ratio: 1;
  right: -13vw;
  top: -10vw;
  border-radius: 50%;
  background: rgba(180, 92, 69, .065);
  filter: blur(2px);
  pointer-events: none;
  mask-image: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: min(28vw, 390px);
  aspect-ratio: 1;
  left: -12vw;
  bottom: -18vw;
  border-radius: 50%;
  background: rgba(39, 86, 96, .055);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
  gap: clamp(54px, 8vw, 108px);
  align-items: center;
}

.hero__copy {
  max-width: 790px;
}

.hero__kicker {
  width: fit-content;
  margin-bottom: 24px;
  padding: 7px 11px;
  border: 1px solid #d8cec1;
  border-radius: 999px;
  background: rgba(255, 253, 249, .68);
  color: #5d6665;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6.8vw, 6.4rem);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.062em;
}

.hero h1 span {
  background: none;
  color: var(--accent);
  font-style: italic;
  -webkit-text-fill-color: currentColor;
}

.hero__baseline {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.018em;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.8;
}

.hero__actions {
  gap: 11px;
  margin-bottom: 0;
}

.hero__brief {
  position: relative;
  top: auto;
  overflow: hidden;
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid #183b42;
  border-radius: 28px;
  background: #21434a;
  color: #f7f5ef;
  box-shadow: 0 30px 70px rgba(29, 48, 51, .17);
}

.hero__brief::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -58px;
  top: -62px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

.hero__brief::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.hero__brief-label {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  color: #ead7cd;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__brief h2 {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-bottom: 28px;
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.hero__facts > div {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 16px 14px 16px 0;
  border-right: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.hero__facts > div:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,.14);
}

.hero__facts > div:nth-child(even) {
  padding-left: 18px;
}

.hero__facts dt {
  margin: 0 0 5px;
  color: rgba(255,255,255,.62);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: none;
}

.hero__facts dd {
  margin: 0;
  color: #fffdf8;
  font-size: .91rem;
  font-weight: 780;
}

.hero__brief-note {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: rgba(255,255,255,.70);
  font-size: .83rem;
  line-height: 1.65;
}

.hero__brief-link {
  position: relative;
  z-index: 1;
  color: #fffdf8;
  font-size: .88rem;
  font-weight: 780;
  text-decoration: none;
}

.hero__brief-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mission */
.mission__layout {
  grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr);
  gap: clamp(52px, 8vw, 104px);
  align-items: center;
}

.mission__points {
  margin-top: 36px;
}

.mission__points article {
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #ddd4c8;
}

.mission__points article > span,
.launch__steps > div > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ece3d8;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 850;
}

.mission__points h3 {
  margin-bottom: 5px;
  font-size: 1.06rem;
  letter-spacing: -.015em;
}

.mission__points p,
.launch__steps p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.mission__visual,
.launch__poster,
.contact__visual {
  padding: 10px;
  border: 1px solid #d7ccbe;
  border-radius: 26px;
  background: #ebe3d8;
  box-shadow: var(--shadow-soft);
}

.mission__visual img,
.launch__poster img,
.contact__visual img {
  border-radius: 17px;
  filter: saturate(.55) contrast(.98);
}

.mission__visual figcaption {
  padding: 13px 6px 4px;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: .74rem;
}

.mission__visual a {
  color: var(--navy);
  font-weight: 750;
}

/* Activités / challenges */
.activities__grid,
.challenges__grid {
  gap: 16px;
}

.activity,
.challenge {
  min-height: 0;
  padding: 28px;
  border-top: 0;
  background: #fffdf9;
}

.activity:nth-child(2),
.challenge:nth-child(2) {
  background: #f1ece4;
}

.activity:nth-child(3),
.challenge:nth-child(3) {
  background: #f7eee9;
}

.activity:nth-child(4) {
  background: #edf1ed;
}

.activity__num,
.challenge__type {
  width: fit-content;
  margin-bottom: 24px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eee5db;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.activity h3,
.challenge h3 {
  color: var(--ink);
  font-size: 1.13rem;
  letter-spacing: -.02em;
}

.activity p,
.challenge p {
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.7;
}

/* Permanences */
.permanences__layout {
  gap: clamp(50px, 8vw, 100px);
}

.permanences__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 38px);
  border-left: 0;
  border-color: #d5c8b8;
  background: #fffdf9;
  box-shadow: var(--shadow-soft);
}

.permanences__panel::before {
  content: "";
  position: absolute;
  width: 5px;
  inset: 0 auto 0 0;
  background: var(--navy);
}

.permanences__status {
  color: var(--success);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
}

.permanences__panel dt {
  color: var(--muted-2);
}

.permanences__panel dd {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .87rem;
  font-weight: 750;
}

.permanences__panel dd.is-pending {
  color: var(--accent);
}

/* Cadre */
.cadre__layout {
  gap: clamp(50px, 8vw, 100px);
}

.cadre__rules {
  padding: clamp(28px, 4vw, 36px);
  background: #fffdf9;
}

.cadre__rule > span {
  color: var(--danger);
  font-family: var(--font-body);
}

.cadre__rule--ok > span {
  color: var(--success);
}

.cadre__rule p {
  color: var(--muted);
  font-size: .9rem;
}

.cadre__note {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: .76rem;
}

/* Lancement */
.launch__layout {
  grid-template-columns: minmax(280px, .66fr) minmax(0, 1.34fr);
  gap: clamp(50px, 8vw, 100px);
}

.launch__poster {
  width: min(100%, 410px);
  transform: rotate(-1deg);
}

.launch__steps > div {
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #ddd4c8;
}

/* Bureau */
.bureau__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.member {
  padding: 28px;
  background: #fffdf9;
}

.member__top {
  margin-bottom: 26px;
}

.member__avatar {
  width: 50px;
  height: 50px;
  border: 1px solid #d5c9ba;
  border-radius: 16px;
  background: #ede4d9;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 850;
}

.member__status {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 800;
}

.member__name {
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
}

.member__description {
  color: var(--muted);
  line-height: 1.65;
}

.member a {
  color: var(--navy);
}

.bureau__cta {
  margin-top: 16px;
  padding: clamp(26px, 4vw, 34px);
  border-color: #d7ccbd;
  background: #f1ece4;
}

/* Formulaires */
.form-card {
  border-color: #d5c9ba;
  border-radius: 24px;
  background: #fffdf9;
  box-shadow: var(--shadow-soft);
}

.form-field label,
.form-check {
  color: #414c4d;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-color: #d7cec2;
  border-radius: 11px;
  background: #fffefa;
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(39, 86, 96, .09);
}

.form-note,
.form-status {
  color: var(--muted-2);
}

.join__layout,
.contact__layout {
  gap: clamp(50px, 8vw, 100px);
}

.join__facts li,
.contact__channels a {
  color: var(--muted);
}

.join__facts code,
.contact__direct > a,
.contact__channels a.is-enabled {
  color: var(--navy);
}

.contact__direct,
.contact__channels > div {
  border-color: #d7ccbd;
  background: #fffdf9;
}

/* Footer */
.site-footer {
  padding: 62px 0 30px;
  border-top: 0;
  background: #1f3f45;
  color: #f7f4ee;
}

.site-footer .brand__text strong,
.site-footer__top > a:last-child,
.site-footer__links a {
  color: #fffdf8;
}

.site-footer .brand__text small,
.site-footer__top p,
.site-footer__links,
.site-footer__bottom {
  color: rgba(255,255,255,.66);
}

.site-footer__links,
.site-footer__bottom {
  border-color: rgba(255,255,255,.15);
}

.site-footer__links > span {
  color: rgba(255,255,255,.50);
  font-family: var(--font-body);
}

.site-footer__links a:hover {
  color: #f0d2c6;
}

.site-footer .brand img {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

/* Pages éditoriales */
.content-page {
  padding: calc(var(--header-h) + 72px) 0 104px;
}

.content-page__hero {
  position: relative;
  max-width: 980px;
  margin-bottom: 54px;
  padding: clamp(30px, 5vw, 52px);
  border: 1px solid #d9cfc2;
  border-radius: 28px;
  background: rgba(255, 253, 249, .72);
  box-shadow: var(--shadow-soft);
}

.content-page__hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: 28px;
  top: -48px;
  border-radius: 50%;
  background: rgba(180,92,69,.08);
  pointer-events: none;
}

.content-page__hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: .95;
}

.breadcrumbs {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--navy);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(34px, 5vw, 62px);
}

.article-content section {
  margin-bottom: 56px;
}

.article-content h2 {
  margin-bottom: 15px;
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.05;
}

.article-content h3 {
  font-size: 1.15rem;
  letter-spacing: -.01em;
}

.article-content p,
.article-content li {
  color: var(--muted);
  line-height: 1.78;
}

.article-callout,
.fact-card,
.related-links a,
.article-toc {
  border-color: #d8cdbf;
  background: #fffdf9;
}

.article-callout {
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
}

.article-toc {
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.article-toc strong {
  font-family: var(--font-body);
  color: var(--ink);
}

.article-toc a:hover,
.source-note a,
.related-links a {
  color: var(--navy);
}

.fact-grid {
  gap: 14px;
}

.fact-card {
  border-radius: 18px;
  background: #f8f3ec;
}

.fact-card strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

/* Toolbox */
.toolbox-controls {
  top: calc(var(--header-h) + 18px);
  margin-bottom: 52px;
  padding: 13px;
  border-color: #d7ccbd;
  border-radius: 18px;
  background: rgba(255, 253, 249, .91);
  box-shadow: 0 18px 44px rgba(47, 41, 35, .10);
  backdrop-filter: blur(18px) saturate(115%);
}

.tool-search {
  min-height: 52px;
  border-color: #d9cfc2;
  border-radius: 12px;
  background: #fffefa;
}

.tool-search:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(39,86,96,.08);
}

.tool-search__icon,
.toolbox-hero h1 span {
  color: var(--accent);
}

.tool-search input {
  color: var(--ink);
}

.tool-search kbd {
  border-color: #d8cfc3;
  background: #f5efe7;
  color: var(--muted-2);
}

.tool-filter {
  border-color: #d7ccbd;
  background: #f7f2ea;
  color: var(--muted);
}

.tool-filter:hover {
  border-color: #afa396;
  color: var(--ink);
}

.tool-filter.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.toolbox-section--musthave {
  padding: clamp(20px, 3vw, 30px);
  border-color: #d7ccbd;
  border-radius: 26px;
  background: #eee6dc;
}

.toolbox-section__head {
  border-bottom-color: #d8cfc3;
}

.toolbox-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
}

.toolbox-section__head span {
  font-family: var(--font-body);
}

.tool-grid {
  gap: 15px;
}

.tool-card {
  min-height: 230px;
  padding: 20px;
  border-color: #d8cfc3;
  background: #fffdf9;
}

.tool-card::before,
.toolbox-section--musthave .tool-card::before {
  width: 3px;
  background: var(--accent);
  opacity: .55;
}

.tool-card:hover {
  border-color: #c4b6a5;
  box-shadow: var(--shadow-soft);
}

.tool-card__icon {
  border-color: #d9cfc2;
  background: #f3ede5;
  color: var(--navy);
  font-family: var(--font-body);
}

.tool-card__essential {
  border-color: rgba(67,112,95,.22);
  background: rgba(67,112,95,.08);
  color: var(--success);
  font-family: var(--font-body);
}

.tool-card__tags span {
  background: #f4efe8;
  color: var(--muted-2);
  font-family: var(--font-body);
}

.tool-card__link {
  color: var(--navy);
}

.tool-card__link:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 980px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .site-header .nav { border-radius: 15px; }
  .hero__layout { grid-template-columns: 1fr; gap: 42px; }
  .hero__copy { max-width: 820px; }
  .hero__brief { width: min(100%, 680px); }
  .mission__layout,
  .launch__layout { grid-template-columns: 1fr; }
  .mission__visual { width: min(100%, 780px); }
}

@media (max-width: 760px) {
  .site-header { padding: 7px 0; }
  .site-header .nav { padding: 8px 9px; }
  .construction-banner { margin-top: calc(var(--header-h) + 10px); }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(3.05rem, 15.5vw, 4.8rem); }
  .hero__brief { border-radius: 22px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .activities__grid,
  .bureau__grid { grid-template-columns: 1fr; }
  .content-page__hero { border-radius: 22px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .section { padding: 72px 0; }
  .hero { padding: 52px 0 80px; }
  .hero__kicker { align-items: flex-start; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4rem); line-height: .93; }
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div,
  .hero__facts > div:nth-child(even) { padding: 13px 0; border-right: 0; }
  .hero__brief { padding: 25px; }
  .section__title { font-size: clamp(2.1rem, 11vw, 3rem); }
  .content-page__hero { padding: 25px; }
  .content-page__hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .btn,
  .tool-card,
  .tool-filter { transition: none !important; }
}


/* Information RGPD courte, affichée directement au point de collecte. */
.form-privacy-info {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(15, 42, 58, .16);
  border-left: 3px solid var(--copper, #c46a4a);
  border-radius: 12px;
  background: rgba(255, 255, 255, .46);
  font-size: .82rem;
  line-height: 1.55;
}
.form-privacy-info strong {
  color: var(--ink, #0f2a3a);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-privacy-info span {
  color: var(--muted, #365264);
}
.form-privacy-info a {
  width: fit-content;
  font-weight: 650;
}
