/* Aperçu express Webyland : feuille commune à tous les aperçus.
   Les couleurs du client arrivent par --accent, --encre, --teinte et --accent-clair (balise <style> de la page).
   Brief de Tommy (26/10) : effet « whaou » en 3 secondes sur téléphone, haut de page façon Chez Izza,
   animation légère, l'entreprise en vedette, Webyland discret. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #2c4a62;
  --encre: #1c2a35;
  --teinte: #f1f4f6;
  --accent-clair: #b9cad8;
  --blanc: #ffffff;
  --texte-doux: color-mix(in srgb, var(--encre) 76%, transparent);
  --ligne: color-mix(in srgb, var(--encre) 12%, transparent);
  --gouttiere: 20px;
  --rayon: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-clair); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(1180px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.evitement { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blanc); padding: 10px 16px; border-radius: 8px; }
.evitement:focus { left: 8px; }

/* ---------- En-tête, comme Poetic in Rock (demande de Tommy, 26/10) ----------
   ordinateur : les pages en petites capitales blanches de part et d'autre du logo, « Plus » pour ce qui ne tient pas ;
   téléphone : pastille « Menu » à gauche, logo au centre, appel à droite, et un panneau clair ;
   au défilement : un bandeau plein à leur couleur sombre, le petit logo au centre. */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease; }
