/* ==========================================================================
   MAX DESIGN GRAPHIQUE — alignement sur la maquette V4
   Chargée après v4.css. Ne change aucun contenu : typographie et mise en page.
   Les sélecteurs sont volontairement forts (html body, classes doublées) pour
   passer devant style.css et les surcharges en ligne de functions.php.
   ========================================================================== */

:root { --title: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; }

/* ---------- Titres : Inter Tight gras, seconde partie en gris doux, accent cyan ---------- */
html body .section-h.section-h,
html body .section-head h2,
html body .page-header h1,
html body .hero .hero-h,
html body .hero-editorial .hero-h,
html body .hero-about-h,
html body .cat-card .cat-title,
html body .proj-h,
html body section.cta h2,
html body .cta-band h2,
html body .cta-section h2,
html body .contact.contact h2,
html body .left-title,
html body .form-title,
html body .story h2,
html body .legal-page-wrap .page-title,
html body .legal-page-wrap .section-title,
html body .v4-slogan p {
  font-family: var(--title) !important;
  font-weight: 700 !important;
  letter-spacing: -.04em !important;
  line-height: .94 !important;
}
html body .svc .ttl,
html body .tl-step .ttl,
html body .svc-card .svc-title,
html body .legal-page-wrap .clause-title,
html body .v4-wk .pf .pf-client {
  font-family: var(--title) !important;
  font-weight: 600 !important;
  letter-spacing: -.03em !important;
}
html body :is(.section-h, .section-head h2, .page-header h1, .hero-h, .hero-about-h, .cat-title, .proj-h, .cta h2, .cta-band h2, .cta-section h2, .contact h2, .left-title, .form-title, .story h2, .page-title, .section-title, .svc .ttl) .it {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: var(--ink-mute) !important;
}
html body .section-h.section-h { font-size: clamp(40px, 5.6vw, 84px) !important; }
html body .hero .hero-h { font-size: clamp(54px, 8.6vw, 136px) !important; line-height: .9 !important; }
html body .hero .hero-h .it { font-size: .62em; letter-spacing: -.03em !important; }
html body .contact.contact h2 { font-size: clamp(52px, 8vw, 128px) !important; line-height: .88 !important; }
html body .contact .contact-arrow { display: none !important; }
html body .cta-band h2,
html body .cta-section h2,
html body section.cta h2 { font-size: clamp(40px, 5vw, 76px) !important; }

/* Fil d'Ariane et petites étiquettes en texte courant */
html body .breadcrumb,
html body .crumbs {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-mid) !important;
}
html body .breadcrumb a,
html body .crumbs a { color: var(--ink-mid) !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Menu : lien de la page en cours en cyan, sans pastille ---------- */
html body .nav-links a.active,
html body .nav-links li.current-menu-item > a,
html body .nav-links li.current_page_item > a,
html body .nav-links li.current-menu-ancestor > a {
  background: transparent !important;
  color: var(--accent) !important;
}

/* ---------- En-têtes des pages intérieures : titre sur une ligne, présentation dessous ---------- */
html body .page-header h1 { font-size: clamp(44px, 5.6vw, 88px) !important; }
html body .page-header h1 .row { display: inline; }
html body .page-header h1 .row.it { display: block; color: var(--accent) !important; }
html body .page-header h1:has(.row.it) .row.ac { color: var(--ink) !important; }
html body .page-header.page-header-flex,
html body .page-header:has(.header-left) { display: block !important; }
html body .page-header .header-left { margin-bottom: 28px; }
html body .page-header .header-right,
html body .page-header .sub-block {
  max-width: none !important;
  display: grid;
  grid-template-columns: minmax(0, 640px) auto;
  justify-content: space-between;
  align-items: end;
  column-gap: 64px;
}
html body .page-header .header-right > p,
html body .page-header .sub-block > .lead,
html body .page-header .sub-block > .pills { grid-column: 1; }
html body .page-header .header-right > .header-stats,
html body .page-header .sub-block > .stats-row {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  border-top: 0 !important;
  padding-top: 0 !important;
}
html body .page-header .page-header-inner { display: block !important; }
html body .page-header .page-header-inner > div:first-child { margin-bottom: 28px; }
html body .page-header .header-right > p,
html body .page-header .sub-block > .lead { margin-bottom: 20px; }
@media (max-width: 900px) {
  html body .page-header .header-right,
  html body .page-header .sub-block { grid-template-columns: 1fr; }
  html body .page-header .header-right > .header-stats,
  html body .page-header .sub-block > .stats-row { grid-column: 1; grid-row: auto; margin-top: 24px; }
}

/* Brochures & magazines : même logique de titre */
html body .hero-editorial .hero-h { font-size: clamp(44px, 5.6vw, 88px) !important; }
html body .hero-editorial .hero-h .it { color: var(--accent) !important; }
html body .proj-idx .n { display: none !important; }
html body .proj-idx { font-family: var(--sans) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; }
html body .proj-idx::after { content: none; }

/* ---------- Accueil ---------- */
/* Bandeau de mots-clés : déplacé sous le titre des services (assets/js/fx.js) */
html body #services .marquee {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 44px;
  overflow: visible;
}
html body #services .marquee-track {
  width: auto !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 10px 12px !important;
  padding: 0 !important;
}
html body .about {
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr) !important;
  gap: 48px 72px !important;
}
@media (max-width: 900px) { html body .about { grid-template-columns: 1fr !important; } }

