/*
Theme Name: Toutenbambou
Theme URI: https://toutenbambou.fr
Author: Toutenbambou
Description: Thème bloc sur mesure de Toutenbambou — tringles à rideaux en bambou et créations artisanales. Palette bambou, Raleway et Londrina Solid, entièrement éditable dans Gutenberg.
Version: 1.1.2
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toutenbambou
Tags: block-theme, full-site-editing, e-commerce
*/

/* ==========================================================================
   Jetons (identiques à la maquette validée — aucun vert, à la demande du client)
   ========================================================================== */

:root {
  --texte: #7a5c1e;
  --texte-doux: #8a6f3a;
  --ocre: #ca9805;
  --ocre-fonce: #926d1d;
  --bambou-bord: #e8d7a6;
  --bambou-creme: #fbf5e6;
  --blanc: #ffffff;
  --bord-champ: #efe5cb;
  --bambou-clair: #e9d49c;
  --bambou: #d8b65f;
  --bambou-pale: #f5ecd2;
  --bambou-dore: #9a7628;
  --bambou-encre: #3b2e0f;

  --police: "Raleway", sans-serif;
  --police-etiquette: "Londrina Solid", "Raleway", sans-serif;
  --largeur: 1500px;
  --gouttiere: 40px;

  /* pictogrammes (masques CSS : un SVG inline n'est pas un bloc éditable) */
  --i-camion: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2M15 18H9M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.62l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
  --i-lieu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  --i-feuille: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E");
  --i-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  --i-regle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z'/%3E%3Cpath d='m14.5 12.5 2-2M11.5 9.5l2-2M8.5 6.5l2-2M17.5 15.5l2-2'/%3E%3C/svg%3E");
  --i-diametre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 18.4 18.4 5.6'/%3E%3C/svg%3E");
  --i-main: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 11V6a2 2 0 0 0-4 0M14 10V4a2 2 0 0 0-4 0v2M10 10.5V6a2 2 0 0 0-4 0v8M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15'/%3E%3C/svg%3E");
  --i-outil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
  --i-maison: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
  --i-soleil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
  --i-cadenas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  --i-horloge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
  --i-retour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* pictogramme générique : l'élément porte --ico, le pseudo-élément dessine */
.ico-avant::before,
.annonce__message::before,
.entete__tel a::before,
.spec::before,
.garantie::before,
.projet__badge::before,
.pied__contact::before,
.coordonnees__ligne::before,
.fiche__garanties li::before,
.appel::before {
  content: "";
  flex: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

/* feuillage décoratif, fixé à gauche de l'écran */
body::before {
  content: "";
  position: fixed;
  left: -120px;
  top: 40px;
  width: 620px;
  height: 620px;
  background: url("assets/img/feuilles.svg") center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte sur aspect-ratio */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* Liens e-mail : bulle « Adresse copiée » posée par assets/app.js */
a[href^="mailto:"] { position: relative; }
a[href^="mailto:"].est-copie::after {
  content: "Adresse copiée";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bambou-encre);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { margin: 0; hyphens: none; text-wrap: balance; }
p { margin: 0; }

/* Gutenberg ajoute des marges entre frères : neutralisé dans theme.json (blockGap 0)
   et ici À SPÉCIFICITÉ NULLE seulement — jamais .wp-block-group > *, qui écraserait
   toutes les marges des composants (voir références de la méthode).
   WordPress imprime ensuite « :root :where(.is-layout-flow) > :first-child » (0,2,0) :
   les marges verticales des composants enfants de groupes portent donc !important. */
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons),
:where(.wp-block-details) > :where(*) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.enveloppe {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ocre);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Boutons (base dans theme.json) ---------- */

.wp-element-button,
.wp-block-button__link { transition: background-color .2s, transform .2s; }
.wp-block-buttons.section__action,
.section__action { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 30px !important; }

/* bouton de formulaire Contact Form 7 (classe posée dans le gabarit du formulaire) */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 0;
  border-radius: 50px;
  background: var(--ocre);
  color: var(--blanc);
  font: 700 13px/20px var(--police);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s;
}
.bouton:hover { background: var(--ocre-fonce); }

/* ==========================================================================
   En-tête
   ========================================================================== */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanc);
  color: var(--bambou-dore);
}
.admin-bar .entete { top: 32px; }

