/* Police intégrée au site (aucun appel à un service extérieur) */
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #fafaf8;
  --fond-alt: #f2f1ed;
  --blanc: #ffffff;
  --encre: #0f1720;
  --encre-2: #1a2531;
  --texte: #1f2933;
  --gris: #5f6b76;
  --gris-clair: #9aa5af;
  --ligne: #e3e1db;
  --ligne-fonce: #2a3643;
  --accent: #2f5d50;
  --accent-fonce: #234a3f;
  --accent-clair: #e6efeb;
  --dore: #c8a96a;
  --rayon: 12px;
  --largeur: 1160px;
  --police: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--encre);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }

p { margin: 0 0 1em; }
a { color: inherit; }

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ligne);
}

.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--encre);
}

.logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.marque strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.2; }
.marque small { display: block; font-size: 0.8rem; color: var(--gris); line-height: 1.2; }

.menu { display: flex; align-items: center; gap: 32px; }

.menu a:not(.bouton) {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--gris);
  white-space: nowrap;
  transition: color 0.15s;
}

.menu a:not(.bouton):hover { color: var(--encre); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--blanc);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  border: 1px solid var(--accent);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }

.bouton .fleche { transition: transform 0.15s; }
.bouton:hover .fleche { transform: translateX(3px); }

.bouton.contour { background: transparent; color: var(--encre); border-color: var(--ligne); }
.bouton.contour:hover { border-color: var(--encre); }

.bouton.petit { padding: 9px 16px; font-size: 0.9rem; }

.sombre .bouton.contour { color: var(--blanc); border-color: var(--ligne-fonce); }
.sombre .bouton.contour:hover { border-color: var(--blanc); }

/* ---------- Commun ---------- */
section { padding: 104px 0; }

.alt { background: var(--fond-alt); }

.sombre { background: var(--encre); color: #c9d1d9; }
.sombre h1, .sombre h2, .sombre h3 { color: var(--blanc); }

.surtitre {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.surtitre::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.sombre .surtitre { color: var(--dore); }

.entete-section { max-width: 640px; margin-bottom: 56px; }
.entete-section p { color: var(--gris); font-size: 1.1rem; margin: 0; }
.sombre .entete-section p { color: #9aa5af; }

/* ---------- Accueil ---------- */
.accueil { padding: 96px 0 112px; position: relative; overflow: hidden; }

.accueil::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%);
  pointer-events: none;
}

.accueil .conteneur {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.accueil .intro { font-size: 1.18rem; color: #a9b4be; max-width: 520px; margin-bottom: 36px; }

.accueil h1 em { font-style: normal; color: var(--dore); }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 44px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--ligne-fonce);
  font-size: 0.93rem;
  color: #a9b4be;
}

.reperes li { display: flex; align-items: center; gap: 9px; }
.reperes svg { width: 17px; height: 17px; color: var(--dore); flex: none; }

/* ---------- Maquettes ---------- */
.fenetre {
  border-radius: 12px;
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid rgba(15, 23, 32, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 32, 0.06), 0 24px 60px -20px rgba(15, 23, 32, 0.28);
}

.sombre .fenetre { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6); }

.barre {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f4f4f2;
  border-bottom: 1px solid #e8e7e3;
}

.barre i { width: 9px; height: 9px; border-radius: 50%; background: #d9d8d3; }

.barre span {
  margin-left: 10px;
  flex: 1;
  max-width: 260px;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--blanc);
  color: #8a9097;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecran { background: var(--t-fond); color: var(--t-texte); font-size: 9px; line-height: 1.3; }

.mini-nav { display: flex; align-items: center; gap: 1.6em; padding: 1.5em 2em; font-size: 1.1em; }
.mini-nav b { margin-right: auto; font-size: 1.2em; letter-spacing: -0.02em; }
.mini-nav span { width: 3.2em; height: 0.45em; border-radius: 9px; background: currentColor; opacity: 0.3; }

.mini-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.4em; align-items: center; padding: 1.2em 2em 2.2em; }
.mini-hero small { display: block; font-size: 0.95em; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 0.7em; }
.mini-hero strong { display: block; font-size: 2.4em; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 0.6em; }

.mini-hero em {
  display: inline-block;
  font-style: normal;
  font-weight: 600;
  padding: 0.6em 1.2em;
  border-radius: 0.45em;
  background: var(--t-accent);
  color: var(--t-bouton);
}

.mini-photo { aspect-ratio: 4 / 3.4; border-radius: 0.8em; background: var(--t-photo); position: relative; overflow: hidden; }
.mini-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.mini-blocs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 0 2em 2em; }
.mini-blocs div { border-radius: 0.6em; background: var(--t-carte); padding: 1.1em; font-weight: 600; }
.mini-blocs div::after { content: ""; display: block; height: 0.4em; margin-top: 0.8em; width: 70%; border-radius: 9px; background: currentColor; opacity: 0.18; }