/* ---------- À propos ---------- */
html body .hero-about-h { font-size: clamp(44px, 5.6vw, 88px) !important; }
html body .hero-about .hero-about-h .it { color: var(--accent) !important; }
html body .hero-about-sub .meta .v {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 22px !important;
}
/* Citation : bande cyan, texte aligné à gauche */
html body .quote-banner {
  background: var(--accent) !important;
  border-width: 0 !important;
  border-image: conic-gradient(var(--accent) 0 0) fill 0 // 0 100vmax !important;
  padding: 72px var(--pad-x) !important;
}
html body .quote-banner::before,
html body .quote-banner::after { display: none !important; }
html body .quote-banner .inner { text-align: left !important; max-width: 900px; margin: 0 !important; }
html body .quote-banner blockquote {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  line-height: 1.2 !important;
  color: var(--bg) !important;
  text-align: left !important;
}
html body .quote-banner blockquote::before { content: '« '; }
html body .quote-banner blockquote::after { content: ' »'; }
html body .quote-banner blockquote .ac { color: var(--bg) !important; }
html body .quote-banner .credit { justify-content: flex-start !important; color: var(--bg) !important; opacity: .75; }
html body .quote-banner .credit::before,
html body .quote-banner .credit::after { display: none !important; }
html body .quote-banner .credit b { color: var(--bg) !important; }
/* Parcours : filet cyan au-dessus de chaque étape */
html body .tl-step { border-top: 2px solid var(--accent) !important; padding-top: 22px !important; }
html body .tl-step .pip { display: none !important; }
html body .tl-step .year { font-family: var(--sans) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--accent) !important; }
/* Presse : coupures sur fond blanc, légende dessous */
html body .press-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start;
  gap: 8px 24px !important;
  columns: auto;
}
html body .press-grid > .press-card { grid-column: auto !important; grid-row: auto !important; }
@media (max-width: 1000px) { html body .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { html body .press-grid { grid-template-columns: 1fr !important; } }
html body .press-card {
  display: flex !important;
  flex-direction: column;
  break-inside: avoid;
  margin: 0 0 32px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
html body .press-card img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 12px !important;
  filter: none !important;
  transform: none !important;
}
html body .press-card .corner {
  position: static !important;
  order: 2;
  background: none !important;
  border: 0 !important;
  padding: 14px 0 0 !important;
  backdrop-filter: none !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-mid) !important;
}
html body .press-card .meta {
  position: static !important;
  order: 3;
  background: none !important;
  padding: 2px 0 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
html body .press-card .meta > div { display: flex; flex-direction: column; }
html body .press-card .meta .lbl { order: 1; font-family: var(--title) !important; font-weight: 600; font-size: 20px !important; letter-spacing: -.02em; color: var(--ink) !important; font-style: normal !important; }
html body .press-card .meta .cat { order: 2; font-family: var(--sans) !important; font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--accent) !important; }
html body .press-card .meta .arr { display: none !important; }
html body .press-card::after,
html body .press-card::before { display: none !important; }

/* Bande « Apportons votre pierre » : bleu nuit, sur une colonne */
html body section.cta:has(.mail) {
  display: block !important;
  background: var(--bg-2) !important;
  color: var(--ink) !important;
  border-image: conic-gradient(var(--bg-2) 0 0) fill 0 // 0 100vmax !important;
}
html body section.cta:has(.mail) h2 { color: var(--ink) !important; max-width: 900px; }
html body section.cta:has(.mail) h2 .it { color: var(--ink-mute) !important; opacity: 1; }
html body section.cta:has(.mail) h2 .ac { color: var(--ink-mute) !important; }
html body section.cta:has(.mail) .col-right { margin-top: 32px; }
html body section.cta:has(.mail) .eyebrow { color: var(--accent) !important; }
html body section.cta:has(.mail) .eyebrow > span:first-child { display: none !important; }
html body section.cta:has(.mail) .mail { color: var(--accent) !important; border-color: var(--accent) !important; }
html body section.cta:has(.mail) a.btn { background: var(--accent) !important; color: var(--accent-ink) !important; }
html body section.cta:has(.mail) a.btn .arrow { background: var(--accent-ink) !important; color: var(--accent) !important; }
html body section.cta:has(.mail) a.btn-ghost { background: transparent !important; color: var(--ink) !important; border: 0 !important; text-decoration: underline; text-underline-offset: 4px; }
html body section.cta:has(.mail) div[style*="color:var(--ink-mid)"] { color: var(--ink-mid) !important; opacity: 1 !important; }

/* ---------- Contact ---------- */
html body .left-content .left-title .ac { color: var(--ink) !important; }
html body .left-content .left-title .it { display: block; color: var(--accent) !important; font-size: 1em !important; }
html body .left-title { font-size: clamp(40px, 4.4vw, 64px) !important; }
html body .info-icon,
html body .social-btn .s-icon { display: none !important; }
html body .contact-infos { gap: 0 !important; }
html body .info-block {
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--v4-line) !important;
  border-radius: 0 !important;
  padding: 16px 0 !important;
  box-shadow: none !important;
}
html body .info-block:last-child { border-bottom: 1px solid var(--v4-line) !important; }
html body .info-block .info-value { font-weight: 600; }
html body a.info-block .info-value { color: var(--accent) !important; }
html body .social-btn {
  background: none !important;
  border: 0 !important;
  padding: 6px 0 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink) !important;
}
html body .form-title { font-size: clamp(30px, 3vw, 44px) !important; }

/* ---------- Mentions légales et confidentialité : titre à gauche, texte à droite ---------- */
html body .legal-page-wrap .page-title { font-size: clamp(44px, 5.6vw, 88px) !important; }
html body .legal-page-wrap .clause {
  display: grid !important;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  column-gap: 56px;
  padding: 36px 0 !important;
  border-top: 1px solid var(--v4-line) !important;
  border-bottom: 0 !important;
}
html body .legal-page-wrap .clause > * { grid-column: 2; }
html body .legal-page-wrap .clause > .clause-num { grid-column: 1; grid-row: 1; align-self: start; }
html body .legal-page-wrap .clause > .clause-title { grid-column: 1; grid-row: 1 / span 30; align-self: start; padding-top: 26px; font-size: 26px !important; line-height: 1.1 !important; }
html body .legal-page-wrap .clause-num { color: var(--accent) !important; font-size: 14px !important; }
@media (max-width: 900px) {
  html body .legal-page-wrap .clause { grid-template-columns: 1fr; }
  html body .legal-page-wrap .clause > *,
  html body .legal-page-wrap .clause > .clause-num,
  html body .legal-page-wrap .clause > .clause-title { grid-column: 1; grid-row: auto; }
}