/* barre d'annonce : les trois messages sont dans la page, le script bascule la classe */
.annonce {
  position: relative;
  height: 43px;
  overflow: hidden;
  background: var(--bambou-clair);
  color: var(--bambou-encre);
  font-size: 11px;
}
.annonce__message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}
.annonce__message::before { width: 14px; height: 14px; }
.annonce__message--camion { --ico: var(--i-camion); }
.annonce__message--lieu { --ico: var(--i-lieu); }
.annonce__message--feuille { --ico: var(--i-feuille); }
.annonce__message.est-actif { opacity: 1; transform: none; }
.annonce__message strong { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.annonce__message a { text-decoration: underline; text-underline-offset: 2px; }

.barre-outils { height: 36px; overflow: hidden; transition: height .3s; }
.barre-outils .enveloppe { display: flex; align-items: center; justify-content: flex-end; height: 100%; }

/* réseaux : bloc natif, logos dans leurs couleurs d'origine */
.wp-block-social-links.reseaux { gap: 10px; margin: 0; padding: 0; font-size: 20px; }
.wp-block-social-links.reseaux .wp-social-link { margin: 0; transition: transform .2s; }
.wp-block-social-links.reseaux .wp-social-link:hover { transform: translateY(-2px) scale(1.06); }
.wp-block-social-links.reseaux.reseaux--petits { gap: 8px; font-size: 13px; }

.entete__haut {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.entete .wp-block-site-logo.entete__logo { grid-column: 2; margin: 0; }
.entete .wp-block-site-logo.entete__logo img { width: auto; height: 67px; transition: height .3s; }

.entete__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}
.entete__tel a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0;
  color: inherit;
  transition: background-color .2s;
}
.entete__tel a::before { --ico: var(--i-tel); width: 22px; height: 22px; }
.entete__tel a:hover,
.entete .wp-block-woocommerce-customer-account a:hover,
.entete .wc-block-mini-cart__button:hover { background: var(--bambou-pale); }
.entete .wp-block-woocommerce-customer-account a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
}
.entete .wp-block-woocommerce-customer-account svg { width: 24px; height: 24px; }
.entete .wc-block-mini-cart__button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: inherit;
}
.entete .wc-block-mini-cart__icon { width: 24px; height: 24px; }
.entete .wc-block-mini-cart__badge {
  min-width: 17px;
  height: 17px;
  border: 0;
  background: var(--ocre) !important;
  color: var(--blanc) !important;
  font-size: 10px;
  font-weight: 700;
}

/* menu : bloc Navigation natif, rendu en pilule comme la maquette */
.entete .wp-block-navigation.navigation { justify-content: center; padding: 10px 0 20px; }
.entete .wp-block-navigation.navigation .wp-block-navigation__container {
  gap: 0;
  padding: 5px 14px;
  background: var(--bambou-pale);
  border-radius: 999px;
}
.entete .wp-block-navigation.navigation .wp-block-navigation-item__content {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.entete .wp-block-navigation.navigation .wp-block-navigation-item__content:hover,
.entete .wp-block-navigation.navigation .current-menu-item > .wp-block-navigation-item__content {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entete .wp-block-navigation.navigation .current-menu-item > .wp-block-navigation-item__content { font-weight: 700; }
.entete .wp-block-navigation.navigation .has-child > .wp-block-navigation-item__content { padding-right: 6px; }
.entete .wp-block-navigation.navigation .wp-block-navigation__submenu-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0 14px 0 2px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
}
.entete .wp-block-navigation.navigation .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; stroke-width: 2.4; }
.entete .wp-block-navigation.navigation .wp-block-navigation__submenu-container {
  min-width: 250px;
  padding: 10px 0;
  border: .8px solid var(--bambou-pale);
  border-radius: 9px;
  background: var(--blanc);
  color: var(--bambou-dore);
  box-shadow: 0 8px 30px rgba(59, 46, 15, .12);
}
.entete .wp-block-navigation.navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 8px 20px;
  text-transform: none;
}
.entete .wp-block-navigation.navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: var(--bambou-pale);
  text-decoration: none;
}

/* panneau mobile : le CSS du bloc est imprimé APRÈS cette feuille, d'où !important (seul cas justifié) */
.wp-block-navigation.navigation .wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px !important;
  background-color: var(--bambou-clair) !important;
  color: var(--bambou-encre) !important;
}
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation__container {
  gap: 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid rgba(59, 46, 15, .15); }
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation-item__content {
  padding: 16px 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
}
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation__submenu-container {
  padding: 0 0 10px 14px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.wp-block-navigation.navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 7px 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
}

/* en-tête compacté au défilement */
.entete.est-compacte .barre-outils { height: 0; }
.entete.est-compacte .wp-block-site-logo.entete__logo img { height: 48px; }
.entete.est-compacte .wp-block-navigation.navigation { padding: 6px 0 12px; }

/* ==========================================================================
   Ouverture : mosaïque de photos, texte superposé, pastilles « + »
   ========================================================================== */

