/* Maquettes Cholet Cuisine : mises en page des modèles.
   Les briques viennent du design system (ds/cholet/components/bundle.css) ; ici, seulement l'assemblage des pages.
   Aucune taille ni graisse de texte n'est définie ici : la typographie reste celle du design system. */

/* Sur le canvas, la hauteur d'écran n'existe pas : les grandes images prennent une hauteur fixe. */
/* Premier écran de l'accueil : bandeau + en-tête + photo = exactement la hauteur de l'écran, ni plus ni moins (John, 11/10).
   Sur le site : --ecran vaut 100svh (la hauteur visible, barres du navigateur comprises), et le bandeau a une hauteur fixe par palier.
   Sur le canvas, une planche fait toute la hauteur de la page : on y simule un écran (900, 1024, 844 px). */
.cc { --ecran: 900px; --bandeau: 50px; }
.cc-bandeau { box-sizing: border-box; display: grid; place-items: center; height: var(--bandeau); padding-block: 0; }
.cc-hero { height: calc(var(--ecran) - var(--bandeau)); min-height: 0; }
.cc-banniere { min-height: 500px; }

/* En-tête fixe : il reste collé en haut quand on descend. Posé sur la photo en haut de page, il prend un fond noir dès qu'on défile (classe est-collee, posée par le script de l'en-tête), et le perd en revenant tout en haut. */
.mq-entete-colle { position: sticky; top: 0; z-index: 70; height: 0; }
.mq-entete-colle--pleine { height: auto; }
/* Posé sur la photo, l'en-tête assombrit le haut de l'image sur 170 px : le logo et le menu restent lisibles sur une photo claire. */
.cc-entete--sur-image { background: none; }
.cc-entete--sur-image::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -74px 0; pointer-events: none; background: linear-gradient(to bottom, var(--voile-fort) 0%, var(--voile) 50%, var(--voile-nul) 100%); } /* mq-voile-entete */
.cc-entete--sur-image .cc-menu a { color: var(--titre-sur-sombre); }
.mq-entete-colle .cc-entete--sur-image { transition: background-color var(--duree-courte); }
.mq-entete-colle .cc-entete--sur-image.est-collee { background-color: var(--fond-entete); box-shadow: var(--ombre-entete); }
.mq-suite > div { position: relative; }
.mq-suite .mq-entete-colle { position: static; }

/* Menu au téléphone : un panneau plein écran, ouvert par les trois traits */
.mq-menu-tel { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; overflow-y: auto; background: var(--fond-entete); color: var(--titre-sur-sombre); padding: 0 var(--espace-4) var(--espace-5); }
.mq-menu-tel__tete { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.mq-menu-tel__tete .cc-entete__logo img { width: 112px; }
.mq-menu-tel__tete .cc-entete__fabricant img { height: 32px; }
.mq-menu-tel__fermer { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--titre-sur-sombre); font: inherit; font-size: 35px; line-height: 1; cursor: pointer; }
.mq-menu-tel__liens { display: grid; margin-top: var(--espace-5); border-top: 1px solid var(--filet); }
.mq-menu-tel__liens a { padding: var(--espace-4) 0; border-bottom: 1px solid var(--filet); font-size: 26px; line-height: 31.2px; font-weight: 500; letter-spacing: -1.2px; color: var(--titre-sur-sombre); }
.mq-menu-tel__pied { display: grid; gap: var(--espace-3); margin-top: auto; padding-top: var(--espace-6); color: var(--texte-sur-sombre); }
.mq-menu-tel__pied .cc-btn { justify-content: center; }

