/* Synertech Algeria. Feuille commune à toutes les pages.
   Ambiance sombre : noir, gris #3D3D3D et blanc de la charte, orange Mod-DC en accent. */

/* Outfit, la police de resoteletcom.fr : un seul fichier variable pour toutes les graisses, texte et titres */
@font-face { font-family: "Outfit"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/outfit-latin-wght.woff2") format("woff2"); }

:root {
  --noir: #000000;
  --gris: #3D3D3D;
  --blanc: #FFFFFF;
  --orange: #EE7A12;
  --doux: rgba(255, 255, 255, 0.68);      /* texte secondaire sur noir : contraste 9:1 */
  --surface: rgba(61, 61, 61, 0.28);      /* gris de la charte en aplat léger */
  --texte: "Outfit", "Century Gothic", Arial, Helvetica, sans-serif;
  --titre: "Outfit", "Century Gothic", Arial, Helvetica, sans-serif;
  --marge: clamp(18px, 4vw, 56px);
  --largeur: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--noir); }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 300 1.0625rem/1.6 var(--texte); }
img { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, table, h1, h2, h3 { margin: 0; }
p + p { margin-top: 0.9em; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--noir); }

.contenu { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.lien-evitement { position: absolute; left: -9999px; top: 0; background: var(--orange); color: var(--noir); padding: 10px 14px; z-index: 100; }
.lien-evitement:focus { left: 8px; top: 8px; }

/* Titres : Outfit léger, en minuscules, interlettrage serré, comme sur resoteletcom.fr */
h1, h2, h3, .ref { font-family: var(--titre); }
h1, h2 { font-weight: 300; letter-spacing: -0.025em; }
.metiers h3, .groupe h3, .blocs h3 { text-transform: none !important; letter-spacing: -0.01em !important; }
strong, b { font-weight: 500; }
h1 { font-size: clamp(2rem, 1rem + 4.4vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.2rem; font-weight: 400; line-height: 1.3; letter-spacing: 0.03em; }
.ref { font-weight: 400; letter-spacing: 0.05em; white-space: nowrap; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--noir); border-bottom: 1px solid var(--gris); }
/* Le logo (symbole et lettrage) est calé en haut à gauche de la fenêtre, le menu à droite */
.entete .contenu { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; max-width: none; padding: 0 clamp(16px, 2.4vw, 36px); }
.entete__logo { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.entete__logo img { height: 34px; width: auto; }
.entete__logo .entete__symbole { height: 50px; }
@media (max-width: 480px) { .entete__logo img { height: 28px; } .entete__logo .entete__symbole { height: 42px; } }
.entete__nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
/* Menu : petites capitales fines et espacées, grises au repos, blanches au survol */
.entete__nav a { display: block; padding: 8px 0; text-decoration: none; font-family: var(--titre); font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.74rem; color: var(--doux); border-bottom: 1px solid transparent; }
.entete__nav a:hover { color: var(--blanc); border-bottom-color: var(--blanc); }
.entete__nav a[aria-current] { color: var(--blanc); border-bottom-color: var(--orange); }
.entete__bouton { display: none; }
@media (max-width: 860px) {
  .js .entete__bouton { display: block; font: 500 0.92rem var(--titre); letter-spacing: 0.06em; text-transform: uppercase; color: var(--blanc); background: none; border: 1px solid var(--blanc); border-radius: 2px; padding: 9px 14px; cursor: pointer; }
  .js .entete__bouton[aria-expanded="true"] { background: var(--blanc); color: var(--noir); }
  .js .entete__nav { display: none; flex-basis: 100%; padding-bottom: 12px; }
  .js .entete__nav.ouvert { display: block; }
  .entete__nav ul { flex-direction: column; gap: 0; }
  .entete__nav a { padding: 13px 0; border-bottom: 1px solid var(--gris); }
  .entete__nav li:last-child a { border-bottom: 0; }
  .entete__nav a[aria-current] { color: var(--orange); border-bottom-color: var(--gris); }
}

/* Boutons */
.bouton { display: inline-block; padding: 14px 24px; border: 1px solid var(--orange); border-radius: 2px; background: var(--orange); color: var(--noir);
  text-decoration: none; font: 600 0.95rem var(--titre); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.bouton:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.bouton--contour { background: none; color: var(--blanc); border-color: var(--blanc); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }

/* Tableaux techniques */
.tableau { overflow-x: auto; }
.tableau:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
caption { text-align: left; padding-bottom: 10px; color: var(--doux); }
th, td { text-align: left; vertical-align: top; padding: 13px 22px 13px 0; border-bottom: 1px solid var(--gris); }
th:last-child, td:last-child { padding-right: 0; }
thead th { border-bottom: 1px solid var(--blanc); font: 500 0.82rem var(--titre); letter-spacing: 0.08em; text-transform: uppercase; color: var(--doux); white-space: nowrap; }
tbody th { font-weight: 400; }
td.nb, th.nb { white-space: nowrap; }
tbody a.ref { text-decoration: none; color: var(--orange); font-size: 1.15rem; font-weight: 500; }
tbody a.ref:hover { color: var(--blanc); }

/* Gamme Array : grandes lignes cliquables, la référence passe en orange au survol */
.gamme { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--gris); }
.gamme li { border-bottom: 1px solid var(--gris); }
.gamme a { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; padding: 20px 0; text-decoration: none; }
.gamme .ref { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem); font-weight: 300; letter-spacing: 0.06em; }
.gamme a > span:nth-child(2) { color: var(--doux); }
.gamme a > span:nth-child(3) { font: 500 0.8rem var(--titre); letter-spacing: 0.1em; text-transform: uppercase; color: var(--doux); white-space: nowrap; }
.gamme small { display: block; font-size: 0.9rem; margin-top: 4px; color: var(--blanc); }
.gamme a:hover { color: var(--blanc); }
.gamme a:hover .ref { color: var(--orange); }
.gamme a:hover > span:nth-child(2), .gamme a:hover > span:nth-child(3) { color: var(--blanc); }
.gamme--detail { margin-top: 32px; }
@media (max-width: 700px) { .gamme a { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 0; } }

/* En-tête de la rubrique Array : statut de partenaire à droite du titre */
.partenaire { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 72px; align-items: center; }
.partenaire__statut { border-right: 1px solid var(--gris); padding-right: 72px; }
@media (max-width: 900px) { .partenaire__statut { border-right: 0; padding-right: 0; } }
.partenaire__statut .logo-partenaire { height: 54px; }
.partenaire__statut p { margin-top: 14px; color: var(--orange); font: 500 0.85rem var(--titre); letter-spacing: 0.1em; text-transform: uppercase; max-width: 22em; }
@media (max-width: 900px) { .partenaire { grid-template-columns: minmax(0, 1fr); } }

/* Tableau de modèles :une colonne par modèle, comme dans les fiches du constructeur */
.tableau--modeles { margin-top: 28px; }
.section > .contenu > h3 { margin-top: 56px; color: var(--orange); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; }
.section > .contenu > h2 + h3 { margin-top: 32px; }
.section > .contenu > h3 + .tableau--modeles { margin-top: 14px; }
.section__corps > h3 { margin-top: 40px; }
.tableau--modeles table { min-width: 720px; }
.tableau--modeles thead th.ref { color: var(--orange); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.03em; text-transform: none; }
.tableau--modeles tbody th { color: var(--doux); min-width: 11em; }
.tableau--modeles tbody tr:hover > * { background: var(--surface); }

/* Liste de caractéristiques */
.fiche { display: grid; grid-template-columns: minmax(120px, auto) 1fr; border-top: 1px solid var(--gris); }
.fiche dt, .fiche dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--gris); }
.fiche dt { padding-right: 28px; color: var(--doux); font: 500 0.82rem/1.9 var(--titre); letter-spacing: 0.08em; text-transform: uppercase; }

