@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext-0.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-1.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;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-ext-2.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-3.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;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-ext-2.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-3.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;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-ext-2.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Spline Sans Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/spline-sans-mono-latin-3.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 {
  --devanture: #0f4a3a;      /* vert bouteille des devantures */
  --devanture-fonce: #0a3529;
  --zinc: #e4e8e6;           /* le comptoir */
  --ticket: #fdfdfb;         /* papier thermique */
  --encre: #111a17;
  --encre-douce: #51605a;
  --fluo: #ffe53b;           /* étiquette de prix fluo */
  --tampon: #c8102e;         /* tampon dateur */
  --filet: #c5cdc9;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--zinc); color: var(--encre); font: 400 17px/1.55 var(--display); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tampon); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- la banne ---------- */
.banne { background: var(--devanture); color: #fff; position: relative; z-index: 2; }
.banne::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.085) 46px 92px); pointer-events: none; }
.banne::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; background: radial-gradient(circle at 23px 0, var(--devanture) 22px, transparent 23px) 0 0 / 46px 18px repeat-x; }
.banne-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 20px; }
.enseigne { font: 800 32px/1 var(--display); font-variation-settings: "wdth" 82; letter-spacing: -.01em; text-decoration: none; display: flex; align-items: baseline; gap: 12px; }
.enseigne small { font: 500 13px/1 var(--display); opacity: .8; letter-spacing: 0; }
.banne nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.banne nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.banne nav a:hover { border-bottom-color: var(--fluo); }