/* Bouton de contact flottant : un petit rond, sans texte, dans le dessin du site. Il suit l'écran et s'arrête au-dessus du pied de page, sans jamais le couvrir. */
.mq-corps { position: relative; }
.mq-flottant-zone { position: absolute; inset: 0; z-index: 80; pointer-events: none; }
.mq-flottant-colle { position: sticky; top: calc(100dvh - 82px); height: 82px; display: flex; justify-content: flex-end; align-items: flex-start; padding-right: var(--espace-5); }
.mq-flottant { pointer-events: auto; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--bord-bouton); border-radius: 50%; background: var(--voile-fort); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--titre-sur-sombre); cursor: pointer; transition: background-color var(--duree-courte), color var(--duree-courte), border-color var(--duree-courte), transform var(--duree-courte); }
.mq-flottant:hover { background: var(--titre-sur-sombre); border-color: var(--titre-sur-sombre); color: var(--fond-entete); transform: scale(1.06); }
.mq-flottant svg { width: 22px; height: 22px; }
.mq-fenetre-fond { position: fixed; inset: 0; z-index: 100; overflow-y: auto; pointer-events: auto; }
.mq-fenetre { width: min(100%, 700px); padding: var(--espace-6) var(--espace-6) var(--espace-5); }

/* Formulaire : deux colonnes ; variante resserrée pour la fenêtre */
.mq-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-4); }
.mq-form__nom, .mq-form__sujet, .mq-form__large { grid-column: 1 / -1; }
.mq-form__bas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3) var(--espace-4); }
.mq-form--compact { gap: var(--espace-3) var(--espace-4); }
.mq-form--compact .mq-form__nom, .mq-form--compact .mq-form__sujet { grid-column: auto; }
.mq-form--compact .cc-champ { padding: var(--espace-2) var(--espace-3); }
.mq-form--compact textarea.cc-champ { min-height: 84px; }

/* Avis : un carrousel, trois avis visibles, flèches pour passer aux suivants */
.mq-avis__outils { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3) var(--espace-5); }
.mq-avis__fleches { display: flex; gap: var(--espace-2); }
.mq-avis__fleches button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--bord-bouton); background: none; color: var(--titre); cursor: pointer; transition: background-color var(--duree-courte), color var(--duree-courte); }
.mq-avis__fleches button:hover { background: var(--titre); color: var(--fond); }
.mq-avis__fleches svg { width: 24px; height: 8px; }
.mq-avis__piste { display: flex; gap: 45px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mq-avis__piste::-webkit-scrollbar { display: none; }
.mq-avis__piste .cc-avis { flex: 0 0 calc((100% - 90px) / 3); scroll-snap-align: start; }

/* Tête de section : titre à gauche, lien à droite */
.mq-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--espace-4) var(--espace-6); margin-bottom: var(--espace-6); }

/* Titre à gauche, texte à droite */
.mq-intro { display: grid; grid-template-columns: 5fr 6fr; gap: var(--espace-5) var(--espace-7); align-items: end; }

/* Texte et photo côte à côte */
.mq-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-7); align-items: center; }
.mq-duo__image { aspect-ratio: 1 / 1; overflow: hidden; }
.mq-duo__image--large { aspect-ratio: 3 / 2; }
.mq-duo__image img { width: 100%; height: 100%; object-fit: cover; }
.mq-duo--inverse > :first-child { order: 2; }

/* Portrait : la photo un peu moins large, pour que le texte tienne la hauteur */
.cc-portrait { grid-template-columns: 4fr 7fr; }

/* Univers : la cuisine en grand, les deux autres à côté, la salle de bains en dernier */
.mq-univers { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--espace-5); }
.mq-univers__grand { display: flex; flex-direction: column; grid-row: span 2; }
.mq-univers__grand .cc-univers__image { position: relative; flex: 1; aspect-ratio: auto; min-height: 420px; }
.mq-univers__grand .cc-univers__image img { position: absolute; inset: 0; }
.mq-univers__petit .cc-univers__image { aspect-ratio: 4 / 3; }

/* « Nos autres agencements » : deux cartes d'univers en demi-largeur */
.mq-autres .cc-univers__image { aspect-ratio: 3 / 2; }

/* Grande photo sur toute la largeur, avec un titre dessus */
.mq-bande-image { position: relative; display: flex; align-items: center; min-height: 560px; overflow: hidden; background: var(--fond-entete); color: var(--titre-sur-sombre); }
.mq-bande-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mq-bande-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--voile-fort) 0%, var(--voile) 45%, var(--voile-nul) 80%); }
.mq-bande-image > .cc-conteneur { position: relative; z-index: 2; }
.mq-bande-image .cc-titre-section { color: var(--titre-sur-sombre); max-width: 620px; }

