/* DOMOSSE — site vitrine. Palette alignée sur DOMOSSE Portail (vert sapin + gris perle, bandeau sapin). Aucune ressource externe : polices et images sont servies par le site lui-même. */

@font-face { font-family: "Inter"; src: url("fonts/inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --sapin: #1f4a3a;
  --sapin-profond: #163a2d;
  --sauge: #6E8B78;
  --sauge-clair: #9DB5A4;
  --lin: #eceef2;
  --papier: #f3f4f6;
  --surface: #ffffff;
  --encre: #1b1f22;
  --gris: #4a5059;
  --trait: #dde0e5;
  --bandeau-texte: #cfe3d8;
  --bandeau-survol: rgba(255, 255, 255, .14);

  --titre: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --texte: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --largeur: 1120px;
  --marge: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 17px/1.6 var(--texte);
  font-feature-settings: "kern", "liga", "calt";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sapin); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sauge); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--titre); color: var(--sapin); margin: 0; letter-spacing: -0.015em; }
h1 { font-weight: 700; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; }
h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
h3 { font-weight: 500; font-size: 20px; line-height: 1.3; }
p { margin: 0; }

.contenu { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.lead { font-size: 19px; color: var(--gris); max-width: 36em; }
.saut { position: absolute; left: -9999px; }
.saut:focus { left: 16px; top: 16px; background: var(--sapin); color: var(--lin); padding: 8px 14px; z-index: 10; }

/* En-tête */
.entete { background: var(--sapin); }
.entete :focus-visible { outline-color: #ffffff; }
.entete .contenu { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.entete .espace { margin-left: auto; }
.entete .nav + .espace { margin-left: 0; }
.entete .logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav { gap: 4px; }
.nav a { color: var(--bandeau-texte); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #ffffff; background: var(--bandeau-survol); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--texte); text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--sapin); color: var(--sapin); background: transparent;
}
.btn:hover { background: var(--lin); text-decoration: none; }
.btn.plein { background: var(--sapin); color: var(--lin); }
.btn.plein:hover { background: var(--sapin-profond); }
.espace { min-height: 40px; padding: 0 18px; border-color: rgba(255, 255, 255, .55); color: #ffffff; }
.entete .espace:hover { background: var(--bandeau-survol); border-color: #ffffff; }

/* Ouverture */
.ouverture { padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.ouverture .contenu { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ouverture h1 { max-width: 13em; }
.ouverture .lead { margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.schema { width: 100%; height: auto; }
.schema text { font-family: var(--texte); font-size: 19px; fill: var(--gris); }
.schema .fort { fill: var(--encre); font-weight: 600; }

/* Bandeau des engagements */
.engagements { background: var(--surface); padding: clamp(56px, 8vw, 96px) 0; }
.engagements h2 { max-width: 16em; }
.liste-engagements { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.liste-engagements h3 { margin-bottom: 8px; }
.liste-engagements p { color: var(--gris); max-width: 30em; }

/* Offre : le disque = compris, l'anneau = en option (le symbole du logo) */
.offre { padding: clamp(64px, 9vw, 112px) 0; }
.offre .lead { margin-top: 16px; }
.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; margin-top: 48px; }
.colonne h3 { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--sapin); }
.colonne ul { list-style: none; margin: 0; padding: 0; }
.colonne li { padding: 18px 0; border-bottom: 1px solid var(--trait); }
.colonne li strong { display: block; font-weight: 600; }
.colonne li span { color: var(--gris); font-size: 16px; }
.pastille { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.pastille.disque { background: var(--sauge); }
.pastille.anneau { border: 4px solid var(--sapin); }
.tarif { margin-top: 40px; padding: 28px 32px; border-radius: 16px; background: var(--surface); border: 1px solid var(--trait); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tarif strong { display: block; font-family: var(--titre); font-weight: 500; font-size: 18px; color: var(--sapin); margin-bottom: 4px; }
.tarif p { color: var(--gris); font-size: 16px; }

/* Déroulé */
.deroule { background: var(--sapin); color: var(--lin); padding: clamp(64px, 9vw, 112px) 0; }
.deroule h2 { color: var(--lin); }
.etapes { list-style: none; margin: 48px 0 0; padding: 0; counter-reset: etape; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.etapes li { counter-increment: etape; border-top: 1.5px solid var(--sauge-clair); padding-top: 20px; }
.etapes li::before { content: counter(etape); display: block; font: 700 15px/1 var(--titre); color: var(--sauge-clair); margin-bottom: 14px; }
.etapes h3 { color: var(--lin); margin-bottom: 8px; }
.etapes p { color: var(--bandeau-texte); font-size: 16px; }

/* Pour qui */
.pourqui { padding: clamp(64px, 9vw, 112px) 0; }
.pourqui .contenu { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pourqui .lead { margin-top: 16px; }
.secteurs { list-style: none; margin: 0; padding: 0; }
.secteurs li { padding: 18px 0; border-bottom: 1px solid var(--trait); display: grid; grid-template-columns: 13em 1fr; gap: 16px; }
.secteurs li:first-child { border-top: 1px solid var(--trait); }
.secteurs strong { font-weight: 600; }
.secteurs span { color: var(--gris); }
.reconditionne { margin-top: 24px; padding-top: 32px; border-top: 1.5px solid var(--sapin); grid-column: 1 / -1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.reconditionne p { color: var(--gris); }

/* Questions */
.questions { background: var(--surface); padding: clamp(64px, 9vw, 112px) 0; }
.questions .contenu { max-width: 880px; }
.questions details { border-bottom: 1px solid var(--trait); }
.questions details:first-of-type { margin-top: 40px; border-top: 1px solid var(--trait); }
.questions summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 3.5px solid var(--sapin); }
.questions details[open] summary::after { background: var(--sauge); border-color: var(--sauge); }
.questions details p { padding: 0 0 24px; color: var(--gris); max-width: 40em; }

/* Contact */
.contact { padding: clamp(64px, 9vw, 112px) 0; }
.contact .contenu { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.contact .lead { margin-top: 16px; }
.coordonnees { font-size: 18px; }
.coordonnees .courriel { font-weight: 500; font-size: 24px; font-family: var(--titre); }
.coordonnees p + p { margin-top: 12px; color: var(--gris); }

/* Pied de page */
.pied { background: var(--sapin-profond); color: #b9d6c6; padding: 48px 0; font-size: 15px; }
.pied .contenu { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.pied img { height: 24px; width: auto; }
.pied nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.pied a { color: var(--lin); }

/* Pages simples (mentions légales) */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page .contenu { max-width: 760px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 32px; }
.page h2 { font-size: 22px; margin: 40px 0 12px; }
.page p, .page li { color: var(--encre); }
.page p + p { margin-top: 12px; }
.a-completer { background: #FFF4D6; padding: 0 4px; border-radius: 3px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .entete .espace { margin-left: auto; }
  .ouverture .contenu, .pourqui .contenu, .contact .contenu, .reconditionne { grid-template-columns: 1fr; }
  .schema { max-width: 440px; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .tarif { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .liste-engagements, .colonnes, .etapes { grid-template-columns: 1fr; }
  .colonnes { gap: 40px; }
  .secteurs li { grid-template-columns: 1fr; gap: 2px; }
  .entete .logo img { height: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .tarif { padding: 24px; }
}
