/* Accueil V2.2 (maquette figée du 21/10/2026, design system Collection Sepya v1.2). Toutes les règles sous .hm (site.css est partagé
   avec le back-office) ; jetons de :root uniquement ; conteneur = .wrap du site (1180 px), aucune largeur propre à la page. La maquette
   donne structure, proportions et rythme : tailles et grilles reprises, classes du site déjà prises renommées (hm-lead, hm-actions,
   hm-temoin). Points de rupture de la maquette : 1100, 1000 et 700 px. Section « Pour qui » retirée (25/10/2026). Grille Collections : six cartes égales, trois par ligne
   (25/10/2026) ; section Prescripteurs retirée de l'accueil (25/10/2026). */

/* Base de la page : neutralise les règles génériques de site.css (sections, paragraphes, titres) */
.hm{font-size:16px;line-height:1.6}
.hm section{padding:0}
.hm p{max-width:none}
.hm h1,.hm h2,.hm h3{font-family:var(--serif);font-weight:400;margin:0;line-height:1.1}
.hm img{height:auto} /* l'attribut height l'emporterait sur aspect-ratio */
.hm figure{margin:0}
.hm .kicker{margin:0 0 14px;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:500}
/* Surtitres : la maquette leur donne la taille et la couleur du paragraphe de leur bloc (Collections 18 px, bande sombre 16 px, chambre
   témoin 19 px, Échantillons 18 px avec 32 px dessous, carte Linge de bain 16 px) ; reproduit tel quel, pour coller aux captures */
.hm .section-head p.kicker{font-size:18px;color:var(--ink2);margin:0 0 14px}
.hm .band p.kicker{font-size:16px;color:var(--line2);margin:0 0 14px}
.hm .hm-temoin p.kicker{font-size:19px;color:var(--petrol-muted);margin:0 0 14px}
.hm .tlink{display:inline-block;padding:11px 0;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.hm .hm-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hm .btn-light{background:var(--petrol-ink);color:var(--petrol)}
.hm .btn-light:hover{background:#fff;color:var(--petrol)}
.hm .section{padding:80px 0;border-top:1px solid var(--line)}
.hm .section.flush{border-top:0;padding-top:0}
.hm .section-head{max-width:760px;margin-bottom:48px}
.hm .section-head h2{font-size:52px;line-height:1.05;margin-bottom:12px}
.hm .section-head p{margin:0;color:var(--ink2);font-size:18px}

/* Bandeau */
.hm .h-hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center;padding:64px 0 88px}
.hm .h-hero h1{font-size:68px;line-height:1.02;margin-bottom:24px;max-width:640px}
.hm .hm-lead{margin:0 0 32px;max-width:560px;font-size:20px;line-height:1.6;color:var(--ink2)}
.hm .h-hero figure img{width:100%;aspect-ratio:5/6;object-fit:cover}
.hm .preuves{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line2);max-width:640px}
.hm .preuves li{padding:18px 18px 0 0}
.hm .preuves li + li{padding-left:18px;border-left:1px solid var(--line2)}
.hm .preuves b{display:block;font-family:var(--serif);font-weight:500;font-size:25px;line-height:1.1;margin-bottom:6px}
.hm .preuves span{display:block;font-size:14px;line-height:1.45;color:var(--muted)}

/* Pour qui */

/* Collections */
.hm .coll-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px 40px;margin-bottom:48px}
.hm .coll-head .section-head{margin-bottom:0}
.hm .coll{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:56px 32px}
.hm .coll .card{grid-column:span 4;text-decoration:none;display:block;color:var(--ink)}
.hm .coll .card figure{overflow:hidden}
.hm .coll .card img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .6s ease}
.hm .coll .card:hover img{transform:scale(1.02)}
.hm .coll .card h3{font-size:32px;margin:16px 0 6px}
.hm .coll .card p{margin:0;color:var(--ink2);font-size:16px;max-width:440px}
.hm .coll .card:hover h3{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
/* Le parcours (25/10/2026) : phrase d'entrée à droite du titre, quatre étapes en colonnes (deux sous 1100 px, une sous 700 px), chaque
   étape avec deux courtes listes ; titres d'étape sur une ligne, descriptions sur deux au plus */
.hm .pj-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px 64px;align-items:end;margin-bottom:44px}
.hm .pj-head h2{font-size:52px;line-height:1.05;margin:0}
.hm .pj-head p{margin:0;color:var(--ink2);font-size:18px;line-height:1.55;max-width:600px}
.hm .pj-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px}
.hm .pj-step{position:relative;border-top:1px solid var(--ink);padding:26px 8px 0 0}
.hm .pj-step::before{content:"";position:absolute;left:0;top:-5px;width:9px;height:9px;background:var(--petrol)}
.hm .pj-num{display:block;font-family:var(--serif);font-weight:500;font-size:46px;line-height:1;margin-bottom:14px;font-variant-numeric:lining-nums}
.hm .pj-step h3{font-family:var(--serif);font-weight:500;font-size:24px;line-height:1.15;margin-bottom:8px;white-space:nowrap}
.hm .pj-step > p{margin:0 0 18px;color:var(--ink2);font-size:15px;line-height:1.5}
.hm .pj-lab{font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--petrol);margin:0 0 8px}
.hm .pj-list ul{list-style:none;margin:0;padding:0}
.hm .pj-list li{font-size:15px;line-height:1.45;color:var(--ink2);padding:5px 0;border-top:1px solid var(--line2)}
.hm .pj-list li:last-child{border-bottom:1px solid var(--line2)}
.hm .pj-list + .pj-list{margin-top:18px}
.hm .pj-note{margin:36px 0 0;padding-top:18px;border-top:1px solid var(--line2);color:var(--muted);font-size:15px}
@media (prefers-reduced-motion:reduce){.hm .coll .card img{transition:none}.hm .coll .card:hover img{transform:none}}