/* Pages légales : fiche à deux colonnes et sommaire */
.mq-fiche { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--filet); font-size: 15.4px; line-height: 26.18px; }
.mq-fiche dt, .mq-fiche dd { margin: 0; padding: var(--espace-3) 0; border-bottom: 1px solid var(--filet); }
.mq-fiche dt { color: var(--texte-doux); }
.mq-fiche dd { color: var(--titre); }
.mq-lecture-sommaire { display: grid; grid-template-columns: 260px minmax(0, 820px); gap: var(--espace-7); align-items: start; }
.mq-sommaire { position: sticky; top: 126px; display: grid; gap: var(--espace-2); font-size: 14px; }
.mq-sommaire a { color: var(--texte); }
.mq-sommaire a:hover { color: var(--titre); }

/* Colonne de texte seule, pour les pages de lecture */
.mq-lecture { max-width: 820px; }

/* Entre tablette et petit écran d'ordinateur : le menu passe derrière les trois traits, le bouton de rendez-vous reste */
.cc-menu a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1001px) {
  .cc-menu { display: none; }
  .cc-entete__rdv { margin-left: auto; }
  .cc-burger { display: block; margin-left: 0; }
}
@media (max-width: 1000px) {
  .mq-intro, .mq-duo, .mq-univers, .mq-lecture-sommaire, .cc-portrait { grid-template-columns: minmax(0, 1fr); }
  .mq-sommaire { position: static; }
  .mq-avis__piste .cc-avis { flex-basis: calc((100% - 45px) / 2); }
  .mq-intro { align-items: start; }
  .mq-duo { gap: var(--espace-5); }
  .mq-duo--inverse > :first-child { order: 0; }
  .mq-univers__grand { grid-row: auto; }
  .mq-univers__grand .cc-univers__image { aspect-ratio: 4 / 5; min-height: 0; }
}
@media (max-width: 640px) {
  .cc-banniere { min-height: 380px; }
  .mq-bande-image { min-height: 440px; }
  .mq-bande-image::after { background: var(--voile-fort); }
  .mq-tete { margin-bottom: var(--espace-5); }
  .mq-flottant-colle { padding-right: var(--espace-3); top: calc(100dvh - 67px); height: 67px; }
  .mq-fenetre-fond { padding: 0; place-items: stretch; }
  .mq-fenetre { width: 100%; min-height: 100%; padding: calc(var(--espace-7) + var(--espace-3)) var(--espace-4) var(--espace-5); }
  .mq-form, .mq-form--compact { grid-template-columns: minmax(0, 1fr); }
  .mq-form--compact .mq-form__nom, .mq-form--compact .mq-form__sujet { grid-column: 1 / -1; }
  .mq-avis__piste { gap: var(--espace-4); }
  .mq-avis__piste .cc-avis { flex-basis: 86%; }
  .mq-fiche { grid-template-columns: minmax(0, 1fr); }
  .mq-fiche dt { padding-bottom: 0; border-bottom: 0; }
  .mq-fiche dd { padding-top: var(--espace-1); }
}

