@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --creme: #F5F0E6;
  --papier: #ECE4D4;
  --encre: #17161A;
  --encre-douce: #4A4640;
  --rouge: #C0392B;
  --rouge-fonce: #9E2C20;
  --bretzel: #B0632A;
  --blanc: #FFFDF8;
  --rayon: 14px;
  --display: "Bricolage", "Avenir Next", "Segoe UI", sans-serif;
  --texte: "Bricolage", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--rouge-fonce); text-underline-offset: 3px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* En-tête */
.entete { padding: 22px 0; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.entete img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 600; padding: 10px 0; }
.nav a:hover { color: var(--rouge-fonce); }

/* Accroche */
.accroche { padding: 56px 0 96px; }
.accroche .conteneur { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
.accroche p { font-size: 1.25rem; color: var(--encre-douce); max-width: 34em; margin: 24px 0 36px; }
.bouton { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--encre); color: var(--creme); font-weight: 600; text-decoration: none; }
.bouton:hover { background: var(--rouge-fonce); color: var(--blanc); }
.lien-discret { margin-left: 20px; font-weight: 600; color: var(--encre); }

/* Sections */
section { padding: 96px 0; }
.section-papier { background: var(--papier); }
.intro-section { max-width: 40em; margin-bottom: 56px; }
.intro-section p { color: var(--encre-douce); font-size: 1.15rem; margin: 18px 0 0; }

.produit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.produit + .produit { margin-top: 112px; }
.produit.inverse .visuel { order: -1; }
.produit p { color: var(--encre-douce); margin: 16px 0 24px; }
.atouts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.atouts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.atouts svg { margin-top: 5px; }
.atouts strong { font-weight: 600; }
.etiquette { display: inline-block; margin-bottom: 14px; color: var(--bretzel); font-weight: 600; }

/* Maquette téléphone */
.telephone { width: 280px; margin-inline: auto; border: 10px solid var(--encre); border-radius: 40px; background: var(--blanc); padding: 20px 16px 22px; box-shadow: 18px 18px 0 var(--papier); }
.section-papier .telephone { box-shadow: 18px 18px 0 var(--creme); }
.tel-titre { font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
.plaque { display: flex; border: 2px solid var(--encre); border-radius: 7px; overflow: hidden; font-family: var(--mono); font-size: 1.35rem; background: #fff; }
.plaque .ue { background: #1F3E99; color: #fff; font-size: 0.7rem; display: flex; align-items: flex-end; padding: 4px 5px; }
.plaque .num { flex: 1; text-align: center; padding: 6px 0; letter-spacing: 0.04em; }
.tel-statut { font-size: 0.85rem; color: #2E6B3C; font-weight: 600; margin: 10px 0 14px; }
.vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.vignettes span { aspect-ratio: 1; border-radius: 6px; background: #C9C1B2; }
.vignettes span:nth-child(2n) { background: #A8A091; }
.vignettes span:nth-child(3n) { background: #8E8676; }
.tel-bouton { margin-top: 16px; background: var(--rouge); color: #fff; text-align: center; border-radius: 999px; padding: 12px; font-weight: 600; font-size: 0.95rem; }
.arbo { font-family: var(--mono); font-size: 0.8rem; color: var(--encre-douce); margin: 22px auto 0; width: fit-content; line-height: 1.7; }

/* Maquette intranet */
.fenetre { border: 2px solid var(--encre); border-radius: var(--rayon); background: var(--blanc); overflow: hidden; box-shadow: 18px 18px 0 var(--papier); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 2px solid var(--encre); background: var(--creme); }
.fenetre-barre i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--encre); }
.fenetre-barre span { margin-left: 10px; font-weight: 600; font-size: 0.9rem; }
.tableau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; font-size: 0.82rem; }
.colonne h4 { margin: 0 0 10px; font-size: 0.85rem; font-weight: 600; color: var(--encre-douce); }
.carte { border: 1.5px solid #D8CFBE; border-radius: 9px; padding: 9px 10px; margin-bottom: 8px; background: #fff; line-height: 1.35; }
.carte b { display: block; font-weight: 600; }
.carte em { font-style: normal; color: var(--encre-douce); font-size: 0.75rem; }
.carte.urgent { border-color: var(--rouge); }

/* Sur mesure */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: etape; }
.etapes li { border-top: 3px solid var(--encre); padding-top: 22px; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: block; font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--rouge); margin-bottom: 14px; }
.etapes p { color: var(--encre-douce); margin: 10px 0 0; }

/* À propos */
.apropos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.apropos p { margin: 0 0 18px; color: var(--encre-douce); font-size: 1.1rem; }
.apropos .hopla { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--encre); line-height: 1.3; }

/* Contact */
.contact { background: var(--encre); color: var(--creme); }
.contact h2 { color: var(--creme); }
.contact p { color: #CFC8BB; font-size: 1.15rem; max-width: 34em; }
.contact a.courriel { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 3rem); color: var(--creme); text-decoration-color: var(--rouge); text-decoration-thickness: 4px; text-underline-offset: 8px; word-break: break-word; }
.contact a.courriel:hover { color: #fff; text-decoration-color: var(--bretzel); }

/* Pied de page */
.pied { background: var(--encre); color: #A9A296; border-top: 1px solid #34322F; padding: 28px 0; font-size: 0.95rem; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.pied img { height: 38px; width: auto; }
.pied a { color: #DCD5C8; }

/* Mentions légales */
.legal { padding: 40px 0 96px; }
.legal .conteneur { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 12px; color: var(--encre-douce); }

@media (max-width: 860px) {
  .accroche .conteneur, .produit, .apropos { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .produit.inverse .visuel { order: 0; }
  .etapes { grid-template-columns: minmax(0, 1fr); }
  section { padding: 72px 0; }
  .accroche { padding: 32px 0 72px; }
  .tableau { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tableau .colonne:last-child { display: none; }
  .entete img { height: 44px; }
  .nav { gap: 18px; font-size: 0.95rem; }
  .accroche-visuel { display: none; }
  .lien-discret { display: inline-block; margin: 16px 0 0; }
}
