/* Rythme de lecture 2027 : moins de doubles marges, sans réduire les textes
   ou les cibles tactiles. En-tête et slider gardent leurs propres règles. */
.products-v3,.packs-section,.wall-section,.canisse-section,.pose-section,
.geotextile-section,.youtube-section,.blog-section,.reviews-section,
.newsletter-section,.social-section{padding-block:42px}
.section-head{gap:24px;margin-bottom:22px}
.section-head .eyebrow{margin-bottom:9px}
.carousel-toolbar{margin-bottom:12px}
.carousel .carousel-track{padding-bottom:10px}
.product-help,.geo-advice,.packs-footer{margin-top:18px}
.youtube-bottom{margin-top:18px;padding-top:16px}
.accessory-links{margin-top:22px;padding-top:18px}
.choice2027,.guide2027{padding-block:38px}
.choice2027-heading{margin-bottom:20px;gap:24px}
.choice2027-actions{margin-top:18px}
.guide2027-layout{gap:30px}
.samples{margin-block:24px;padding:32px;gap:36px}
.samples .sample-picture{max-width:340px;justify-self:center}
.samples .sample-picture>span{line-height:1.6}
.pack-includes{margin-top:12px;padding-block:10px}
.carousel-track .pack-includes{margin-bottom:12px}
.pack-includes>b{margin-bottom:6px}
.pack-includes ul{gap:4px}
.pack-format-note{margin-bottom:10px;padding:8px 10px}
.pack-info .price-row{padding-top:12px}
.pack-film-note{margin-top:8px}
.footer-contact-band .footer-contact{padding-block:34px;gap:28px}
.footer-grid{padding-block:28px;gap:24px}
.footer-bottom{padding-block:12px}
.bottom-reassurance>.wrap{padding-block:22px;gap:18px}

