/* ==========================================================================
   Dylan Finitions – Peintures & Revêtements
   Feuille de style principale
   --------------------------------------------------------------------------
   Sommaire :
   1. Polices (hébergées localement : plus rapide et conforme RGPD)
   2. Variables (couleurs du logo, espacements…)
   3. Base & typographie
   4. Boutons
   5. En-tête & navigation
   6. Héros (haut de page)
   7. Sections génériques & cartes
   8. Blocs spécifiques (réassurance, process, avis, avant/après…)
   9. Galerie & lightbox
   10. Formulaire
   11. Pied de page
   12. Éléments flottants (barre mobile, retour en haut, cookies)
   13. Animations
   14. Responsive
   ========================================================================== */

/* 1. Polices --------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* 2. Variables ------------------------------------------------------------- */
:root {
  /* Couleurs reprises du logo */
  --ink: #0b0d12;          /* noir du logo */
  --ink-2: #151922;        /* noir légèrement éclairci */
  --ink-3: #1f2430;
  --red: #d7141b;          /* rouge du logo (assombri pour le contraste du texte blanc) */
  --red-bright: #fc0203;   /* rouge exact du logo, pour les accents */
  --blue: #006fd1;         /* bleu du logo (assombri pour le texte sur fond clair) */
  --blue-bright: #008cff;  /* bleu exact du logo, pour les accents sur fond sombre */
  --paper: #f6f4f0;        /* blanc cassé chaleureux */
  --white: #ffffff;
  --line: #e4e0d8;
  --text: #1a1d24;
  --muted: #5a606d;
  --muted-dark: #a9afbc;   /* texte secondaire sur fond sombre */

  --font-title: "Montserrat", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(11, 13, 18, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(11, 13, 18, 0.35);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.ic { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Texte à compléter : discret, mais facile à retrouver (rechercher « À COMPLÉTER ») */
.todo { background: rgba(255, 196, 0, .22); border-radius: 4px; padding: 0 4px; }

/* 4. Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent; background: transparent;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(215, 20, 27, .7); }
.btn--red:hover { background: #b80f15; color: var(--white); box-shadow: 0 14px 30px -10px rgba(215, 20, 27, .8); }
.btn--blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(0, 111, 209, .7); }
.btn--blue:hover { background: #005bb0; color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: .7em 1.15em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 5. En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 18, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 58px; height: 58px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-text span { font-size: .78rem; color: var(--muted-dark); letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #d9dce3; text-decoration: none; font-weight: 500; font-size: .97rem;
  position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--red-bright), var(--blue-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: var(--white);
  text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.header-phone .ic { color: var(--blue-bright); }
.header-phone:hover { color: var(--blue-bright); }
.burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15); background: transparent; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger .ic { width: 24px; height: 24px; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }

/* 6. Héros ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 140, 255, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(252, 2, 3, .14), transparent 60%),
    var(--ink);
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
  /* Trame discrète type « mur enduit » */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red-bright), var(--blue-bright)); }
.hero .eyebrow { color: #7cc2ff; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero h1 .hl-red { color: var(--red-bright); }
.hero h1 .hl-blue { color: var(--blue-bright); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c9cdd6; max-width: 36em; margin-bottom: 30px; }
.hero-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dfe2e8; font-size: .95rem; }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .ic { color: var(--blue-bright); }

/* Cadre photo inspiré des deux maisons du logo (rouge / bleu) */
.hero-visual { position: relative; padding: 18px 18px 0 0; }
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; border-radius: var(--radius); z-index: 0;
}
.hero-visual::before { inset: 0 0 30px 30px; border: 3px solid var(--blue-bright); }
.hero-visual::after { width: 120px; height: 120px; left: -14px; bottom: 6px; background: var(--red-bright); border-radius: 12px; opacity: .9; }
.hero-visual .media { position: relative; z-index: 1; aspect-ratio: 4 / 4.4; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; z-index: 2; right: -6px; bottom: -14px;
  background: var(--white); color: var(--ink); border-radius: 12px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero-badge .ic { width: 34px; height: 34px; color: var(--red); }
.hero-badge strong { display: block; font-family: var(--font-title); font-size: 1rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); }