.entete .conteneur { width: min(1360px, 100% - 2 * var(--gouttiere)); }
.entete__ligne { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.marque { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; background: var(--blanc); border-radius: 14px; padding: 8px 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .22); text-decoration: none; transition: padding .35s ease, box-shadow .35s ease, opacity .35s ease, visibility .35s ease; }
.marque img { height: 38px; width: auto; transition: height .35s ease; }
.marque--carre { padding: 6px; }
.marque--carre img { height: 58px; }
.marque__nom { font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em; }
.entete__menu, .entete__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 22px; color: var(--blanc); text-decoration: none; cursor: pointer; transition: background-color .35s ease, border-color .35s ease, color .35s ease; }
.entete__menu { justify-self: start; padding: 0 16px 0 13px; font: inherit; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; line-height: 1; background: rgba(16, 24, 26, .55); border: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.entete__menu svg { width: 22px; height: 22px; fill: currentColor; }
.entete__tel { justify-self: end; width: 44px; background: var(--accent); border: 1px solid transparent; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.entete__tel svg { width: 20px; height: 20px; fill: currentColor; }
.entete__liens { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; align-items: center; }
.entete__liens a, .entete__plus > button { display: inline-block; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--blanc); font: inherit; font-size: 13px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); transition: border-color .2s ease; }
.entete__liens a:hover, .entete__plus > button:hover { border-bottom-color: currentColor; }
.entete__plus { position: relative; }
.entete__plus > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.entete__sous { display: none; position: absolute; right: -12px; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 14px 8px 8px; }
.entete__sous::before { content: ""; position: absolute; inset: 8px 0 0; z-index: -1; background: var(--blanc); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.entete__plus:hover .entete__sous, .entete__plus:focus-within .entete__sous, .entete__plus--ouvert .entete__sous { display: block; }
.entete__sous a { display: block; padding: 10px 12px; border: 0; border-radius: 8px; color: var(--encre); text-shadow: none; letter-spacing: .05em; }
.entete__sous a:hover { background: var(--teinte); }
/* au défilement, et sans photo en haut */
.entete--defile { background: var(--encre); box-shadow: 0 8px 30px -16px rgba(0, 0, 0, .6); padding: 8px 0; }
.entete--defile .entete__liens a, .entete--defile .entete__plus > button { text-shadow: none; }
.entete--defile .entete__menu { background: rgba(255, 255, 255, .08); }
.entete--defile .marque, .entete--plein .marque { box-shadow: none; padding: 4px 8px; }
.entete--defile .marque img { height: 32px; }
.entete--defile .marque--carre { padding: 3px; }
.entete--defile .marque--carre img { height: 46px; }
.entete--plein { background: var(--blanc); box-shadow: 0 1px 0 var(--ligne); padding: 8px 0; }
.entete--plein .entete__liens a, .entete--plein .entete__plus > button { color: var(--encre); text-shadow: none; }
.entete--plein .entete__menu { color: var(--encre); background: transparent; border-color: color-mix(in srgb, var(--encre) 35%, transparent); }
.entete--plein .entete__tel { box-shadow: none; }

/* panneau du téléphone, clair comme celui de Poetic in Rock */
.panneau { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; overflow-y: auto; background: var(--blanc); color: var(--encre); padding: 18px var(--gouttiere) 36px; }
.panneau[hidden] { display: none; }
.panneau__haut { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.panneau__haut img { height: 56px; width: auto; }
.panneau__fermer { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ligne); background: none; color: var(--encre); font-size: 28px; line-height: 1; cursor: pointer; }
.panneau ul { list-style: none; margin: 0; padding: 0; }
.panneau li a { display: block; padding: 12px 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; text-decoration: none; border-bottom: 1px solid var(--ligne); }
.panneau__contact { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; justify-items: start; color: var(--texte-doux); }
.menu-ouvert { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .panneau:not([hidden]) li { animation: ouverture-texte .45s ease-out both; }
  .panneau:not([hidden]) li:nth-child(2) { animation-delay: .04s; }
  .panneau:not([hidden]) li:nth-child(3) { animation-delay: .08s; }
  .panneau:not([hidden]) li:nth-child(4) { animation-delay: .12s; }
  .panneau:not([hidden]) li:nth-child(5) { animation-delay: .16s; }
  .panneau:not([hidden]) li:nth-child(n+6) { animation-delay: .2s; }
}
/* page prévue mais pas encore dans l'aperçu : un court message */
.avis { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 16px); opacity: 0; width: max-content; max-width: calc(100% - 32px); background: var(--encre); color: var(--blanc); padding: 12px 20px; border-radius: 999px; font-weight: 600; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.avis--visible { opacity: 1; transform: translate(-50%, 0); }
/* ordinateur : deux groupes de liens serrés de part et d'autre de la place du logo, sans vide entre eux (demande de
   Tommy, 26/10 : « pas d'espace entre, tout en laissant une place au milieu pour le logo ») */
@media (min-width: 1280px) {
  .entete__liens { display: flex; gap: 24px; }
  .entete__liens--gauche { justify-self: end; }
  .entete__liens--droite { justify-self: start; }
  .entete__ligne { gap: 34px; }
  .entete__menu, .entete__tel { display: none; }
}

/* ---------- Haut de page ---------- */
.haut { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--blanc); background: var(--encre); overflow: hidden; isolation: isolate; }
/* une seule photo fixe ; au défilement elle descend un peu moins vite et le contenu s'estompe (--fondu, apercu.js) */
.haut__photo { position: absolute; inset: 0; z-index: -2; transform: translateY(calc(var(--fondu, 0) * 90px)); }
.haut__photo img { width: 100%; height: 100%; object-fit: cover; }
.haut__contenu, .haut__badges-zone { opacity: calc(1 - var(--fondu, 0)); transform: translateY(calc(var(--fondu, 0) * -48px)); }
/* leur logo en grand sur la photo, comme Poetic in Rock ; l'en-tête ne le montre qu'au défilement */
.haut__grand-logo { display: inline-flex; background: var(--blanc); border-radius: 20px; padding: 12px 18px; margin-bottom: 22px; box-shadow: 0 22px 50px rgba(0, 0, 0, .35); }
.haut__grand-logo img { height: 64px; width: auto; max-width: 260px; object-fit: contain; }
.haut__grand-logo--rond { border-radius: 50%; padding: 6px; }
.haut__grand-logo--rond img { height: 124px; max-width: none; border-radius: 50%; }
.haut--grand-logo .haut__nom { font-size: clamp(2.5rem, 10.5vw, 5.4rem); }
.entete--grand-logo .marque { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease, padding .35s ease; }
.entete--grand-logo.entete--defile .marque { opacity: 1; visibility: visible; }
/* leurs badges (labels, partenaires) en haut à droite de la photo, comme sur leur site actuel */
.haut__badges-zone { position: absolute; top: 96px; left: 0; right: 0; z-index: 1; }
.haut__badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px 18px; margin-left: auto; max-width: 100%; }
/* la place des badges est réservée en haut : le contenu ne remonte jamais dessous (chevauchement vu par Tommy, 26/10) */
.haut--badges .haut__contenu { padding-top: 186px; }
.badge img { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45)); }
.badge--debout img { height: 62px; }
.badge--pastille { background: var(--blanc); border-radius: 12px; padding: 6px 9px; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.badge--pastille img { filter: none; }
.haut__voile { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .34) 13%, rgba(0, 0, 0, 0) 30%),
  linear-gradient(0deg, color-mix(in srgb, var(--encre) 92%, transparent) 0%, color-mix(in srgb, var(--encre) 55%, transparent) 38%, rgba(0, 0, 0, 0) 70%); }