/* Bande sombre (anthracite) : filets et textes secondaires dérivés des jetons */
.hm .band{background:var(--ink);color:var(--petrol-ink);padding:80px 64px 72px;margin:0 0 96px}
/* Fusion du 25/10/2026 : présentation à droite (band-about), arguments à gauche (ul) ; la présentation est première dans le document
   pour l'ordre de lecture sur une colonne, la grille la place à droite */
.hm .band-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:40px 88px;align-items:start}
.hm .band-about{grid-column:2;grid-row:1}
.hm .band ul{grid-column:1;grid-row:1;list-style:none;margin:0;padding:0}
.hm .band h2{font-size:52px;line-height:1.05;margin-bottom:22px;max-width:520px}
.hm .band-about p{margin:0;color:var(--petrol-ink);font-size:18px;line-height:1.6;max-width:520px}
.hm .band li{padding:22px 0 24px;border-top:1px solid color-mix(in srgb,var(--petrol-ink) 30%,var(--ink))}
.hm .band li:last-child{border-bottom:1px solid color-mix(in srgb,var(--petrol-ink) 30%,var(--ink))}
.hm .band h3{font-size:28px;line-height:1.12;margin-bottom:8px;max-width:520px}
.hm .band li p{margin:0;color:var(--line);font-size:16px;max-width:520px}

/* Parcours */

/* Chambre témoin : le seul bloc pétrole de la page */
/* Chambre témoin (proposition C, 25/10/2026) : titre puis trois étapes en ligne, titres seuls ; sous 700 px, l'empilement vertical */
.hm .hm-temoin{background:var(--petrol);color:var(--petrol-ink);padding:88px 72px;margin:0 0 96px}
.hm .hm-temoin h2{font-size:60px;line-height:1.02;margin-bottom:40px;max-width:720px}
.hm .etapes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 44px;align-items:stretch}
.hm .etapes li{border:1px solid var(--petrol-muted);padding:24px 28px}
.hm .etapes li:last-child{background:var(--petrol-ink);border-color:var(--petrol-ink);color:var(--petrol)}
.hm .etapes li + li{position:relative}
.hm .etapes li + li::before{content:"";position:absolute;left:-37px;top:50%;width:26px;height:1px;background:var(--petrol-muted)}
.hm .etapes li + li::after{content:"";position:absolute;left:-21px;top:calc(50% - 5px);width:9px;height:9px;border-right:1px solid var(--petrol-muted);border-bottom:1px solid var(--petrol-muted);transform:rotate(-45deg)}
.hm .etapes b{display:block;font-family:var(--serif);font-weight:500;font-size:27px;line-height:1.1;font-variant-numeric:lining-nums}

/* Prescripteurs */

/* Échantillons : photos réelles */

/* Sepya Textiles */

/* FAQ : details natifs */
.hm .faq2{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px 72px;align-items:start}
.hm .faq2 h2{font-size:52px;line-height:1.05}
.hm .faq2 details{border-top:1px solid var(--line2);padding:16px 0}
.hm .faq2 details:last-of-type{border-bottom:1px solid var(--line2)}
.hm .faq2 summary{font-weight:600;cursor:pointer;padding:10px 0;font-size:17px}
.hm .faq2 details p{margin:10px 0 0;color:var(--ink2)}

/* Dernier appel */