/* En-tête des pages intérieures */
.page-hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(0, 140, 255, .2), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(252, 2, 3, .14), transparent 60%),
    var(--ink);
  padding: clamp(52px, 7vw, 88px) 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero p { color: #c9cdd6; max-width: 40em; font-size: 1.12rem; margin: 0; }
.page-hero .eyebrow { color: #7cc2ff; }
.breadcrumb { font-size: .88rem; color: var(--muted-dark); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted-dark); }
.breadcrumb a:hover { color: var(--white); }

/* 7. Sections & cartes ----------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #d4d7de; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: #7cc2ff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section-head p { color: var(--muted-dark); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(0, 111, 209, .1); color: var(--blue);
}
.icon-box .ic { width: 26px; height: 26px; }
.icon-box--red { background: rgba(215, 20, 27, .1); color: var(--red); }

/* Cartes services avec photo */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .media { aspect-ratio: 16 / 10; border-radius: 0; }
.service-card .media img { transition: transform .6s var(--ease); }
.service-card:hover .media img { transform: scale(1.05); }
.service-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; position: relative; }
.service-card-body .icon-box { position: absolute; top: -27px; left: 24px; background: var(--white); box-shadow: var(--shadow); margin: 0; }
.service-card h3 { margin-top: 26px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.link-arrow {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--blue);
}
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* Médias (images) avec repli élégant si la photo est absente */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 140, 255, .22), transparent 55%),
    linear-gradient(315deg, rgba(252, 2, 3, .2), transparent 55%),
    var(--ink-3);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-empty img { display: none; }
.media.is-empty::after {
  /* Indique le nom du fichier à ajouter dans /images */
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  color: rgba(255, 255, 255, .7); font-size: .82rem; font-family: var(--font-text); letter-spacing: .02em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='16' height='6' x='2' y='2' rx='2'/%3E%3Cpath d='M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/%3E%3Crect width='4' height='6' x='8' y='16' rx='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center calc(50% - 34px);
  padding-top: 60px;
}
/* Simulation d'un « avant » tant que les vraies photos avant/après ne sont pas ajoutées */
img.is-sim { filter: grayscale(.85) sepia(.25) brightness(.78) contrast(.9); }

/* 8. Blocs spécifiques ----------------------------------------------------- */
/* Bandeau de réassurance */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li { display: flex; align-items: center; gap: 14px; padding: 26px 18px; }
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list .ic { width: 30px; height: 30px; color: var(--red); }
.trust-list li:nth-child(even) .ic { color: var(--blue); }
.trust-list strong { display: block; font-family: var(--font-title); font-size: .98rem; color: var(--ink); line-height: 1.25; }
.trust-list span { font-size: .87rem; color: var(--muted); }

/* Pourquoi nous choisir */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item {
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 24px;
  transition: border-color .3s, transform .3s var(--ease);
}
.why-item:hover { border-color: rgba(0, 140, 255, .5); transform: translateY(-3px); }
.why-item .icon-box { background: rgba(0, 140, 255, .14); color: var(--blue-bright); }
.why-item:nth-child(2) .icon-box, .why-item:nth-child(3) .icon-box { background: rgba(252, 2, 3, .14); color: #ff5a5e; }
.why-item h3 { font-size: 1.08rem; margin-bottom: .4em; }
.why-item p { margin: 0; font-size: .95rem; color: var(--muted-dark); }
.why-visual { position: relative; }
.why-visual .media { aspect-ratio: 4 / 5; }
.why-quote {
  position: absolute; left: -24px; bottom: 32px; max-width: 280px;
  background: var(--red); color: var(--white); padding: 20px 22px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-family: var(--font-title); font-weight: 700; line-height: 1.35;
}
.why-quote small { display: block; margin-top: 8px; font-family: var(--font-text); font-weight: 500; opacity: .85; }

/* Process en 4 étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); color: var(--ink);
  font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; position: relative; z-index: 1;
  transition: background .3s, color .3s, border-color .3s;
}
.step:nth-child(odd) .step-num { border-color: var(--blue); color: var(--blue); }
.step:nth-child(even) .step-num { border-color: var(--red); color: var(--red); }
.step:hover .step-num { background: var(--ink); color: var(--white); border-color: var(--ink); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Avis clients */
.review { display: flex; flex-direction: column; gap: 14px; position: relative; }
.review .stars { display: flex; gap: 3px; color: #f5b301; }
.review .stars .ic { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 0; font-size: 1rem; color: var(--text); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.review .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-family: var(--font-title); font-weight: 700;
}
.review footer strong { display: block; color: var(--ink); }
.review footer span { color: var(--muted); }
.tag-example {
  position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255, 196, 0, .22); color: #6b5200; padding: 3px 8px; border-radius: 999px;
}

/* Avant / Après */
.ba {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  --pos: 50%; user-select: none; box-shadow: var(--shadow); background: var(--ink-3);
}
.ba .media { position: absolute; inset: 0; border-radius: 0; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; z-index: 2;
  background: var(--white); pointer-events: none;
}
.ba-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b0d12' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18-6-6 6-6'/%3E%3Cpath d='m15 6 6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 22px;
}
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba input[type="range"]:focus-visible + .ba-handle::after { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.ba-label {
  position: absolute; top: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  pointer-events: none;
}
.ba-label--before { left: 14px; background: rgba(11, 13, 18, .75); }
.ba-label--after { right: 14px; background: var(--red); }
.ba-caption { margin-top: 14px; font-weight: 600; color: var(--ink); }
.ba-caption span { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }

/* Zone d'intervention */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500;
}
.chips li.is-main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.map-box {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 28px; text-align: center; color: #cfd3db; font-size: .95rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 140, 255, .25), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(252, 2, 3, .2), transparent 55%),
    var(--ink);
}
.map-consent .ic { width: 44px; height: 44px; color: var(--red-bright); }
.map-consent strong { color: var(--white); font-family: var(--font-title); font-size: 1.15rem; }
.map-consent p { margin: 0; max-width: 30em; }

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; color: var(--white);
  padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(120deg, var(--red) 0%, #8e0e2a 45%, #003f80 75%, var(--blue) 100%);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .07);
}
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta-band .btn--white { background: var(--white); color: var(--ink); }
.cta-band .btn--white:hover { background: var(--ink); color: var(--white); }
.cta-band .btn-row { position: relative; z-index: 1; }

