@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  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;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bleu: #1d3a5f;        /* bleu de travail */
  --bleu-fonce: #13283f;
  --jaune: #f5c400;       /* jaune chantier, utilisé avec parcimonie */
  --encre: #172230;
  --gris: #586474;
  --trait: #d6dce4;
  --papier: #ffffff;
  --fond: #eef1f5;

  --wide: 118%;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 4.5vw, 3.6rem);
  --max: 1160px;
}

*, *::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;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--encre);
  background: var(--fond);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--bleu-fonce); }

:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 2px; }

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

h1, h2, h3 { font-stretch: var(--wide); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-3); font-weight: 800; }
h2 { font-size: var(--step-2); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }

/* Boutons */
.btn {
  display: inline-block;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  font-stretch: 105%;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primaire { background: var(--jaune); color: var(--encre); }
.btn-primaire:hover { background: #ffd31f; color: var(--encre); }
.btn-second { border-color: var(--bleu); color: var(--bleu); background: transparent; }
.btn-second:hover { background: var(--bleu); color: #fff; }

/* En-tête */
.entete { background: var(--papier); border-bottom: 1px solid var(--trait); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { font-weight: 850; font-stretch: 125%; font-size: 1.3rem; text-decoration: none; color: var(--bleu); letter-spacing: -0.02em; }
.logo span { color: var(--gris); font-weight: 500; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--encre); font-weight: 550; }
.nav a:hover { color: var(--bleu); text-decoration: underline; }
.nav .btn { padding: 9px 16px; }

/* Accroche */
.accroche { background: var(--papier); padding: 72px 0 88px; }
.accroche .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.accroche p.intro { margin-top: 22px; font-size: var(--step-1); color: var(--gris); max-width: 34ch; line-height: 1.45; }
.accroche .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.accroche .local { margin-top: 28px; font-size: var(--step--1); color: var(--gris); }

/* Le devis : l'élément signature */
.devis {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-top: 8px solid var(--bleu);
  border-radius: 4px;
  padding: 28px 30px 26px;
  box-shadow: 0 1px 0 var(--trait), 12px 14px 0 -2px var(--fond), 12px 14px 0 -1px var(--trait);
  font-size: 0.97rem;
}
.devis-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--trait); }
.devis-tete strong { font-stretch: var(--wide); font-size: 1.15rem; }
.devis-tete span { color: var(--gris); font-size: var(--step--1); }
.devis ul { list-style: none; margin: 8px 0 0; padding: 0; }
.devis li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; }
.devis li::after { content: none; }
.devis .libelle { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devis .points { flex: 1; border-bottom: 2px dotted #b9c2cd; transform: translateY(-4px); min-width: 16px; }
.devis .montant { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.devis .montant.inclus { color: var(--bleu); }
.devis .total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding: 14px 16px;
  background: var(--jaune); border-radius: 4px;
}
.devis .total span { font-weight: 650; }
.devis .total strong { font-stretch: var(--wide); font-size: 1.9rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.devis .total strong small { font-size: 0.95rem; font-weight: 650; font-stretch: 100%; }
.devis .conditions { margin-top: 14px; color: var(--gris); font-size: var(--step--1); line-height: 1.5; }

/* Sections */
.section { padding: 88px 0; }
.section-titre { max-width: 40ch; }
.section-titre p { margin-top: 14px; color: var(--gris); font-size: var(--step-1); line-height: 1.45; }

/* Étapes : vraie séquence, donc numérotée */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; border-top: 3px solid var(--bleu); padding-top: 20px; }
.etapes li::before {
  content: counter(etape);
  display: block;
  font-size: 3.2rem; font-weight: 850; font-stretch: 125%; line-height: 1;
  color: var(--bleu); margin-bottom: 14px;
}
.etapes p { margin-top: 10px; color: var(--gris); }

/* Exemples */
.exemples { background: var(--bleu); color: #fff; }
.exemples .section-titre p { color: #c9d5e4; }
.exemples-grille { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; margin-top: 48px; }

.onglets { display: flex; flex-wrap: wrap; gap: 10px; }
.onglets button {
  font: inherit; font-weight: 650; cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  background: transparent; color: #fff; border: 2px solid #6d87a8;
}
.onglets button:hover { border-color: #fff; }
.onglets button[aria-selected="true"] { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.exemple-texte { margin-top: 26px; max-width: 46ch; color: #dfe7f1; }
.exemple-texte h3 { color: #fff; margin-bottom: 10px; }
.exemple-texte .note { margin-top: 18px; font-size: var(--step--1); color: #a9bad0; }

/* Téléphone */
.telephone {
  width: 290px; height: 590px;
  border-radius: 40px; padding: 12px;
  background: #0d1a2a;
  box-shadow: 0 0 0 2px #40597a inset;
}
.ecran { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; color: var(--encre); position: relative; }
.demo { position: absolute; inset: 0; overflow-y: auto; font-size: 13px; line-height: 1.45; }
.demo[hidden] { display: none; }
.demo-haut { padding: 34px 18px 22px; color: #fff; }
.demo-haut .nom { font-size: 20px; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.demo-haut .ville { opacity: 0.85; margin-top: 4px; }
.demo-haut .note-google { margin-top: 12px; font-size: 12px; background: rgba(255,255,255,0.16); display: inline-block; padding: 4px 9px; border-radius: 4px; }
.demo-appel { display: block; margin: 16px 18px 0; padding: 12px; text-align: center; border-radius: 6px; font-weight: 750; color: #fff; text-decoration: none; }
.demo-corps { padding: 18px; }
.demo-corps h4 { margin: 0 0 8px; font-size: 14px; font-stretch: 110%; }
.demo-corps ul { margin: 0 0 18px; padding-left: 18px; }
.demo-corps li { margin: 3px 0; }
.demo-zone { background: var(--fond); border-radius: 6px; padding: 12px; }

/* Qui suis-je + FAQ */
.deux-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.moi p { margin-top: 16px; color: var(--gris); max-width: 42ch; }
.moi p:first-of-type { margin-top: 20px; }

.faq details { border-bottom: 1px solid var(--trait); }
.faq details:first-of-type { border-top: 1px solid var(--trait); margin-top: 20px; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 40px 18px 0; position: relative;
  font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 2.5px solid var(--bleu); border-bottom: 2.5px solid var(--bleu);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--gris); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Contact */
.contact { background: var(--papier); border-top: 1px solid var(--trait); }
.contact .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.contact p { margin-top: 14px; color: var(--gris); max-width: 50ch; font-size: var(--step-1); line-height: 1.45; }
.coordonnees { display: grid; gap: 10px; min-width: 300px; }
.coordonnees a.ligne {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 14px 18px; border: 2px solid var(--trait); border-radius: 6px;
  text-decoration: none; color: var(--encre); font-weight: 650;
}
.coordonnees a.ligne span { color: var(--gris); font-weight: 500; }
.coordonnees a.ligne:hover { border-color: var(--bleu); }

/* Pied de page */
.pied { background: var(--bleu-fonce); color: #b8c6d8; font-size: var(--step--1); padding: 28px 0; }
.pied .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pied a { color: #fff; }

/* Mentions légales */
.texte-legal { background: var(--papier); padding: 64px 0 88px; }
.texte-legal .wrap { max-width: 760px; }
.texte-legal h2 { font-size: var(--step-1); margin: 36px 0 10px; }
.texte-legal p { color: var(--gris); margin-top: 8px; }

/* Responsive */
@media (max-width: 920px) {
  .accroche .wrap, .deux-col, .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
  .exemples-grille { grid-template-columns: 1fr; gap: 40px; }
  .telephone { margin: 0 auto; order: 2; }
  .etapes { grid-template-columns: 1fr; gap: 32px; }
  .nav a:not(.btn) { display: none; }
  .coordonnees { min-width: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .accroche { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .devis { padding: 22px 18px; }
  .devis .total strong { font-size: 1.6rem; }
  .telephone { width: 260px; height: 530px; }
}
.coordonnees p.rappel { margin: 2px 0 6px; font-size: var(--step--1); color: var(--gris); max-width: 34ch; line-height: 1.45; }