.note { color: var(--doux); font-size: 0.92rem; margin-top: 14px; }
.a-completer { border: 1px dashed var(--orange); color: var(--orange); padding: 0 6px; font-size: 0.9em; }
.emplacement { background: var(--surface); border: 1px dashed var(--gris); color: var(--doux); display: flex; align-items: flex-end; padding: 18px 22px; font-size: 0.92rem; }

/* Sections */
.section { border-top: 1px solid var(--gris); padding: clamp(56px, 9vw, 136px) 0; }
.section--sans-filet { border-top: 0; }
.section--claire { background: var(--blanc); color: var(--noir); border-top: 0; }
.section--claire .note, .section--claire .fiche dt, .section--claire thead th { color: var(--gris); }
.section--claire thead th { border-bottom-color: var(--noir); }
.section { overflow-x: clip; }
/* Titre de section : grandes lettres au trait, comme la 3D filaire du héros. Elles se remplissent
   et glissent en place à mesure que la section entre dans la fenêtre (--v, de 0 à 1, posé par site.js). */
.section h2 { font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.05; overflow-wrap: break-word; }
/* Filet orange sous le titre, qui s'étire avec l'entrée de la section (--v posé par site.js) */
.section h2::after { content: ""; display: block; height: 3px; width: 96px; margin-top: 18px; background: var(--orange); transform-origin: left; transform: scaleX(var(--v, 1)); }