/* Page Services : blocs détaillés en alternance */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media .media { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ic { color: var(--white); background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; stroke-width: 3; }
.service-detail:nth-child(even) .check-list .ic { background: var(--red); }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.service-nav a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.service-nav a:hover { background: var(--white); color: var(--ink); }

/* À propos */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo .media { aspect-ratio: 4 / 5; }
.about-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  border: 3px solid var(--red-bright); z-index: -1;
}
.signature { font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin-top: 8px; }
.signature span { display: block; font-family: var(--font-text); font-weight: 500; font-size: .92rem; color: var(--muted); }
.cert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { display: flex; gap: 16px; align-items: flex-start; }
.cert .icon-box { margin: 0; flex: none; }
.cert h3 { font-size: 1.05rem; margin-bottom: .3em; }
.cert p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Pages texte (mentions légales…) */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: #3a3f4a; }

/* 9. Galerie & lightbox ---------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font: 600 .93rem var(--font-text); color: var(--ink); cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { margin: 0; }
.gallery-item.is-hidden { display: none; }
.gallery-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left;
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery-btn .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.gallery-btn .media img { transition: transform .6s var(--ease); }
.gallery-btn:hover .media img { transform: scale(1.06); }
.gallery-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(to top, rgba(11, 13, 18, .8), transparent 55%); pointer-events: none;
}
.gallery-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--white); pointer-events: none;
  font-weight: 600; line-height: 1.3;
}
.gallery-item figcaption span { display: block; font-size: .8rem; font-weight: 500; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.gallery-item { position: relative; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(6, 7, 10, .93); padding: 60px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox-figure .media { max-height: 78vh; aspect-ratio: 4 / 3; margin: 0 auto; width: min(100%, calc(78vh * 4 / 3)); }
.lightbox-figure img { object-fit: contain; background: #000; }
.lightbox-figure figcaption { color: #dfe2e8; margin-top: 14px; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-prev .ic { transform: rotate(180deg); }

/* 10. Formulaire ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 40px; align-items: start; }
.form-card { background: var(--white); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .94rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbf9;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 111, 209, .14); background: var(--white); }
.field input[type="file"] { padding: 10px; background: var(--paper); }
.field .hint { font-size: .84rem; color: var(--muted); }
.field .error { font-size: .85rem; color: var(--red); min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; display: none; font-weight: 500; }
.form-status.is-success { display: block; background: #e9f7ee; color: #145c2e; border: 1px solid #b7e2c5; }
.form-status.is-error { display: block; background: #fdecec; color: #8a1116; border: 1px solid #f3c1c3; }
.hp { position: absolute; left: -9999px; }

.info-card { background: var(--ink); color: #d4d7de; border-radius: 18px; padding: 32px; position: relative; overflow: hidden; }
.info-card h2 { color: var(--white); font-size: 1.45rem; }
.info-card::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 30px;
  background: var(--blue-bright); opacity: .18; transform: rotate(20deg);
}
.info-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; position: relative; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--blue-bright); }
.info-list .icon-box .ic { width: 22px; height: 22px; }
.info-list small { display: block; color: var(--muted-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.info-list a, .info-list strong { color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; }
.info-list a:hover { color: var(--blue-bright); }

/* 11. Pied de page --------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand img { width: 96px; height: 96px; border-radius: 10px; margin-bottom: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--blue-bright); margin-top: 3px; }
.footer-bottom {
  margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-stripe { height: 5px; background: linear-gradient(90deg, var(--red-bright) 0 50%, var(--blue-bright) 50% 100%); }

/* 12. Éléments flottants --------------------------------------------------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 18, .96); border-top: 1px solid rgba(255, 255, 255, .08);
  gap: 10px;
}
.mobile-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 10px; border-radius: 12px; font-family: var(--font-title); font-weight: 700; font-size: .95rem;
  text-decoration: none; color: var(--white);
}
.mobile-bar .mb-call { background: var(--red); }
.mobile-bar .mb-quote { background: var(--blue); }
.mobile-bar .mb-wa { background: #1fa855; flex: 0 0 52px; }
.mobile-bar .mb-wa .ic { width: 22px; height: 22px; }

.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 89; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 420px;
  background: var(--white); color: var(--text); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .4); border: 1px solid var(--line);
  font-size: .92rem; display: none;
}
.cookie.is-visible { display: block; animation: slideUp .4s var(--ease); }
.cookie p { margin: 0 0 14px; }
.cookie strong { font-family: var(--font-title); display: block; margin-bottom: 6px; color: var(--ink); }
.cookie .btn-row { gap: 8px; }

/* 13. Animations ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Sans JavaScript, tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }

/* 14. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .grid-4, .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { width: 50px; height: 50px; }
  /* le flou d'arrière-plan empêcherait le menu plein écran de s'afficher */
  .site-header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .burger { display: inline-flex; }
  .header-actions { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0;
    background: var(--ink); padding: 24px 20px; overflow-y: auto;
    opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { font-size: 1.2rem; padding: 16px 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--blue-bright); }
  .nav-mobile-cta { display: grid !important; gap: 12px; margin-top: 28px; }

  .hero-grid, .why-grid, .zone-grid, .about-grid, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
  .hero-visual { max-width: 520px; }
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .why-quote { left: 12px; }
  .about-photo { max-width: 480px; margin-right: 24px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
  .to-top { bottom: 92px; }
  .cookie { bottom: 88px; left: 12px; right: 12px; max-width: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .brand-text span { display: none; }
  .grid-2, .grid-3, .grid-4, .gallery, .why-list, .form-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { padding: 16px 4px; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { right: 8px; }
  .hero-visual::after { width: 80px; height: 80px; }
  .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 34px; }
  .cookie { padding: 16px; font-size: .86rem; }
  .cookie .btn-row .btn { flex: 1 1 0; }
}

.nav-mobile-cta { display: none; }

/* Boutons dans le menu mobile : on rétablit le style « bouton » */
.nav .nav-mobile-cta .btn { display: flex; padding: .95em 1.5em; border-radius: 999px; font-size: 1rem; font-weight: 700; color: var(--white); border-bottom-width: 2px; }
.nav .nav-mobile-cta .btn--ghost { border-color: rgba(255, 255, 255, .35); }

/* 15. Pour qui / réseau / fournisseurs ------------------------------------- */
.audience-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.audience-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--blue); }
.audience-card--pro::before { background: var(--red); }
.audience-card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.audience-card > p { color: var(--muted); }
.audience-card .check-list { margin-bottom: 22px; }
.audience-card--pro .check-list .ic { background: var(--red); }
.audience-card .btn { align-self: flex-start; margin-top: auto; }

