/* V2 Signalétique — palette et type
   asphalte #13294a · chaux #f6f7f4 · ciel #dde9f5 · panneau #1d4fa3 · lumière taxi #ffc21a */
@font-face { font-family: "Overpass"; src: url("overpass-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --asphalt: #13294a;
  --ink: #1b2433;
  --muted: #4f5b6b;
  --chalk: #f6f7f4;
  --sky: #dde9f5;
  --signal: #1d4fa3;
  --signal-deep: #163d80;
  --amber: #ffc21a;
  --amber-ink: #2a1e00;
  --line: #d5dbe2;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.sg { margin: 0; background: var(--chalk); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); }
.sg img { max-width: 100%; height: auto; display: block; }
.sg a { color: inherit; }
.sg h1, .sg h2, .sg h3 { margin: 0; font-family: var(--font); color: inherit; letter-spacing: -.01em; }
.sg p { margin: 0; }
.sg svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sg-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--asphalt); color: #fff !important; padding: 10px 16px; border-radius: 8px; }
.sg-skip:focus { top: 12px; }
.sg :focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sg-wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.sg-kicker { font-size: .95rem; font-weight: 700; color: var(--signal); margin-bottom: 14px; }
.sg-kicker::first-letter { text-transform: uppercase; }

/* Buttons */
.sg-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--amber); color: var(--amber-ink) !important; font-weight: 800; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 2px 0 #c99500; }
.sg-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #c99500; }
.sg-btn svg { font-size: 1.1rem; }
.sg-btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.sg-btn--ghost { background: transparent; color: var(--asphalt) !important; box-shadow: inset 0 0 0 2px var(--asphalt); }
.sg-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--asphalt), 0 4px 0 var(--asphalt); }

/* Header */
.sg-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 247, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.sg-header.is-scrolled { border-bottom-color: var(--line); }
.sg-header__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.sg-logo img { width: 168px; }
.sg-nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; }
.sg-nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 3px no-repeat; transition: background-size .3s var(--ease); }
.sg-nav a:hover, .sg-nav a[aria-current] { background-size: 100% 3px; }
.sg-header__act { display: flex; align-items: center; gap: 18px; }
.sg-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: var(--asphalt) !important; }
.sg-burger { display: none; }

/* Hero */
.sg-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.sg-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sg-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; font-weight: 900; color: var(--asphalt); letter-spacing: -.025em; max-width: 13ch; }
.sg-hero__lead { margin-top: 24px; max-width: 58ch; color: var(--muted); font-size: 1.07rem; }
.sg-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 32px; }
.sg-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--signal) !important; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

.sg-hero__visual { position: relative; margin: 0; padding-top: 30px; }
.sg-photo { border-radius: 28px; overflow: hidden; background: var(--sky); aspect-ratio: 1 / 1; }
.sg-photo img { width: 100%; height: 100%; object-fit: cover; }
.sg-roof { position: absolute; top: 4px; left: 50%; translate: -50% 0; padding: 7px 28px 5px; font-weight: 900; letter-spacing: .14em; font-size: 1.05rem; color: var(--amber-ink); background: var(--amber); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); box-shadow: 0 0 0 rgba(255, 194, 26, 0); }
.sg-plates { position: absolute; left: -24px; bottom: 28px; display: grid; gap: 10px; }
.sg-plate { background: var(--signal); color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.35; padding: 12px 16px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--signal), inset 0 0 0 4px #fff, 0 10px 24px rgba(19, 41, 74, .22); max-width: 300px; }
.sg-plate strong { font-weight: 900; font-size: 1.05rem; white-space: nowrap; }