/* Modèles d'e-mail : 600 px de large, fond clair, en-tête noir */
.mq-mail-cadre { background: var(--fond-doux); padding: var(--espace-6) var(--espace-4); }
.mq-mail-entete { max-width: 600px; margin: 0 auto var(--espace-3); font-size: 13.02px; line-height: 20px; color: var(--texte-doux); }
.mq-mail-entete strong { font-weight: 500; color: var(--titre); }
.mq-mail { max-width: 600px; margin: 0 auto; background: var(--contraste); color: var(--texte-sur-contraste); font-size: 15.4px; line-height: 26.18px; }
.mq-mail__tete { display: flex; align-items: center; gap: var(--espace-4); padding: var(--espace-5); background: var(--fond-entete); }
.mq-mail__tete img { height: 44px; width: auto; }
.mq-mail__tete img + img { height: 34px; padding-left: var(--espace-4); border-left: 1px solid var(--filet-sur-sombre); filter: brightness(0) invert(1); box-sizing: content-box; }
.mq-mail__corps { padding: var(--espace-6) var(--espace-5) var(--espace-5); display: grid; gap: var(--espace-4); }
.mq-mail__titre { font-size: 26px; line-height: 31.2px; font-weight: 500; letter-spacing: -1.2px; color: var(--titre-sur-contraste); }
.mq-mail__fiche { display: grid; grid-template-columns: 130px minmax(0, 1fr); border-top: 1px solid rgba(0, 0, 0, 0.14); margin: 0; }
.mq-mail__fiche dt, .mq-mail__fiche dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
.mq-mail__fiche dt { color: #6b6b6b; }
.mq-mail__fiche dd { color: var(--titre-sur-contraste); }
.mq-mail__btn { display: inline-flex; align-items: center; gap: var(--espace-3); padding: 14px 24px; background: var(--titre-sur-contraste); color: var(--contraste); font-size: 14px; line-height: 20px; letter-spacing: 0.3px; }
.mq-mail__btn--contour { background: none; color: var(--titre-sur-contraste); border: 1px solid var(--titre-sur-contraste); }
.mq-mail__pied { padding: var(--espace-5); border-top: 1px solid rgba(0, 0, 0, 0.14); font-size: 12.04px; line-height: 20.47px; letter-spacing: 0.5px; color: #6b6b6b; }
@media (max-width: 640px) { .mq-mail-cadre { padding: var(--espace-4) 0; } .mq-mail-entete { padding: 0 var(--espace-4); } .mq-mail__tete, .mq-mail__corps, .mq-mail__pied { padding-left: var(--espace-4); padding-right: var(--espace-4); } .mq-mail__fiche { grid-template-columns: minmax(0, 1fr); } .mq-mail__fiche dt { padding-bottom: 0; border-bottom: 0; } .mq-mail__fiche dd { padding-top: 2px; } }
/* Tablette (641 à 1000 px) : un palier à part, pas la colonne unique du téléphone */
@media (min-width: 641px) and (max-width: 1000px) {
  .mq-univers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-univers__grand { grid-column: 1 / -1; }
  .mq-univers__grand .cc-univers__image { aspect-ratio: 16 / 10; }
  .mq-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-5); align-items: center; }
  .mq-duo--inverse > :first-child { order: 1; }
  .cc-portrait { grid-template-columns: 4fr 7fr; gap: var(--espace-5); align-items: start; }
  .cc-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-5) var(--espace-4); }
  .cc-chiffres > :first-child { grid-column: 1 / -1; }
  .cc-chiffre { padding: 0 0 0 var(--espace-4); border-top: 0; border-left: 1px solid var(--filet-sur-sombre); }
}
/* Premier écran de l'accueil, suite : hauteur d'écran simulée et hauteur du bandeau, par palier */
@media (max-width: 1000px) { .cc { --ecran: 1024px; } }
@media (max-width: 670px) { .cc { --bandeau: 72px; } }
@media (max-width: 640px) { .cc { --ecran: 844px; --bandeau: 46px; } }
@media (max-width: 500px) { .cc { --bandeau: 62px; } }
@media (max-height: 1400px) { .cc { --ecran: 100vh; } }
@supports (height: 100svh) { @media (max-height: 1400px) { .cc { --ecran: 100svh; } } }
@media (max-width: 640px) and (max-height: 620px) { .cc-hero__fabricant { display: none; } }
@media (max-height: 520px) { .cc-hero { height: auto; min-height: 520px; } }
/* Retour en haut : petit rond au-dessus du bouton de contact, jamais au même endroit. Il apparaît après un écran de défilement. */
.mq-flottants { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mq-flottant--haut { width: 40px; height: 40px; opacity: 0; pointer-events: none; transform: translateY(8px); text-decoration: none; }
.mq-flottant--haut svg { width: 16px; height: 16px; }
.mq-flottant--haut.est-visible { opacity: 1; pointer-events: auto; transform: none; }
.mq-flottant--haut.est-visible:hover { transform: scale(1.06); }
@media (min-height: 1401px) { .mq-flottant--haut { opacity: 1; pointer-events: auto; transform: none; } }
.mq-flottant-colle { top: calc(100dvh - 132px); height: 132px; }
@media (max-width: 640px) { .mq-flottant-colle { top: calc(100dvh - 117px); height: 117px; } }
/* En-tête au bureau (John, 11/10) : les deux logos à gauche, le menu centré, le bouton tout à droite. Le menu ne passe jamais sur deux lignes :
   ses liens ne se coupent pas, et sous 1181 px il passe derrière les trois traits (contrôle : mesurer_menu.py). */
.cc-menu { flex-wrap: nowrap; }
.cc-entete__rdv { white-space: nowrap; }
@media (min-width: 1181px) {
  .cc-entete__barre { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .cc-menu { margin-left: 0; justify-self: center; }
  .cc-entete__rdv { justify-self: end; }
}
/* Menu derrière les trois traits : plein écran au téléphone, panneau latéral à droite à partir de la tablette, avec la page assombrie derrière */
.mq-menu-tel__fond { display: none; }
@media (min-width: 641px) {
  .mq-menu-tel { inset: 0 0 0 auto; width: min(440px, 100%); padding: 0 var(--espace-5) var(--espace-5); border-left: 1px solid var(--filet); }
  .mq-menu-tel__fond { display: block; position: fixed; inset: 0; z-index: 89; width: 100%; border: 0; padding: 0; background: var(--voile-fort); cursor: pointer; }
  .mq-menu-tel__tete { min-height: 96px; }
}
/* Téléphone, e-mail et liens discrets : cliquables, même aspect que le texte */
.mq-coord { color: inherit; text-decoration: none; }
.mq-coord:hover { text-decoration: underline; }
/* Bandeau de l'accueil : le mot « email » mène à la page Contact (John, 11/10), l'adresse n'est plus écrite en entier */
.mq-bandeau-lien { color: inherit; text-decoration: none; }
.mq-bandeau-lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-bandeau a { white-space: nowrap; }
/* === Modèles ajoutés le 11/10 au soir (modeles_manquants.py) === */
/* Plan du site */
.mq-plan { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mq-plan--articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mq-plan--articles small { flex: none; font-size: 12.04px; letter-spacing: 0.5px; color: var(--texte-doux); }
/* Formulaire : champ en erreur. Site en noir et blanc : filet épais, pictogramme et phrase, jamais la couleur seule. */
.mq-etats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace-7) var(--espace-6); align-items: start; }
.mq-etats .mq-form { align-items: start; }
.mq-erreur .cc-champ { border-color: var(--titre); box-shadow: inset 0 0 0 1px var(--titre); }
.mq-erreur__message { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.04px; line-height: 20.47px; letter-spacing: 0.5px; color: var(--titre); }
.mq-erreur__message svg { flex: none; width: 14px; height: 14px; }
.cc-btn[disabled] { opacity: 0.5; cursor: default; }
/* Visionneuse de photos */
.mq-visionneuse { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 900px; overflow: hidden; background: var(--fond-entete); }
.mq-visionneuse__image { position: relative; min-height: 0; }
.mq-visionneuse .cc-fenetre__fermer { z-index: 2; }
.mq-visionneuse__image img { position: absolute; left: 90px; top: 70px; width: calc(100% - 180px); height: calc(100% - 90px); object-fit: contain; }
.mq-visionneuse__bas { display: flex; align-items: center; gap: var(--espace-4); padding: var(--espace-3) var(--espace-5); border-top: 1px solid var(--filet); }
.mq-visionneuse__bas .mq-avis__fleches { margin-left: auto; }
@media (max-width: 1000px) { .mq-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mq-etats { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .mq-plan, .mq-plan--articles { grid-template-columns: minmax(0, 1fr); } .mq-visionneuse { height: 760px; } .mq-visionneuse__image img { left: 0; width: 100%; } }
/* Le Billot, création de Régis Le Corre : même dessin que le bloc du fabricant, texte à gauche, image à droite.
   L'image remplit sa case (pas de hauteur propre : sinon elle déborde quand le texte est plus haut qu'elle). Sous 1181 px : image entière au-dessus, texte dessous. */
.mq-billot { grid-template-columns: 1fr 1.7fr; background: var(--fond); }
.mq-billot__image { position: relative; min-height: 0; }
.mq-billot__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.mq-billot .cc-liste-tirets { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1180px) { .mq-billot { grid-template-columns: minmax(0, 1fr); } .mq-billot__image { order: -1; aspect-ratio: 4181 / 2407; } }
/* Tablette et petit écran d'ordinateur : sous l'image, le titre et le bouton à gauche, le texte et la liste à droite (pas une seule colonne étirée) */
@media (min-width: 641px) and (max-width: 1180px) {
  .mq-billot .cc-fabricant__texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--espace-7); row-gap: var(--espace-3); align-items: start; padding: var(--espace-7) var(--espace-5); }
  .mq-billot .cc-fabricant__texte > :nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .mq-billot .cc-fabricant__texte > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .mq-billot .cc-fabricant__texte > :nth-child(5) { grid-column: 1; grid-row: 3; margin-top: var(--espace-2) !important; }
  .mq-billot .cc-fabricant__texte > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .mq-billot .cc-fabricant__texte > :nth-child(4) { grid-column: 2; grid-row: 3; }
}
/* === Page d'attente (page_attente.py) === */
.mq-attente { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; min-height: var(--ecran, 100svh); padding: clamp(28px, 6vh, 60px) 24px; background: #000; color: #fff; font-family: "Rubik", system-ui, sans-serif; text-align: center; }
.mq-attente__logo { height: 62px; width: auto; display: block; opacity: 0.92; }
.mq-attente__centre { align-self: center; }
.mq-attente__sur { margin: 0 0 clamp(22px, 4vh, 40px); font-size: 12.04px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.mq-attente__compte { display: flex; justify-content: center; gap: clamp(18px, 4vw, 60px); }
.mq-attente__compte strong { display: block; font-size: clamp(54px, 9vw, 132px); line-height: 1; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mq-attente__compte span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.mq-attente__tel { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 14px; letter-spacing: 1.5px; transition: color 0.25s; }
.mq-attente__tel:hover { color: #fff; }
@media (max-width: 640px) { .mq-attente__logo { height: 48px; } }

/* Partenaires en trois rangs (partenaires.py) : début */
.mq-partenaires { align-items: start; }
.mq-part { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--filet); border: 1px solid var(--filet); }
.mq-part__case { grid-column: span 2; display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 20px 16px; background: var(--fond-doux); }
.mq-part__case img { display: block; height: calc(var(--h) * var(--k, 1)); width: auto; max-width: 100%; filter: brightness(0) invert(1); opacity: 0.6; }
.mq-part__case--second { grid-column: span 4; min-height: 150px; }
.mq-part__case--second img { opacity: 0.9; }
.mq-part__case--principal { grid-column: 1 / -1; justify-content: flex-start; gap: 48px; min-height: 0; padding: 48px 56px; }
.mq-part__case--principal img { height: 96px; opacity: 1; }
.mq-part__texte { padding-left: 48px; border-left: 1px solid var(--filet); }
.mq-part__texte .cc-surtitre { margin: 0 0 6px; }
.mq-part__texte p { margin: 0; }
[data-theme="ancien"] .mq-part__case img { filter: none; }
@media (max-width: 1000px) { .mq-part__case { grid-column: span 3; } .mq-part__case--second { grid-column: span 4; } .mq-part__case--principal { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .mq-part__case { grid-column: span 4; min-height: 84px; padding: 16px 10px; --k: 0.82; }
  .mq-part__case--second { grid-column: 1 / -1; min-height: 104px; --k: 1; }
  .mq-part__case--principal { grid-column: 1 / -1; flex-direction: column; align-items: center; gap: 20px; padding: 36px 24px; text-align: center; }
  .mq-part__case--principal img { height: 76px; }
  .mq-part__texte { padding-left: 0; border-left: 0; }
  .mq-part__texte .cc-surtitre { justify-content: center; }
}
/* Partenaires en trois rangs (partenaires.py) : fin */