.haut__contenu { padding-block: 130px 52px; }
.haut__activite { font-size: 1.05rem; font-weight: 550; opacity: .92; margin-bottom: .55rem; max-width: 38ch; }
.haut__nom { font-size: clamp(2.9rem, 12vw, 6.8rem); font-weight: 780; line-height: .92; letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.haut__accroche { margin-top: 1.1rem; font-size: 1.08rem; line-height: 1.5; max-width: 44ch; opacity: .9; }
.haut__boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.haut__logo { display: inline-flex; background: var(--blanc); border-radius: 22px; padding: 18px 24px; margin-bottom: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.haut__logo img { height: 74px; width: auto; }
.haut--sans-photo { min-height: 82svh; background: var(--accent); }
.haut--sans-photo .haut__contenu { padding-top: 120px; }

/* ouverture, une seule séquence d'environ 2 s, reprise de Poetic in Rock (demande de Tommy, 26/10) : la photo
   s'éclaircit en reculant, le logo monte en se précisant, puis le nom, le texte, les boutons, les badges et le menu.
   Rien ne bouge si l'appareil demande moins d'animations. */
@media (prefers-reduced-motion: no-preference) {
  .haut__photo img { animation: ouverture-photo 2.8s cubic-bezier(.2, .7, .2, 1) both; }
  .haut__grand-logo, .haut__logo { animation: ouverture-net 1.1s cubic-bezier(.2, .7, .2, 1) .35s both; }
  .haut__activite { animation: ouverture-texte .8s ease-out .85s both; }
  .haut__nom { animation: ouverture-net 1.1s cubic-bezier(.2, .7, .2, 1) .7s both; }
  .haut__accroche { animation: ouverture-texte .8s ease-out 1.15s both; }
  .haut__boutons { animation: ouverture-texte .8s ease-out 1.3s both; }
  .badge { animation: ouverture-texte .8s ease-out 1.45s both; }
  .badge:nth-child(2) { animation-delay: 1.55s; }
  .badge:nth-child(3) { animation-delay: 1.65s; }
  .badge:nth-child(4) { animation-delay: 1.75s; }
  .entete--grand-logo { animation: ouverture-menu .9s ease-out 1.6s both; }
}
@keyframes ouverture-photo { from { transform: scale(1.12); filter: brightness(.55); } to { transform: scale(1); filter: brightness(1); } }
@keyframes ouverture-net { from { opacity: 0; transform: translateY(34px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ouverture-texte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ouverture-menu { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; gap: .55em; min-height: 52px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 650; font-size: 1.02rem; text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease, background-color .2s ease; }
.bouton svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.bouton:hover { transform: translateY(-1px); }
.bouton--plein { background: var(--accent); color: var(--blanc); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 40%, transparent); }
.bouton--plein:hover { filter: brightness(1.08); }
.bouton--clair { background: rgba(255, 255, 255, .14); color: var(--blanc); border: 1.5px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bouton--contour { color: var(--accent); border: 1.5px solid var(--accent); background: transparent; }
.haut--sans-photo .bouton--plein { background: var(--blanc); color: var(--accent); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }

/* ---------- Bandeau d'infos, à la couleur du client ---------- */
.bandeau { background: var(--accent); color: var(--blanc); }
.haut--sans-photo + .bandeau { background: var(--encre); }
.bandeau__ligne { display: flex; flex-wrap: wrap; gap: 10px 30px; padding-block: 16px; }
.bandeau__info { display: inline-flex; align-items: center; gap: 10px; color: var(--blanc); text-decoration: none; font-weight: 550; }
.bandeau__info svg { width: 20px; height: 20px; fill: currentColor; flex: none; opacity: .9; }

/* ---------- Sections ---------- */
.intro, .services, .photos, .trouver { padding-block: clamp(64px, 10vw, 120px); }
h2 { font-size: clamp(1.95rem, 5.4vw, 3.1rem); font-weight: 720; line-height: 1.06; letter-spacing: -.025em; max-width: 20ch; margin-bottom: .65em; text-wrap: balance; }
h3 { font-weight: 680; letter-spacing: -.01em; line-height: 1.2; }

.intro__grille { display: grid; gap: 44px; }
.intro__texte p { max-width: 62ch; margin-bottom: 1em; color: var(--texte-doux); }
.intro__texte p:first-of-type { font-size: 1.24rem; line-height: 1.5; color: var(--encre); }
.intro__photo { position: relative; z-index: 0; margin-right: 18px; }
.intro__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--teinte); border-radius: calc(var(--rayon) + 6px); z-index: -1; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--rayon) + 6px); }

.points { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 8px; }
.points li { position: relative; padding-left: 34px; font-size: 1.12rem; font-weight: 550; }
.points li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 999px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.points__titre { font-size: 1.2rem; margin: 28px 0 12px; }

.services { background: var(--teinte); }
.services__liste { list-style: none; padding: 0; display: grid; gap: 34px; }
.service h3 { font-size: 1.32rem; margin: 16px 0 8px; }
.service p { color: var(--texte-doux); max-width: 60ch; }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--rayon); }
.service:not(.service--photo) { border-left: 3px solid var(--accent); padding-left: 20px; }
.service:not(.service--photo) h3 { margin-top: 0; }
.zone { margin-top: 56px; }
.zone h3 { font-size: 1.15rem; margin-bottom: 14px; }
.zone ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zone li { background: var(--blanc); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 999px; padding: 6px 14px; font-size: .95rem; font-weight: 550; }