/* ---------- Catégories : cartes « Ma démarche » sans pictogrammes ---------- */
html body .svc-card .svc-icon { display: none !important; }

/* ---------- Pied de page : marque puis trois colonnes alignées ---------- */
html body .foot-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
}
@media (max-width: 700px) { html body .foot-links { grid-template-columns: 1fr 1fr; } }

/* Services de l'accueil : titre sur une ligne */
html body .svc .ttl .it { display: inline !important; margin-left: .24em; }
/* À propos : pas de lettrine, citation sur toute la largeur */
html body .story .prose p:first-child::first-letter,
html body .story .prose > p:first-of-type::first-letter { all: unset; }
html body .quote-banner blockquote { max-width: none !important; }
/* Bandes cyan : tout le titre en bleu nuit (la partie secondaire un peu plus claire) */
html body .cta-band.cta-band h2 .it,
html body .cta-section.cta-section h2 .it,
html body section.cta:not(:has(.mail)) h2 .it { color: var(--bg) !important; opacity: .62; }
html body .cta-band.cta-band h2 .ac,
html body .cta-section.cta-section h2 .ac,
html body section.cta:not(:has(.mail)) h2 .ac { color: var(--bg) !important; }

/* Titres de section sans classe dédiée (parcours, presse…) */
html body .section-head h2 { font-size: clamp(40px, 5.6vw, 84px) !important; }
/* Citation plus présente */
html body .quote-banner blockquote { font-size: clamp(28px, 3.2vw, 46px) !important; max-width: 24em !important; }
/* Brochures : sous-titre à la même taille, chiffres lisibles */
html body .hero-editorial .hero-h .it { font-size: 1em !important; }
html body .hero-editorial .summary .v {
  font-family: var(--serif) !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: clamp(32px, 3.4vw, 48px) !important;
  color: var(--ink) !important;
}
/* Contact : colonne de gauche calée en haut */
html body .contact-page-split .left-panel { align-items: flex-start !important; justify-content: flex-start !important; }
html body .contact-page-split .left-content { margin-top: 0 !important; padding-top: clamp(32px, 5vh, 64px) !important; }

/* Pastilles posées sur les photos (« Ouvert aux projets », « Maxime · @ l'atelier ») : verre dépoli transparent */
html body .about-img .ticker,
html body .story-tag {
  background: rgba(27, 20, 100, .28) !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  -webkit-backdrop-filter: blur(8px) saturate(1.2) !important;
  backdrop-filter: blur(8px) saturate(1.2) !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  box-shadow: none !important;
}

