/* Feuille de style unique, en CSS pur : pas de framework, pas de build.
   Modifiable directement dans un éditeur de texte. */

@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/dm-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('../fonts/dm-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --background: oklch(0.965 0.012 88);
  --foreground: oklch(0.19 0.035 253);
  --card: oklch(0.985 0.007 88);
  --card-foreground: oklch(0.19 0.035 253);
  --primary: oklch(0.19 0.035 253);
  --primary-foreground: oklch(0.97 0.012 88);
  --muted: oklch(0.91 0.018 88);
  --muted-foreground: oklch(0.48 0.03 253);
  --border: oklch(0.82 0.026 88);
  --ring: oklch(0.68 0.17 128);
  --lime: oklch(0.78 0.18 126);
  --font-sans: 'DM Sans Variable', 'Arial', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
/* Les <svg class="icon"> référencent un <symbol> interne (via <use>) : la
   balise <svg> elle-même n'a pas de viewBox, donc pas de ratio intrinsèque.
   Sans hauteur définie, le navigateur retombe sur sa taille par défaut
   (~150px). Comme toutes les icônes du sprite sont carrées, on force un
   ratio 1:1 : la hauteur se déduit alors de la largeur déjà fixée par les
   règles existantes (15px, 17px, 20px, 13px...). */
.icon { aspect-ratio: 1 / 1; flex-shrink: 0; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.announcement { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--primary); color: var(--primary-foreground); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.announcement-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--lime); }
.site-header { width: min(1160px, calc(100% - 40px)); margin: 0 auto; height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.05em; font-size: 18px; }
.brand span span { color: var(--lime); }
.brand small { color: var(--muted-foreground); font-family: var(--font-mono); font-weight: 500; font-size: 9px; letter-spacing: .1em; margin-left: 5px; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--lime); color: var(--primary); border-radius: 8px 8px 8px 2px; font-size: 17px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.main-nav > a:not(.nav-cta) { color: var(--muted-foreground); transition: color .2s ease; }
.main-nav > a:not(.nav-cta):hover { color: var(--foreground); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--primary); color: var(--primary-foreground); border-radius: 7px; }
.nav-cta svg, .icon { width: 15px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--foreground); }

.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 70px; align-items: center; padding: 70px 0 105px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted-foreground); font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 2px; background: var(--lime); }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.07em; line-height: .94; }
h1 { margin-top: 22px; font-size: clamp(48px, 6.7vw, 88px); font-weight: 800; }
h1 em, h2 em { color: var(--muted-foreground); font-style: normal; }
.hero-intro { max-width: 440px; margin-top: 28px; color: var(--muted-foreground); font-size: 16px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; }
.button-primary { background: var(--primary); color: var(--primary-foreground); }
.button-primary:hover { background: oklch(0.26 0.045 253); }
.button-quiet { color: var(--foreground); }
.button-quiet:hover { background: var(--muted); }
.button-outline { border-color: var(--border); color: var(--foreground); background: transparent; }
.button-outline:hover { border-color: var(--foreground); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; color: var(--muted-foreground); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 14px; color: oklch(0.53 0.13 126); }
.hero-visual { position: relative; padding: 12px 20px 35px 0; }
.image-frame { position: relative; overflow: hidden; aspect-ratio: 1.13 / 1; border-radius: 2px 66px 2px 2px; background: var(--primary); }
.image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, transparent 50%, oklch(0.18 0.035 253 / .28)); pointer-events: none; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-stamp { position: absolute; z-index: 1; top: 22px; right: 22px; display: grid; justify-items: end; color: var(--primary-foreground); font-family: var(--font-mono); }
.image-stamp span { color: var(--lime); font-size: 10px; letter-spacing: .18em; }
.image-stamp strong { font-size: 44px; letter-spacing: -.12em; line-height: 1; }
.image-stamp small { margin-top: 7px; font-size: 8px; line-height: 1.4; letter-spacing: .08em; text-align: right; }
.note-card { position: absolute; right: -5px; bottom: 0; display: flex; flex-direction: column; gap: 6px; width: 180px; padding: 17px; background: var(--lime); color: var(--primary); border-radius: 2px; box-shadow: 0 15px 25px oklch(0.19 0.035 253 / .16); }
.note-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; opacity: .65; }
.note-card strong { font-size: 15px; }
.note-detail { display: flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1.4; }
.note-detail svg { width: 13px; }

.services { padding: 0 0 112px; }
.section-heading h2, .contact h2 { margin-top: 18px; font-size: clamp(40px, 5vw, 64px); }
.section-heading h2 span { color: var(--muted-foreground); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 42px; }
.service-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: 152px; padding: 25px; border-radius: 4px; transition: transform .2s ease; }
.service-card:hover { transform: translateY(-4px); }
.service-card.lime { background: var(--lime); color: var(--primary); }
.service-card.paper { background: var(--card); border: 1px solid var(--border); }
.service-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid currentColor; border-radius: 50%; }
.service-icon svg { width: 20px; }
.service-card h3 { font-size: 19px; letter-spacing: -.04em; }
.service-card p { max-width: 260px; margin-top: 6px; color: color-mix(in oklab, currentColor 70%, transparent); font-size: 13px; line-height: 1.45; }
.service-arrow { width: 20px; }
.velo-note { margin-top: 28px; max-width: 640px; color: var(--muted-foreground); font-size: 13px; line-height: 1.6; }
.velo-note a { text-decoration: underline; color: var(--foreground); }