.sg-road { position: relative; height: 56px; margin-top: clamp(40px, 6vw, 72px); background: var(--asphalt); }
.sg-road::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; translate: 0 -50%; background: repeating-linear-gradient(90deg, #fff 0 46px, transparent 46px 92px); opacity: .85; }

/* Hero load sequence: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .sg-hero .sg-kicker, .sg-hero h1, .sg-hero__lead, .sg-hero__ctas { animation: sg-rise .7s var(--ease) both; }
  .sg-hero h1 { animation-name: sg-rise-t; animation-delay: .08s; }
  .sg-hero__lead { animation-delay: .16s; }
  .sg-hero__ctas { animation-delay: .24s; }
  .sg-photo { animation: sg-wipe 1s .2s var(--ease) both; }
  .sg-photo img { animation: sg-settle 1.6s .2s var(--ease) both; }
  .sg-roof { animation: sg-lamp 1s 1s steps(1, end) both, sg-glow 1.2s 1.6s ease-out both; }
  .sg-plate { animation: sg-plate .6s var(--ease) both; animation-delay: 1.25s; }
  .sg-plate + .sg-plate { animation-delay: 1.4s; }
  .sg-road::after { animation: sg-drive 2.6s cubic-bezier(.3, .6, .2, 1) both; }
}
@keyframes sg-rise { from { opacity: 0; transform: translateY(18px); } }
/* The H1 is the largest paint: it moves but never starts invisible. */
@keyframes sg-rise-t { from { transform: translateY(18px); } }
@keyframes sg-wipe { from { clip-path: inset(0 100% 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes sg-settle { from { transform: scale(1.08); } }
@keyframes sg-lamp { 0% { opacity: .25; } 20% { opacity: 1; } 32% { opacity: .35; } 46% { opacity: 1; } 58% { opacity: .5; } 70%, 100% { opacity: 1; } }
@keyframes sg-glow { from { box-shadow: 0 0 0 rgba(255, 194, 26, 0); } 40% { box-shadow: 0 0 36px rgba(255, 194, 26, .85); } to { box-shadow: 0 0 14px rgba(255, 194, 26, .45); } }
@keyframes sg-plate { from { opacity: 0; transform: translateX(-20px); } }
@keyframes sg-drive { from { background-position: 0 0; } to { background-position: 460px 0; } }

/* Réputation */
.sg-reputation { padding: clamp(56px, 8vw, 104px) 0; }
.sg-reputation__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sg-reputation article { padding: 0 clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--line); }
.sg-reputation article:first-child { padding-left: 0; border-left: 0; }
.sg-reputation article svg { font-size: 2rem; color: var(--signal); margin-bottom: 18px; }
.sg-reputation article p { color: var(--muted); font-size: 1rem; }
.sg-reputation article strong { display: block; color: var(--asphalt); font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.sg-reputation__close { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 2px solid var(--asphalt); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; color: var(--asphalt); max-width: 66ch; line-height: 1.5; }
.sg-reputation__close a { color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Services: direction signs */
.sg-services { background: var(--sky); padding: clamp(56px, 8vw, 104px) 0; }
.sg-services__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sg-services__head { position: sticky; top: 120px; }
.sg-services h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; font-weight: 900; color: var(--asphalt); }
.sg-signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sg-sign { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; padding: 22px 76px 22px 24px; background: var(--signal); color: #fff !important; text-decoration: none; border-radius: 10px 0 0 10px; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%); transition: transform .35s var(--ease), background-color .35s; }
.sg-sign::before { content: ""; position: absolute; inset: 4px 0 4px 4px; border: 2px solid rgba(255, 255, 255, .9); border-right: 0; border-radius: 7px 0 0 7px; pointer-events: none; clip-path: polygon(0 0, calc(100% - 42px) 0, calc(100% - 42px) 100%, 0 100%); }
.sg-sign__ico { font-size: 2.2rem; grid-row: span 2; }
.sg-sign__t { display: block; font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.sg-sign__d { display: block; margin-top: 4px; font-size: .98rem; line-height: 1.45; opacity: .9; }
.sg-sign__go { grid-column: 2; font-size: .9rem; font-weight: 800; color: var(--amber); }
.sg-sign:hover, .sg-sign:focus-visible { transform: translateX(10px); background: var(--signal-deep); }
@media (prefers-reduced-motion: no-preference) {
  .js .sg-signs li { opacity: 0; transform: translateX(-36px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .sg-signs li.is-in { opacity: 1; transform: none; }
}

/* Night band */
.sg-night { background: var(--asphalt); color: #fff; padding: clamp(56px, 8vw, 110px) 0; }
.sg-night .sg-kicker { color: var(--amber); }
.sg-night__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.sg-night h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; font-weight: 900; max-width: 22ch; }
.sg-clock { display: inline-block; margin-top: 10px; padding: 2px 14px; border-radius: 8px; background: #0c1b33; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sg-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.sg-perks article { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sg-perks svg { font-size: 1.9rem; color: var(--amber); }
.sg-perks h3 { margin: 14px 0 10px; font-size: 1.22rem; font-weight: 800; line-height: 1.25; }
.sg-perks p { color: #c4cedb; font-size: .98rem; }
.sg-perks strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }

/* Contact */
.sg-contact { background: var(--amber); }
.sg-contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sg-contact a { display: flex; align-items: center; gap: 16px; padding: 34px clamp(12px, 2vw, 28px); text-decoration: none; color: var(--amber-ink) !important; border-left: 1px solid rgba(42, 30, 0, .18); transition: background-color .25s; }
.sg-contact a:first-child { border-left: 0; }
.sg-contact a:hover { background: #ffd04d; }
.sg-contact svg { font-size: 2rem; }
.sg-contact span { display: grid; font-size: .95rem; }
.sg-contact strong { font-size: 1.2rem; font-weight: 900; overflow-wrap: anywhere; }

/* Footer */
.sg-footer { background: #0c1b33; color: #c4cedb; padding: 40px 0 72px; font-size: .95rem; }
.sg-footer__in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.sg-footer nav { display: flex; gap: 22px; margin-left: auto; }
.sg-footer a { text-decoration: none; }
.sg-footer a:hover { color: #fff; }
.sg-footer p { width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }

.sg-dock { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .sg-nav { gap: 18px; }
  .sg-tel { display: none; }
}
@media (max-width: 900px) {
  .sg-header__in { min-height: 70px; gap: 12px; }
  .sg-logo img { width: 138px; }
  .sg-burger { display: inline-grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--asphalt); color: #fff; cursor: pointer; }
  .sg-burger__bars, .sg-burger__bars::before, .sg-burger__bars::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .sg-burger__bars { position: relative; }
  .sg-burger__bars::before, .sg-burger__bars::after { content: ""; position: absolute; left: 0; }
  .sg-burger__bars::before { top: -6px; }
  .sg-burger__bars::after { top: 6px; }
  .sg-burger[aria-expanded="true"] .sg-burger__bars { background: transparent; }
  .sg-burger[aria-expanded="true"] .sg-burger__bars::before { transform: translateY(6px) rotate(45deg); }
  .sg-burger[aria-expanded="true"] .sg-burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .sg-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--chalk); border-bottom: 1px solid var(--line); }
  .js .sg-nav:not(.is-open) { display: none; }
  .sg-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .sg-header__act { display: none; }
  .sg-hero__grid, .sg-services__grid { grid-template-columns: 1fr; }
  .sg-hero__visual { max-width: 560px; }
  .sg-services__head { position: static; }
  .sg-reputation__grid { grid-template-columns: 1fr; gap: 34px; }
  .sg-reputation article { padding: 0; border-left: 0; }
  .sg-perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body.sg { font-size: 1rem; }
  .sg-hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .sg-hero__ctas .sg-btn { width: 100%; justify-content: center; }
  .sg-plates { position: static; margin-top: 14px; }
  .sg-plate { max-width: none; }
  .sg-sign { padding: 18px 58px 18px 18px; gap: 4px 14px; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%); }
  .sg-sign::before { clip-path: polygon(0 0, calc(100% - 30px) 0, calc(100% - 30px) 100%, 0 100%); }
  .sg-sign__ico { font-size: 1.7rem; }
  .sg-sign__t { font-size: 1.2rem; }
  .sg-perks { grid-template-columns: 1fr; gap: 30px; }
  .sg-contact__grid { grid-template-columns: 1fr; }
  .sg-contact a { border-left: 0; border-top: 1px solid rgba(42, 30, 0, .18); padding: 22px 0; }
  .sg-contact a:first-child { border-top: 0; }
  .sg-footer { padding-bottom: 120px; }
  .sg-footer nav { margin-left: 0; }
  .sg-dock { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: var(--asphalt); box-shadow: 0 12px 30px rgba(12, 27, 51, .35); }
  .sg-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-weight: 800; font-size: .95rem; text-decoration: none; color: #fff !important; }
  .sg-dock a:last-child { background: var(--amber); color: var(--amber-ink) !important; }
}
.sg-footer img { width: 150px; height: auto; }