/* ---------- Galeries des pages catégories : grille régulière, vignettes de même format ---------- */
html body .gallery-grid:has(.gallery-col) { display: block !important; }
html body .gallery-grid .gallery-col {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px !important;
}
html body .gallery-col .pf {
  margin: 0 !important;
  aspect-ratio: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  cursor: zoom-in;
  transform: none !important;
}
html body .gallery-col .pf img {
  position: static !important;
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 14px !important;
  background: var(--v4-card, #26207a);
  filter: none !important;
  transform: none !important;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s !important;
}
html body .gallery-col .pf.logo img { object-fit: contain; padding: 10%; box-sizing: border-box; }
html body .gallery-col .pf:hover img { transform: translateY(-4px) !important; box-shadow: 0 22px 44px -26px rgba(0, 254, 255, .55); }
html body .gallery-col .pf::after,
html body .gallery-col .pf .pf-zoom { display: none !important; }
html body .gallery-col .pf .pf-overlay {
  position: static !important;
  inset: auto !important;
  opacity: 1 !important;
  transform: none !important;
  background: none !important;
  padding: 14px 0 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
}
html body .gallery-col .pf .pf-client {
  font-family: var(--title) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  color: var(--ink) !important;
}
html body .gallery-col .pf .pf-type {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--accent) !important;
  margin: 0 !important;
}
html body .gallery-col .pf .pf-type::before { display: none !important; }
@media (max-width: 1100px) { html body .gallery-grid .gallery-col { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { html body .gallery-grid .gallery-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px !important; } }
html body .gallery-col .pf[style*="none"] { display: none !important; }

/* ---------- Catégories : « Ma démarche » en étapes numérotées, sans cartes ni puces ---------- */
html body .services-grid {
  counter-reset: mdg-step;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 0 clamp(28px, 4vw, 64px) !important;
}
html body .services-grid .svc-card {
  counter-increment: mdg-step;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-top: 1px solid var(--v4-line, rgba(200, 205, 240, .22)) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 0 40px !important;
  gap: 0 !important;
  overflow: visible !important;
}
html body .services-grid .svc-card:hover { transform: none; background: none !important; }
/* Repère cyan sur le filet, qui s'étire au survol */
html body .services-grid .svc-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px auto auto 0 !important;
  width: 44px !important;
  height: 2px !important;
  border-radius: 0 !important;
  background: var(--accent) !important;
  opacity: 1 !important;
  transition: width .6s cubic-bezier(.2, .7, .2, 1) !important;
}
html body .services-grid .svc-card:hover::before { width: 100% !important; }
html body .services-grid .svc-card::after {
  content: counter(mdg-step, decimal-leading-zero);
  order: -1;
  font-family: var(--title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
html body .services-grid .svc-card .svc-title {
  font-size: clamp(24px, 2.1vw, 30px) !important;
  line-height: 1.1 !important;
  margin: 0 0 14px !important;
}
html body .services-grid .svc-card .svc-desc {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--ink-mid) !important;
  margin: 0 0 20px !important;
  max-width: 40ch;
}
/* Les mots-clés : une ligne de texte discrète, séparée par des barres obliques */
html body .services-grid .svc-card .svc-list {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 0 !important;
  margin: auto 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body .services-grid .svc-card .svc-list li {
  display: inline !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-mute) !important;
  line-height: 1.7 !important;
}
html body .services-grid .svc-card .svc-list li::before { content: none !important; display: none !important; }
html body .services-grid .svc-card .svc-list li:not(:last-child)::after {
  content: "/" !important;
  display: inline !important;
  margin: 0 .55em !important;
  color: var(--accent) !important;
  opacity: .55;
  width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important;
}

/* ---------- Textiles & goodies : techniques numérotées et liste de supports façon catalogue ---------- */
html body .techniques-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
  gap: clamp(40px, 6vw, 112px) !important;
}
html body .techniques-list { counter-reset: mdg-tech; gap: 0 !important; }
html body .tech-card {
  counter-increment: mdg-tech;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr);
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-top: 1px solid var(--v4-line, rgba(200, 205, 240, .22)) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 0 40px !important;
  overflow: visible !important;
}
html body .tech-card:hover { transform: none !important; background: none !important; }
html body .tech-card .tech-icon { display: none !important; }
html body .tech-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px auto auto 0 !important;
  width: 44px !important;
  height: 2px !important;
  background: var(--accent) !important;
  transition: width .6s cubic-bezier(.2, .7, .2, 1) !important;
}
html body .tech-card:hover::before { width: 100% !important; }
html body .tech-card::after {
  content: counter(mdg-tech, decimal-leading-zero) !important;
  position: static !important;
  inset: auto !important;
  display: block !important;
  background: none !important;
  opacity: 1 !important;
  font-family: var(--title);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  grid-column: 1;
  grid-row: 1;
  padding-top: 8px;
}
html body .tech-card .tech-body { grid-column: 2; grid-row: 1; }
html body .tech-card .tech-title {
  font-family: var(--title) !important;
  font-weight: 600 !important;
  font-size: clamp(24px, 2.1vw, 30px) !important;
  letter-spacing: -.03em !important;
  line-height: 1.1 !important;
  margin: 0 0 14px !important;
}
html body .tech-card .tech-desc {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--ink-mid) !important;
  margin: 0 0 18px !important;
  max-width: 52ch;
}
html body .tech-card .tech-chips { display: flex !important; flex-flow: row wrap; gap: 0 !important; margin: 0 !important; }
html body .tech-card .tech-chip {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-mute) !important;
  line-height: 1.7;
}
html body .tech-card .tech-chip:not(:last-child)::after { content: "/"; margin: 0 .55em; color: var(--accent); opacity: .55; }

html body .products-column { gap: 48px !important; }
html body .product-group h4 {
  font-family: var(--title) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--accent) !important;
  margin: 0 0 6px !important;
}
html body .product-group h4::after { display: none !important; }
html body .product-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  gap: 0 32px !important;
}
html body .product-item {
  display: block !important;
  padding: 13px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--v4-line, rgba(200, 205, 240, .22)) !important;
  border-radius: 0 !important;
  background: none !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  color: var(--ink) !important;
  transition: color .25s, padding-left .35s cubic-bezier(.2, .7, .2, 1) !important;
}
html body .product-item:hover { color: var(--accent) !important; padding-left: 6px !important; background: none !important; }
html body .product-item .dot { display: none !important; }
@media (max-width: 900px) {
  html body .techniques-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  html body .tech-card { grid-template-columns: minmax(0, 1fr); }
  html body .tech-card::after { padding: 0 0 16px; }
  html body .tech-card .tech-body { grid-column: 1; grid-row: 2; }
}

/* ---------- Citation À propos : tout centré dans la bande cyan ---------- */
html body .quote-banner .inner {
  text-align: center !important;
  align-items: center !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}
html body .quote-banner blockquote { text-align: center !important; margin-left: auto !important; margin-right: auto !important; text-wrap: balance; }
html body .quote-banner .credit { justify-content: center !important; align-self: center !important; }

/* ---------- Presse : cadres de même taille, image entière (rien n'est rogné) ---------- */
html body .press-grid { align-items: stretch !important; }
html body .press-card img {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

/* ---------- Contact : disponibilité en simple texte à côté de l'accroche (plus de pastille) ---------- */
html body .left-content { display: flex !important; flex-wrap: wrap; align-items: baseline; }
html body .left-content > *:not(.avail-badge):not(.left-eyebrow) { flex: 0 0 100%; }
html body .left-content > .left-eyebrow { order: -2; margin: 0 0 28px !important; }
html body .left-content > .left-eyebrow::before { display: none !important; }
html body .left-content > .avail-badge {
  order: -1;
  display: inline !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  animation: none !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink-mid) !important;
}
html body .left-content > .avail-badge::before { content: "/"; margin: 0 .6em; color: var(--accent); opacity: .55; }
html body .left-content > .avail-badge .avail-dot { display: none !important; }
@media (max-width: 600px) {
  html body .left-content > .left-eyebrow { flex: 0 0 100%; margin: 0 0 6px !important; }
  html body .left-content > .avail-badge::before { content: none; }
}

/* ---------- Menu mobile : fond plein (le fond transparent de la barre de liens ne doit pas s'appliquer au menu ouvert) ---------- */
@media (max-width: 720px) {
  html body .nav.open .nav-links {
    background: #1b1464 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    inset: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
  }
}