.ouverture {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 594px;
  padding: 0 4px;
}
.ouverture__tuile { position: relative; overflow: hidden; border-radius: 9px; }
.ouverture__tuile--haute { grid-column: 2; grid-row: 1 / span 2; }
.ouverture__tuile .wp-block-image.ouverture__photo { position: absolute; inset: 0; margin: 0; }
.ouverture__tuile .wp-block-image.ouverture__photo img { width: 100%; height: 100%; object-fit: cover; }
.ouverture__tuile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 29, 8, .16);
  pointer-events: none;
}
.ouverture__texte {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--blanc);
  text-align: center;
  background: radial-gradient(ellipse 42% 38% at 50% 52%, rgba(36, 26, 6, .42), rgba(36, 26, 6, 0) 100%);
  pointer-events: none;
}
.ouverture__texte > * { pointer-events: auto; }
.ouverture__surtitre { font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.ouverture__titre { max-width: 760px; margin-top: 10px !important; font-size: 35px; font-weight: 700; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.ouverture__intro { max-width: 640px; margin: 14px 0 22px !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }

/* pastilles : un paragraphe avec un lien ; le rond « + » est dessiné en CSS, le texte du lien
   devient l'étiquette qui apparaît au survol */
.pastille { position: absolute; z-index: 3; margin: 0; }
.pastille--1 { left: 16%; top: 24%; }
.pastille--2 { left: 14%; top: 56%; }
.pastille--3 { left: 78%; top: 58%; }
.pastille--centre { left: calc(50% - 20px); top: calc(50% - 20px); }
.pastille a {
  position: relative;
  display: block;
  min-height: 40px;
  padding: 10px 14px 10px 54px;
  border-radius: 9px;
  color: transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.pastille a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ocre);
  box-shadow: 0 0 0 8px rgba(202, 152, 5, .22);
  animation: halo 2.4s ease-in-out infinite;
}
.pastille a::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 18px;
  height: 18px;
  background: var(--blanc);
  -webkit-mask: var(--i-plus) center / contain no-repeat;
  mask: var(--i-plus) center / contain no-repeat;
}
.pastille--gauche a { padding: 10px 54px 10px 14px; }
.pastille--gauche a::before { left: auto; right: 0; }
.pastille--gauche a::after { left: auto; right: 11px; }
.pastille--gauche { transform: translateX(calc(-100% + 40px)); }
@media (hover: hover) {
  .pastille a:hover,
  .pastille a:focus-visible {
    color: var(--texte);
    background: linear-gradient(90deg, transparent 0 48px, var(--blanc) 48px);
    box-shadow: none;
  }
  .pastille--gauche a:hover,
  .pastille--gauche a:focus-visible { background: linear-gradient(270deg, transparent 0 48px, var(--blanc) 48px); }
}
@keyframes halo {
  0%, 100% { box-shadow: 0 0 0 8px rgba(202, 152, 5, .22); }
  50% { box-shadow: 0 0 0 12px rgba(202, 152, 5, .12); }
}

/* ==========================================================================
   Titres de section : une phrase, puis une étiquette inclinée
   ========================================================================== */

.titre-section { padding-top: 24px; text-align: center; }
.titre-section__accroche { display: block; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: .5px; }
.titre-section .titre-section__etiquette {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 22px 8px;
  border-radius: 9px;
  background: var(--bambou);
  color: var(--bambou-encre);
  font-family: var(--police-etiquette);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .4px;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.titre-section .titre-section__etiquette--ocre { background: var(--ocre-fonce); color: var(--blanc); }

.section { padding: 0 0 45px; }
.section--large { padding-bottom: 75px; }
.section[id], .wp-block-group[id] { scroll-margin-top: 170px; }

/* ==========================================================================
   Cartes (grille de 4) — statiques et produits WooCommerce
   ========================================================================== */

.grille-creations,
.grille-produits ul.wc-block-product-template {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 30px 0 0 !important;
  padding: 0;
  list-style: none;
}
.grille-produits ul.wc-block-product-template > li.wc-block-product {
  position: relative;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.carte { position: relative; }
.carte .wp-block-image.carte__image,
.grille-produits .carte__image {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.carte .wp-block-image.carte__image img,
.grille-produits .carte__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grille-produits .carte__image a { display: block; height: 100%; }
/* filigrane T : couche décorative en pseudo-élément, pas un bloc */
.carte .carte__image--marque::after,
.grille-produits .carte__image::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 22px;
  height: 30px;
  background: url("assets/img/logo-t-blanc.png") center / contain no-repeat;
  opacity: .9;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .35));
  pointer-events: none;
  transition: transform .6s ease, opacity .6s ease;
}
.carte__titre,
.grille-produits .wp-block-post-title.carte__titre {
  margin: 12px 0 0 !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 28.5px;
}
.grille-produits .wp-block-post-title.carte__titre { font-weight: 700; }
.carte__titre a { text-decoration: none; }
.carte__titre strong { font-weight: 700; }
/* toute la carte est cliquable : le lien du titre s'étend sur la carte */
.carte__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.carte__description { margin-top: 4px !important; color: var(--texte-doux); font-size: 14px; line-height: 1.55; }
.carte__specs { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px !important; font-size: 12px; font-weight: 700; }
.grille-produits .carte__specs { display: block; margin-top: 2px !important; font-weight: 500; font-size: 13px; line-height: 1.5; }
.grille-produits .carte__specs p { margin: 0; }
.spec { display: inline-flex; align-items: center; gap: 6px; }
.spec::before { width: 18px; height: 18px; }
.spec--regle { --ico: var(--i-regle); }
.spec--diametre { --ico: var(--i-diametre); }
.spec--main { --ico: var(--i-main); }
.spec--outil { --ico: var(--i-outil); }
.spec--maison { --ico: var(--i-maison); }
.spec--soleil { --ico: var(--i-soleil); }
.carte__prix,
.grille-produits .wp-block-woocommerce-product-price.carte__prix {
  margin-top: 6px !important;
  color: var(--ocre-fonce);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.grille-produits .carte__prix .wc-block-components-product-price { color: inherit; font-size: inherit; }
.grille-produits .carte__prix del { opacity: .6; font-weight: 500; }

/* ==========================================================================
   Duo de photos
   ========================================================================== */

.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 470px; margin-top: 30px !important; }
.duo .wp-block-image { margin: 0; overflow: hidden; }
.duo .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Encart « projet » (trois étapes)
   ========================================================================== */