.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.network-card { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 32px; }
.network-card p { color: var(--muted-dark); }
.network-card .icon-box { background: rgba(0, 111, 209, .18); color: #7cc2ff; }
.network-card--red .icon-box { background: rgba(252, 2, 3, .15); color: #ff5a5e; }
.trade-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trade-list li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .92rem; font-weight: 500; }
.brand-wall { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.brand-wall li {
  display: grid; place-items: center; text-align: center; min-height: 64px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-title); font-weight: 800; letter-spacing: .02em; color: #fff; font-size: 1.02rem;
}
.brand-wall li small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .74rem; color: var(--muted-dark); letter-spacing: 0; }
.brand-wall--light li { background: var(--white); border-color: var(--line); color: var(--ink); }
.brand-wall--light li small { color: var(--muted); }

.diploma-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.diploma { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.diploma .icon-box { margin: 0; flex: none; background: rgba(252, 2, 3, .08); color: var(--red); }
.diploma strong { display: block; font-family: var(--font-title); color: var(--ink); line-height: 1.25; }
.diploma span { font-size: .9rem; color: var(--muted); }
.diploma .mention { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8a6a00; background: rgba(255, 196, 0, .2); padding: 3px 9px; border-radius: 999px; }

/* 16. Avis clients ---------------------------------------------------------- */
.review .stars .ic.is-off { color: #d9dce2; }
.stars-input { border: 0; padding: 0; margin: 0 0 22px; }
.stars-input legend { font-weight: 600; font-size: .94rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.stars-input .req { color: var(--red); }
.stars-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-pick label { cursor: pointer; color: #d9dce2; padding: 2px; border-radius: 8px; transition: color .15s, transform .15s; }
.stars-pick label .ic { width: 42px; height: 42px; fill: currentColor; stroke-width: 1.5; }
.stars-pick label:hover, .stars-pick label:hover ~ label,
.stars-pick input:checked ~ label { color: #f5b301; }
.stars-pick label:hover { transform: scale(1.12); }
.stars-pick input:focus-visible + label { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.stars-text { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.stars-input .error { display: block; font-size: .85rem; color: var(--red); }

.avis-resume { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -18px 0 36px; }
.avis-resume[hidden] { display: none; }
.avis-moyenne { font-family: var(--font-title); font-size: 3rem; line-height: 1; color: var(--ink); }
.avis-resume .stars { display: flex; gap: 3px; color: #f5b301; }
.avis-resume .stars .ic { width: 22px; height: 22px; fill: currentColor; }
.avis-resume [data-nombre] { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
.avis-vide { max-width: 560px; margin: 0 auto; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px 24px; }
.avis-vide .stars { display: inline-flex; gap: 4px; color: #f5b301; margin-bottom: 10px; }
.avis-vide .stars .ic { width: 26px; height: 26px; fill: currentColor; }
.avis-vide p { margin: 0; color: var(--muted); }
.avis-vide strong { color: var(--ink); }
.avis-cta { text-align: center; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.avis-cta p { margin: 0; }
/* Avis Google */
.avis-google-box { background: #f4f8ff; border: 1px solid #cfe0fb; border-radius: 12px; padding: 20px 20px 22px; }
.avis-google-box p { color: var(--text); }
.avis-ou { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; color: var(--muted); font-size: .9rem; }
.avis-ou::before, .avis-ou::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.review-source { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #eef1f5; color: var(--muted); }
.review-source--google { background: #e8f0fe; color: #1a56c4; }
.review .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avis-google-lien { display: block; text-align: center; font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* Carte QR code imprimable */
.qr-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--paper); }
.qr-card {
  width: min(100%, 420px); margin: 0 auto; background: var(--white); border-radius: 22px; overflow: hidden; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.qr-card-head { background: var(--ink); color: var(--white); padding: 26px 24px 22px; }
.qr-card-head img { width: 84px; height: 84px; border-radius: 14px; background: #fff; margin: 0 auto; }
.qr-card-head h1 { color: var(--white); font-size: 1.45rem; margin: 12px 0 4px; }
.qr-card-head p { margin: 0; color: var(--muted-dark); font-size: .95rem; }
.qr-card-body { padding: 26px 24px 28px; }
.qr-card-body .stars { display: inline-flex; gap: 4px; color: #f5b301; }
.qr-card-body .stars .ic { width: 26px; height: 26px; fill: currentColor; }
.qr-code { width: 240px; height: 240px; margin: 14px auto; display: grid; place-items: center; }
.qr-code svg, .qr-code img { width: 100%; height: 100%; }
.qr-url { font-weight: 700; color: var(--ink); word-break: break-all; font-size: .95rem; }
.qr-card-foot { height: 8px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%); }
.qr-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
@media print {
  .qr-page { background: #fff; min-height: 0; padding: 0; }
  .qr-actions, .qr-help { display: none !important; }
  .qr-card { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 900px) {
  .network-grid, .diploma-band { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .network-card { padding: 24px; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-wall li { font-size: .9rem; padding: 10px 8px; }
}