/* Objets 3D tournants (assets/js/objets.js) */
.objet { display: block; width: 100%; aspect-ratio: 4 / 3; cursor: grab; touch-action: pan-y; }
.objet:active { cursor: grabbing; }
.objet--large { aspect-ratio: 16 / 10; }
/* Bloc en deux colonnes : l'objet reste à l'écran pendant que la liste défile */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: start; }
.duo > * { margin-top: 0 !important; }
/* Dans un duo, la liste de gamme est plus étroite : référence et formats sur une ligne, fonction dessous */
.duo .gamme a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 16px 0; }
.duo .gamme a > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.duo .gamme a > span:nth-child(3) { grid-column: 2; grid-row: 1; }
.duo > .objet { position: sticky; top: 96px; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo > .objet { position: static; max-width: 520px; } }
/* En-tête de page avec objet à droite du titre */
.page-tete--objet { position: relative; }
.page-tete--objet .objet--tete { position: absolute; right: var(--marge); top: 50%; transform: translateY(-50%); width: min(38%, 480px); }
.page-tete.page-tete--objet h1, .page-tete.page-tete--objet .page-tete__texte { max-width: 56%; }
.page-tete.page-tete--objet h1 { font-size: clamp(1.9rem, 1rem + 3vw, 3.5rem); }
.page-tete--objet .contenu { position: relative; }
@media (max-width: 900px) {
  .page-tete--objet .objet--tete { position: static; transform: none; width: 100%; max-width: 420px; margin-bottom: 8px; }
  .page-tete.page-tete--objet h1, .page-tete.page-tete--objet .page-tete__texte { max-width: none; }
}
/* Métiers : mosaïque de blocs, chacun avec son objet */
.metiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metiers__large { grid-column: span 2; }
.metiers a { display: block; height: 100%; padding: 8px 26px 28px; border: 1px solid var(--gris); background: var(--surface); text-decoration: none; }
.metiers a:hover { border-color: var(--orange); color: var(--blanc); }
.metiers h3 { font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.metiers a:hover h3 { color: var(--orange); }
.metiers p { color: var(--doux); margin-top: 8px; }
.metiers small { display: block; margin-top: 14px; font: 500 0.76rem var(--titre); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.section > .contenu > .metiers + .note { margin-top: 22px; }
.metiers .objet { aspect-ratio: 16 / 11; }

/* Blocs chiffrés (climats du Mod-DC) */
.chiffres { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.chiffres li { padding: 26px 26px 28px; border: 1px solid var(--gris); background: var(--surface); }
.chiffres h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--doux); }
.chiffres__valeur { font: 300 clamp(2rem, 1.2rem + 2vw, 3.1rem)/1.1 var(--titre); color: var(--orange); margin: 14px 0 16px; white-space: nowrap; }
.chiffres p + p { margin-top: 6px; }
.chiffres p:not(.chiffres__valeur) { color: var(--doux); font-size: 0.95rem; }
@media (max-width: 1000px) { .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .chiffres { grid-template-columns: minmax(0, 1fr); } }

.chiffres--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chiffres .logo-partenaire { height: 64px; margin: 14px 0 16px; }
@media (max-width: 900px) { .chiffres--trois { grid-template-columns: minmax(0, 1fr); } }
/* Carte dont le visuel réunit un objet 3D et un logo partenaire */
.carte__visuel .logo-partenaire { height: 40px; margin-top: 8px; }
.cartes > .carte:first-child { margin-top: clamp(28px, 4vw, 56px); }
.section > .cartes { padding-bottom: 0; }
/* Films : deux lecteurs côte à côte, lecture à la demande */
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.films video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--noir); border: 1px solid var(--gris); border-radius: var(--rayon); }
@media (max-width: 800px) { .films { grid-template-columns: minmax(0, 1fr); } }
ol.chiffres { counter-reset: none; }
.carte > .carte__texte > .carte__numero:not([aria-hidden]) { text-transform: uppercase; }
/* Appel final : grande phrase et bouton */
.appel h2 { max-width: 16em; }
.appel h2::after { display: none; }