@media (max-width:1180px){
  .hm .pj-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}
}
@media (max-width:1100px){
  .hm .h-hero h1{font-size:58px}
}
@media (max-width:1000px){
  .hm .h-hero{grid-template-columns:1fr;gap:40px;padding:40px 0 64px}
  .hm .h-hero figure{max-width:600px}
  .hm .faq2,.hm .band-grid{grid-template-columns:1fr}
  .hm .band-about,.hm .band ul{grid-column:1;grid-row:auto}
  .hm .band-grid{gap:36px}
  .hm .coll .card{grid-column:span 6}
  .hm .hm-temoin{padding:56px 40px}
}
@media (max-width:700px){
  .hm .pj-head{grid-template-columns:1fr;gap:12px;margin-bottom:28px}
  .hm .pj-head h2{font-size:36px}
  .hm .pj-head p{font-size:16px}
  .hm .pj-steps{grid-template-columns:1fr;row-gap:0}
  .hm .pj-step{padding-right:0}
  .hm .pj-step + .pj-step{margin-top:28px}
  .hm .pj-num{font-size:30px;margin-bottom:6px}
  .hm .pj-step h3{font-size:22px;white-space:normal}
  .hm .section{padding:52px 0}
  .hm .section.flush{padding-top:0}
  .hm .h-hero{padding:28px 0 48px;gap:32px}
  .hm .h-hero h1{font-size:min(42px,10.5vw);line-height:1.05;margin-bottom:16px} /* 42 px ; un peu moins sous 400 px pour garder 3 lignes avec la marge du site (20 px) */
  .hm .h-hero .hm-lead{font-size:17px;margin-bottom:24px}
  .hm .preuves{grid-template-columns:1fr;margin-top:28px}
  .hm .preuves li,.hm .preuves li + li{padding:12px 0;border-left:0;border-bottom:1px solid var(--line2);display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:baseline}
  .hm .preuves b{font-size:20px;margin:0}
  .hm .section-head h2,.hm .faq2 h2{font-size:36px}
  .hm .coll-head{margin-bottom:32px}
  .hm .coll{grid-template-columns:1fr;gap:40px}
  .hm .coll .card{grid-column:auto}
  .hm .coll .card h3{font-size:32px;margin-top:12px}
  .hm .band{padding:44px 20px 36px;margin-bottom:56px}
  .hm .band h2{font-size:36px;margin-bottom:14px}
  .hm .band-about p{font-size:16px}
  .hm .band-grid{gap:28px}
  .hm .band li{padding:16px 0 18px}
  .hm .band h3{font-size:24px;margin-bottom:6px}
  .hm .band li p{font-size:15px}
  .hm .hm-temoin{padding:40px 20px;margin-bottom:56px}
  .hm .hm-temoin h2{font-size:38px;margin-bottom:24px}
  .hm .etapes{grid-template-columns:1fr;gap:0}
  .hm .etapes li{padding:14px 18px}
  .hm .etapes li + li{margin-top:34px}
  .hm .etapes li + li::before{left:50%;top:-30px;width:1px;height:20px}
  .hm .etapes li + li::after{left:calc(50% - 5px);top:-15px;transform:rotate(45deg)}
  .hm .etapes b{font-size:24px}
}

/* Tablette 744–1180 px (passe du 22/10/2026) : une vraie mise en page tablette, sans toucher au mobile (< 744 px) ni au grand écran
   (> 1180 px). Titres intermédiaires, rythme vertical plus compact, images plafonnées, CTA du bandeau en 2 + 1 (le lien « Envoyer mes
   plans » passe sous les deux boutons, « Configurer mon projet » reste le premier). */
@media (min-width:744px) and (max-width:1180px){
  .hm .section{padding:64px 0}
  .hm .section.flush{padding-top:0}
  .hm .h-hero h1{font-size:clamp(52px,4.9vw,58px);line-height:1.04;margin-bottom:20px}
  .hm .preuves{margin-top:36px}
  .hm .preuves li{padding:16px 14px 0 0}
  .hm .preuves li + li{padding-left:14px}
  .hm .preuves b{font-size:22px}
  .hm .section-head{margin-bottom:40px}
  .hm .section-head h2,.hm .faq2 h2,.hm .band h2{font-size:clamp(40px,4.1vw,46px)}
  .hm .hm-temoin h2{font-size:clamp(44px,4.4vw,50px)}
  .hm .band{padding:64px 48px 56px;margin-bottom:72px}
  .hm .hm-temoin{margin-bottom:72px}
}
/* Tablette portrait 744–1000 px : bandeau sur une colonne mais image paysage plafonnée (au lieu d'un portrait de 600 px de large calé à
   gauche) ; chambre témoin sur deux colonnes, l'image ne précède plus le texte sur toute la hauteur de l'écran */
@media (min-width:744px) and (max-width:1000px){
  .hm .h-hero{gap:36px;padding:40px 0 56px}
  .hm .hm-lead{max-width:72%}
  .hm .preuves{max-width:none}
  .hm .h-hero figure{max-width:none}
  .hm .h-hero figure img{aspect-ratio:16/10;max-height:46vh;object-position:50% 42%}
  .hm .hm-temoin{padding:56px 40px}
  .hm .etapes{gap:0 36px}
  .hm .etapes li{padding:20px 22px}
  .hm .etapes b{font-size:24px}
}
/* Tablette paysage 1001–1180 px : deux colonnes du grand écran, images plafonnées pour rester sous l'écran */
@media (min-width:1001px) and (max-width:1180px){
  .hm .h-hero{gap:48px;padding:48px 0 64px}
  .hm .h-hero figure img{max-height:64vh}
  .hm .hm-temoin{padding:72px 56px}
}
