/* =====================================================================
   ÉCLAIRE VITRE — Design tokens & système
   Lavage de vitres · gouttières · pression — Montréal
   Couleurs imposées : Jaune #F5E320 · Bleu ciel #29ABE2 · Noir #1A1A1A · Blanc #FFFFFF
   ===================================================================== */

:root {
  /* ---- Couleurs de marque ---------------------------------------- */
  --jaune: #F5E320;          /* signature — le soleil */
  --jaune-press: #E4D200;    /* état pressé / hover d'un bloc jaune */
  --jaune-tint: #FDFAC9;     /* fond pâle */

  --bleu: #29ABE2;           /* ciel / vitre */
  --bleu-press: #1E8FC0;     /* hover */
  --bleu-tint: #E4F4FB;      /* fond pâle */

  --noir: #1A1A1A;           /* encre / structure */
  --blanc: #FFFFFF;          /* propre */

  /* ---- Neutres (froids, « verre propre ») ------------------------ */
  --paper: #FFFFFF;
  --paper-2: #F4F7F9;        /* fond de section alterné */
  --ink: #1A1A1A;
  --ink-70: rgba(26,26,26,.66);
  --ink-45: rgba(26,26,26,.45);
  --line: rgba(26,26,26,.12);
  --line-2: rgba(26,26,26,.22);
  --ink-strong: #1A1A1A;

  /* sur fond noir */
  --on-dark: #FFFFFF;
  --on-dark-70: rgba(255,255,255,.66);
  --on-dark-line: rgba(255,255,255,.16);

  /* ---- Typo ------------------------------------------------------ */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  /* ---- Rayons ---------------------------------------------------- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* ---- Ombres (froides, jamais chaudes) -------------------------- */
  --sh-1: 0 1px 2px rgba(26,26,26,.06), 0 2px 6px rgba(26,26,26,.05);
  --sh-2: 0 10px 30px rgba(26,40,52,.10), 0 2px 6px rgba(26,26,26,.06);
  --sh-lift: 0 18px 44px rgba(26,40,52,.16);

  /* ---- Grille 8px ------------------------------------------------ */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
}

/* =====================================================================
   Base
   ===================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--jaune); color: var(--noir); }
a { color: var(--bleu-press); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* =====================================================================
   Typo — classes utilitaires
   ===================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,5vw,52px); line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,3.4vw,36px); line-height: 1.06; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.lead { font-size: clamp(19px,2.2vw,22px); line-height: 1.45; color: var(--ink-70); font-weight: 400; }
.body { font-size: 17px; line-height: 1.6; }
.small { font-size: 14px; line-height: 1.5; }

/* étiquette mono — la « signature technique » du métier */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* =====================================================================
   Motif signature — le coup de raclette
   ===================================================================== */
.swipe {
  position: relative;
  overflow: hidden;
}
/* trait lumineux diagonal */
.swipe::after {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(108deg,
    transparent 0 38%,
    rgba(255,255,255,.0) 38%,
    rgba(255,255,255,.55) 46%,
    rgba(255,255,255,.0) 54%,
    transparent 62% 100%);
  pointer-events: none;
}

/* =====================================================================
   Marque compacte — monogramme « ÉV » (favicon, nav, petits formats)
   Dérivée du badge rond, lisible jusqu'à très petite taille.
   ===================================================================== */