.projet {
  position: relative;
  max-width: 820px;
  margin: 30px auto 0 !important;
  padding: 56px 32px;
  overflow: hidden;
  border: .8px solid var(--bambou-bord);
  border-radius: 24px;
  background: linear-gradient(135deg, #fbf5e6 0%, #ffffff 60%);
  box-shadow: 0 8px 30px rgba(122, 92, 30, .08);
  text-align: center;
}
/* feuillage décoratif : couches en pseudo-éléments (un groupe vide serait supprimé par erreur) */
.projet::before,
.projet::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  background: url("assets/img/feuilles.svg") center / contain no-repeat;
  opacity: .9;
  pointer-events: none;
}
.projet::before { left: -40px; top: -30px; transform: rotate(-20deg); }
.projet::after { right: -50px; bottom: -40px; transform: rotate(160deg); }
.projet > * { position: relative; }
.projet__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--texte);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  --ico: var(--i-feuille);
}
.projet__badge::before { width: 14px; height: 14px; }
.projet__titre { margin-top: 22px !important; font-size: 30px; font-weight: 700; line-height: 1.25; }
.projet__texte { max-width: 560px; margin: 16px auto 0 !important; }
.projet__texte a { font-weight: 700; }
.etapes {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 16px;
  max-width: 600px;
  margin: 34px auto 0 !important;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.etapes li::before {
  counter-increment: etape;
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ocre);
  color: var(--blanc);
  font-size: 15px;
}
.etapes li + li::after {
  content: "";
  position: absolute;
  top: 17px;
  right: calc(50% + 26px);
  width: calc(100% - 36px);
  border-top: 2px dotted var(--bambou-bord);
}
.projet__actions { justify-content: center; margin-top: 34px !important; }
.wp-block-button.projet__action .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 8px 22px rgba(202, 152, 5, .32);
}
.wp-block-button.projet__action .wp-block-button__link::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--i-fleche) center / contain no-repeat;
  mask: var(--i-fleche) center / contain no-repeat;
}
.wp-block-button.projet__action .wp-block-button__link:hover { transform: translateY(-1px); }
.projet__note { margin-top: 14px !important; color: var(--texte-doux); font-size: 12px; }

/* ==========================================================================
   Texte + photos superposées
   ========================================================================== */

.atelier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 84px 100px 20px;
}
.atelier__surtitre { font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.atelier__titre { margin-top: 4px !important; font-size: 23px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.atelier__texte { max-width: 520px; margin: 14px 0 24px !important; }
.atelier__contenu > .wp-block-buttons { margin-top: 0; }
.wp-block-quote.atelier__citation { max-width: 540px; margin: 14px 0 24px; padding: 0; border: 0; }
.wp-block-quote.atelier__citation p { margin: 0; font-size: 15px; font-style: normal; }
.wp-block-quote.atelier__citation cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; font-weight: 700; }
.atelier__liste { max-width: 520px; margin: 14px 0 24px !important; padding: 0; list-style: none; }
.atelier__liste li { position: relative; padding-left: 22px; }
.atelier__liste li + li { margin-top: 8px; }
.atelier__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ocre);
}
.collage { position: relative; justify-self: end; width: 560px; height: 420px; }
.collage .wp-block-image { position: absolute; margin: 0; overflow: hidden; }
.collage .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.collage .collage__arriere { top: 0; right: 0; width: 310px; height: 310px; }
.collage .collage__avant { top: 64px; left: 0; width: 290px; height: 356px; }

/* ==========================================================================
   Trois cartes « article »
   ========================================================================== */

.grille-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px !important; }
.article .wp-block-image.article__image { margin: 0; aspect-ratio: 433 / 290; overflow: hidden; }
.article .wp-block-image.article__image img { width: 100%; height: 100%; object-fit: cover; }
.article__labels { margin-top: 14px !important; font-size: 11px; font-weight: 500; }
.article__titre { margin-top: 6px !important; font-size: 16px; font-weight: 500; line-height: 1.6; }
.article__texte { margin-top: 6px !important; color: var(--texte-doux); font-size: 14px; }