/* Partenaires commerciaux : deux grands blocs avec logo */
.partenaires { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partenaires li { padding: 30px; border: 1px solid var(--gris); border-radius: var(--rayon); background: var(--surface); }
.partenaires__logo { display: grid; place-items: center; height: 150px; border-radius: 14px; background: var(--noir); border: 1px solid var(--gris); margin-bottom: 22px; }
.partenaires__logo--clair { background: var(--blanc); border-color: var(--blanc); }
.partenaires__logo img { max-height: 76px; width: auto; max-width: 70%; }
/* Logo fourni avec son propre fond de couleur : il remplit le cadre */
.partenaires__logo--plein { overflow: hidden; border: 0; }
.partenaires__logo--plein img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.partenaires h3 { font-size: 1.5rem; font-weight: 300; }
.partenaires p { color: var(--doux); margin-top: 6px; }
@media (max-width: 700px) { .partenaires { grid-template-columns: minmax(0, 1fr); } }

/* Section posée sur une photo, assombrie et passée en noir et blanc pour rester dans les couleurs du site */
.photo-fond { position: relative; isolation: isolate; overflow: hidden; }
.photo-fond__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.1); }
.photo-fond::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.94) 100%); }
.photo-fond .chiffres li { background: rgba(0, 0, 0, 0.66); }

/* Blocs de texte encadrés (équipements) */
.blocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.section__corps.blocs > * { margin-top: 0; padding: 26px 26px 28px; border: 1px solid var(--gris); background: var(--surface); }
.blocs h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
@media (max-width: 900px) { .blocs { grid-template-columns: minmax(0, 1fr); } }

/* Sociétés du groupe : blocs cliquables. Au survol, un aplat orange monte du bas et le texte passe en noir. */
.groupe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--gris); }
@media (max-width: 1100px) and (min-width: 801px) {
  .groupe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .groupe > a:nth-child(3) { border-left: 0; }
}
.groupe > a { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 30px 30px 32px; border-bottom: 1px solid var(--gris); text-decoration: none; overflow: hidden; isolation: isolate; }
.groupe > a + a { border-left: 1px solid var(--gris); }
.groupe > a::before { content: ""; position: absolute; inset: 0; background: var(--orange); transform: translateY(101%); z-index: -1; }
.groupe > a:hover::before, .groupe > a:focus-visible::before { transform: none; }
.groupe > a:hover, .groupe > a:focus-visible { color: var(--noir); }
.groupe__pays { font: 500 0.8rem var(--titre); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.groupe h3 { font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.8rem); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; margin: 14px 0 12px; }
.groupe p { color: var(--doux); }
.groupe__action { margin-top: auto; padding-top: 22px; font: 600 0.82rem var(--titre); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transform: translateY(10px); }
.groupe__ici .groupe__action { opacity: 1; transform: none; color: var(--orange); }
.groupe > a:hover .groupe__action, .groupe > a:focus-visible .groupe__action { opacity: 1; transform: none; color: var(--noir); }
.groupe > a:hover .groupe__pays, .groupe > a:hover p, .groupe > a:focus-visible .groupe__pays, .groupe > a:focus-visible p { color: var(--noir); }
@media (prefers-reduced-motion: no-preference) {
  .groupe > a::before { transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1); }
  .groupe > a, .groupe > a p, .groupe__pays, .groupe__action { transition: color 0.3s, opacity 0.3s, transform 0.35s; }
}
@media (hover: none) { .groupe__action { opacity: 1; transform: none; color: var(--orange); } }
@media (max-width: 800px) {
  .groupe { grid-template-columns: 1fr; }
  .groupe > a { min-height: 0; }
  .groupe > a + a { border-left: 0; }
}
.metiers__large .objet { aspect-ratio: 16 / 7; }
@media (max-width: 1000px) { .metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .metiers__large .objet { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .metiers { grid-template-columns: minmax(0, 1fr); } .metiers__large { grid-column: auto; } }
/* Tête de section sur toute la largeur : titre à gauche, texte d'appui calé en bas à droite. Le contenu vient dessous. */
.section__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.section__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24em); gap: 10px 64px; align-items: end; }
.section__tete h2 { grid-column: 1; grid-row: 1 / span 6; align-self: end; }
.section__tete > :not(h2) { grid-column: 2; }
.section__tete p { color: var(--doux); }
.section--claire .section__tete p { color: var(--gris); }
.section__corps > * + * { margin-top: 26px; }
.section > .contenu > h2 + * { margin-top: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) {
  .section__tete { grid-template-columns: minmax(0, 1fr); }
  .section__tete > :not(h2) { grid-column: 1; }
  .section__tete h2 { grid-row: auto; }
}