@media(max-width:767.98px){
 .products-v3,.packs-section,.wall-section,.canisse-section,.pose-section,
 .geotextile-section,.youtube-section,.blog-section,.reviews-section,
 .newsletter-section,.social-section{padding-block:25px}
 .section-head{gap:12px;margin-bottom:17px}
 .section-head .eyebrow{margin-bottom:8px}
 .section-head>div:last-child,.youtube-intro,.packs-intro{margin-top:8px}
 .choice2027,.guide2027{padding-block:18px}
 .choice2027-heading{gap:10px;margin-bottom:13px}
 .choice2027-actions{margin-top:12px}
 .choice2027-grid{padding-bottom:8px}
 .guide2027-layout{gap:14px}
 .guide2027-intro h2{margin-bottom:9px}
 .guide2027 summary{padding-block:12px;min-height:56px}
 .samples{margin-block:18px;padding:20px 18px 22px;gap:18px}
 .samples .sample-picture{width:100%;max-width:246px;gap:7px}
 .samples .sample-offer{margin-block:14px}
 .samples>div:last-child{min-width:0}
 .samples>div:last-child>small{margin-top:12px}
 .catalogue-card :is(.product-info,.pack-info,.geo-info,.wall-info,.canisse-info){padding:16px}
 .catalogue-card .seo-description{margin-top:9px}
 .catalogue-card .price-row{gap:9px;margin-top:13px}
 .pack-info .price-row{margin-top:0;padding-top:10px}
 .pack-info .pack-includes{padding-block:9px;margin-block:12px 10px}
 .pack-includes li{line-height:1.6}
 .packs-footer{margin-top:14px;line-height:1.6}
 .product-help,.geo-advice{margin-top:14px}
 .pose-layout{gap:20px}
 .pose-buttons{margin-top:16px}
 .pose-steps{gap:14px}
 .accessory-links{margin-top:18px;padding-top:14px}
 .youtube-bottom{margin-top:14px;padding-top:14px}
 .social-section>.wrap{gap:18px}
 /* Un engagement à lire, le suivant déjà visible : le geste reste natif. */
 .trust>.wrap,.bottom-reassurance>.wrap{
  display:grid;grid-template-columns:none;grid-auto-flow:column;
  grid-auto-columns:calc(100% - 30px);gap:10px;padding-block:12px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#d81f64 #e5e9e1;
 }
 .trust>.wrap>a,.bottom-reassurance>.wrap>div{
  display:flex;align-items:flex-start;gap:10px;min-width:0;min-height:94px;
  padding:12px;background:#fff;border:1px solid #dde1d9;border-radius:8px;
  scroll-snap-align:start;
 }
 .trust>.wrap>a>span,.bottom-reassurance>.wrap>div>span{min-width:0}
 .trust .icon,.bottom-reassurance .icon{width:26px;height:26px;flex:0 0 26px;margin-top:1px;color:#d81f64}
 .trust strong,.bottom-reassurance b{font-size:14px!important;line-height:1.4;display:block}
 .trust small,.bottom-reassurance small{font-size:13px!important;line-height:1.5;display:block;margin-top:4px}
 .trust>.wrap:focus-visible,.bottom-reassurance>.wrap:focus-visible{outline:3px solid #d81f64;outline-offset:-3px}
 .footer-contact-band .footer-contact{padding-block:28px;gap:24px}
 .footer-grid{padding-block:24px;row-gap:20px}
 .footer-bottom{padding-block:12px;row-gap:4px}
 /* Pied de page mobile : chaque bloc garde un axe de lecture centré,
    avec deux colonnes de liens et de vraies cibles tactiles. */
 .footer-contact-band .footer-contact{grid-template-columns:minmax(0,1fr);text-align:center}
 .footer-contact-band .footer-contact>div{min-width:0}
 .footer-contact-band .footer-contact :is(.footer-phone,a.footer-email,a.text-link){justify-content:center;margin-inline:auto}
 .footer-contact-band .footer-contact :is(address,.map-address){text-align:center}
 .footer-contact-band .map-address>span{justify-content:center}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));text-align:center}
 .footer-grid>div{min-width:0}
 .footer-grid>div>a{justify-content:center;text-align:center}
 .footer-grid .footer-brand{display:flex;flex-direction:column;align-items:center;gap:8px;grid-column:1/-1}
 .footer-grid .footer-brand>img{margin:0}
 .footer-grid .footer-brand>p,.footer-grid .footer-brand>small{margin:0;text-align:center}
 .footer-grid .footer-brand>.footer-socials{display:flex;justify-content:center;flex-wrap:nowrap;gap:8px;width:100%;margin:8px 0 0}
 .footer-grid .footer-brand>.footer-socials>a{flex:0 0 44px;width:44px;height:44px;margin:0;padding:0}
 .footer-bottom{justify-items:center;text-align:center}
 .footer-bottom>a{justify-content:center;text-align:center;min-width:0}
 /* L’icône de droite ne décale plus le centre du libellé. Les réserves
    latérales identiques restent disponibles pour les textes sur deux lignes. */
 .btn,.choice2027-button,.catalogue-card .product-discover{
  position:relative;justify-content:center!important;text-align:center!important;
  padding-inline:40px!important;gap:0!important;
 }
 .btn>span[aria-hidden=true],.choice2027-button>span[aria-hidden=true],
 .catalogue-card .product-discover>span[aria-hidden=true]{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  width:22px;max-width:22px;display:flex;align-items:center;justify-content:center;
  margin:0;pointer-events:none;
 }
 .budget-small-button{text-align:center;justify-content:center}
 .newsletter-section .wrap>div{text-align:center}
 .newsletter-section .wrap>div>p{margin-inline:auto}
 .newsletter-section form,.newsletter-consent,.newsletter-section label{text-align:left}
 .samples .sample-picture,.samples .sample-picture>span{text-align:center}
 .sample-offer{justify-content:center}
 .reviews-score{justify-self:center;text-align:center}
 .bottom-reassurance .wrap>div{justify-content:flex-start}
}
@media(max-width:359.98px){.footer-grid .footer-brand>.footer-socials{gap:4px;justify-content:center}}
@media(min-width:768px) and (max-width:999.98px){
 .choice2027,.guide2027{padding-block:38px}
 .samples{padding:26px;gap:28px}
}