/* ---------- Accueil mobile : titre et photo sur la même ligne ---------- */
@media (max-width: 760px) {
  html body .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 40%) !important;
    column-gap: 20px !important;
    row-gap: 0 !important;
    align-items: center;
    padding-top: 112px !important;
  }
  html body .hero .hero-left { display: contents !important; }
  html body .hero .hero-left > * { grid-column: 1 / -1; }
  html body .hero .hero-left > .hero-h {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    font-size: clamp(36px, 11.2vw, 58px) !important;
  }
  html body .hero .hero-left > .lede { margin-top: 36px !important; }
  html body .hero .hero-right {
    grid-column: 2;
    grid-row: 1;
    order: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 12px 0 0 !important;
    align-self: center;
  }
  html body .hero .hero-sq { left: -10px; top: -10px; width: 46%; border-radius: 10px; }
  html body .hero .hero-right img { border-radius: 12px !important; }
  html body .hero .hero-rate {
    left: auto !important; right: -6px !important; bottom: -18px !important;
    scale: .6; transform-origin: 100% 100%;
  }
  html body .hero .hero-scroll { display: none !important; }
}

/* ---------- Menu mobile : liste éditoriale alignée à gauche, numérotée, entrée en cascade ---------- */
@media (max-width: 720px) {
  html body .nav.open .nav-links {
    counter-reset: mdg-menu;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 112px 24px calc(28px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto;
    animation: mdg-menu-in .35s ease-out both;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) {
    counter-increment: mdg-menu;
    list-style: none;
    border-bottom: 1px solid var(--v4-line, rgba(200, 205, 240, .22));
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) both;
  }
  html body .nav.open .nav-links > li:nth-child(1) { border-top: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); animation-delay: .06s; }
  html body .nav.open .nav-links > li:nth-child(2) { animation-delay: .12s; }
  html body .nav.open .nav-links > li:nth-child(3) { animation-delay: .18s; }
  html body .nav.open .nav-links > li:nth-child(4) { animation-delay: .24s; }
  html body .nav.open .nav-links > li:nth-child(5) { animation-delay: .30s; }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a {
    display: flex !important;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0 !important;
    text-align: left !important;
    font-family: var(--title) !important;
    font-weight: 600 !important;
    font-size: clamp(30px, 9vw, 40px) !important;
    letter-spacing: -.035em !important;
    line-height: 1 !important;
    color: var(--ink) !important;
    background: none !important;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a::before {
    content: counter(mdg-menu, decimal-leading-zero);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--accent);
    min-width: 22px;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a::after {
    content: "\2192";
    margin-left: auto;
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink-mute);
    transition: transform .3s, color .3s;
  }
  html body .nav.open .nav-links > li > a.active,
  html body .nav.open .nav-links > li.current-menu-item > a,
  html body .nav.open .nav-links > li.current_page_item > a { color: var(--accent) !important; }
  html body .nav.open .nav-links > li > a:active::after { transform: translateX(4px); color: var(--accent); }
  html body .nav.open .nav-links > .menu-item-mobile-cta {
    margin-top: auto !important;
    padding: 32px 0 0 !important;
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) .34s both;
  }
  html body .nav.open .nav-links .mobile-nav-cta {
    display: flex !important;
    width: 100%;
    height: 56px !important;
    justify-content: space-between !important;
    padding: 0 10px 0 26px !important;
    font-family: var(--sans) !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }
  html body .nav.open .nav-links .mobile-nav-cta .arr { width: 36px !important; height: 36px !important; font-size: 15px !important; }
  html body .nav.open .nav-links::after {
    content: "contact@maxdesigngraphique.fr\A Lanester \00B7  pays de Lorient, Bretagne";
    white-space: pre;
    display: block;
    padding-top: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-mute);
    text-align: center;
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) .4s both;
  }
  @keyframes mdg-menu-in { from { opacity: 0; } }
  @keyframes mdg-menu-item { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  html body .nav.open .nav-links,
  html body .nav.open .nav-links > li,
  html body .nav.open .nav-links::after { animation: none !important; }
}