/* Apparition des sections : filet orange qui se tire, contenu qui monte. Activée par site.js seulement. */
.anime .section, .anime .prestation, .anime .page-tete, .anime .moddc-tete { position: relative; }
.anime [data-monte] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.anime .vu [data-monte], .anime [data-monte].vu { opacity: 1; transform: none; }

/* En-tête de page intérieure */
.page-tete { padding: clamp(56px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.page-tete h1 { max-width: 16em; }
.page-tete__texte { margin-top: 26px; font-size: 1.2rem; line-height: 1.55; max-width: 42em; color: var(--doux); }
.page-tete h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--orange); margin-top: 26px; }
.fil { font-size: 0.9rem; color: var(--doux); margin-bottom: 18px; }
.fil ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.fil li + li::before { content: "/"; margin-right: 8px; color: var(--orange); }

/* Texte courant et listes */
.texte { max-width: 46em; }
.texte > * + * { margin-top: 0.9em; }
/* Listes : pas de puce ni de tiret. Des lignes fines, qui se décalent et s'allument en orange au survol. */
.liste { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 56px; border-top: 1px solid var(--gris); }
.liste li { padding: 16px 0; border-bottom: 1px solid var(--gris); }
.liste li:hover { padding-left: 12px; border-bottom-color: var(--orange); }
@media (prefers-reduced-motion: no-preference) { .liste li { transition: padding-left 0.25s, border-color 0.25s; } }
.section__corps > .liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.liste:has(> li > a) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 800px) { .section__corps > .liste { grid-template-columns: minmax(0, 1fr); } }
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.section__corps.deux-colonnes > * { margin-top: 0; }
.deux-colonnes h3 { margin-bottom: 10px; }
@media (max-width: 700px) { .deux-colonnes { grid-template-columns: minmax(0, 1fr); } }

figure { margin: 0; }
figcaption { font-size: 0.9rem; color: var(--doux); margin-top: 10px; }
.logo-partenaire { display: block; width: auto; background: var(--blanc); padding: 14px 18px; border-radius: 2px; box-sizing: content-box; }

/* Formulaire */
.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.champ--large { grid-column: 1 / -1; }
.champ label { display: block; margin-bottom: 8px; font: 500 0.82rem var(--titre); letter-spacing: 0.08em; text-transform: uppercase; color: var(--doux); }
.champ small { text-transform: none; letter-spacing: 0; font-family: var(--texte); }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; color: var(--blanc); background: var(--surface); border: 1px solid var(--gris); border-radius: 2px; padding: 12px 14px; }
.champ select option { color: var(--noir); background: var(--blanc); }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--blanc); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline-offset: 0; border-color: var(--orange); }
.champ textarea { min-height: 240px; resize: vertical; }
.case { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; color: var(--doux); }
.case input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--orange); }
.piege { position: absolute; left: -9999px; }
.formulaire__etat { grid-column: 1 / -1; font-weight: 700; border-left: 4px solid var(--orange); padding: 8px 14px; }
.formulaire__etat:empty { display: none; }
@media (max-width: 600px) { .formulaire { grid-template-columns: minmax(0, 1fr); } }

/* Services : une section par prestation */
/* Angles arrondis sur tous les blocs, boutons et champs */
:root { --rayon: 20px; --rayon-petit: 10px; }
.metiers a, .chiffres li, .section__corps.blocs > *, .emplacement { border-radius: var(--rayon); }
.bouton, .entete__bouton, .champ input, .champ select, .champ textarea, .logo-partenaire, .a-completer { border-radius: var(--rayon-petit); }
.metiers a { overflow: hidden; }
figure img { border-radius: var(--rayon); }

/* Grandes cartes de service : visuel à gauche, filet, puis numéro, titre, phrase, points clés et lien.
   Sur grand écran, chaque carte vient se poser par-dessus la précédente au défilement. */