/* Une entrée plus aérée que la sortie évite de doubler les grands espaces. */
:is(#contenu,#site-shared-sections){--section-space:32px;--section-space-end:24px;--section-heading-gap:16px}
:is(#contenu,#site-shared-sections) :is(#bien-choisir,#choisir-son-gazon,#gazons,#packs,#murs,#geotextiles,#promotions,#assistant-budget,#pose,#youtube,#guide-projet,#blog,#newsletter,#avis,#reseaux){
 padding-block:var(--section-space) var(--section-space-end);margin-block:0;
}
/* Deux étapes d’un même choix : se faire guider, puis explorer les usages. */
:is(#contenu,#site-shared-sections) #bien-choisir{padding-bottom:8px}
:is(#contenu,#site-shared-sections) #choisir-son-gazon{padding-top:16px}
:is(#contenu,#site-shared-sections) .section-head{margin-bottom:var(--section-heading-gap)}
:is(#contenu,#site-shared-sections) .section-head.section-head-compact>div{margin:0}
#choisir-son-gazon .choice2027-heading{margin-bottom:var(--section-heading-gap)}
#choisir-son-gazon .choice2027-actions{display:block;margin-top:16px}
#choisir-son-gazon .choice2027-button{display:flex;width:100%;justify-content:center;text-align:center}
#choisir-son-gazon .choice2027-card-link{
 position:relative;width:100%;min-height:48px;margin-top:14px;padding:11px 40px;
 justify-content:center;text-align:center;color:#fff;background:#191c19;border-radius:6px;
}
#choisir-son-gazon .choice2027-card-link>span:first-child{text-decoration:none}
#choisir-son-gazon .choice2027-card-arrow{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:24px;height:24px;flex:none;background:transparent;color:inherit}
:is(#contenu,#site-shared-sections) #echantillons{margin-block:0;padding:var(--section-space) clamp(18px,3vw,36px);padding-bottom:var(--section-space-end);gap:clamp(18px,3vw,36px)}
/* La réassurance touche le slider : aucune marge extérieure ni rangée dupliquée. */
:is(#contenu,#site-shared-sections)>.bottom-reassurance{margin:0;padding:0}
:is(#contenu,#site-shared-sections)>.bottom-reassurance>.wrap{padding-block:0}
:is(#contenu,#site-shared-sections)>.bottom-reassurance>.wrap>div{padding-block:12px}
/* Les six réseaux restent dans le bloc de marque, sur une seule ligne. */
.footer-grid .footer-brand>.footer-socials{
 display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;
 width:100%;max-width:284px;gap:4px;margin:12px 0 0;padding:0;
}
.footer-grid .footer-brand>.footer-socials>a{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;font-size:20px}
@media(min-width:1101px){.footer-grid{grid-template-columns:minmax(284px,1.4fr) repeat(4,minmax(0,1fr))}}
@media(max-width:767.98px){.footer-grid .footer-brand>.footer-socials{justify-content:center;margin-inline:auto}}
@media(max-width:767.98px){
 :is(#contenu,#site-shared-sections){--section-space:20px;--section-space-end:16px;--section-heading-gap:12px}
 #choisir-son-gazon .choice2027-card-link{margin-top:12px}
}

/* Un même cadre pour le header et les trois blocs du footer, sur toutes les pages.
   Le contenu des pages conserve séparément la largeur .wrap de l'accueil. */
:root{--mgs-frame-max:1440px;--mgs-frame-gutter:32px}
.mgs-header-container,footer .wrap{
 width:min(var(--mgs-frame-max),calc(100% - 2 * var(--mgs-frame-gutter)));
 margin-inline:auto;
}
@media(max-width:1199.98px){:root{--mgs-frame-gutter:16px}}

/* Le contenu rejoint les blocs communs avec le même rythme que la home. */
main#contenu:has(+ #site-shared-sections){padding-bottom:var(--section-space-end,24px)}
#site-shared-sections{margin:0;padding:0}

/* Guides de catégorie : un même rôle garde le même rang et le même rythme.
   Les titres de section et les cartes conservent les repères de la home. */
#contenu{
 --guide-subtitle-size:21px;--guide-detail-size:17px;--guide-question-size:16px;
 --guide-label-size:16px;--guide-hint-size:12px;--guide-number-size:28px;
 --guide-chapter-height:78px;--guide-chapter-padding:14px;--guide-chapter-gap:10px;
 --guide-body-padding:16px 14px;--guide-topic-space:16px;--guide-question-height:50px;
}
#contenu :is(.packs-guide-chapters,.mur-guide-chapters,.canisse-guide-chapters){gap:var(--guide-chapter-gap)}
#contenu :is(.packs-guide-chapter,.mur-guide-chapter,.canisse-guide-chapter)>summary{
 grid-template-columns:var(--guide-number-size) minmax(0,1fr) 10px;
 gap:10px;min-height:var(--guide-chapter-height);padding:var(--guide-chapter-padding);
}
#contenu :is(.packs-guide-number,.mur-guide-chapter-number,.canisse-guide-chapter-number){
 width:var(--guide-number-size);height:var(--guide-number-size);font-size:12px;
}
#contenu :is(.packs-guide-label,.mur-guide-chapter-label,.canisse-guide-chapter-label){gap:3px}
#contenu :is(.packs-guide-label,.mur-guide-chapter-label,.canisse-guide-chapter-label)>strong{
 font-size:var(--guide-label-size);line-height:1.4;letter-spacing:0;
}
#contenu :is(.packs-guide-label>span,.mur-guide-chapter-label>small,.canisse-guide-chapter-label>small){
 font-size:var(--guide-hint-size);line-height:1.45;
}
#contenu :is(.packs-guide-chapter>.packs-editorial-body,.mur-guide-chapter-body,.canisse-guide-chapter-body){padding:var(--guide-body-padding)}
#contenu :is(.packs-editorial-body,.mur-guide-chapter-body,.canisse-guide-chapter-body) h3,
#contenu :is(.packs-editorial-faq,.packs-editorial-other-questions,.packs-editorial-help)>h3{
 margin:20px 0 12px;font-size:var(--guide-subtitle-size);line-height:1.3;letter-spacing:-.4px;
}
#contenu :is(.packs-editorial-body,.mur-guide-chapter-body,.canisse-guide-chapter-body) h4{
 font-size:var(--guide-detail-size);line-height:1.4;
}
#contenu :is(.packs-editorial-body,.mur-guide-chapter-body,.canisse-guide-chapter-body,.packs-editorial-faq,.packs-editorial-other-questions,.packs-editorial-help)>h3:first-child,
#contenu :is(.packs-editorial-body,.mur-guide-chapter-body,.canisse-guide-chapter-body)>section:first-child>h3:first-child,
#contenu :is(.packs-editorial-topic,.mur-guide-content-block)>h3:first-child,
#contenu :is(.packs-editorial-topic,.mur-guide-content-block)>section>h3:first-child{margin-top:0}
#contenu .mur-editorial-toc h3{margin:0 0 8px;font-size:var(--guide-label-size);line-height:1.4;letter-spacing:0}
#contenu .packs-editorial-summary>div>.packs-editorial-paragraph-title:first-child{margin-top:0}
#contenu .canisse-guide-chapter-body>.canisse-editorial-toc:first-child{margin-top:0}
#contenu .packs-editorial-topic+.packs-editorial-topic,
#contenu .mur-guide-content-block+.mur-guide-content-block{
 margin-top:var(--guide-topic-space);padding-top:var(--guide-topic-space);
}
/* Une question ouvrable reste plus discrète qu'un sous-titre de chapitre. */
#contenu :is(.packs-editorial-faq,.packs-editorial-other-questions,.mur-editorial-question,.canisse-editorial-question) summary{
 min-height:var(--guide-question-height);padding-block:12px;font-size:var(--guide-question-size);line-height:1.45;
}
#contenu :is(.packs-editorial-faq,.packs-editorial-other-questions,.mur-editorial-question,.canisse-editorial-question) summary :is(h3,h4){
 margin:0;font-size:var(--guide-question-size);line-height:1.45;letter-spacing:0;
}
@media(min-width:768px){
 #contenu{
  --guide-subtitle-size:23px;--guide-detail-size:18px;--guide-question-size:17px;
  --guide-label-size:17px;--guide-hint-size:13px;--guide-number-size:30px;
  --guide-chapter-height:82px;--guide-chapter-padding:16px 18px;--guide-chapter-gap:12px;
  --guide-body-padding:20px;--guide-topic-space:20px;--guide-question-height:54px;
 }
 #contenu :is(.packs-guide-chapter,.mur-guide-chapter,.canisse-guide-chapter)>summary{gap:12px}
 #contenu :is(.packs-editorial-faq,.packs-editorial-other-questions,.mur-editorial-question,.canisse-editorial-question) summary{padding-block:14px}
 /* Sur tablette aussi, le titre de page domine les titres de section. */
 #contenu:is(.grass-category-page,.samples-category-page,.packs-category-page,.murs-category-page,.canisses-category-page) h1{
  font-size:clamp(36px,3.6vw,44px);line-height:1.12;
 }
}