/* ---------- Galeries (catégories, brochures) : image entière, marges aux couleurs des bords de l'image ---------- */
html body .gallery-col .pf img { object-fit: contain !important; object-position: 50% 50% !important; background: var(--mat, var(--v4-card, #26207a)) !important; }
html body .gallery-col .pf::before { content: none !important; display: none !important; }
html body .gallery > .pic { background: var(--mat, var(--v4-card, #26207a)) !important; }
html body .gallery > .pic img { object-fit: contain !important; filter: none !important; }
html body .gallery > .pic:hover img { transform: scale(1.02); }

/* ---------- Accueil : « Ils m'ont fait confiance » plus visible ---------- */
html body .v4-clients-title {
  font-family: var(--title) !important;
  font-weight: 600 !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  letter-spacing: -.03em !important;
  line-height: 1.1 !important;
  color: var(--ink) !important;
  margin: 0 0 clamp(32px, 4vw, 52px) !important;
}
html body .v4-clients-in { padding-top: clamp(56px, 7vw, 96px) !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
html body .v4-clients-list { gap: 36px 72px !important; }
html body .v4-client { opacity: .92 !important; }
html body .v4-client--logo { height: calc(var(--h, 48px) * 1.15) !important; }
@media (max-width: 760px) {
  html body .v4-client--logo { height: calc(var(--h, 48px) * .8) !important; }
  html body .v4-clients-list { gap: 28px 36px !important; }
}

/* ---------- Accueil : le badge 5★ apparaît en douceur, sans attendre le défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  body:not(.elementor-editor-active) .hero .hero-rate { animation: mdg-tuck 1s cubic-bezier(.16, 1, .3, 1) 1s both; }
}

/* ---------- Accueil mobile : photo plus grande, qui déborde jusqu'au bord droit ---------- */
@media (max-width: 760px) {
  html body .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 47%) !important; column-gap: 16px !important; }
  html body .hero .hero-left > .hero-h { font-size: clamp(30px, 9.9vw, 54px) !important; }
  html body .hero .hero-right {
    margin-right: calc(-1 * var(--pad-x, 20px)) !important;
    width: calc(100% + var(--pad-x, 20px)) !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 14px 0 0 14px !important;
  }
  html body .hero .hero-right img { border-radius: 14px 0 0 14px !important; }
  html body .hero .hero-rate { right: 10px !important; }
}

/* ---------- Pied de page : bouton « Retour en haut » ---------- */
html body .foot-top { display: flex; justify-content: center; padding: 8px 0 36px; }
html body .to-top {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 8px 0 24px;
  border: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink) !important;
  text-decoration: none !important; transition: border-color .25s, background .25s;
}
html body .to-top .arr {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--bg); font-size: 17px; line-height: 1;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
html body .to-top:hover { border-color: var(--accent); background: rgba(0, 254, 255, .06); }
html body .to-top:hover .arr { transform: translateY(-3px); }

/* ---------- Bandes d'appel à l'action : empilées sur mobile (titre pleine largeur, bouton dessous) ---------- */
@media (max-width: 760px) {
  html body .cta-section,
  html body .cta-band {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 28px !important;
  }
  html body .cta-section .left,
  html body .cta-band > div:first-child { width: 100%; }
  html body .cta-section h2,
  html body .cta-band h2 { font-size: clamp(36px, 11vw, 52px) !important; }
  html body .cta-section .sub { max-width: none !important; }
  html body .cta-section .btn,
  html body .cta-band .btn { white-space: nowrap; }
  html body .cta-band { padding-left: var(--pad-x, 20px) !important; padding-right: var(--pad-x, 20px) !important; box-sizing: border-box; }
}

/* ---------- Menu plein écran aussi sur ordinateur : bouton « Menu » + grande liste numérotée ---------- */
@media (min-width: 721px) {
  html body .nav { display: flex !important; align-items: center; gap: 14px; }
  html body .nav .nav-brand { margin-right: auto; }
  html body .nav .nav-links { display: none !important; }
  html body .nav .burger {
    display: flex !important; position: relative; z-index: 1001;
    width: 52px; height: 52px; border: 1px solid var(--v4-line, rgba(200, 205, 240, .22));
    transition: border-color .25s, background .25s;
  }
  html body .nav .burger:hover { border-color: var(--accent); background: rgba(0, 254, 255, .06); }
  html body .nav.open .nav-brand { position: relative; z-index: 1001; }
  html body .nav.open > .nav-cta { visibility: hidden; }
  html body .nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  html body .nav.open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  html body .nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  html body .nav.open .nav-links {
    counter-reset: mdg-menu;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    grid-auto-rows: min-content;
    align-content: center;
    column-gap: clamp(48px, 8vw, 140px);
    position: fixed; inset: 0; width: 100%; height: 100dvh; margin: 0 !important;
    padding: 120px max(var(--pad-x, 40px), calc((100vw - 1280px) / 2)) 64px !important;
    box-sizing: border-box; overflow-y: auto; z-index: 1000;
    background: #1b1464 !important; border: 0 !important; border-radius: 0 !important;
    animation: mdg-menu-in .35s ease-out both;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) {
    grid-column: 1; counter-increment: mdg-menu; list-style: none;
    border-bottom: 1px solid var(--v4-line, rgba(200, 205, 240, .22));
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) both;
  }
  html body .nav.open .nav-links > li:nth-child(1) { border-top: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); animation-delay: .06s; }
  html body .nav.open .nav-links > li:nth-child(2) { animation-delay: .12s; }
  html body .nav.open .nav-links > li:nth-child(3) { animation-delay: .18s; }
  html body .nav.open .nav-links > li:nth-child(4) { animation-delay: .24s; }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a {
    display: flex !important; align-items: baseline; gap: 28px;
    padding: clamp(14px, 2.2vh, 26px) 0 !important; border-radius: 0 !important; background: none !important;
    font-family: var(--title) !important; font-weight: 600 !important;
    font-size: clamp(48px, 6.4vw, 96px) !important; letter-spacing: -.045em !important; line-height: 1 !important;
    color: var(--ink) !important; white-space: nowrap; transition: color .25s, padding-left .45s cubic-bezier(.2, .7, .2, 1);
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a::before {
    content: counter(mdg-menu, decimal-leading-zero);
    font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--accent); min-width: 26px;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a::after {
    content: "\2192"; margin-left: auto; align-self: center;
    font-family: var(--sans); font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; color: var(--ink-mute);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .25s;
  }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a:hover { color: var(--accent) !important; padding-left: 14px !important; }
  html body .nav.open .nav-links > li:not(.menu-item-mobile-cta) > a:hover::after { color: var(--accent); transform: translateX(8px); }
  html body .nav.open .nav-links > li > a.active,
  html body .nav.open .nav-links > li.current-menu-item > a,
  html body .nav.open .nav-links > li.current_page_item > a { color: var(--accent) !important; }
  /* Colonne de droite : bouton et coordonnées */
  html body .nav.open .nav-links > .menu-item-mobile-cta {
    display: block !important; grid-column: 2; grid-row: 2; align-self: center;
    margin: 0 !important; padding: 0 !important; width: auto;
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) .3s both;
  }
  html body .nav.open .nav-links .mobile-nav-cta {
    display: flex !important; width: 100%; height: 60px !important; justify-content: space-between !important;
    padding: 0 10px 0 28px !important; font-family: var(--sans) !important; font-size: 17px !important;
    text-transform: none !important; letter-spacing: 0 !important;
  }
  html body .nav.open .nav-links .mobile-nav-cta .arr { width: 40px !important; height: 40px !important; font-size: 16px !important; }
  html body .nav.open .nav-links::after {
    content: "contact@maxdesigngraphique.fr\A Lanester \00B7  pays de Lorient, Bretagne";
    white-space: pre; grid-column: 2; grid-row: 3; align-self: start; padding-top: 18px;
    font-size: 14px; line-height: 1.7; color: var(--ink-mute);
    animation: mdg-menu-item .6s cubic-bezier(.16, 1, .3, 1) .36s both;
  }
}
@media (min-width: 721px) and (prefers-reduced-motion: reduce) {
  html body .nav.open .nav-links,
  html body .nav.open .nav-links > li,
  html body .nav.open .nav-links::after { animation: none !important; }
}

@keyframes mdg-menu-in { from { opacity: 0; } }
@keyframes mdg-menu-item { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

/* ---------- Page 404 ---------- */
html body .e404 { padding: clamp(130px, 18vh, 190px) var(--pad-x, 24px) clamp(64px, 10vh, 120px); max-width: 1280px; margin: 0 auto; box-sizing: content-box; }
html body .e404-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); }
html body .e404-eyebrow { margin: 0 0 22px; font-size: 15px; font-weight: 600; color: var(--accent); }
html body .e404-h { margin: 0; font-family: var(--title) !important; font-weight: 700 !important; font-size: clamp(44px, 6.4vw, 92px) !important; line-height: .96 !important; letter-spacing: -.045em !important; color: var(--ink); }
html body .e404-h .row { display: block; }
html body .e404-h .ac { color: var(--accent); }
html body .e404-p { margin: 28px 0 0 !important; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-mid); }
html body .e404-actions { margin-top: 40px; }
html body .e404-right { display: flex; justify-content: center; }
html body .e404-num {
  display: flex; align-items: center; gap: .04em;
  font-family: var(--title); font-weight: 700; font-size: clamp(130px, 19vw, 300px); line-height: 1; letter-spacing: -.06em; color: var(--ink);
}
html body .e404-o {
  position: relative; display: inline-block; width: .78em; height: .78em; margin: 0 .04em;
  border: .15em solid var(--accent); border-radius: 50%; box-sizing: border-box;
}
/* Petit carré cyan qui tourne autour du « 0 », clin d'œil au carré de l'accueil */
html body .e404-o i {
  position: absolute; left: 50%; top: 50%; width: .19em; height: .19em; margin: -.095em 0 0 -.095em;
  background: var(--bg, #1b1464); border-radius: .03em;
  transform: rotate(0deg) translateX(.315em);
  animation: mdg-orbit 5s linear infinite;
}
@keyframes mdg-orbit { to { transform: rotate(360deg) translateX(.315em); } }
@media (prefers-reduced-motion: reduce) { html body .e404-o i { animation: none; } }
html body .e404-links { margin-top: clamp(64px, 10vh, 112px); }
html body .e404-links-t { margin: 0 0 14px; font-size: 15px; color: var(--ink-mute); }
html body .e404-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); }
html body .e404-links li { border-bottom: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); }
html body .e404-links a {
  display: flex; align-items: baseline; gap: 16px; padding: 20px 0;
  font-family: var(--title); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.02em; color: var(--ink) !important; text-decoration: none !important;
  transition: color .25s, padding-left .35s cubic-bezier(.2, .7, .2, 1);
}
html body .e404-links a .n { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--accent); }
html body .e404-links a .a { margin-left: auto; font-family: var(--sans); font-weight: 400; color: var(--ink-mute); transition: transform .3s, color .25s; }
html body .e404-links a:hover { color: var(--accent) !important; padding-left: 8px; }
html body .e404-links a:hover .a { color: var(--accent); transform: translateX(6px); }
@media (max-width: 900px) {
  html body .e404-in { grid-template-columns: 1fr; }
  html body .e404-right { order: -1; justify-content: flex-start; }
  html body .e404-num { font-size: clamp(96px, 30vw, 170px); }
  html body .e404-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 520px) {
  html body .e404-links ul { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Audit SEO 14/11/2026
   ========================================================================== */

/* Premier écran affiché immédiatement (LCP mobile) : plus d'effet d'entrée */
html body .page-header h1,
html body .page-header .header-left,
html body .page-header .header-right,
html body .header-right,
html body .sub-block,
html body .hero-about-h,
html body .hero-about-sub,
html body .left-title,
html body .left-desc,
html body .avail-badge,
html body .contact-infos,
html body .social-row,
html body .hero .hero-right img {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Téléphone dans la barre de navigation */
html body .nav .nav-tel {
  display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 18px;
  border: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0;
  color: var(--ink) !important; text-decoration: none !important; white-space: nowrap;
  transition: border-color .25s, background .25s;
}
html body .nav .nav-tel svg { color: var(--accent); flex: none; }
html body .nav .nav-tel:hover { border-color: var(--accent); background: rgba(0, 254, 255, .06); }
html body .nav.open > .nav-tel { visibility: hidden; }
@media (max-width: 900px) {
  html body .nav .nav-tel { width: 44px; height: 44px; padding: 0; justify-content: center; }
  html body .nav .nav-tel .nav-tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 720px) {
  html body .nav .nav-tel { margin-left: auto; margin-right: 10px; }
}

/* Téléphone sous l'e-mail (bloc contact de l'accueil) */
html body .contact .contact-tel {
  display: inline-block; margin-top: 14px;
  font-family: var(--sans); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600;
  color: var(--accent) !important; text-decoration: none !important;
}
html body .contact .contact-tel:hover { text-decoration: underline !important; text-underline-offset: 4px; }

/* Pied de page : quatre colonnes (Navigation, Légal, Contact, Réseaux) */
html body .foot-links { grid-template-columns: repeat(4, auto); justify-content: space-between; column-gap: 32px; }
@media (max-width: 1240px) { html body .foot-links { grid-template-columns: 1fr 1fr; justify-content: stretch; } }
@media (max-width: 420px) { html body .foot-contact a { overflow-wrap: anywhere; } }
html body .foot-contact address { font-style: normal; font-size: 14px; color: var(--ink-mid); line-height: 1.5; }
html body .foot-contact a[href^="tel:"] { color: var(--accent) !important; font-weight: 600; }

/* Bande d'appel à l'action : pages liées (maillage interne) */
html body .mdg-related { max-width: var(--maxw, 1320px); margin: 28px auto 0; padding-bottom: clamp(56px, 8vw, 96px); }
html body .mdg-related-title {
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-mid); margin: 0 0 14px;
}
html body .mdg-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
html body .mdg-related a {
  display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box;
  padding: 18px 20px; border: 1px solid var(--v4-line, rgba(200, 205, 240, .22)); border-radius: 16px;
  color: var(--ink) !important; text-decoration: none !important; transition: border-color .25s, background .25s;
}
html body .mdg-related a .l { font-family: var(--title); font-weight: 700; font-size: 18px; }
html body .mdg-related a .d { color: var(--ink-mid); font-size: 14px; flex: 1; }
html body .mdg-related a .arr { margin-left: auto; color: var(--accent); transition: transform .25s; }
html body .mdg-related a:hover { border-color: var(--accent); background: rgba(0, 254, 255, .06); }
html body .mdg-related a:hover .arr { transform: translateX(4px); }
@media (max-width: 760px) { html body .mdg-related { padding-left: var(--pad-x, 20px); padding-right: var(--pad-x, 20px); } html body .mdg-related a { flex-wrap: wrap; } html body .mdg-related a .d { flex-basis: 100%; order: 3; } }
/* ===== Avis : vraies étoiles (sobres, couleur d'accent) ===== */
#testimonials .g-stars { display: flex; gap: 4px; margin-bottom: 12px; color: var(--accent, #00feff); line-height: 0; }
#testimonials .g-stars svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ===== Sans pastilles : mots-clés des pages catégorie + dates des avis en texte simple ===== */
html body .pills { gap: 6px 0 !important; align-items: baseline; }
html body .pills .pill,
html body .testi .pill {
  background: none !important; border: 0 !important; border-radius: 0 !important;
  padding: 0 !important; box-shadow: none !important; backdrop-filter: none !important;
}
html body .pills .pill::before,
html body .testi .pill::before { content: none !important; display: none !important; }
html body .pills .pill { color: var(--ink-mid, #c9cbe6) !important; font-size: 13px !important; }
html body .pills .pill:not(:last-child)::after { content: "/"; margin: 0 12px; color: var(--accent, #00feff); opacity: .7; }
html body .testi .pill { color: var(--ink-mute, #8b8fc0) !important; }
/* ===== Réalisations de l'accueil : une dernière ligne de 2 projets est centrée ===== */
@media (min-width: 1001px) {
  html body .pf-grid.v4-wk > .pf:nth-child(4n+1):nth-last-child(2) { grid-column: 2; }
}

/* ===== Boutons : icône « envoi » (avion en papier) à gauche du libellé, à la place de la flèche =====
   Pour changer l'icône : remplacer assets/img/icon-message.svg (forme pleine ou trait,
   la couleur vient du bouton). */
html body .btn.btn.btn .arrow.arrow.arrow,
html body .nav-cta.nav-cta.nav-cta .arr.arr.arr,
html body .nav.open .nav-links .mobile-nav-cta.mobile-nav-cta .arr.arr.arr,
html body .submit-btn.submit-btn .submit-arrow.submit-arrow {
  display: inline-block !important; order: -1 !important; flex: none !important;
  width: 17px !important; height: 17px !important;
  padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
  font-size: 0 !important; color: inherit !important; box-shadow: none !important;
  background: currentColor !important;
  -webkit-mask: url("../img/icon-message.svg?v=2") center / contain no-repeat;
  mask: url("../img/icon-message.svg?v=2") center / contain no-repeat;
  transform: none; transition: none !important;
}
html body .btn.btn.btn,
html body .nav-cta.nav-cta.nav-cta,
html body .submit-btn.submit-btn { gap: 10px !important; }
html body .nav.open .nav-links .mobile-nav-cta.mobile-nav-cta { justify-content: center !important; gap: 12px !important; }

/* Avion en papier : il s'envole au survol et revient se poser */
@keyframes mdg-plane {
  0%   { transform: translate(0, 0); opacity: 1; }
  40%  { transform: translate(16px, -16px) rotate(-8deg); opacity: 0; }
  41%  { transform: translate(-16px, 16px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
html body .btn.btn.btn,
html body .nav-cta.nav-cta.nav-cta,
html body .submit-btn.submit-btn { overflow: hidden; }
html body .btn.btn.btn:is(:hover, :focus-visible) .arrow.arrow.arrow,
html body .nav-cta.nav-cta.nav-cta:is(:hover, :focus-visible) .arr.arr.arr,
html body .submit-btn.submit-btn:is(:hover, :focus-visible) .submit-arrow.submit-arrow {
  animation: mdg-plane .6s cubic-bezier(.5, 0, .3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  html body .btn.btn.btn .arrow.arrow.arrow,
  html body .nav-cta.nav-cta.nav-cta .arr.arr.arr,
  html body .submit-btn.submit-btn .submit-arrow.submit-arrow { animation: none !important; }
}