/* ---------- le comptoir : titre + ticket ---------- */
.comptoir { padding: 74px 0 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr); gap: 56px; align-items: start; }
h1 { font: 800 clamp(40px, 6.1vw, 82px)/.93 var(--display); font-variation-settings: "wdth" 78; letter-spacing: -.025em; margin: 0 0 26px; text-wrap: balance; }
.chapo { font-size: 20px; line-height: 1.45; max-width: 34ch; margin: 0 0 34px; color: #26332e; }
.saisie { background: #fff; border: 2px solid var(--encre); border-radius: 14px; padding: 22px 24px 24px; max-width: 470px; box-shadow: 6px 6px 0 var(--encre); }
.saisie label { display: block; font-weight: 600; margin-bottom: 12px; }
.montant { display: flex; align-items: baseline; gap: 10px; border-bottom: 3px solid var(--encre); padding-bottom: 6px; }
.montant input { border: 0; background: none; width: 100%; font: 700 46px/1 var(--display); font-variation-settings: "wdth" 80; color: var(--encre); padding: 0; min-width: 0; }
.montant input:focus { outline: none; }
.montant span { font: 700 34px/1 var(--display); }
.saisie input[type=range] { width: 100%; margin: 22px 0 8px; accent-color: var(--devanture); height: 28px; }
.reperes { display: flex; justify-content: space-between; font-size: 13px; color: var(--encre-douce); }
.note-saisie { font-size: 14px; color: var(--encre-douce); margin: 16px 0 0; }

.ticket { background: var(--ticket); font: 500 15px/1.5 var(--mono); padding: 30px 26px 40px; transform: rotate(1.6deg); transform-origin: 50% 0; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 22px 40px -18px rgba(8,30,23,.45);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, radial-gradient(circle at 8px 12px, transparent 7px, #000 7.5px) bottom / 16px 12px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, radial-gradient(circle at 8px 12px, transparent 7px, #000 7.5px) bottom / 16px 12px repeat-x; }
.ticket h2 { font: 600 15px/1.4 var(--mono); text-align: center; margin: 0; }
.ticket .tete { text-align: center; color: var(--encre-douce); font-size: 13px; margin: 2px 0 14px; }
.tirets { border: 0; border-top: 2px dashed var(--filet); margin: 14px 0; }
.ligne { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 7px 0; }
.ligne .nom { font-weight: 600; }
.ligne .taux { grid-column: 1; color: var(--encre-douce); font-size: 13px; }
.etiquette { font: 600 17px/1.2 var(--mono); white-space: nowrap; background: var(--fluo); padding: 3px 9px 2px; transform: rotate(-1.2deg); display: inline-block; }
.etiquette small { font-weight: 500; font-size: 11px; }
.ligne .etiquette { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.ticket .pied { font-size: 12.5px; color: var(--encre-douce); line-height: 1.45; margin: 0; }
.tampon { display: table; margin: 18px 4px 0 auto; border: 3px solid var(--tampon); color: var(--tampon); font: 600 12px/1.25 var(--mono); padding: 6px 10px; border-radius: 6px; transform: rotate(-7deg); text-align: center; opacity: .88; }

/* ---------- photos ---------- */
.vitrine { display: grid; grid-template-columns: 1.15fr 1.5fr 1.15fr; gap: 14px; margin: 54px 0 0; align-items: end; }
.vitrine figure { margin: 0; position: relative; height: 300px; background: repeating-linear-gradient(135deg, #d3dbd7 0 14px, #dbe2df 14px 28px); overflow: hidden; border-radius: 3px; }
.vitrine figure:nth-child(2) { height: 372px; }
.vitrine img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.03); }
.vitrine figcaption { position: absolute; left: 0; bottom: 14px; background: var(--fluo); font: 600 13px/1 var(--mono); padding: 6px 12px 5px 14px; }

/* ---------- sections ---------- */
section { padding: 96px 0 0; }
h2.titre { font: 800 clamp(30px, 3.9vw, 50px)/.98 var(--display); font-variation-settings: "wdth" 80; letter-spacing: -.02em; margin: 0 0 14px; max-width: 18ch; }
.intro { max-width: 60ch; margin: 0 0 36px; color: #26332e; }

/* ---------- les offres ---------- */
.offres { display: grid; gap: 14px; }
.offre { background: #fff; border-radius: 14px; display: grid; grid-template-columns: 210px minmax(0, 1fr) 210px; align-items: stretch; box-shadow: 0 1px 0 rgba(17,26,23,.08); overflow: hidden; }
.offre .qui { padding: 22px 22px 22px 24px; display: flex; gap: 14px; align-items: center; border-right: 2px dashed var(--filet); }
.pastille { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--devanture); color: #fff; display: grid; place-items: center; font: 800 21px/1 var(--display); font-variation-settings: "wdth" 85; }
.qui b { font: 700 22px/1.1 var(--display); font-variation-settings: "wdth" 85; display: block; }
.qui i { font-style: normal; font-size: 13px; color: var(--encre-douce); }
.faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.fait { padding: 20px 18px; border-right: 1px solid #e6ebe8; }
.fait:last-child { border-right: 0; }
.fait .lib { display: block; font-size: 12.5px; color: var(--encre-douce); margin-bottom: 6px; }
.fait b { font: 700 21px/1.12 var(--display); font-variation-settings: "wdth" 85; display: block; }
.fait .note { display: block; font-size: 13px; line-height: 1.3; color: var(--encre-douce); margin-top: 4px; }
.fait.np b { color: #8a9892; font-weight: 600; }
.offre .total { background: #f3f6f4; padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.total .pour { font-size: 12.5px; color: var(--encre-douce); line-height: 1.25; }
.total .etiquette { font-size: 20px; }
.jauge { width: 100%; height: 6px; background: #dfe6e2; border-radius: 3px; overflow: hidden; }
.jauge i { display: block; height: 100%; background: var(--devanture); border-radius: 3px; transition: width .35s ease; }
.bouton { display: inline-block; background: var(--encre); color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.bouton:hover { background: var(--devanture); }

/* ---------- lire un devis ---------- */
.lecture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte { background: var(--ticket); padding: 26px 24px 28px; position: relative; }
.carte::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: radial-gradient(circle at 8px 0, transparent 6px, var(--ticket) 6.5px) 0 0 / 16px 8px repeat-x; }
.carte svg { width: 54px; height: 54px; display: block; margin-bottom: 16px; }
.carte h3 { font: 700 23px/1.1 var(--display); font-variation-settings: "wdth" 85; margin: 0 0 8px; }
.carte p { margin: 0; font-size: 16px; color: #2c3934; }

.avis { background: var(--devanture-fonce); color: #eaf2ee; margin-top: 100px; padding: 68px 0 72px; }
.avis .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; }
.avis h3 { font: 700 22px/1.15 var(--display); font-variation-settings: "wdth" 85; margin: 0 0 10px; color: #fff; }
.avis p { margin: 0; font-size: 16px; color: #cfe0d8; }
footer { background: var(--devanture-fonce); color: #a9c0b6; font-size: 14px; padding: 0 0 40px; }
footer .wrap { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .comptoir { grid-template-columns: 1fr; gap: 44px; padding-top: 54px; }
  .ticket { transform: rotate(.8deg); }
  .banne nav { display: none; }
  .enseigne small { display: none; }
  .vitrine { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .vitrine figure, .vitrine figure:nth-child(2) { height: 200px; }
  .vitrine figure:nth-child(2) { grid-column: 1 / -1; grid-row: 1; height: 240px; }
  .offre { grid-template-columns: 1fr; }
  .offre .qui { border-right: 0; border-bottom: 2px dashed var(--filet); padding: 18px; }
  .faits { grid-template-columns: 1fr 1fr; }
  .fait { border-right: 0; border-bottom: 1px solid #e6ebe8; padding: 16px 18px; }
  .fait:nth-child(odd) { border-right: 1px solid #e6ebe8; }
  .offre .total { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 16px 18px; }
  .total .jauge { order: 3; }
  .lecture, .avis .cols { grid-template-columns: 1fr; }
  .avis .cols { gap: 30px; }
  section { padding-top: 72px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: sortie .9s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes sortie { from { clip-path: inset(0 0 100% 0); translate: 0 -18px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
}
/* Additions to the approved mock-up styles: inner pages, the calculator table, small fixes. */
.page { padding: 70px 0 0; }
.page h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.page .chapo { max-width: 52ch; }
.texte { background: var(--ticket); padding: 40px clamp(22px, 5vw, 56px) 48px; max-width: 820px; position: relative; margin-top: 30px; }
.texte::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: radial-gradient(circle at 8px 0, transparent 6px, var(--ticket) 6.5px) 0 0 / 16px 8px repeat-x; }
.texte h2 { font: 700 27px/1.1 var(--display); font-variation-settings: "wdth" 85; margin: 38px 0 10px; }
.texte h2:first-child { margin-top: 0; }
.texte p, .texte li { max-width: 62ch; }
.texte ul { padding-left: 20px; }
.texte li { margin-bottom: 6px; }
.texte a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--devanture); }
.formule { font: 500 15px/1.6 var(--mono); background: #f1f4f2; padding: 14px 16px; border-left: 4px solid var(--devanture); margin: 16px 0; overflow-wrap: break-word; }

.calcul { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 10px; }
.devis { background: #fff; border-radius: 14px; padding: 22px 24px 24px; }
.devis h2 { font: 700 22px/1.15 var(--display); font-variation-settings: "wdth" 85; margin: 0 0 6px; }
.devis p { margin: 0 0 16px; font-size: 15px; color: var(--encre-douce); }
.devis .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.devis label { font-size: 14px; font-weight: 600; display: block; }
.devis input { width: 100%; margin-top: 6px; font: 600 18px/1 var(--mono); padding: 10px 12px; border: 2px solid var(--encre); border-radius: 8px; background: #fff; color: var(--encre); }

.grille { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; margin-top: 34px; }
.grille caption { text-align: left; font-size: 15px; color: var(--encre-douce); padding: 0 0 12px; caption-side: top; }
.grille th, .grille td { padding: 15px 16px; text-align: left; border-bottom: 1px solid #e6ebe8; vertical-align: middle; font-size: 16px; }
.grille thead th { font-size: 12.5px; font-weight: 500; color: var(--encre-douce); background: #f3f6f4; }
.grille tbody th { font: 700 19px/1.15 var(--display); font-variation-settings: "wdth" 85; }
.grille tbody th small { display: block; font: 400 13px/1.3 var(--display); color: var(--encre-douce); }
.grille td.fort { white-space: nowrap; }
.grille tr.devis th, .grille tr.devis td { background: #fffbe0; }
.grille tr:last-child th, .grille tr:last-child td { border-bottom: 0; }
.apres { font-size: 15px; color: var(--encre-douce); max-width: 70ch; margin: 18px 0 0; }
.sansjs { display: table; }
.js .sansjs { display: none; }
.suite { display: inline-block; margin-top: 26px; font-weight: 600; }
.vitrine small { position: absolute; right: 8px; top: 8px; }

@media (max-width: 980px) {
  .page { padding-top: 50px; }
  .calcul { grid-template-columns: 1fr; }
  .grille thead { position: absolute; left: -9999px; }
  .grille, .grille tbody, .grille tr, .grille th, .grille td { display: block; }
  .grille tr { border-bottom: 2px dashed var(--filet); padding: 14px 0; }
  .grille th, .grille td { border: 0; padding: 4px 18px; }
  .grille td[data-lib]::before { content: attr(data-lib) " : "; color: var(--encre-douce); font-size: 13.5px; }
}
