/* La présentation mobile reste définie dans styles.css. */
.desktop-navigation { display: none; }
.desktop-equipment-photo { display: none; }

/* 900 px couvre aussi la vue ordinateur à 980 px des navigateurs mobiles. */
@media (min-width: 900px) {
  :root { --desktop-header-height: 124px; --desktop-gap: clamp(32px, 3.8vw, 56px); }
  html { scroll-padding-top: var(--desktop-header-height); -webkit-text-size-adjust: none; text-size-adjust: none; }
  .container { width: min(1320px, calc(100% - 80px)); }
  h1, h2 { text-wrap: balance; }
  p { text-wrap: pretty; }
  main :is(.container,.intro-grid,.home-about-grid,.spread-top,.filter-copy,.accessories-copy,.layers-content,.contact-page-grid) > * { min-width: 0; }

  /* Deux lignes stables : équipements et contact, puis collection et fabrication. */
  .header .nav {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    grid-template-rows: 80px 44px;
    gap: 0 24px;
    height: var(--desktop-header-height);
  }
  .header .brand { grid-column: 1; grid-row: 1; width: fit-content; }
  .header .brand img { width: 144px; }
  .header .navlinks, .header .menu { display: none; }
  .header .desktop-navigation { display: contents; }
  .desktop-tools, .desktop-main { display: flex; align-items: center; min-width: 0; }
  .desktop-tools { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: clamp(16px, 1.8vw, 28px); }
  .desktop-main { grid-column: 1 / -1; grid-row: 2; height: 44px; border-top: 1px solid #dfefed; }
  .desktop-tools a, .desktop-main a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #254d5e; font-size: .875rem; font-weight: 600; line-height: 1.35; white-space: nowrap; }
  .desktop-tools .button { min-height: 44px; padding: 12px 21px; color: #fff; font-size: .875rem; letter-spacing: 0; text-transform: none; }
  .desktop-main a { flex: 1 1 0; height: 44px; padding: 10px 18px; font-size: .9375rem; }
  .desktop-main a + a { border-left: 1px solid #e1eeec; }
  .desktop-main a::after { content: ''; position: absolute; bottom: 0; left: 24%; right: 24%; height: 3px; background: #22b3b8; transform: scaleX(0); transition: transform .2s; }
  .desktop-main a:hover, .desktop-tools a:not(.button):hover, .desktop-navigation a[aria-current='page'] { color: #087887; }
  .desktop-main a:hover::after, .desktop-main a[aria-current='page']::after { transform: scaleX(1); }
  .desktop-navigation a:focus-visible { outline: 3px solid #f4ba33; outline-offset: 3px; }
  .topbar { min-height: 35px; font-size: .75rem; }

  /* Bandeaux courts : titre puis introduction, centrés sur toute la largeur. */
  .catalog-hero, .formules-hero,
  :is(.gammes-page,.mini-page,.filtration-page,.accessoires-page,.fabrication-page,.revendeurs-page,.distributor-page) .catalog-hero {
    min-height: 0;
    padding: 36px 0 40px;
  }
  :is(.catalog-hero,.formules-hero) .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  :is(.catalog-hero,.formules-hero) .container > .eyebrow { margin: 0; }
  :is(.catalog-hero,.formules-hero) .container > h1 { margin: 0; max-width: 1060px; font-size: clamp(2.5rem, 3.3vw, 3.4rem); font-weight: 400; line-height: 1.15; }
  :is(.catalog-hero,.formules-hero) .container > p { width: 100%; max-width: 840px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #315b64; font-size: 1.0625rem; font-weight: 400; line-height: 1.65; box-shadow: none; }
  section[id] { scroll-margin-top: 24px; }
  .eyebrow { font-size: .875rem; letter-spacing: .12em; }
  .textlink, .formule-link { font-size: .875rem; }

  /* Accueil : une ouverture plus horizontale, suivie de blocs équilibrés. */
  .hero { min-height: 450px; height: clamp(450px, 58vh, 560px); align-items: center; }
  .hero .container { padding-top: 42px; padding-bottom: 46px; }
  .hero h1 { font-size: clamp(2.85rem, 4vw, 4.35rem); line-height: 1.09; max-width: 740px; margin: 0 0 22px; }
  .hero h1 + p { max-width: 550px; padding: 15px 20px; font-size: 1rem; font-weight: 400; line-height: 1.65; }
  .hero-actions { gap: 16px; margin-top: 24px; }
  .hero-actions .button { min-height: 52px; padding: 16px 25px; font-size: .875rem; }
  .home-about { padding: 38px 0 42px; }
  .home-about-grid { display: block; max-width: 1040px; text-align: center; }
  .home-about h2 { font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; max-width: none; margin: 12px 0 17px; }
  .home-about p { font-size: 1.0625rem; line-height: 1.7; max-width: 880px; margin: 0 auto; }
  .intro.home-collection { padding: 52px 0 42px; }
  .home-collection h2 { font-size: clamp(2.1rem, 2.7vw, 2.8rem); line-height: 1.18; }
  .home-collection > .container > :is(.eyebrow,h2) { display: block; text-align: center; }
  .home-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 28px; }
  .home-choice { display: flex; flex-direction: column; }
  .home-choice > img { height: clamp(235px, 21vw, 285px); }
  .home-choice > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 26px 30px 28px; }
  .home-choice h3 { font-size: 1.8rem; font-weight: 400; margin: 0 0 13px; }
  .home-choice p { min-height: 0; max-width: 570px; font-size: 1rem; margin: 0 0 22px; }
  .home-choice strong { margin-top: auto; white-space: normal; font-size: .875rem; line-height: 1.5; letter-spacing: .015em; }
  .intro.home-equipment { padding: 36px 0 52px; }
  .home-equipment .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 36px; align-items: center; }
  .home-equipment .intro-grid > div:first-child { display: contents; }
  .home-equipment .intro-grid > div:first-child > .eyebrow { grid-column: 1 / -1; justify-self: center; }
  .home-equipment h2 { grid-column: 1 / -1; margin: 0 0 12px; text-align: center; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .home-equipment .desktop-equipment-photo { display: block; grid-column: 1; grid-row: 3; width: 100%; height: 280px; padding: 20px; object-fit: contain; background: #fff; border: 1px solid #d4e9e6; border-radius: 14px; }
  .home-equipment .intro-grid > div:last-child { grid-column: 2; grid-row: 3; align-self: center; padding: 26px 30px; border: 0; background: transparent; box-shadow: none; }
  .home-equipment p { max-width: 620px; font-size: 1.0625rem; line-height: 1.7; margin-bottom: 20px; }
  .home-equipment .textlink { margin-top: 0; }
  .feature, .home-feature, .feature:not(.home-feature) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 365px; }
  .feature .feature-img, .home-feature .feature-img { min-height: 365px; }
  .feature .feature-copy, .home-feature .feature-copy { padding: 34px clamp(32px, 4vw, 66px); }
  .feature .feature-copy h2 { font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; max-width: 590px; margin: 13px 0 18px; }
  .feature .feature-copy p { font-size: 1rem; line-height: 1.7; }

  /* Les sept familles restent visibles, sans défilement automatique sur PC. */
  .catalog-tabs-moving { top: var(--desktop-header-height); overflow: visible; }
  .catalog-tabs-moving .catalog-tabs-track { display: block; width: min(1320px, calc(100% - 80px)); margin: auto; animation: none; transform: none; will-change: auto; }
  .catalog-tabs-moving .catalog-tabs-set { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; gap: 0; padding: 5px 0; font-size: .875rem; letter-spacing: .06em; }
  .catalog-tabs-moving .catalog-tabs-set[aria-hidden='true'] { display: none; }
  .catalog-tabs-moving .catalog-tabs-set a { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 8px; border-radius: 7px; }
  .catalog-tabs-moving .catalog-tabs-set a:hover { background: #eaf8f5; }
  .catalog-tabs-moving a:focus-visible { outline: 2px solid #087887; outline-offset: 2px; }
  .gammes-page .spread[id], .gammes-page #demande-devis { scroll-margin-top: 72px; }
  .gammes-page .spread { padding: 48px 0 54px; }
  .gammes-page .spread-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: stretch; margin-bottom: 30px; }
  .gammes-page .spread .spread-top .spread-visual { order: 0; position: relative; height: auto; min-height: 280px; box-shadow: none; border-radius: 14px; }
  .gammes-page .spread-top .spread-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .gammes-page :is(#seine,#rhone,#tarn) .spread-top { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .gammes-page :is(#seine,#rhone,#tarn) .spread-top .spread-visual { order: 2; }
  .gammes-page .spread-top > div:last-child { display: flex; flex-direction: column; justify-content: center; padding: 22px 18px; border: 0; background: transparent; box-shadow: none; }
  .gammes-page .spread h2 { font-size: clamp(1.75rem, 2.25vw, 2.3rem); line-height: 1.2; margin: 12px 0 15px; }
  .gammes-page .spread-intro { max-width: 590px; font-size: 1rem; font-weight: 400; line-height: 1.65; margin-bottom: 0; }
  .gammes-page .spread-top > div:last-child > .eyebrow:last-child { align-self: flex-start; margin-top: 18px; padding: 6px 10px; border: 1px solid #c7e5e2; border-radius: 6px; background: #ffffffb3; font-size: .875rem; letter-spacing: .04em; }
  .mini-page .spread { padding: 48px 0 56px; }
  .mini-page .section-head { display: block; text-align: center; margin-bottom: 30px; }
  .mini-page .section-head h2 { max-width: none; margin: 0 0 14px; font-size: clamp(2.1rem, 2.7vw, 2.8rem); }
  .mini-page .section-head p { max-width: 820px; font-size: 1.0625rem; font-weight: 400; margin: 0 auto; }

  /* Fiches plus compactes, avec le même alignement des données et des actions. */
  .model-table { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .model-card { display: grid; grid-template-rows: 210px auto 1fr auto auto auto; gap: 0; min-width: 0; padding: 0 0 14px; border-radius: 14px; box-shadow: 0 7px 22px #12586208; }
  .model-card .model-picture { height: 210px; margin: 0; padding: 22px 24px; background: linear-gradient(150deg,#f5fcfb,#e5f5f3); }
  .model-card > h3 { margin: 20px 22px 12px; font-size: 1.5rem; font-weight: 600; }
  .model-tile .spec-list { margin: 0 22px; }
  .model-card .spec-list > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 8px 0; }
  .model-card .spec-list dt, .model-card .spec-list dd { font-size: .875rem; line-height: 1.5; }
  .model-card .spec-list dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; }
  .model-card .model-colors { margin: 14px 22px 0; padding-top: 14px; }
  .model-card .model-colors-title { font-size: .875rem; letter-spacing: .04em; }
  .model-card .model-colors-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .model-card .model-colors-list > div { min-width: 0; font-size: .875rem; gap: 7px; }
  .model-card .model-colors-list .swatch { width: 24px; height: 24px; }
  .model-card > .textlink { display: flex; justify-content: center; align-items: center; min-height: 46px; margin: 20px 22px 0; padding: 11px 10px; border: 1px solid #b5dedd; border-radius: 8px; background: #f2fbf9; text-transform: none; letter-spacing: 0; font-size: .875rem; text-align: center; }
  .model-card > .textlink:hover { background: #def4ef; }
  .model-card .pdf-link { margin: 13px 22px 0; padding: 12px 0 2px; font-size: .875rem; }
  .gammes-page .model-table:has(> .model-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 920px); margin-inline: auto; }
  .model-picture img.tech-landscape { height: 240px; }

  /* Formules comparables dans trois colonnes de même hauteur. */
  .formules-page .formules-content { padding: 62px 0 72px; }
  .formules-intro { display: block; max-width: 980px; margin: 0 auto 30px; text-align: center; }
  .formules-intro h2 { margin: 13px 0 15px; font-size: clamp(2rem, 2.6vw, 2.65rem); }
  .formules-intro p { max-width: 860px; font-size: 1.0625rem; line-height: 1.7; margin: 0 auto; }
  .formules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .formule-card { padding: clamp(22px, 2.3vw, 32px); }
  .formule-kicker { font-size: .875rem; letter-spacing: .08em; }
  .formule-card h3 { font-size: 1.875rem; margin: 15px 0; }
  .formule-lead { min-height: 5em; font-size: 1rem; line-height: 1.65; }
  .formule-card li { font-size: 1rem; line-height: 1.65; padding-bottom: 14px; }
  .formule-link { min-height: 44px; }
  .formules-note { display: block; margin-top: 28px; padding: 28px 34px; text-align: center; }
  .formules-note h2 { margin: 11px 0 15px; font-size: 1.875rem; line-height: 1.25; }
  .formules-note p { max-width: 940px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

  /* Filtration : quatre cartes, chacune avec sa photo au-dessus de son texte. */
  .filtration-page .filter-list { padding: 44px 0 24px; }
  .filtration-page .filter-list > .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .filtration-page .filter-row { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 1px solid #d4e8e5; border-radius: 14px; background: #fff; overflow: hidden; }
  .filtration-page .filter-row .filter-photo { order: 0; width: 100%; height: 250px; padding: 24px; border-radius: 0; background: #f1f9f8; }
  .filtration-page .filter-copy { order: 1; flex: 1; padding: 26px 30px 28px; }
  .filter-copy h2 { font-size: 1.75rem; line-height: 1.25; margin: 13px 0 17px; }
  .filter-copy p { max-width: none; font-size: 1rem; line-height: 1.7; }
  .filter-copy .filter-dim { font-size: .9375rem; line-height: 1.65; }
  .filter-badge { display: inline-block; font-size: .875rem; padding: 9px 12px; margin-right: 5px; }
  .filter-note { padding-top: 28px; padding-bottom: 66px; }
  .filter-note { text-align: center; }
  .filter-note h2 { max-width: none; font-size: clamp(2rem, 2.6vw, 2.65rem); }
  .filter-note p { max-width: 840px; margin: 0 auto 22px; font-size: 1.0625rem; }
  .accessories-nav { top: var(--desktop-header-height); }
  .accessories-nav .container { justify-content: center; gap: 70px; padding: 9px 0; }
  .accessories-nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: .9375rem; }
  .accessories-section { padding: 48px 0; scroll-margin-top: 72px; }
  .accessories-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--desktop-gap); align-items: center; }
  .accessories-visual { min-height: 285px; padding: 28px; }
  .accessories-visual img { max-height: 240px; }
  .accessories-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
  .accessories-copy h2 { font-size: clamp(1.85rem, 2.3vw, 2.4rem); margin: 0 0 18px; }
  .accessories-copy p { font-size: 1rem; line-height: 1.7; font-weight: 400; max-width: 650px; }
  .accessories-copy .textlink { align-self: flex-start; margin-top: 12px; }

  /* Fabrication : présentation, coupe centrée, puis sept éléments en cartes. */
  .fabrication-page .fabrication-intro { padding: 40px 0 44px; }
  .fabrication-intro-grid { display: block; max-width: 1040px; text-align: center; }
  .fabrication-intro h2 { margin: 12px 0 17px; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .fabrication-intro-grid > p { max-width: 900px; margin: 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 1.0625rem; line-height: 1.7; font-weight: 400; }
  .fabrication-page .fabrication-layers { padding: 44px 0 50px; }
  .layers-grid { display: block; }
  .layers-caption { position: static; max-width: 940px; margin: 0 auto 26px; text-align: center; }
  .layers-caption h2 { margin: 12px 0 16px; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .layers-caption p { max-width: 900px; font-size: 1.0625rem; line-height: 1.7; margin: 0 auto; }
  .layers-content { display: block; }
  .fabrication-section-image { position: static; max-width: 820px; margin: 0 auto 28px; padding: 18px 24px; }
  .fabrication-section-image img { max-height: 320px; }
  .fabrication-section-image figcaption { font-size: .875rem; line-height: 1.6; margin-top: 10px; }
  .layers-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; overflow: visible; background: transparent; box-shadow: none; border-radius: 0; }
  .layer { grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 23px 26px; border: 1px solid #d4e8e5; border-radius: 12px; background: #fff; }
  .layer:last-child { grid-column: 1 / -1; width: calc((100% - 18px) / 2); justify-self: center; border-bottom: 1px solid #d4e8e5; }
  .layer-number { font-size: .875rem; }
  .layer h3 { font-size: 1.1875rem; }
  .layer p { font-size: 1rem; line-height: 1.65; }
  .layer small { font-size: .875rem; }
  .fabrication-page .fabrication-details { padding: 48px 0; }
  .fabrication-details > .container > h2 { max-width: 960px; margin: 0 auto 25px; text-align: center; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .fabrication-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .fabrication-detail-grid article { display: flex; flex-direction: column; padding: 32px 36px; }
  .fabrication-detail-grid article h3 { order: 0; margin: 0 0 18px; font-size: 1.5rem; }
  .fabrication-detail-grid article p { order: 1; font-size: 1.0625rem; line-height: 1.7; }
  .fabrication-detail-grid .premoulded-image { order: 2; height: 215px; margin: 24px 0 0; }
  .fabrication-page .fabrication-photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 340px; }
  .fabrication-page .fabrication-photo-image { min-height: 340px; }
  .fabrication-photo-text { padding: 34px clamp(32px, 4vw, 66px); }
  .fabrication-photo-text h2 { font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }

  /* Réseau et contact : coordonnées en évidence, formulaires bien dimensionnés. */
  .revendeurs-page .partner-section { padding: 62px 0 68px; }
  .revendeurs-page .partner-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--desktop-gap); align-items: stretch; }
  .revendeurs-page .partner-grid .map-art { min-height: 515px; padding: 28px; }
  .revendeurs-page .partner-grid .map-art svg { max-width: 480px; max-height: 480px; }
  .revendeurs-page .partner-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px 36px; }
  .partner-copy h2 { font-size: clamp(2.1rem, 2.8vw, 3rem); line-height: 1.2; }
  .partner-copy > p { font-size: 1.0625rem; font-weight: 400; line-height: 1.7; }
  .partner-services span, .partner-contact h3 { font-size: .875rem; }
  .partner-contact a { font-size: 1.0625rem; }
  .partner-copy .button { align-self: flex-start; margin-top: 8px; }
  .distributor-page .distributor-section { padding: 62px 0 72px; }
  .distributor-grid { max-width: 1000px; grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .distributor-intro { position: static; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; }
  .distributor-intro h2 { margin: 12px 0 17px; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .distributor-intro p { max-width: 860px; margin: 0 auto 17px; font-size: 1.0625rem; line-height: 1.7; font-weight: 400; }
  .distributor-form { min-width: 0; padding: 34px 38px; }
  .distributor-fields { gap: 23px; }
  .distributor-privacy { font-size: .875rem; line-height: 1.6; }
  .contact-page { padding: 64px 0 72px; }
  .contact-page-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--desktop-gap); align-items: start; }
  .contact-page h2 { font-size: clamp(2.15rem, 2.8vw, 3rem); line-height: 1.2; margin: 17px 0 30px; }
  .contact-detail { padding: 23px 0; }
  .contact-detail > strong { font-size: .875rem; }
  .contact-panel { min-width: 0; padding: 32px 38px 38px; border: 1px solid #d2e7e7; border-radius: 15px; }
  .contact-panel h3 { font-size: 2rem; margin: 10px 0 24px; }
  .contact-panel input, .contact-panel textarea { border-radius: 7px; font-size: 1rem; }
  .contact-panel .form-note { font-size: .875rem; line-height: 1.65; }

  /* Le devis utilise la largeur disponible, sans longue colonne vide à gauche. */
  .pool-enquiry { padding: 48px 0 52px; }
  .pool-enquiry-layout { max-width: 1200px; grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pool-enquiry-intro { position: static; display: block; margin: 0 auto 28px; max-width: 900px; text-align: center; }
  .pool-enquiry-intro h2 { max-width: none; margin: 12px 0 16px; font-size: clamp(2rem, 2.6vw, 2.65rem); line-height: 1.2; }
  .pool-enquiry-intro p { max-width: 850px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.7; }
  .pool-enquiry-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 32px; gap: 22px 26px; }
  .pool-enquiry-choices, .pool-enquiry-filtration, .pool-enquiry-options { grid-column: 1 / -1; }
  .pool-enquiry-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pool-enquiry-form > label:has([name='local_technique']) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 26px; }
  .pool-enquiry-filtration-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
  .pool-enquiry-form .pool-enquiry-filtration-choice { min-height: 108px; padding: 16px; gap: 12px; }
  .pool-enquiry-row { gap: 20px; }
  .pool-enquiry-option-list { justify-content: space-between; gap: 8px 24px; }
  .pool-enquiry-form > label:has(textarea) { height: 100%; }
  .pool-enquiry-form textarea { flex: 1; min-height: 150px; }
  .pool-enquiry-photos { padding: 20px 22px; }
  .pool-enquiry-submit { align-self: center; justify-self: start; width: 100%; max-width: 410px; min-height: 52px; }
  .pool-enquiry-help { align-self: center; margin: 0; }
  .pool-enquiry-phone { grid-column: 1; justify-self: end; margin-top: 16px; font-size: .9375rem; }

  body:has(.home-equipment) .contact { padding: 22px 0; }
  body:has(.home-equipment) .contact-grid { gap: 28px; padding: 23px 30px; border-radius: 12px; box-shadow: none; }
  body:has(.home-equipment) .contact h2 { max-width: 780px; margin: 9px 0; font-size: clamp(1.8rem, 2.4vw, 2.2rem); line-height: 1.2; }

  /* Pied de page aligné sur les mêmes limites que le catalogue. */
  .footer, .footer-cta + .footer { padding: 30px 0 20px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 4vw, 68px); }
  .footer-brand { grid-column: auto; min-width: 0; }
  .footer-brand .footer-logo-lockup img { width: 140px; }
  .footer-brand p { max-width: 340px; font-size: 1rem; line-height: 1.6; margin: 16px 0 0; }
  .footer-column h3 { font-size: .875rem; letter-spacing: .1em; margin: 0 0 12px; }
  .footer-column nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; }
  .footer-column nav a, .footer-column > a, .footer-column address { font-size: 1rem; line-height: 1.65; }
  .footer-column .footer-phone { font-size: 1rem; }
  .footer-column .footer-city { white-space: normal; }
  .footer-top > .footer-column:last-child { padding-left: 28px; }
  .footer-bottom { margin-top: 24px; padding-top: 16px; gap: 12px 24px; }
  .footer-bottom > span, .footer .legal-links a, .footer .legal-links button { font-size: .875rem; }
  .footer-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
  .footer-cta-eyebrow { font-size: .875rem; }
  .footer-cta p { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
  .footer-cta-actions { flex-wrap: nowrap; gap: 22px; }
  .footer-cta-phone { font-size: 1.0625rem; }
  .footer-cta-button { min-height: 46px; font-size: .9375rem; }
  .legal-container { max-width: 960px; }
  .legal-page { padding: 60px 0 72px; }
  .legal-page h1 { font-size: 3.3rem; }
  .cookie-banner { width: min(1100px, calc(100% - 64px)); bottom: 18px; padding: 16px 24px; }
}

@media (min-width: 1180px) {
  .model-table { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) and (max-width: 1179px) {
  .model-table:has(> .model-card:nth-child(3):last-child) > .model-card:last-child { grid-column: 1 / -1; width: calc((100% - 24px) / 2); justify-self: center; }
  .formule-card { padding: 24px 21px; }
  .formule-lead { min-height: 6.2em; }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .desktop-main a { padding-inline: 14px; font-size: .875rem; }
}

/* Mini-piscines : deux modèles en haut, le troisième et un texte en dessous. */
.mini-page .mini-pool-guide { display: none; }
@media (min-width: 900px) {
  .mini-page .model-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-page .model-table > .model-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .mini-page .model-table > .model-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .mini-page .model-table > .model-card:nth-child(3) { grid-column: 1; grid-row: 2; width: auto; justify-self: stretch; }
  .mini-page .mini-pool-guide { display: flex; flex-direction: column; justify-content: center; grid-column: 2; grid-row: 2; min-width: 0; padding: clamp(28px, 3vw, 44px); border: 1px solid #c9e7e4; border-radius: 14px; background: linear-gradient(145deg, #eaf8f5, #f6fcfa); box-shadow: 0 7px 22px #12586208; }
  .mini-page .mini-pool-guide .eyebrow { font-size: .875rem; line-height: 1.5; letter-spacing: .1em; margin-bottom: 18px; }
  .mini-page .mini-pool-guide h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 24px; }
  .mini-page .mini-pool-guide p { max-width: 54ch; font-size: 1rem; line-height: 1.7; font-weight: 400; margin: 0 0 20px; }
  .mini-page .mini-pool-guide .mini-pool-guide-summary { margin-bottom: 0; padding-top: 20px; border-top: 1px solid #c2dfdb; color: #165660; }
}

/* Gammes à trois modèles : la dernière piscine partage sa ligne avec un texte. */
.gammes-page .range-guide { display: none; }
@media (min-width: 900px) {
  .gammes-page .range-with-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-inline: 0; }
  .gammes-page .range-with-guide > .model-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gammes-page .range-with-guide > .model-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gammes-page .range-with-guide > .model-card:nth-child(3) { grid-column: 1; grid-row: 2; width: auto; justify-self: stretch; }
  .gammes-page .range-guide { display: flex; flex-direction: column; justify-content: center; grid-column: 2; grid-row: 2; min-width: 0; padding: clamp(28px, 3vw, 44px); border: 1px solid #c9e7e4; border-radius: 14px; background: linear-gradient(145deg, #eaf8f5, #f6fcfa); box-shadow: 0 7px 22px #12586208; }
  .gammes-page .range-with-guide.guide-on-left > .model-card:nth-child(3) { grid-column: 2; }
  .gammes-page .range-with-guide.guide-on-left > .range-guide { grid-column: 1; }
  .gammes-page .range-guide .eyebrow { font-size: .875rem; line-height: 1.5; letter-spacing: .1em; margin-bottom: 18px; }
  .gammes-page .range-guide h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 24px; }
  .gammes-page .range-guide p { max-width: 54ch; font-size: 1rem; line-height: 1.7; font-weight: 400; margin: 0 0 20px; }
  .gammes-page .range-guide .range-guide-summary { margin-bottom: 0; padding-top: 20px; border-top: 1px solid #c2dfdb; color: #165660; }
}