.cartes { display: grid; gap: 32px; padding-bottom: clamp(56px, 8vw, 120px); }
.carte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #0d0d0d; border: 1px solid var(--gris); border-radius: 28px; overflow: hidden; scroll-margin-top: 110px; }
.carte__visuel { display: grid; place-items: center; padding: clamp(20px, 3vw, 48px); border-right: 1px solid var(--gris); background: var(--noir); }
.carte__visuel .objet { aspect-ratio: 1; max-width: 420px; }
.carte__texte { padding: clamp(28px, 4.5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; }
.carte__numero { font: 500 0.85rem var(--titre); letter-spacing: 0.16em; color: var(--orange); }
.carte h2 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); line-height: 1.08; margin-top: 18px; text-transform: none; letter-spacing: 0.01em; }
.carte__phrase { margin-top: 18px; font-size: 1.12rem; line-height: 1.55; color: var(--doux); max-width: 34em; }
.carte__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.carte__points li { position: relative; padding-left: 30px; }
.carte__points li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 11px; height: 6px; border-left: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange); transform: rotate(-45deg); }
.carte__marques { margin-top: 26px; font-size: 0.95rem; color: var(--doux); }
.carte__marques span { display: block; font: 500 0.74rem var(--titre); letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.carte__lien { margin-top: 32px; padding-bottom: 8px; text-decoration: none; border-bottom: 1px solid var(--blanc); font: 500 1.05rem var(--titre); letter-spacing: 0.02em; }
.carte__lien::after { content: "\2192"; display: inline-block; margin-left: 12px; }
.carte__lien:hover { color: var(--orange); border-bottom-color: var(--orange); }
.carte__lien:hover::after { transform: translateX(6px); }
@media (prefers-reduced-motion: no-preference) { .carte__lien::after { transition: transform 0.25s; } }
@media (min-width: 1000px) and (min-height: 760px) {
  .carte { position: sticky; top: calc(96px + var(--n, 0) * 18px); min-height: 520px; }
}
@media (max-width: 800px) {
  .carte { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .carte__visuel { border-right: 0; border-bottom: 1px solid var(--gris); }
  .carte__visuel .objet { max-width: 300px; }
}

/* Blocs alternés : l'objet 3D d'un côté, le texte de l'autre, en changeant de côté à chaque prestation */
.prestation { border-top: 1px solid var(--gris); padding: clamp(40px, 6vw, 88px) 0; display: grid; gap: 14px 72px; align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "objet titre" "objet liste" "objet marques"; grid-template-rows: auto auto 1fr; }
.prestation:nth-of-type(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "titre objet" "liste objet" "marques objet"; }
.prestation > .objet { grid-area: objet; align-self: center; border: 1px solid var(--gris); background: var(--surface); }
.prestation > h2 { grid-area: titre; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); }
.prestation > h2::after { content: ""; display: block; height: 3px; width: 72px; margin-top: 16px; background: var(--orange); }
.prestation > div:not(.prestation__marques) { grid-area: liste; margin-top: 10px; }
/* Ce qui est fait : des tuiles, deux par ligne, qui passent à l'orange au survol */
.prestation .liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 0; }
.prestation .liste li { padding: 18px 20px; border: 1px solid var(--gris); background: var(--surface); line-height: 1.4; }
.prestation .liste li:hover { padding-left: 20px; border-color: var(--orange); background: var(--orange); color: var(--noir); }
@media (prefers-reduced-motion: no-preference) { .prestation .liste li { transition: background-color 0.25s, color 0.25s, border-color 0.25s; } }
@media (max-width: 520px) { .prestation .liste { grid-template-columns: minmax(0, 1fr); } }
.prestation__marques { grid-area: marques; color: var(--doux); border-left: 3px solid var(--orange); padding-left: 20px; margin-top: 14px; }
.prestation h3 { margin-bottom: 8px; color: var(--orange); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 800px) {
  .prestation, .prestation:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titre" "objet" "liste" "marques"; }
}
.sommaire { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--titre); letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.92rem; }

/* Pied de page */
.pied { border-top: 1px solid var(--gris); padding: 64px 0 30px; }
.pied__grille { display: grid; grid-template-columns: 320px repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.pied__logo img { width: 200px; }
.pied h2 { font: 500 0.82rem var(--titre); letter-spacing: 0.1em; color: var(--orange); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; }
.pied li { padding: 4px 0; }
.pied a { text-decoration-color: transparent; }
.pied a:hover { text-decoration-color: var(--orange); }
.pied address { font-style: normal; line-height: 1.8; }
.pied__bas { border-top: 1px solid var(--gris); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9rem; color: var(--doux); }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__logo { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pied__grille { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) {
  a, .bouton, .entete__nav a, .champ input, .champ select, .champ textarea { transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
}
@media print {
  html, body { background: #fff; color: #000; }
  .entete__nav, .entete__bouton, .pied { display: none; }
}
