/* Opus Sites — variables, remise à zéro, typographie, en-tête, boutons, pied de page. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  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 {
  --fond: #ffffff;
  --gris: #f5f5f4;
  --noir: #141414;
  --texte: #141414;
  --doux: #6e6e73;
  --titre-gris: #6e6e73;
  --accent: #176b53;
  --trait: rgb(0 0 0 / .08);
  --police: 'Inter', system-ui, -apple-system, sans-serif;
  --sortie: cubic-bezier(.2, .8, .2, 1);
  --largeur: 1120px;
  --entete: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body { background: var(--fond); color: var(--texte); font-family: var(--police); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .25s; }
}

.evitement { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--noir); color: #fff; padding: 10px 16px; border-radius: 8px; }
.evitement:focus { top: 12px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.surtitre { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.titre-section { font-size: clamp(34px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.titre-section span { display: block; color: var(--titre-gris); }
.chapeau { margin-top: 18px; max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); color: var(--doux); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgb(0 0 0 / .06); }
.entete__in { max-width: var(--largeur); margin: 0 auto; padding: 0 20px; height: var(--entete); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* Logo (piste B) : « opus » noir, « sites » gris, point du i en vert */
.logo { font-weight: 700; font-size: 22px; letter-spacing: -.045em; line-height: 1; display: inline-flex; gap: .22em; }
.logo__sites { color: #8a8a8f; font-weight: 600; }
.logo__i { position: relative; }
.logo__i::after { content: ''; position: absolute; left: 50%; top: .13em; width: .19em; height: .19em; margin-left: -.095em; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: 28px; font-size: 14px; color: #3a3a3c; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texte); }
.nav a[aria-current="page"] { font-weight: 600; }

/* ---------- Boutons et liens ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--noir); color: #fff; font-weight: 500; border: 0; border-radius: 999px; padding: 12px 22px; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s var(--sortie); }
.bouton:hover { background: #000; }
.bouton:active { transform: scale(.97); }
.bouton--petit { padding: 8px 16px; font-size: 14px; }
.bouton--clair { background: #fff; color: var(--noir); }
.bouton--clair:hover { background: #ececec; }
.bouton--contour { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
.bouton--contour:hover { background: var(--noir); color: #fff; }
.lien { color: var(--accent); font-size: 17px; font-weight: 500; }
.lien:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.pied { background: var(--gris); border-top: 1px solid var(--trait); padding: 56px 0 32px; font-size: 14px; color: var(--doux); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied__texte { margin-top: 14px; max-width: 300px; }
.pied h2 { font-size: 13px; font-weight: 600; color: var(--texte); margin-bottom: 12px; }
.pied li + li { margin-top: 8px; }
.pied a:hover { color: var(--texte); }
.pied__bas { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 760px) {
  .nav { display: none; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__marque { grid-column: 1 / -1; }
}