/* lien vers un réseau, logo dans ses couleurs */
.lien-reseau a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; }
.lien-reseau a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lien-reseau a::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background-size: cover; }
.lien-reseau--instagram a::before { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.lien-reseau--pinterest a::before { border-radius: 50%; background: #e60023; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.fil { font-size: 12px; font-weight: 500; letter-spacing: .3px; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }

/* bandeau photo en tête de page */
.bandeau {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  margin: 0 4px;
  overflow: hidden;
  border-radius: 9px;
  color: var(--blanc);
  text-align: center;
}
.bandeau .wp-block-image.bandeau__image { position: absolute; inset: 0; margin: 0; }
.bandeau .wp-block-image.bandeau__image img { width: 100%; height: 100%; object-fit: cover; }
.bandeau--boutique { background: url("assets/img/bandeau-boutique.jpg") center / cover no-repeat; }
.bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(36, 26, 6, .5), rgba(36, 26, 6, .2));
}
.bandeau__texte { position: relative; z-index: 1; max-width: 780px; padding: 0 24px; }
.bandeau .fil { margin-bottom: 14px; color: rgba(255, 255, 255, .92); }
.bandeau .fil .woocommerce-breadcrumb { margin: 0; color: inherit; font-size: inherit; }
.bandeau .fil .woocommerce-breadcrumb a { color: inherit; }
.bandeau__titre { font-size: 35px; font-weight: 700; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.bandeau__intro { margin-top: 12px !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }

.tete-page { padding-top: 26px; text-align: center; }
.tete-page .titre-section { padding-top: 10px; }
.intro-texte { max-width: 760px; margin: 22px auto 0 !important; text-align: center; }
.intro-texte + .intro-texte { margin-top: 10px !important; }

/* puces : liste de liens en pilules */
.wp-block-list.puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0 !important; padding: 0; list-style: none; }
.wp-block-list.puces li { margin: 0; }
.wp-block-list.puces a,
.wp-block-list.puces li:not(:has(a)) {
  display: inline-block;
  padding: 8px 18px;
  border: .8px solid var(--bambou-bord);
  border-radius: 999px;
  background: var(--bambou-creme);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.wp-block-list.puces a:hover { background: var(--bambou-bord); }

/* bandeau de réassurance */
.garanties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px !important;
  padding: 26px 0;
  border-top: .8px solid var(--bambou-bord);
  border-bottom: .8px solid var(--bambou-bord);
}
/* un seul paragraphe (gras, saut de ligne, texte) : l'icône est sortie du flux pour que le texte
   reste d'un bloc — en flex, chaque morceau deviendrait une colonne */
.garantie { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 30px; padding-left: 44px; font-size: 13px; line-height: 1.4; }
.garantie strong { font-size: 14px; }
.garantie br { display: none; }
.garantie::before { position: absolute; left: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; color: var(--ocre); }
.garantie--main { --ico: var(--i-main); }
.garantie--camion { --ico: var(--i-camion); }
.garantie--lieu { --ico: var(--i-lieu); }
.garantie--cadenas { --ico: var(--i-cadenas); }
.garantie--horloge { --ico: var(--i-horloge); }
.garantie--retour { --ico: var(--i-retour); }

/* appel « plus de 4 mètres » de la boutique */
.appel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "ico titre bouton" "ico texte bouton";
  align-items: center;
  gap: 4px 22px;
  margin-top: 30px !important;
  padding: 26px 32px;
  border: .8px solid var(--bambou-bord);
  border-radius: 9px;
  background: linear-gradient(135deg, #fbf5e6 0%, #ffffff 60%);
  --ico: var(--i-regle);
}
.appel::before { grid-area: ico; width: 34px; height: 34px; color: var(--ocre); }
.appel__titre { grid-area: titre; font-size: 22px; font-weight: 700; line-height: 1.25; }
.appel__texte { grid-area: texte; font-size: 14px; }
.appel .wp-block-buttons { grid-area: bouton; }
.appel--tel { --ico: var(--i-tel); }

/* ---------- Volets dépliables (bloc Détails natif) ---------- */

.accordeons { max-width: 920px; margin: 30px auto 0 !important; border-top: .8px solid var(--bambou-bord); }
.wp-block-details.accordeon { margin: 0; border-bottom: .8px solid var(--bambou-bord); }
.wp-block-details.accordeon summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.wp-block-details.accordeon summary::-webkit-details-marker { display: none; }
.wp-block-details.accordeon summary::after {
  content: "+";
  flex: none;
  color: var(--ocre);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .3s;
}
.wp-block-details.accordeon[open] summary::after { transform: rotate(45deg); }
.wp-block-details.accordeon > :not(summary) { margin: 0 4px 12px; }
.wp-block-details.accordeon > :last-child { margin-bottom: 26px; }
.wp-block-details.accordeon ul { padding-left: 20px; }
.accordeon__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.accordeon__texte > * + * { margin-top: 10px !important; }
.wp-block-list.legende { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 14px !important; padding: 0 !important; list-style: none; }
.wp-block-list.legende li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.wp-block-list.legende strong {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--texte);
  color: var(--blanc);
  font-size: 12px;
}

/* ---------- Galerie (bloc Galerie natif, agrandissement au clic natif) ---------- */