.t-boulangerie { --t-fond: #fbf6ee; --t-texte: #3b2414; --t-accent: #8a4b22; --t-bouton: #fff; --t-carte: #f2e6d4; --t-photo: #e9d2ad; }
.t-plomberie { --t-fond: #ffffff; --t-texte: #0f2a44; --t-accent: #1d5fa8; --t-bouton: #fff; --t-carte: #eef3f8; --t-photo: #d6e4f2; }
.t-coiffure { --t-fond: #171515; --t-texte: #f2ece8; --t-accent: #d7b49e; --t-bouton: #171515; --t-carte: #262322; --t-photo: #3a3330; }

/* ---------- Pour qui ---------- */
.pour-qui { padding: 34px 0; border-bottom: 1px solid var(--ligne); background: var(--blanc); }

.pour-qui .conteneur { display: flex; align-items: center; gap: 16px 36px; flex-wrap: wrap; }

.pour-qui p { margin: 0; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris-clair); }

.pour-qui ul { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 0; padding: 0; list-style: none; color: var(--gris); font-weight: 500; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }

.service { background: var(--blanc); padding: 40px; transition: background 0.2s; }
.service:hover { background: #fdfdfc; }

.service .icone {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-clair);
  color: var(--accent);
  margin-bottom: 24px;
}

.service .icone svg { width: 22px; height: 22px; }
.service p { color: var(--gris); margin: 0 0 18px; }

.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 0.82rem; padding: 4px 11px; border-radius: 999px; background: var(--fond-alt); color: var(--gris); }

/* ---------- Exemples ---------- */
.maquettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.maquettes figure { margin: 0; }
.maquettes .fenetre { transition: transform 0.25s, box-shadow 0.25s; }
.maquettes figure:hover .fenetre { transform: translateY(-6px); }
.maquettes .ecran { font-size: 6.4px; }

.maquettes figcaption { margin-top: 22px; color: var(--gris); font-size: 0.95rem; }
.maquettes figcaption b { display: block; color: var(--encre); font-size: 1.05rem; margin-bottom: 2px; }

.note { margin: 44px 0 0; font-size: 0.88rem; color: var(--gris-clair); }

/* ---------- Méthode ---------- */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: etape; border-top: 1px solid var(--ligne); }

.etapes li { counter-increment: etape; padding: 32px 28px 0 0; position: relative; }

.etapes li::before {
  content: "0" counter(etape);
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 18px;
}

.etapes li::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.etapes p { color: var(--gris); margin: 0; font-size: 0.97rem; }

/* ---------- À propos ---------- */
.apropos { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: start; }

.apropos .texte p { color: var(--gris); font-size: 1.08rem; }
.apropos .texte .accroche { color: var(--encre); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 1.2em; }

.fiche { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 8px 28px; }

.fiche-identite { display: flex; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }

.fiche-identite .avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--blanc);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  overflow: hidden;
}

.fiche-identite .avatar img { width: 100%; height: 100%; object-fit: cover; }
.fiche-identite strong { display: block; color: var(--encre); font-size: 1.1rem; }
.fiche-identite span { color: var(--gris); font-size: 0.92rem; }

.fiche dl { margin: 0; }
.fiche dl div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne); font-size: 0.95rem; }
.fiche dl div:last-child { border-bottom: 0; }
.fiche dt { color: var(--gris); }
.fiche dd { margin: 0; color: var(--encre); font-weight: 500; text-align: right; }

/* ---------- Engagements ---------- */
.engagements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--ligne); }
.engagements svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; }
.engagements h3 { font-size: 1.02rem; margin-bottom: 6px; }
.engagements p { color: var(--gris); font-size: 0.93rem; margin: 0; }

/* ---------- Questions ---------- */
.questions { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.questions .entete-section { margin-bottom: 0; }

.faq { border-top: 1px solid var(--ligne); }
details { border-bottom: 1px solid var(--ligne); }

summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--encre);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gris);
  border-bottom: 2px solid var(--gris);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}

details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { color: var(--gris); margin: -6px 0 0; padding: 0 40px 26px 0; }

/* ---------- Contact ---------- */
.contact .conteneur { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.contact .texte p { color: #9aa5af; font-size: 1.12rem; max-width: 480px; }

.coordonnees { display: grid; gap: 14px; }

.coordonnee {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--ligne-fonce);
  border-radius: var(--rayon);
  text-decoration: none;
  background: var(--encre-2);
  transition: border-color 0.15s, background 0.15s;
}

.coordonnee:hover { border-color: var(--dore); }

.coordonnee .icone { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(200, 169, 106, 0.12); color: var(--dore); }
.coordonnee .icone svg { width: 20px; height: 20px; }
.coordonnee small { display: block; font-size: 0.82rem; color: var(--gris-clair); }
.coordonnee strong { display: block; color: var(--blanc); font-size: 1.08rem; font-weight: 600; word-break: break-word; }

/* ---------- Pied de page ---------- */
footer { background: var(--encre); color: #7d8892; font-size: 0.88rem; border-top: 1px solid var(--ligne-fonce); }
footer .conteneur { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; }
footer a { color: #aab4bd; }

/* ---------- Page texte ---------- */
.page-texte { padding: 72px 24px 96px; max-width: 760px; }
.page-texte h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.page-texte h2 { font-size: 1.3rem; margin-top: 2em; }
.page-texte p { color: var(--gris); }
.page-texte a { color: var(--accent); }

/* ---------- Apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .revele.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
}

/* ---------- Tablettes ---------- */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .accueil { padding: 64px 0 80px; }
  .accueil .conteneur, .apropos, .questions, .contact .conteneur { grid-template-columns: 1fr; gap: 48px; }
  .menu a:not(.bouton) { display: none; }
  .maquettes { grid-template-columns: 1fr; max-width: 480px; }
  .maquettes .ecran { font-size: 8px; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .engagements { grid-template-columns: 1fr 1fr; }
}

/* ---------- Téléphones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .conteneur { padding: 0 20px; }
  .entete .conteneur { height: 64px; }
  .marque small { display: none; }
  .services { grid-template-columns: 1fr; }
  .service { padding: 30px 24px; }
  .etapes, .engagements { grid-template-columns: 1fr; }
  .actions .bouton { width: 100%; }
  .accueil .ecran { font-size: 6.5px; }
  .mini-blocs div:nth-child(3) { display: none; }
  .mini-blocs { grid-template-columns: 1fr 1fr; }
  details p { padding-right: 0; }
}