.photos__grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photos__vignette { padding: 0; border: 0; margin: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--teinte); }
.photos__vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photos__vignette:hover img { transform: scale(1.04); }
@media (max-width: 899px) {
  .photos__grille--impair .photos__vignette:first-child { grid-column: span 2; aspect-ratio: 2 / 1; }
}
.visionneuse { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.visionneuse::backdrop { background: rgba(0, 0, 0, .86); }
.visionneuse img { max-width: 94vw; max-height: 86vh; border-radius: 12px; }
.visionneuse__fermer { position: absolute; top: -48px; right: 0; width: 42px; height: 42px; border-radius: 999px; border: 0; background: var(--blanc); color: var(--encre); font-size: 26px; line-height: 1; cursor: pointer; }

.labels { padding-block: 44px; border-top: 1px solid var(--ligne); }
.labels__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 48px; }
.labels__ligne img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; }

.trouver__grille { display: grid; gap: 36px; }
.trouver__ligne { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; margin-bottom: 14px; }
.trouver__ligne a { text-decoration: none; font-weight: 600; }
.trouver__ligne svg, .trouver__horaires svg { width: 22px; height: 22px; fill: var(--accent); flex: none; margin-top: 3px; }
.trouver__horaires { display: flex; gap: 12px; margin-bottom: 14px; }
.trouver__horaires p { color: var(--texte-doux); }
.trouver__boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trouver__reseaux { display: flex; gap: 10px; margin-top: 26px; }
.trouver__reseaux a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; background: var(--teinte); }
.trouver__reseaux svg { width: 20px; height: 20px; fill: var(--encre); }
.trouver__carte { min-height: 340px; }
.trouver__carte iframe { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: calc(var(--rayon) + 4px); }