.wp-block-gallery.galerie-grille.has-nested-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 30px;
}
.wp-block-gallery.galerie-grille.has-nested-images figure.wp-block-image {
  width: auto !important;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.wp-block-gallery.galerie-grille.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Variétés de bambou ---------- */

.grille-quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px !important; }
.variete { padding: 28px 26px; border: .8px solid var(--bambou-bord); border-radius: 9px; background: linear-gradient(135deg, #fbf5e6 0%, #ffffff 60%); }
.variete__nom { font-size: 18px; font-weight: 700; line-height: 1.3; }
.variete__latin { margin-top: 2px !important; color: var(--ocre-fonce); font-size: 13px; font-weight: 700; }
.variete__texte { margin-top: 12px !important; font-size: 14px; }

/* ---------- Contact ---------- */

.contact-grille { display: grid; grid-template-columns: 1fr 1.7fr; gap: 50px; align-items: start; max-width: 1240px; margin: 30px auto 0 !important; }
.coordonnees {
  position: relative;
  padding: 40px 32px;
  overflow: hidden;
  border: .8px solid var(--bambou-bord);
  border-radius: 24px;
  background: linear-gradient(135deg, #fbf5e6 0%, #ffffff 60%);
  box-shadow: 0 8px 30px rgba(122, 92, 30, .08);
}
.coordonnees__titre { font-size: 22px; font-weight: 700; line-height: 1.3; }
.coordonnees__ligne { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px !important; }
.coordonnees__titre + .coordonnees__ligne { margin-top: 22px !important; }
.coordonnees__ligne::before { margin-top: 2px; color: var(--ocre); }
.coordonnees__ligne--tel { --ico: var(--i-tel); }
.coordonnees__ligne--mail { --ico: var(--i-mail); }
.coordonnees__ligne--lieu { --ico: var(--i-lieu); }
.coordonnees__ligne a { font-weight: 700; text-decoration: none; }
.coordonnees__ligne a:hover { text-decoration: underline; }
.coordonnees__note { margin-top: 22px !important; padding-top: 18px; border-top: .8px solid var(--bambou-bord); font-size: 14px; }
.coordonnees .reseaux { margin-top: 24px !important; }

/* formulaire Contact Form 7 : le gabarit du formulaire reprend les classes de la maquette */
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; max-width: 920px; margin: 26px auto 0; }
.contact-grille .formulaire { max-width: none; margin: 0; }
.champ { display: flex; flex-direction: column; }
.champ--large { grid-column: 1 / -1; }
.champ label { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.champ .wpcf7-form-control-wrap { display: block; }
.champ input,
.champ select,
.champ textarea {
  display: block;
  width: 100%;
  height: 35px;
  padding: 8px 10px;
  border: .8px solid var(--bord-champ);
  border-radius: 0;
  background: transparent;
  color: var(--texte);
  font: 15px var(--police);
}
.champ select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c1e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
}
.champ textarea { height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 1px solid var(--texte); outline-offset: 0; }
/* pièce jointe : le bouton natif du champ fichier prend l'allure d'une étiquette bambou */
.champ input[type="file"] { height: auto; padding: 6px; border-style: dashed; color: var(--texte-doux); font-size: 13px; cursor: pointer; }
.champ input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 8px 16px;
  border: 0;
  border-radius: 50px;
  background: var(--bambou);
  color: var(--bambou-encre);
  font: 700 12px/18px var(--police);
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.champ input[type="file"]::file-selector-button:hover { background: var(--ocre); color: var(--blanc); }
.champ__aide { margin-top: 6px; color: var(--texte-doux); font-size: 11px; }
.formulaire__accord { grid-column: 1 / -1; font-size: 12px; }
.formulaire__accord .wpcf7-list-item { margin: 0; }
.formulaire__accord label { display: flex; gap: 10px; align-items: flex-start; }
.formulaire__accord input { margin: 3px 0 0; accent-color: var(--texte); }
.formulaire__pied { grid-column: 1 / -1; }
.formulaire__note { margin-top: 18px !important; color: var(--texte-doux); font-size: 11px; }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #a4471b; font-size: 12px; }
.wpcf7 form .wpcf7-response-output { margin: 22px 0 0; padding: 12px 16px; border: .8px solid var(--bambou-bord); border-radius: 9px; background: var(--bambou-creme); color: var(--texte); font-size: 14px; }

/* ---------- Pages de texte ---------- */

.prose { max-width: 820px; margin: 30px auto 0 !important; }
.prose h2 { margin: 36px 0 10px !important; font-size: 15px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.prose p, .prose li { margin: 0 0 10px !important; }
.prose .wp-block-list { margin: 1em 0 !important; }
.prose ul { padding-left: 20px; }
.prose__maj { color: var(--texte-doux); font-size: 13px; }

/* pages standard (panier, commande, compte client…) */
.page-standard { padding-top: 30px; }

/* ==========================================================================
   Fiche produit (blocs WooCommerce)
   ========================================================================== */

.fiche { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding-top: 26px; padding-bottom: 60px; }
.fiche__galerie .woocommerce-product-gallery { position: relative; width: 100% !important; margin: 0; }
.fiche__galerie .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fiche__galerie .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.fiche__galerie .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
.fiche__galerie .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; opacity: 1 !important; cursor: pointer; }
.fiche__galerie .flex-control-thumbs img.flex-active { border-color: var(--ocre); }
.fiche__galerie .woocommerce-product-gallery__trigger { z-index: 2; }
.fiche__infos .fil { margin-bottom: 18px; }
.fiche__infos .woocommerce-breadcrumb { margin: 0; color: inherit; font-size: 12px; }
.fiche__surtitre { font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.fiche__surtitre a { text-decoration: none; }
.wp-block-post-title.fiche__titre { margin-top: 6px; font-size: 30px; font-weight: 700; line-height: 1.25; }
.wp-block-woocommerce-product-price.fiche__prix { margin-top: 14px; color: var(--ocre-fonce); font-size: 24px; font-weight: 700; }
.wp-block-woocommerce-product-price.fiche__prix .wc-block-components-product-price { color: inherit; }
.fiche__resume { margin-top: 16px !important; }
.fiche__resume p { margin: 0; }
.fiche__resume a { font-weight: 700; }
.wp-block-add-to-cart-form.fiche__achat { margin-top: 26px; padding-top: 24px; border-top: .8px solid var(--bambou-bord); }
.fiche__achat form.cart { display: grid; gap: 18px; margin: 0; }
.fiche__achat table.variations { margin: 0; border: 0; }
.fiche__achat table.variations tr { display: flex; flex-direction: column; }
.fiche__achat table.variations th,
.fiche__achat table.variations td { padding: 0; border: 0; text-align: left; }
.fiche__achat table.variations label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.fiche__achat table.variations select {
  width: 100%;
  height: 46px;
  padding: 8px 10px;
  border: .8px solid var(--bord-champ);
  background: transparent;
  color: var(--texte);
  font: 15px var(--police);
}
.fiche__achat .reset_variations { display: inline-block; margin-top: 6px; font-size: 12px; }
.fiche__achat .woocommerce-variation-price { margin-bottom: 12px; color: var(--ocre-fonce); font-size: 20px; font-weight: 700; }
.fiche__achat .woocommerce-variation-add-to-cart,
.fiche__achat form.cart:not(.variations_form) { display: flex; gap: 12px; align-items: stretch; }
.fiche__achat .quantity input.qty {
  width: 90px;
  height: 46px;
  border: .8px solid var(--bambou-bord);
  background: transparent;
  color: var(--texte);
  font: 700 15px var(--police);
  text-align: center;
}
.fiche__achat .single_add_to_cart_button {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 50px;
  background: var(--ocre);
  color: var(--blanc);
  font: 700 13px/20px var(--police);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  cursor: pointer;
}
.fiche__achat .single_add_to_cart_button:hover { background: var(--ocre-fonce); }
.fiche__achat .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; }
.wp-block-list.fiche__garanties { display: grid; gap: 10px; margin: 20px 0 0 !important; padding: 0; list-style: none; font-size: 13px; }
.fiche__garanties li { display: flex; gap: 10px; align-items: center; }
.fiche__garanties li::before { width: 18px; height: 18px; color: var(--ocre); }
.fiche__garanties li:nth-child(1) { --ico: var(--i-camion); }
.fiche__garanties li:nth-child(2) { --ico: var(--i-lieu); }
.fiche__garanties li:nth-child(3) { --ico: var(--i-cadenas); }
.fiche__garanties li:nth-child(4) { --ico: var(--i-main); }

/* ==========================================================================
   Pied de page
   ========================================================================== */

.pied { margin-top: 60px; padding: 60px 0 30px; background: var(--bambou); color: var(--bambou-encre); font-size: 13px; font-weight: 500; }
.pied__colonnes { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
/* logo d'origine, sur son fond crème d'origine */
.pied .wp-block-site-logo.pied__logo { display: inline-block; margin: 0; padding: 18.5px 17px; border-radius: 9px; background: #f4eed7; box-shadow: 0 6px 20px rgba(59, 46, 15, .12); }
.pied .wp-block-site-logo.pied__logo img { width: 180px; height: auto; }
.pied__devise { max-width: 260px; margin-top: 18px !important; line-height: 1.7; }
.pied .reseaux { margin-top: 18px !important; }
.pied__titre { margin: 0 0 14px !important; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.wp-block-list.pied__liens { margin: 0; padding: 0; list-style: none; }
.pied__liens li + li { margin-top: 12px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pied__contact { display: flex; gap: 10px; align-items: flex-start; }
.pied__contact + .pied__contact { margin-top: 12px !important; }
.pied__contact::before { width: 16px; height: 16px; margin-top: 2px; }
.pied__contact--lieu { --ico: var(--i-lieu); }
.pied__contact--tel { --ico: var(--i-tel); }
.pied__contact--mail { --ico: var(--i-mail); }
.pied__bas { margin-top: 50px !important; font-size: 11px; line-height: 2; text-align: center; }

/* ==========================================================================
   Photos animées au survol de la souris
   (seulement avec une souris, et si le visiteur n'a pas demandé moins d'animations)
   ========================================================================== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ouverture__tuile img,
  .carte .carte__image img,
  .grille-produits .carte__image img,
  .duo img,
  .collage img,
  .article .article__image img,
  .galerie-grille img {
    transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
  }
  .ouverture__tuile:hover img,
  .carte:hover .carte__image img,
  .grille-produits li:hover .carte__image img,
  .duo .wp-block-image:hover img,
  .collage .wp-block-image:hover img,
  .article:hover .article__image img,
  .galerie-grille figure:hover img {
    transform: scale(1.07);
    filter: brightness(1.06) saturate(1.1);
  }
  .ouverture__tuile::after { transition: background-color .6s ease; }
  .ouverture__tuile:hover::after { background-color: rgba(40, 29, 8, .04); }
  .collage .wp-block-image { transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease; }
  .collage .wp-block-image:hover { z-index: 2; transform: translateY(-8px) rotate(-1deg); box-shadow: 0 20px 40px rgba(40, 29, 8, .2); }
  .carte:hover .carte__image--marque::after,
  .grille-produits li:hover .carte__image::after { transform: translateY(-4px); opacity: 1; }
}

/* ==========================================================================
   Adaptatif
   ========================================================================== */

@media (max-width: 1100px) {
  .atelier { padding: 70px 0 10px; }
  .collage { width: 480px; height: 380px; }
  .collage .collage__arriere { width: 270px; height: 270px; }
  .collage .collage__avant { width: 250px; height: 316px; }
}

@media (max-width: 900px) {
  :root { --gouttiere: 20px; }
  .barre-outils { display: none; }
  .entete__haut { padding: 10px 0; }
  .entete .wp-block-site-logo.entete__logo img { height: 46px; }
  .entete.est-compacte .wp-block-site-logo.entete__logo img { height: 40px; }
  .entete__actions { gap: 0; }
  .entete .entete__compte { display: none; }
  /* le bouton « menu » du bloc Navigation se place à gauche de la rangée du logo */
  .entete .wp-block-navigation.navigation { position: static; padding: 0; }
  .entete .wp-block-navigation.navigation .wp-block-navigation__responsive-container-open {
    position: absolute;
    left: 16px;
    top: 56px;
    width: 40px;
    height: 40px;
    color: inherit;
  }
  .entete .wp-block-navigation.navigation .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }

  .ouverture { height: 520px; }
  .ouverture__titre { font-size: 26px; }
  .grille-creations,
  .grille-produits ul.wc-block-product-template { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .carte__specs { flex-wrap: wrap; justify-content: flex-start; column-gap: 12px; row-gap: 2px; }
  .duo { height: 340px; }
  .atelier { grid-template-columns: 1fr; gap: 40px; }
  .collage { justify-self: center; }
  .grille-trois { grid-template-columns: 1fr; gap: 34px; }
  .pied__colonnes { grid-template-columns: 1fr 1fr; }
  .bandeau { height: 280px; }
  .bandeau__titre { font-size: 26px; }
  .garanties { grid-template-columns: 1fr 1fr; }
  .fiche { grid-template-columns: 1fr; gap: 34px; }
  .wp-block-gallery.galerie-grille.has-nested-images { grid-template-columns: repeat(3, 1fr); }
  .grille-quatre { grid-template-columns: 1fr 1fr; }
  .contact-grille { grid-template-columns: 1fr; }
  .accordeon__duo { grid-template-columns: 1fr; gap: 18px; }
  .appel { grid-template-columns: auto 1fr; grid-template-areas: "ico titre" "ico texte" ". bouton"; }
  .appel .wp-block-buttons { margin-top: 12px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  body::before { width: 420px; height: 420px; left: -150px; }
  .annonce__message { gap: 6px; padding: 0 12px; font-size: 10px; }
  .annonce__message strong { letter-spacing: 1.2px; }

  .ouverture { height: auto; grid-template-rows: 200px 200px; }
  .ouverture__tuile--haute { grid-column: 1 / -1; grid-row: 1; }
  .ouverture__tuile:nth-child(1) { grid-column: 1; grid-row: 2; }
  .ouverture__tuile:nth-child(2) { grid-column: 2; grid-row: 2; }
  .ouverture__texte { position: relative; grid-column: 1 / -1; grid-row: 3; padding: 28px 8px 8px; color: var(--texte); background: none; }
  .ouverture__surtitre, .ouverture__titre, .ouverture__intro { text-shadow: none; }
  .ouverture__surtitre { letter-spacing: 2px; }
  .ouverture__titre { font-size: 23px; }
  .carte__titre { line-height: 1.5; }

  .titre-section__accroche { font-size: 24px; }
  .titre-section .titre-section__etiquette { max-width: calc(100% - 32px); padding: 8px 16px 6px; font-size: 30px; }
  .pastille a { color: transparent !important; background: none !important; }
  /* sur mobile, seul le rond « + » reste : le texte (lu par les lecteurs d'écran) ne prend plus de place */
  .pastille a,
  .pastille--gauche a { width: 40px; padding: 0; font-size: 0; }

  .duo { grid-template-columns: 1fr; height: auto; }
  .duo .wp-block-image { height: 240px; }
  .projet { padding: 44px 20px; }
  .projet__titre { font-size: 23px; }
  .etapes { grid-auto-flow: row; gap: 18px; }
  .etapes li + li::after { display: none; }
  .collage { width: 100%; max-width: 350px; height: 330px; }
  .collage .collage__arriere { width: 210px; height: 220px; }
  .collage .collage__avant { top: 70px; width: 190px; height: 250px; }
  .formulaire { grid-template-columns: 1fr; }
  .pied__colonnes { grid-template-columns: 1fr; gap: 34px; }
  .bandeau { height: 240px; }
  .bandeau__titre { font-size: 22px; }
  .bandeau__intro { font-size: 14px; }
  .garanties { grid-template-columns: 1fr; gap: 16px; }
  .wp-block-post-title.fiche__titre { font-size: 23px; }
  .fiche__achat .single_add_to_cart_button { padding: 11px 12px; letter-spacing: 1.2px; white-space: nowrap; }
  .wp-block-gallery.galerie-grille.has-nested-images { grid-template-columns: 1fr 1fr; gap: 6px; }
  .grille-quatre { grid-template-columns: 1fr; }
  .wp-block-list.legende { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .annonce__message { flex-direction: column; gap: 0; line-height: 1.35; text-align: center; }
  .annonce__message::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