.proof-band { background: var(--primary); color: var(--primary-foreground); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 84px 0; }
.eyebrow.light { color: oklch(0.76 0.02 88); }
.proof-band h2 { margin-top: 18px; font-size: clamp(43px, 5vw, 66px); }
.price-list { display: flex; flex-direction: column; gap: 0; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border-bottom: 1px solid oklch(0.97 0.012 88 / .2); font-size: 15px; }
.price-row strong { color: var(--lime); font-size: 24px; letter-spacing: -.06em; }
.price-note { margin-top: 18px; color: oklch(0.76 0.02 88); font-size: 11px; line-height: 1.5; }
.proof-band .price-note a { color: var(--lime); text-decoration: underline; }
.contact { display: flex; justify-content: space-between; gap: 45px; align-items: end; padding: 105px 0; }
.contact-copy > p:last-child { max-width: 370px; margin-top: 25px; color: var(--muted-foreground); line-height: 1.55; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; width: min(100%, 330px); gap: 11px; }
.contact-actions .button { width: 100%; }
.contact-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 7px; color: var(--muted-foreground); font-family: var(--font-mono); font-size: 9px; }
.contact-meta svg { width: 13px; color: oklch(0.53 0.13 126); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 35px; padding: 27px 0 34px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 11px; line-height: 1.45; }
.footer-brand { color: var(--foreground); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; font-weight: 700; }
.footer-nav a { color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }
.back-top { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--foreground); font-weight: 700; }
.back-top svg { width: 14px; }

.page { padding: 70px 0 100px; }
.tariff-section { margin-top: 48px; }
.tariff-section h2 { font-size: clamp(28px, 3.5vw, 38px); letter-spacing: -.04em; margin-bottom: 18px; }
.tariff-group { margin-top: 24px; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: 4px; }
.tariff-group h3 { font-size: 15px; margin-bottom: 10px; }
.tariff-group .price-row { padding: 10px 0; font-size: 14px; }
.tariff-group .price-row strong { color: var(--foreground); font-size: 16px; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--foreground); }
.contact-form input[type='text'], .contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 7px; font: inherit; font-weight: 400; background: var(--card); color: var(--foreground);
}
.contact-upload { border: 1px dashed var(--border); border-radius: 7px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.contact-upload legend { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 0 4px; }
.contact-upload .hint { font-size: 11px; color: var(--muted-foreground); line-height: 1.5; }
.upload-field { position: relative; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.upload-field input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-field-highlight { background: var(--lime); color: var(--primary); border-color: transparent; }
.contact-side { display: flex; flex-direction: column; gap: 11px; }
.phone-unavailable { font-size: 12px; line-height: 1.55; color: var(--muted-foreground); padding: 12px 14px; border: 1px dashed var(--border); border-radius: 7px; }
.phone-button { padding: 8px 18px; }
.hidden-field { position: absolute; left: -9999px; }

.villes-list { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; list-style: none; padding: 0; }
.villes-list a { display: inline-flex; padding: 12px 4px; border-bottom: 1px solid var(--border); font-weight: 700; }

.legal-page section { margin-top: 32px; }
.legal-page h2 { font-size: 18px; margin-bottom: 10px; }
.legal-page p { color: var(--muted-foreground); line-height: 1.6; font-size: 14px; }

@media (max-width: 760px) {
  .shell, .site-header { width: min(100% - 32px, 580px); }
  .announcement { padding: 8px 16px; text-align: center; line-height: 1.3; }
  .site-header { height: 73px; }
  .menu-button { display: block; padding: 8px 0 8px 8px; }
  .menu-button svg { width: 22px; }
  .main-nav { position: absolute; z-index: 3; top: 105px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 14px 30px oklch(0.19 0.035 253 / .12); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 13px 12px; }
  .nav-cta { justify-content: center; margin-top: 7px; }
  .hero { display: flex; flex-direction: column; gap: 42px; padding: 51px 0 88px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(49px, 15vw, 74px); }
  .hero-intro { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .trust-row { margin-top: 30px; }
  .hero-visual { width: calc(100% - 8px); align-self: end; padding-right: 14px; }
  .image-frame { aspect-ratio: .95 / 1; border-radius: 2px 45px 2px 2px; }
  .services { padding-bottom: 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 140px; padding: 20px; }
  .proof-grid { grid-template-columns: 1fr; gap: 45px; padding: 70px 0; }
  .contact { flex-direction: column; align-items: stretch; padding: 80px 0; }
  .contact-actions { width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; gap: 16px 25px; }
  .site-footer p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