.pied { background: var(--encre); color: rgba(255, 255, 255, .82); padding-block: 44px 100px; }
.pied__ligne { display: grid; gap: 6px; }
.pied__nom { font-weight: 720; font-size: 1.25rem; color: var(--blanc); }
.pied__webyland { margin-top: 18px; font-size: .86rem; opacity: .72; }

.appel-flottant { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--blanc); border-radius: 999px; padding: 14px 20px; font-weight: 650; text-decoration: none; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); transition: transform .35s ease, opacity .35s ease; }
.appel-flottant svg { width: 20px; height: 20px; fill: currentColor; }
.appel-flottant--cache { transform: translateY(130%); opacity: 0; pointer-events: none; }

/* fondu doux des photos plus bas dans la page */
.js .apparait { opacity: 0; transition: opacity .9s ease; }
.js .apparait.vu { opacity: 1; }

/* ---------- Ordinateur ---------- */
@media (min-width: 900px) {
  :root { --gouttiere: 40px; }
  .entete { padding: 20px 0; }
  .marque img { height: 46px; }
  .marque--carre img { height: 76px; }
  .haut__grand-logo img { height: 84px; max-width: 340px; }
  .haut__grand-logo--rond img { height: 176px; }
  .haut__badges-zone { top: 116px; }
  .haut--badges .haut__contenu { padding-top: 240px; }
  .badge img { height: 60px; max-width: 190px; }
  .badge--debout img { height: 96px; }
  .haut__contenu { padding-block: 160px 84px; }
  /* sujet de la photo à gauche (réglage « haut_texte ») : le texte passe à droite, le voile aussi */
  .haut--texte-droite .haut__contenu > * { margin-left: 52%; }
  .haut--texte-droite .haut__photo img { object-position: center !important; }
  .haut--texte-droite .haut__voile { background:
    linear-gradient(180deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .34) 13%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(270deg, color-mix(in srgb, var(--encre) 88%, transparent) 0%, color-mix(in srgb, var(--encre) 55%, transparent) 40%, rgba(0, 0, 0, 0) 62%); }
  .haut__activite { font-size: 1.2rem; }
  .haut__accroche { font-size: 1.2rem; }
  .intro__grille { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
  .intro__grille--seule { grid-template-columns: 1fr; }
  .intro__photo img { aspect-ratio: 4 / 5; }
  .services__liste { grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
  .photos__grille { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .photos__vignette:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
  .photos__grille--simple { grid-template-columns: repeat(var(--n), 1fr); }
  .photos__grille--simple .photos__vignette:first-child { grid-column: auto; grid-row: auto; }
  .trouver__grille { grid-template-columns: 1fr 1.25fr; align-items: stretch; gap: 64px; }
  .pied { padding-bottom: 48px; }
  .appel-flottant { display: none; }
}
@media (min-width: 1200px) {
  .services__liste:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .haut__contenu > * { opacity: 1; transform: none; }
  .js .apparait { opacity: 1; }
}

/* ordinateurs à écran peu haut (portables en 1 366 x 768) : badges, logo et nom resserrés pour que le haut tienne */
@media (min-width: 900px) and (max-height: 820px) {
  .haut__badges-zone { top: 100px; }
  .badge img { height: 44px; }
  .badge--debout img { height: 70px; }
  .haut--badges .haut__contenu { padding-top: 196px; padding-bottom: 52px; }
  .haut__grand-logo { margin-bottom: 16px; }
  .haut__grand-logo--rond img { height: 132px; }
  .haut__grand-logo img { height: 66px; }
  .haut__activite { max-width: 60ch; }
  .haut--grand-logo .haut__nom { font-size: clamp(2.5rem, 8vh, 4.6rem); }
  .haut__accroche { margin-top: .8rem; }
  .haut__boutons { margin-top: 1.3rem; }
}
