/* Renovatio — site vitrine. Noir et blanc, une seule police (Inter, auto-hébergée). */

@font-face {
  font-family: "Inter";
  src: url("/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #0a0a0a;
  --text: #2b2b2b;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --tile: #f4f4f4;
  --tile-hover: #ebebeb;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Accès direct au contenu, visible au clavier seulement */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: 12px 16px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}
.skip:focus { left: 16px; top: 16px; }

/* Bandeau de préproduction — à retirer à la mise en ligne */
.preprod {
  margin: 0;
  padding: 8px var(--gutter);
  background: var(--tile);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

/* Étiquette des textes provisoires — à retirer une fois validés */
.todo {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  vertical-align: 0.2em;
  white-space: nowrap;
}

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand { display: inline-block; }
.brand img { width: auto; height: 30px; }

.site-nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 599px) {
  .site-nav .nav-optional { display: none; }
}

/* Titres et textes */
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { color: inherit; font-weight: 600; }

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.lead {
  max-width: 46ch;
  margin: 32px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

/* Accroche */
.hero { padding: clamp(72px, 12vw, 160px) 0 clamp(64px, 10vw, 128px); }

/* Sections */
.section {
  padding: clamp(64px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { max-width: 40ch; margin: 0; color: var(--muted); }

/* Le groupe */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
}

.card { position: relative; }

.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(168px, 22vw, 240px);
  padding: 24px;
  background: var(--tile);
  transition: background-color 0.2s ease;
}

/* Plaques des filiales ramenées à la même hauteur */
.card-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 36px;
}

@media (min-width: 760px) {
  .card-logo img { max-height: 44px; }
}

.card h3 {
  margin: 22px 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.card h3 a { text-decoration: none; }

/* Toute la carte est cliquable */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card p { max-width: 44ch; margin: 0; color: var(--text); }

.card .card-url {
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.card:hover .card-logo { background: var(--tile-hover); }

/* Ambition — bandeau noir */
.ambition {
  border-top: 0;
  background: var(--black);
  color: var(--white);
}
.ambition .eyebrow { color: #a3a3a3; }
.ambition .lead { color: #e6e6e6; }
.ambition .todo { color: #a3a3a3; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillars li { padding-top: 20px; border-top: 1px solid #3a3a3a; }
.pillars h3 { margin: 0 0 8px; font-size: 18px; }
.pillars p { margin: 0; color: #c2c2c2; }

.ambition .note { margin: clamp(40px, 6vw, 56px) 0 0; color: #a3a3a3; font-size: 15px; }

/* Contact */
.contact p { max-width: 52ch; margin: 20px 0 0; color: var(--text); }

.contact .email {
  margin-top: 28px;
  font-size: clamp(22px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact .email a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.contact .small { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Pied de page */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer-inner img { width: 32px; height: 32px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--ink); text-underline-offset: 4px; }
.footer-inner .footer-end { margin-left: auto; }

@media (max-width: 599px) {
  .footer-inner .footer-end { margin-left: 0; }
}

/* Pages de texte (mentions légales, 404) */
.page { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 128px); }
.page h1 { max-width: none; font-size: clamp(34px, 5vw, 56px); }
.page .intro { max-width: 60ch; margin: 20px 0 0; color: var(--muted); }

.legal { max-width: 68ch; margin-top: clamp(40px, 6vw, 64px); }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 10px; color: var(--text); }
.legal p:last-child { margin-bottom: 0; }

.back { margin: 40px 0 0; }
.back a { font-weight: 500; text-underline-offset: 5px; }