.ev-mark {
  --s: 56px;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background:
    radial-gradient(118% 115% at 30% 22%, #FFF7B0 0%, #F8E84C 32%, var(--jaune) 58%, #E7D40B 84%, #D2C100 100%);
  position: relative;
  overflow: hidden;
  flex: none;
  box-shadow:
    0 3px 8px -2px rgba(150,130,0,.5),
    0 1px 2px rgba(26,26,26,.25),
    inset 0 1px 2px rgba(255,255,255,.95),
    inset 0 calc(var(--s)*-.07) calc(var(--s)*.13) rgba(120,104,0,.4),
    inset 0 0 0 calc(var(--s)*.045) var(--noir),
    inset 0 0 0 calc(var(--s)*.072) rgba(255,255,255,.5),
    inset 0 0 0 calc(var(--s)*.09) var(--noir);
}
/* reflet bombé — verni 3D */
.ev-mark::after {
  content: "";
  position: absolute;
  top: 9%; left: 16%; right: 16%; height: 36%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  z-index: 3;
  pointer-events: none;
}
/* éclat de verre qui balaie */
.ev-mark::before {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%;
  left: -30%; width: 22%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95), rgba(255,255,255,0));
  transform: skewX(-16deg);
  z-index: 2;
  animation: ev-glint 5s ease-in-out 1.4s infinite;
}
/* monogramme italique — élément réel (.evm) injecté par script */
.ev-mark .evm {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%) skewX(-7deg);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: calc(var(--s) * .42);
  letter-spacing: -.03em;
  color: var(--noir);
  z-index: 2;
  pointer-events: none;
}
.ev-mark.mono { background: radial-gradient(118% 115% at 30% 22%, #3a3a3a 0%, var(--noir) 60%, #050505 100%); }
.ev-mark.mono::before { opacity: .35; }
.ev-mark.mono::after { opacity: .3; }
.ev-mark.mono .evm { color: var(--jaune); }
.ev-mark.on-yellow { background: radial-gradient(118% 115% at 30% 22%, #3a3a3a 0%, var(--noir) 60%, #050505 100%); }
.ev-mark.on-yellow .evm { color: var(--jaune); }

/* balayage lumineux partagé par les marques */
@keyframes ev-glint {
  0%, 16%   { transform: translateX(0) skewX(-16deg); }
  34%, 100% { transform: translateX(620%) skewX(-16deg); }
}

/* =====================================================================
   Badge complet — le logo principal (version améliorée)
   ===================================================================== */
.ev-badge {
  --d: 180px;
  width: var(--d);
  height: var(--d);
  border-radius: 50%;
  background:
    radial-gradient(125% 118% at 30% 22%, #FFF7B2 0%, #F8E84C 30%, var(--jaune) 56%, #E7D40B 82%, #CFBE00 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow:
    0 22px 48px -16px rgba(150,130,0,.6),
    0 8px 18px -6px rgba(26,26,26,.3),
    inset 0 calc(var(--d)*.012) calc(var(--d)*.03) rgba(255,255,255,.92),
    inset 0 calc(var(--d)*-.07) calc(var(--d)*.14) rgba(120,104,0,.42),
    inset 0 0 0 calc(var(--d)*.016) var(--noir),
    inset 0 0 0 calc(var(--d)*.033) rgba(255,255,255,.5),
    inset 0 0 0 calc(var(--d)*.044) var(--noir);
}
/* reflet bombé supérieur — effet verni */
.ev-badge::before {
  content: "";
  position: absolute;
  top: 7%; left: 15%; right: 15%; height: 34%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,0));
  z-index: 2;
  pointer-events: none;
}
.ev-badge .shine {
  position: absolute;
  top: -12%; bottom: -12%;
  left: -42%; width: 30%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.88), rgba(255,255,255,0));
  transform: skewX(-16deg);
  z-index: 3;
  pointer-events: none;
  animation: ev-glint 5s ease-in-out 1s infinite;
}
.ev-badge .wm {
  position: relative;
  z-index: 1;
  text-align: center;
  transform: skewX(-9deg);
  padding: 0 8%;
}
.ev-badge .wm b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  color: var(--noir);
  line-height: .84;
  letter-spacing: -.025em;
  font-size: calc(var(--d) * .25);
  text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 -1px 1px rgba(120,104,0,.35);
}
.ev-badge .wm .rule {
  height: calc(var(--d)*.022);
  width: 58%;
  margin: calc(var(--d)*.05) auto 0;
  background: var(--bleu);
  border-radius: 999px;
}
.ev-badge.mono { background: radial-gradient(125% 118% at 30% 22%, #3a3a3a 0%, var(--noir) 58%, #050505 100%); }
.ev-badge.mono::before { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
.ev-badge.mono .wm b { color: var(--jaune); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.ev-badge.mono .wm .rule { background: var(--bleu); }
.ev-badge.ink { background: radial-gradient(125% 118% at 30% 22%, #3a3a3a 0%, var(--noir) 58%, #050505 100%); }
.ev-badge.ink .wm b { color: #fff; }

/* =====================================================================
   Wordmark
   ===================================================================== */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .92;
  text-transform: none;
}
.wordmark .ecl { color: inherit; }
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup .name { display: flex; flex-direction: column; }
.lockup .name .row1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: .9; }
.lockup .name .row2 { font-family: var(--font-mono); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .42em; color: var(--ink-70); margin-top: .35em; }

/* =====================================================================
   Boutons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--jaune); color: var(--noir); box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--jaune-press); box-shadow: var(--sh-2); }
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { background: #000; box-shadow: var(--sh-2); }
.btn-ghost { background: transparent; color: var(--noir); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--noir); }
.btn-blue { background: var(--bleu); color: var(--noir); }
.btn-blue:hover { background: var(--bleu-press); }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-sm { padding: 11px 16px; font-size: 14px; }

/* =====================================================================
   Étiquettes / chips
   ===================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--noir);
  color: var(--blanc);
}
.tag.yellow { background: var(--jaune); color: var(--noir); }
.tag.blue { background: var(--bleu); color: var(--noir); }
.tag.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }

/* =====================================================================
   Cartes
   ===================================================================== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-1);
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lift); border-color: var(--line-2); }
.service-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--bleu-tint);
  color: var(--noir);
  margin-bottom: 18px;
}
.service-ico svg { width: 28px; height: 28px; }

/* =====================================================================
   Échantillons couleur
   ===================================================================== */
.swatch {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.swatch .chip { height: 120px; display: flex; align-items: flex-end; padding: 12px; }
.swatch .meta { padding: 12px 14px 14px; }
.swatch .meta .nm { font-weight: 700; font-size: 15px; }
.swatch .meta .hx { font-family: var(--font-mono); font-size: 12px; color: var(--ink-70); letter-spacing: .04em; margin-top: 3px; }

/* =====================================================================
   Layout helpers
   ===================================================================== */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(56px,8vw,104px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--noir); color: var(--on-dark); }
.section.yellow { background: var(--jaune); color: var(--noir); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.grid { display: grid; gap: 22px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
