/* ==========================================================================
   1airdevie – coach chrétien : CSS additionnel (Apparence › Personnaliser)
   Copie de travail : integration-wordpress/css-additionnel.css
   Réservé à : en-tête et pied Astra, habillage WPForms, mise en valeur des titres,
   fenêtres et bandeau hébergés dans le HTML 2 du pied. Le corps des pages est en Elementor.
   ========================================================================== */

/* Jetons de la maquette (mêmes noms que les variables globales Elementor) */
:root {
  --fond: #fffdf9; --blanc: #fff; --sable: #f4eee3; --sable-2: #ebe2d2; --sable-doux: #f8f3ea; --ligne: #ebe5da;
  --encre: #1d1a16; --encre-2: #3a332b; --texte: #6b645b; --texte-doux: #6e675e; /* 16/11 : foncé pour le contraste AA (était #9b9389) */
  --ocre: #deaf49; --ocre-fonce: #c9962f; --brun: #2b2219; --miel: #f6e7c6;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --rayon: 22px; --large: 1180px;
  --ombre: 0 30px 60px -34px rgba(60, 40, 15, .35);
  /* Cadre centré de la maquette : rien ne touche les bords de l'écran */
  --cadre: min(var(--large) + 120px, 100% - 2 * clamp(12px, 2.4vw, 32px));
}

/* Anneau de focus clavier de la maquette (toutes les pages ; les règles plus précises gardent la main) */
:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 3px; }
/* Astra ajoute une ombre légère à tous les boutons ; la maquette n'en a pas (les ombres voulues sont sur des classes, plus précises) */
button { box-shadow: none; }
/* Gras des blocs « texte riche » : graisse 500 et couleur encre, comme `.texte-riche strong` de la maquette (ailleurs le gras reste à 700). */
.elementor .texte-riche__p strong { font-weight: 500; color: var(--encre); }
/* Racine à 16 px comme la maquette (Astra la met à 15 px) : les tailles en rem restent justes */
html { font-size: 100% !important; }
/* Astra écrit le corps en 1rem (prévu pour sa racine à 15 px) : corps ramené aux 15 px de la maquette */
body { font-size: 15px; }
body { background: var(--fond); color: var(--texte); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }

/* --------------------------------------------------------------------------
   EN-TÊTE ASTRA : barre de verre arrondie, collée en haut
   -------------------------------------------------------------------------- */
#masthead { position: sticky; top: 0; z-index: 40; padding-top: 10px; background: transparent; }
.admin-bar #masthead { top: 32px; }
#masthead .main-header-bar, #masthead .ast-primary-header-bar { background: transparent !important; border: 0; padding: 0; min-height: 0; }
#masthead .main-header-bar-wrap { background: transparent; }
/* La barre : largeur du cadre, verre clair, 62 px de haut (46 + 2 × 8) */
#masthead #ast-desktop-header .site-primary-header-wrap.ast-container,
#masthead #ast-mobile-header .ast-primary-header-bar {
  box-sizing: border-box; width: var(--cadre); max-width: none; margin: 0 auto; padding: 8px 8px 8px 20px;
  border-radius: var(--rayon); background: rgba(255,253,249,.55) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 10px 30px -24px rgba(60,40,15,.35);
  transition: padding .25s;
}
#masthead #ast-desktop-header .ast-builder-grid-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 0; }
#masthead .site-header-section { padding: 0; margin: 0; min-height: 0; }
#masthead .site-header-section > *, #masthead .ast-builder-layout-element { padding: 0; margin: 0; }
#masthead .site-header-primary-section-left-center, #masthead .site-header-primary-section-right-center { display: none; }
#masthead .site-header-primary-section-right { justify-content: flex-end; gap: 8px; }
#masthead .site-logo-img, #masthead .ast-site-identity { padding: 0; }
/* Logo : 46 px, 34 px après défilement (classe est-defile posée par le script) */
#masthead .custom-logo-link img { display: block; height: clamp(36px, 3.8vw, 46px); width: auto; max-width: none; transition: height .25s; }
#masthead.est-defile .custom-logo-link img { height: 34px; }

/* Menu principal */
#ast-hf-menu-1 { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); margin: 0; padding: 0; list-style: none; }
#ast-hf-menu-1 > .menu-item { position: relative; height: auto; line-height: 1.6; border: 0; }
#ast-hf-menu-1 > .menu-item > .menu-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 6px 0;
  font-size: .86rem; line-height: 1.6; font-weight: 400; color: var(--encre); background: none;
}
#ast-hf-menu-1 > .menu-item > .menu-link:hover, #ast-hf-menu-1 > .menu-item > .menu-link:focus { color: var(--encre); background: none; }
/* Page en cours : point de 4 px sous le libellé */
#ast-hf-menu-1 > .current-menu-item > .menu-link::after,
#ast-hf-menu-1 > .current-menu-ancestor > .menu-link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%);
}
#ast-hf-menu-1 > .menu-cta-mobile { display: none; }
/* Chevron de « Services » à la place de la flèche Astra */
/* Zone cliquable de 24 × 24 px (accessibilité, taille des cibles) ; les marges négatives gardent l'encombrement de 6 px */
#ast-hf-menu-1 .dropdown-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; margin: -9px; }
#ast-hf-menu-1 .dropdown-menu-toggle .ast-icon { display: none; }
#ast-hf-menu-1 .dropdown-menu-toggle::before {
  content: ""; display: block; flex: none; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
#ast-hf-menu-1 .ast-menu-toggle { display: none; }
/* Sous-menu : carte blanche centrée sous « Services » */
#ast-hf-menu-1 .sub-menu {
  position: absolute; top: calc(100% + 14px); left: 50% !important; right: auto; width: auto; min-width: 250px; padding: 8px; margin: 0;
  display: grid; background: var(--blanc); border: 0; border-radius: 16px; box-shadow: var(--ombre);
  transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
#ast-hf-menu-1 .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
#ast-hf-menu-1 .menu-item-has-children:hover > .sub-menu,
#ast-hf-menu-1 .menu-item-has-children:focus-within > .sub-menu,
#ast-hf-menu-1 .menu-item-has-children.est-ouvert > .sub-menu { opacity: 1; visibility: visible; }
#ast-hf-menu-1 .sub-menu .menu-item { border: 0; }
#ast-hf-menu-1 .sub-menu .menu-link {
  display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; font-size: .86rem; line-height: 1.6; color: var(--encre); background: none; white-space: nowrap;
}
#ast-hf-menu-1 .sub-menu .menu-link small { font-size: .78rem; line-height: 1.6; color: var(--texte-doux); }
#ast-hf-menu-1 .sub-menu .menu-link:hover, #ast-hf-menu-1 .sub-menu .menu-link:focus { background: var(--sable); color: var(--encre); }
#ast-hf-menu-1 .sub-menu .ast-icon { display: none; }

/* Panier : rond sable de 40 px avec le sac de la maquette */
#masthead .ast-site-header-cart, #masthead .ast-site-header-cart-li { padding: 0; margin: 0; }
#masthead .ast-site-header-cart .cart-container {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: var(--sable); color: var(--encre); transition: background .2s;
}
#masthead .ast-site-header-cart .cart-container:hover { background: var(--sable-2); }
#masthead .ast-site-header-cart .cart-container::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: 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'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: 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'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat;
}
#masthead .ast-site-header-cart .ast-cart-menu-wrap { position: absolute; inset: 0; width: auto; height: auto; min-width: 0; margin: 0; border: 0; background: none; }
#masthead .ast-site-header-cart .ast-cart-menu-wrap .count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
#masthead .ast-site-header-cart .ast-cart-menu-wrap .count::after { display: none; }
#masthead .ast-site-header-cart .cart-container[aria-label$="empty"] .count,
#masthead .ast-site-header-cart .cart-container[aria-label$="vide"] .count { display: none; }
#masthead .ast-site-header-cart-data, #masthead .ast-site-header-cart .widget_shopping_cart { display: none; }
/* Le panier mène à la page Panier : tiroir Astra inutile (il débordait de l'écran en mobile) */
.astra-cart-drawer, .astra-mobile-cart-overlay { display: none !important; }

/* Bouton « Séance offerte » : pilule ocre avec l'agenda de la maquette */
#masthead .ast-builder-button-wrap { padding: 0; margin: 0; }
#masthead .ast-builder-button-wrap > .menu-link { display: none; }
#masthead .ast-custom-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--ocre); color: var(--encre); font-family: var(--sans); font-size: .84rem; font-weight: 400; line-height: 1.6; letter-spacing: 0;
  white-space: nowrap; transition: background .2s;
}
#masthead .ast-custom-button:hover { background: var(--ocre-fonce); color: var(--encre); }
#masthead .ast-custom-button::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: 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'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: 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'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* En-tête mobile (bascule Astra à 960 px, comme la maquette) */
@media (max-width: 960px) {
  #masthead #ast-mobile-header { position: relative; }
  #masthead #ast-mobile-header .ast-builder-grid-row { display: flex; align-items: center; justify-content: space-between; min-height: 0; }
  #masthead #ast-mobile-header .site-header-primary-section-right { display: flex; align-items: center; gap: 8px; }
  #masthead .ast-button-wrap { display: block; }
  /* Burger : rond ocre de 40 px à deux traits */
  #masthead .menu-toggle.main-header-menu-toggle {
    position: relative; display: block; width: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: var(--ocre); cursor: pointer;
  }
  #masthead .menu-toggle .mobile-menu-toggle-icon, #masthead .menu-toggle .ast-mobile-svg { display: none; }
  #masthead .menu-toggle::before, #masthead .menu-toggle::after {
    content: ""; position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--encre); transition: .25s;
  }
  #masthead .menu-toggle::before { top: 16px; }
  #masthead .menu-toggle::after { top: 23px; }
  #masthead .menu-toggle.toggled::before { top: 19.5px; transform: rotate(45deg); }
  #masthead .menu-toggle.toggled::after { top: 19.5px; transform: rotate(-45deg); }
  /* Panneau déroulant : carte blanche sous la barre */
  #ast-mobile-header .ast-mobile-header-content {
    position: absolute; top: calc(100% - 6px); left: 50%; z-index: 30; box-sizing: border-box; width: var(--cadre); transform: translateX(-50%);
    padding: 12px; border: 0; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre);
  }
  #ast-mobile-header .ast-mobile-header-content .main-header-menu { background: none; border: 0; }
  #ast-mobile-header .ast-mobile-header-content .menu-item { border: 0; }
  #ast-mobile-header .ast-mobile-header-content .menu-link {
    display: flex; align-items: center; gap: 6px; padding: 12px 10px; border: 0; font-size: 1rem; line-height: 1.6; color: var(--encre); background: none;
  }
  #ast-mobile-header .ast-mobile-header-content .menu-link::after { display: none; }
  /* Petit chevron collé à « Services », comme la maquette ; le bouton Astra couvre la ligne, sans icône ni fond */
  #ast-mobile-header .ast-mobile-header-content .dropdown-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; margin: -9px; }
  #ast-mobile-header .ast-mobile-header-content .dropdown-menu-toggle .ast-icon { display: none; }
  #ast-mobile-header .ast-mobile-header-content .dropdown-menu-toggle::before {
    content: ""; display: block; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg) translateY(-2px);
  }
  #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle,
  #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle:hover,
  #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle:focus {
    top: 0; right: 0; width: 100%; height: 50px; padding: 0; border: 0; background: none; color: transparent; box-shadow: none; outline: 0;
  }
  #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle .ast-icon { display: none; }
  #ast-mobile-header .ast-mobile-header-content .ast-menu-toggle:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: -2px; }
  #ast-mobile-header .ast-mobile-header-content .menu-link:focus, #ast-mobile-header .ast-mobile-header-content .menu-link:hover { background: none; color: var(--encre); }
  #masthead .menu-toggle:focus { outline: 0; }
  #masthead .menu-toggle:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
  #ast-mobile-header .ast-mobile-header-content .sub-menu { display: none; margin: 0 0 8px; padding: 8px; border-radius: 16px; background: var(--sable); }
  #ast-mobile-header .ast-mobile-header-content .ast-submenu-expanded > .sub-menu { display: grid; }
  #ast-mobile-header .ast-mobile-header-content .sub-menu .menu-link { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; font-size: 1rem; }
  #ast-mobile-header .ast-mobile-header-content .sub-menu .menu-link small { font-size: .78rem; color: var(--texte-doux); }
  #ast-mobile-header .ast-mobile-header-content .sub-menu .ast-icon { display: none; }
  /* « Réserver ma séance offerte » en bas du menu mobile */
  /* Rendu réel de la maquette : le fond ocre y est annulé par le style des liens du menu (pilule transparente, texte centré) */
  #ast-mobile-header .ast-mobile-header-content .menu-cta-mobile > .menu-link {
    display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; padding: 12px 10px; border-radius: 999px;
    background: none; color: var(--encre); font-size: 1rem; font-weight: 500; line-height: 1;
  }
}
/* En-tête mobile (16/11, demande de l'utilisateur) : barre collante sur toute la largeur de l'écran,
   sans coins arrondis ; logo et burger restent alignés sur les bords du cadre du contenu */
@media (max-width: 960px) {
  #masthead { padding-top: 0; margin-bottom: 10px; }
  #masthead #ast-mobile-header .ast-primary-header-bar {
    width: 100%; border-radius: 0;
    padding: 8px calc((100% - var(--cadre)) / 2 + 8px) 8px calc((100% - var(--cadre)) / 2 + 20px);
    box-shadow: 0 1px 0 rgba(60,40,15,.07), 0 10px 30px -24px rgba(60,40,15,.35);
  }
  #ast-mobile-header .ast-mobile-header-content { top: calc(100% + 8px); }
}
@media (max-width: 760px) {
  #masthead #ast-mobile-header .ast-primary-header-bar { padding: 6px calc((100% - var(--cadre)) / 2 + 6px) 6px calc((100% - var(--cadre)) / 2 + 14px); }
}
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar #masthead { top: 0; } }

/* --------------------------------------------------------------------------
   PIED ASTRA : cadre sable arrondi, contenu à 1180 px
   -------------------------------------------------------------------------- */
.site-footer {
  box-sizing: border-box; width: var(--cadre); margin: clamp(50px, 7vw, 90px) auto clamp(12px, 1.6vw, 20px);
  border-radius: var(--rayon); background: var(--sable); color: var(--texte); font-size: 15px; line-height: 1.6;
}
.site-footer .site-above-footer-wrap, .site-footer .site-primary-footer-wrap, .site-footer .site-below-footer-wrap {
  background: none; border: 0; padding: 0; min-height: 0;
}
.site-footer .ast-builder-grid-row-container-inner { box-sizing: border-box; width: min(var(--large), 100% - 2 * clamp(20px, 4vw, 56px)); max-width: none; margin-inline: auto; padding: 0; }
.site-footer .ast-builder-grid-row { max-width: none; margin: 0; padding: 0; }
.site-footer .site-footer-section, .site-footer .ast-builder-grid-row > .site-footer-section { padding: 0; margin: 0 !important; min-width: 0; }
.site-footer .footer-widget-area, .site-footer .widget, .site-footer .ast-builder-layout-element { margin: 0; padding: 0; }
.site-footer p { margin: 0; }

/* Rangée haute : appel à réserver */
.site-footer .site-above-footer-inner-wrap { display: block; }
.site-footer .ast-footer-html-1 .ast-builder-html-element { font-size: inherit; line-height: inherit; }
.pied__appel { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-bottom: 1px solid var(--sable-2); }
.pied__appel > p:first-child { margin: 0; font: italic 400 1.35rem/1.25 var(--serif); color: var(--encre); }
.pied__appel a.pied__bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--ocre); color: var(--encre); font: 500 .86rem/1 var(--sans); white-space: nowrap; transition: background .2s;
}
.pied__appel a.pied__bouton:hover { background: var(--ocre-fonce); color: var(--encre); }

/* Rangée principale : 4 colonnes 1.3 / .8 / .8 / 1.3 */
.site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row {
  display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: clamp(24px, 4vw, 50px); padding: 34px 0 28px;
}
.pied__marque img { display: block; height: 46px; width: auto; max-width: none; }
.pied__marque p { margin: 14px 0 0; font-size: .84rem; max-width: 34ch; }
.pied__marque .pied__cadre { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sable-2); font: italic 400 1.05rem/1.3 var(--serif); color: var(--encre); }
/* Titres de colonnes (titres de widgets Astra et « Nous trouver ») */
.site-footer .widget-title, .pied__col-titre {
  margin: 0 0 12px; font-family: var(--sans); font-size: .7rem; font-weight: 400; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--texte-doux);
}
.site-footer .widget_nav_menu ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-footer .widget_nav_menu li { margin: 0; padding: 0; }
.site-footer .widget_nav_menu a { display: block; font-size: .86rem; line-height: 1.6; color: var(--encre); }
.site-footer .widget_nav_menu a:hover { color: var(--ocre-fonce); }
.pied__col { display: grid; gap: 8px; align-content: start; font-size: .86rem; }
.pied__col .pied__col-titre { margin-bottom: 4px; }
.pied__col > span { color: var(--texte); }
.formulaire-lettre .wpforms-required-label { display: none; }

/* Rangée basse : copyright, liens légaux, réseaux */
.site-footer .site-below-footer-inner-wrap.ast-builder-grid-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 0 22px;
  border-top: 1px solid var(--sable-2); font-size: .76rem; color: var(--texte-doux);
}
.site-footer .site-below-footer-inner-wrap .site-footer-section { display: flex; align-items: center; flex: none; }
.site-footer .ast-footer-copyright { font-size: .76rem; line-height: 1.6; color: var(--texte-doux); }
/* Crédit « Site créé par Studio 4 » sur la ligne du © (logo couleur du ©), seul sur sa ligne en mobile */
.pied__credit { white-space: nowrap; }
.pied__credit img { display: inline-block; height: 16px; width: auto; max-width: none; margin-left: 3px; vertical-align: baseline; }
@media (max-width: 560px) { .pied__credit { display: block; margin-top: 4px; } .pied__sep { display: none; } }
.site-footer #astra-footer-menu { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.site-footer #astra-footer-menu .menu-item { margin: 0; padding: 0; border: 0; }
.site-footer #astra-footer-menu .menu-link { padding: 0; font-size: .76rem; line-height: 1.6; color: var(--texte-doux); }
.site-footer #astra-footer-menu .menu-link:hover { color: var(--encre); }
.site-footer .footer-social-inner-wrap { display: flex; gap: 6px; }
.site-footer .footer-social-inner-wrap .ast-builder-social-element {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0 !important; padding: 0; border-radius: 50%; background: var(--blanc); color: var(--encre);
}
.site-footer .footer-social-inner-wrap .ast-builder-social-element:hover { background: var(--ocre); }
.site-footer .footer-social-inner-wrap .ast-builder-social-element svg { width: 14px; height: 14px; fill: var(--encre); }
.site-footer .ast-footer-html-2 { position: static; width: 0; height: 0; }
/* Icônes des réseaux de la maquette à la place de celles d'Astra */
.site-footer .footer-social-inner-wrap .ast-builder-social-element .ahfb-svg-iconset { display: none; }
.site-footer .footer-social-inner-wrap .ast-builder-social-element::before { content: ""; width: 14px; height: 14px; background: var(--encre); -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.site-footer .ast-youtube { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C18.2 5 12 5 12 5s-6.2 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C5.8 19 12 19 12 19s6.2 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3z'/%3E%3C/svg%3E"); }
.site-footer .ast-facebook { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5H16l.4-3h-2.9V8.6c0-.9.3-1.5 1.5-1.5h1.5V4.4A20 20 0 0 0 14.3 4c-2.2 0-3.7 1.3-3.7 3.8v2.7H8v3h2.6V21z'/%3E%3C/svg%3E"); }
.site-footer .ast-instagram { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4z'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.2'/%3E%3C/svg%3E"); }
/* Astra centre le pied en mobile : la maquette reste alignée à gauche */
.site-footer .site-footer-section, .site-footer .ast-builder-html-element, .site-footer .footer-widget-area, .site-footer .ast-footer-copyright { text-align: left; justify-content: flex-start; align-items: flex-start; }
.site-footer .site-below-footer-inner-wrap .site-footer-section { align-items: center; }

@media (max-width: 900px) {
  .site-footer .site-primary-footer-inner-wrap.ast-builder-grid-row { grid-template-columns: 1fr 1fr; }
  .site-footer .site-primary-footer-inner-wrap > .site-footer-section-1,
  .site-footer .site-primary-footer-inner-wrap > .site-footer-section-4 { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-footer .site-below-footer-inner-wrap.ast-builder-grid-row { justify-content: flex-start; }
  .site-footer .site-below-footer-inner-wrap .site-footer-section { width: auto; max-width: 100%; min-width: 0; flex: 0 1 auto; justify-content: flex-start; text-align: left; }
  /* Liens légaux (5 avec les CGV, 21/11/2026) : alignés à gauche sur le ©, chaque lien d'un seul tenant, retour à la ligne entre les liens */
  .site-footer .site-below-footer-inner-wrap .site-footer-section-2 * { max-width: 100%; }
  .site-footer #astra-footer-menu .menu-link { overflow-wrap: normal; word-break: normal; -webkit-hyphens: none; hyphens: none; }
  .site-footer #astra-footer-menu { flex-wrap: wrap; column-gap: 16px; row-gap: 4px; justify-content: flex-start; }
  .site-footer #astra-footer-menu .menu-item { flex: none; }
  .site-footer #astra-footer-menu .menu-link { white-space: nowrap; }
}

/* Lettre des Sentinelles (WPForms) : pilule blanche avec bouton « OK » */
div.wpforms-container.wpforms-container-full.formulaire-lettre { margin: 8px 0 0; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form {
  position: relative; display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--blanc);
}
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form .wpforms-field-container { flex: 1; min-width: 0; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form .wpforms-field { padding: 0; margin: 0; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form .wpforms-field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form input[type=email] {
  width: 100%; max-width: none; height: 36px; padding: 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none;
  font: 400 .82rem/1.6 var(--sans); color: var(--encre);
}
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form input[type=email]:focus { outline: 0; box-shadow: none; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form .wpforms-submit-container { flex: none; margin: 0; padding: 0; }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form button[type=submit] {
  height: 36px; min-height: 36px; padding: 0 16px; margin: 0; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre);
  font: 500 .86rem/1 var(--sans); box-shadow: none; cursor: pointer;
}
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form button[type=submit]:hover { background: var(--ocre-fonce); }
div.wpforms-container.wpforms-container-full.formulaire-lettre .wpforms-form label.wpforms-error { position: absolute; top: 48px; left: 14px; font-size: .76rem; color: #b3261e; }
.site-footer .wpforms-confirmation-container-full { margin: 8px 0 0; padding: 12px 16px; border: 0; border-radius: 999px; background: var(--blanc); color: var(--encre); font-size: .86rem; }

/* --------------------------------------------------------------------------
   WPFORMS : demande de rendez-vous (fenêtre) et contact (page Contact)
   -------------------------------------------------------------------------- */
/* Couleurs du bouton WPForms (thème « modern » : variables CSS) */
.wpforms-container.formulaire-rdv, .wpforms-container.formulaire-contact, .wpforms-container.formulaire-lettre {
  --wpforms-button-background-color: #deaf49; --wpforms-button-border-color: #deaf49; --wpforms-button-text-color: #1d1a16;
  --wpforms-field-border-color: transparent; --wpforms-label-error-color: #b3261e;
}
div.wpforms-container.wpforms-container-full.formulaire-rdv:not(:empty),
div.wpforms-container.wpforms-container-full.formulaire-contact:not(:empty) { margin: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form { padding: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field { grid-column: 1 / -1; float: none; width: auto; padding: 0; margin: 0 0 14px; min-width: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field.wpforms-one-half { grid-column: auto; margin-left: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-label {
  display: block; margin: 0 0 6px; padding: 0; font-family: var(--sans); font-size: .8rem; font-weight: 400; line-height: 1.6; color: var(--encre);
}
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-required-label { color: var(--ocre-fonce); font-weight: 400; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-label-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form :is(input[type=text], input[type=email], textarea, select) {
  width: 100%; max-width: none; height: auto; padding: .85em 1.1em; border: 0; border-radius: 14px; background: var(--blanc);
  font: 400 .92rem/1.6 var(--sans); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); transition: box-shadow .2s;
}
.formulaire-rdv.wpforms-container .wpforms-form :is(input[type=text], input[type=email], textarea) { background: var(--sable); box-shadow: none; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form :is(input, textarea, select):focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ocre-fonce); }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form textarea { resize: vertical; min-height: 120px; }
/* Contact : zone de message de 5 lignes, comme la maquette (rows=5) */
div.wpforms-container.wpforms-container-full.formulaire-contact .wpforms-form textarea.wpforms-field-large { height: 8.924rem; }
/* Contact : liste « Objet de la demande » avec le chevron de la maquette (WPForms remplace le fond des listes) */
div.wpforms-container.wpforms-container-full.formulaire-contact .wpforms-form select {
  padding-right: 48px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 8l4.5 4.5L14.5 8' fill='none' stroke='%231d1a16' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 18px 18px;
}
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form select {
  -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231d1a16' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
/* Case d'accord : carré arrondi, coche ocre (pas de contrôle natif visible) */
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox { margin-bottom: 18px; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox ul { margin: 0; padding: 0; list-style: none; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox input[type=checkbox] {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; min-width: 20px; margin: 1px 0 0; border: 0; border-radius: 6px;
  background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--sable-2); cursor: pointer;
}
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox input[type=checkbox]::before,
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox input[type=checkbox]::after { display: none; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox input[type=checkbox]:checked {
  background: var(--ocre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%231d1a16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  box-shadow: none;
}
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox input[type=checkbox]:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox label.wpforms-field-label-inline {
  display: block; margin: 0; padding: 0; font-size: .82rem; line-height: 1.5; color: var(--texte); cursor: pointer; -webkit-hyphens: none; hyphens: none; overflow-wrap: normal;
}
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox label.wpforms-field-label-inline::after { content: " *"; color: var(--ocre-fonce); }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field-checkbox label a { color: inherit; text-decoration: underline; }
/* Envoi : pilule ocre et mention à côté */
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-submit-container { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 0; padding: 0; }
.formulaire-rdv.wpforms-container .wpforms-form .wpforms-submit-container::after { content: "Réponse personnelle de Didier Magne, par e-mail."; font-size: .8rem; color: var(--texte-doux); }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: auto; padding: 0 22px; margin: 0; border: 0; border-radius: 999px;
  background: var(--ocre); color: var(--encre); font: 500 .86rem/1 var(--sans); white-space: nowrap; box-shadow: none; cursor: pointer; transition: background .2s;
}
.formulaire-contact.wpforms-container .wpforms-form button[type=submit] { min-height: 50px; padding: 0 28px; font-size: .92rem; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form button[type=submit]:hover,
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form button[type=submit]:focus { background: var(--ocre-fonce); color: var(--encre); }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form button[type=submit]:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 3px; }
/* Erreurs : messages seulement (.wpforms-error est aussi posée sur les champs) */
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form :is(label, em).wpforms-error { display: block; margin: 6px 0 0; padding: 0; font-size: .78rem; font-style: normal; color: #b3261e; }
:is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form :is(input, textarea, select).wpforms-error { box-shadow: inset 0 0 0 1.5px #b3261e; }
/* Confirmation : encadré miel */
:is(.rdv-modale, .formulaire) .wpforms-confirmation-container-full { margin: 0; padding: 18px 20px; border: 0; border-radius: 14px; background: var(--miel); color: var(--encre); font-size: .92rem; }
:is(.rdv-modale, .formulaire) .wpforms-confirmation-container-full p { margin: 0; }
@media (max-width: 520px) {
  :is(.formulaire-rdv, .formulaire-contact).wpforms-container .wpforms-form .wpforms-field.wpforms-one-half { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   FENÊTRES ET BANDEAU (HTML 2 du pied, logique dans le script)
   -------------------------------------------------------------------------- */
/* Astra passe le HTML 2 du pied dans wpautop : paragraphes vides et paragraphes qui enveloppent des boutons.
   Les vides disparaissent, les enveloppes deviennent transparentes pour la mise en page (display: contents). */
:is(.rdv-modale, .sortie-modale, .doc-modale, .consentement) p:empty { display: none; }
/* Astra met les boutons en graisse 500 : croix de fermeture en 400, comme la maquette */
.rdv-modale .rdv-modale__fermer, .doc-modale .doc-modale__fermer { font-weight: 400; }
.sortie-modale__cadre > p:not([class]), .doc-modale__barre > p:not([class]), .rdv-modale__boite > p:not([class]) { display: contents; }

/* Demande de rendez-vous */
.rdv-modale { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.rdv-modale[hidden] { display: none; }
.rdv-modale__fond { position: absolute; inset: 0; background: rgba(40,28,15,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.rdv-modale__boite { position: relative; width: min(580px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: var(--rayon); background: var(--fond); box-shadow: 0 40px 80px -30px rgba(40,28,15,.5); text-align: left; }
.rdv-modale__tete { padding: 30px 30px 20px; border-bottom: 1px solid var(--ligne); }
.rdv-modale .rdv-modale__titre { margin: 0; font-family: var(--sans); font-size: 2rem; font-weight: 400; line-height: 1.06; letter-spacing: -.02em; color: var(--encre); }
.rdv-modale__tete p:not(.rdv-modale__titre) { margin: 10px 0 0; font-size: .88rem; line-height: 1.6; max-width: 44ch; color: var(--texte); }
.rdv-modale .rdv-modale__fermer { position: absolute; z-index: 2; right: 16px; top: 16px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--sable); color: var(--encre); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.rdv-modale .rdv-modale__fermer:focus { background: var(--sable); color: var(--encre); }
.rdv-modale .rdv-modale__fermer:hover { background: var(--ocre); color: var(--encre); }
.rdv-modale .rdv-modale__fermer:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
.rdv-modale__corps { padding: 24px 30px 30px; font-size: 15px; line-height: 1.6; }
.rdv-modale .rdv-modale__note { margin: 14px 0 0; font-size: .76rem; color: var(--texte-doux); }
.rdv-modale__note a { color: inherit; text-decoration: underline; }

/* Document (programme PDF) */
.doc-modale { width: min(860px, 100% - 24px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--rayon); background: var(--fond); box-shadow: 0 40px 80px -30px rgba(40,28,15,.5); overflow: hidden; }
.doc-modale::backdrop { background: rgba(34,26,18,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.doc-modale[open] { display: flex; flex-direction: column; }
.doc-modale__barre { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--ligne); }
.doc-modale .doc-modale__titre { margin: 0 auto 0 0; font-size: 1.1rem; color: var(--encre); }
.doc-modale .doc-modale__dl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--ocre); color: var(--encre); font: 500 .86rem/1 var(--sans); }
.doc-modale .doc-modale__dl:hover { background: var(--ocre-fonce); color: var(--encre); }
.doc-modale .doc-modale__fermer { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--sable); color: var(--encre); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.doc-modale .doc-modale__fermer:focus { background: var(--sable); color: var(--encre); }
.doc-modale .doc-modale__fermer:hover { background: var(--ocre); color: var(--encre); }
.doc-modale__pages { overflow: auto; padding: 18px; display: grid; gap: 14px; background: var(--sable); }
.doc-modale__pages img { width: 100%; border-radius: 10px; box-shadow: 0 16px 34px -24px rgba(60,40,15,.5); }
@media (max-width: 520px) { .doc-modale .doc-modale__dl { padding: 0 14px; font-size: .8rem; } }

/* Fenêtre de sortie */
.sortie-modale { display: none; position: fixed; inset: 0; z-index: 115; place-items: center; padding: 20px; }
.sortie-modale.est-ouverte { display: grid; }
.sortie-modale__fond { position: absolute; inset: 0; background: rgba(40,28,15,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: sortie-fondu .3s ease; }
.sortie-modale__cadre { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 44px 36px 26px;
  background: linear-gradient(180deg, var(--miel) 0, var(--miel) 92px, var(--fond) 92px); border-radius: var(--rayon); box-shadow: 0 40px 80px -30px rgba(40,28,15,.5); text-align: center; animation: sortie-arrivee .35s ease; }
.sortie-modale .sortie-modale__photo { display: block; width: 96px; height: 96px; margin: 0 auto 18px; border: 4px solid var(--fond); border-radius: 50%; background: var(--sable); object-fit: cover; box-shadow: 0 14px 30px -16px rgba(60,40,15,.45); }
.sortie-modale .sortie-modale__surtitre { margin: 0 0 6px; font-size: .78rem; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-fonce); font-weight: 600; }
.sortie-modale .sortie-modale__titre { margin: 0 0 14px; font-size: 1.75rem; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; color: var(--encre); }
.sortie-modale__titre em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; letter-spacing: 0; color: var(--ocre-fonce); }
.sortie-modale .sortie-modale__texte { max-width: 360px; margin: 0 auto 26px; font-size: .97rem; line-height: 1.6; color: var(--texte); }
.sortie-modale .sortie-modale__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre); font: 500 .92rem/1.3 var(--sans); cursor: pointer; transition: background .2s; }
.sortie-modale .sortie-modale__btn:hover, .sortie-modale .sortie-modale__btn:focus { background: var(--ocre-fonce); color: var(--encre); }
.sortie-modale__btn::after { content: ""; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.sortie-modale__btn:hover::after { transform: translateX(3px) rotate(45deg); }
.sortie-modale .sortie-modale__non { display: block; margin: 14px auto 0; padding: 6px 10px; border: 0; background: none; color: var(--texte-doux); font: 400 .84rem/1.4 var(--sans); cursor: pointer; }
.sortie-modale .sortie-modale__non:hover, .sortie-modale .sortie-modale__non:focus { background: none; color: var(--encre); }
.sortie-modale .sortie-modale__fermer { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--fond); cursor: pointer; }
.sortie-modale .sortie-modale__fermer:hover, .sortie-modale .sortie-modale__fermer:focus { background: var(--fond); }
.sortie-modale__fermer::before, .sortie-modale__fermer::after { content: ""; position: absolute; inset: 0; margin: auto; width: 15px; height: 1.6px; background: var(--encre); transform: rotate(45deg); }
.sortie-modale__fermer::after { transform: rotate(-45deg); }
.sortie-modale__btn:focus-visible, .sortie-modale__non:focus-visible, .sortie-modale__fermer:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
@keyframes sortie-fondu { from { opacity: 0; } }
@keyframes sortie-arrivee { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (max-width: 480px) { .sortie-modale__cadre { padding: 40px 22px 22px; } .sortie-modale .sortie-modale__titre { font-size: 1.5rem; } }

/* Bandeau de consentement aux cookies */
.consentement { display: none; position: fixed; left: 20px; bottom: 20px; z-index: 105; width: min(420px, calc(100% - 40px)); padding: 24px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(58,45,33,.45); text-align: left; }
.consentement.est-visible { display: block; }
.consentement .consentement__titre { margin: 0 0 6px; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--encre); }
.consentement .consentement__texte { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--encre-2); }
.consentement__texte a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre-fonce); text-underline-offset: 3px; }
.consentement__texte a:hover { color: var(--ocre-fonce); }
.consentement__actions { display: flex; gap: 10px; margin-top: 16px; }
.consentement .consentement__btn { flex: 1; padding: 12px 22px; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre); font-family: inherit; font-size: 14.5px; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background-color .2s ease; }
.consentement .consentement__btn:hover, .consentement .consentement__btn:focus { background: var(--ocre-fonce); color: var(--encre); }
.consentement__btn:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
@media (max-width: 640px) { .consentement { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; } }

/* Bouton « retour en haut » (créé par le script) */
.retour-haut { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(222,175,73,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--brun); box-shadow: 0 12px 32px -16px rgba(43,34,25,.45); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.retour-haut.est-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s ease; }
/* Astra colore button:hover et :focus : on garde l'ocre */
.retour-haut, .retour-haut:hover, .retour-haut:focus, .retour-haut:active { background: rgba(222,175,73,.78); color: var(--brun); }
@media (hover: hover) { .retour-haut:hover { background: var(--ocre); } }
.retour-haut:focus-visible { background: var(--ocre); outline: 2px solid var(--ocre-fonce); outline-offset: 3px; }
.retour-haut svg { width: 20px; height: 20px; }
body:has(.consentement.est-visible) .retour-haut { opacity: 0; visibility: hidden; }
@media (max-width: 640px) { .retour-haut { right: 16px; bottom: calc(40px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; } .retour-haut svg { width: 24px; height: 24px; } }

@media (prefers-reduced-motion: reduce) {
  #masthead *, .site-footer *, .wpforms-container *, .retour-haut, .retour-haut.est-visible { transition: none !important; }
  .retour-haut, .retour-haut.est-visible { transform: none; }
  .sortie-modale__cadre, .sortie-modale__fond { animation: none; }
  .sortie-modale__btn::after { transition: none; }
}

/* --------------------------------------------------------------------------
   MISE EN VALEUR DES TITRES : mots en <em> en Instrument Serif italique
   -------------------------------------------------------------------------- */
.elementor :is(h1, h2, h3) em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
/* 16/11 : ocre un peu plus foncé que --ocre-fonce pour un contraste ≥ 3 (grand texte) sur fond clair et sable */
.elementor .titre-section em, .elementor .titre-page em, .elementor .fiche__titre em { color: #ae7f28; }
.elementor .ouverture__titre em { color: var(--ocre); }

/* Exposants (1er) : Astra les réduit à 75 % avec un interligne nul ; la maquette garde le rendu du navigateur */
.entry-content .elementor sup { position: static; top: auto; font-size: smaller; line-height: inherit; vertical-align: super; }

/* Liens du corps : comme la maquette, pas de soulignement sur les boutons et les cartes (Astra souligne .entry-content a),
   mais les liens placés dans un paragraphe restent soulignés et prennent la couleur du texte (règle a { color: inherit } de la maquette).
   Exceptions de la maquette : fil d'Ariane sans soulignement, liens des encadrés d'infos (Contact) en encre.
   Elementor ne permet pas de styler un lien à l'intérieur d'un paragraphe : ces trois règles sont l'exception assumée. */
.ast-single-post .entry-content .elementor a, .entry-content .elementor a { text-decoration: none; }
.entry-content .elementor p a { color: inherit; text-decoration: underline; }
.entry-content .elementor p.fil a { text-decoration: none; }
.entry-content .elementor .info__texte a { color: var(--encre); }

/* --------------------------------------------------------------------------
   BOUTIQUE : blocs générés depuis WooCommerce par l'extension coachchretien-boutique
   ([cc_seance] « À la une » et [cc_produits] grille), même balisage et mêmes valeurs que la maquette.
   Exception assumée (comme 1airdevie) : ces cartes ne sont pas des éléments Elementor, elles suivent WooCommerce.
   -------------------------------------------------------------------------- */
.vedette { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 50px); align-items: center; }
.vedette__photo { position: relative; min-height: 420px; border-radius: 14px; overflow: hidden; }
.vedette__photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.vedette__badge { position: absolute; left: 14px; top: 14px; padding: .55em 1em; border-radius: 999px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--encre); font-size: .76rem; line-height: 1.6; }
.vedette__corps { padding: clamp(24px, 4vw, 44px); border-radius: var(--rayon); background: var(--sable-doux); }
.vedette__corps p { margin: 0 0 1em; }
.vedette__corps .surtitre { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font: 400 .78rem/1.2 var(--sans); color: var(--encre); }
.vedette__corps .surtitre::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ocre-fonce); }
.vedette .vedette__titre { margin: 0; font-family: var(--sans); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; color: var(--encre); }
.vedette .vedette__sous { margin: 8px 0 14px; font: italic 400 1.3rem/1.3 var(--serif); color: var(--texte); }
.vedette .vedette__texte { font-size: 15px; line-height: 1.6; color: var(--texte); }
.choix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 0; margin: 22px 0; padding: 0; border: 0; }
.choix label { position: relative; display: grid; gap: 2px; margin: 0; padding: 16px 14px; border-radius: 16px; background: var(--blanc); cursor: pointer; transition: .2s; font-size: 15px; font-weight: 400; line-height: 1.6; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.choix label:has(input:checked) { background: var(--ocre); }
.choix label:has(input:focus-visible) { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choix span { font-size: .78rem; color: var(--encre-2); }
.choix b { font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; color: var(--encre); }
.choix i { position: absolute; top: -9px; right: 10px; padding: .3em .7em; border-radius: 999px; background: var(--brun); color: var(--blanc); font: normal 500 .64rem/1.3 var(--sans); }
.vedette__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.entry-content .elementor .vedette__actions a { font-size: .86rem; color: var(--encre); text-decoration: underline; }
/* Boutons générés (mêmes valeurs que la classe Elementor « bouton ») */
.vedette__bouton, .produit__bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre);
  font: 500 .86rem/1 var(--sans); letter-spacing: 0; white-space: nowrap; cursor: pointer; transition: background .2s; text-decoration: none;
}
.vedette .vedette__bouton { min-height: 50px; padding: 0 28px; font-size: .92rem; }
.produit .produit__bouton { min-height: 38px; padding: 0 16px; font-size: .8rem; }
.vedette__bouton:hover, .vedette__bouton:focus, .produit__bouton:hover, .produit__bouton:focus { background: var(--ocre-fonce); color: var(--encre); }
.vedette__bouton[aria-busy="true"], .produit__bouton[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 860px) { .vedette { grid-template-columns: 1fr; } .vedette__photo { min-height: 320px; } }
@media (max-width: 480px) { .choix { grid-template-columns: 1fr; } }

.produits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.produit { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 18px; border-radius: var(--rayon); background: var(--sable-doux); }
.produit[hidden] { display: none; }
.produit__visuel { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--blanc); }
.produit__visuel img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.produit__visuel--affiche { display: grid; place-items: center; padding: 22px; }
.produit__visuel--affiche img { width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 30px -18px rgba(60,40,15,.45); }
@media (hover: hover) { .produit:hover .produit__visuel img, .vedette__photo:hover img { transform: scale(1.045); } }
.produit__etiquette { position: absolute; left: 12px; top: 12px; padding: .5em .9em; border-radius: 999px; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--encre); font-size: .72rem; line-height: 1.6; }
.produit__promo { position: absolute; right: 12px; top: 12px; padding: .5em .9em; border-radius: 999px; background: var(--ocre); color: var(--encre); font-size: .72rem; font-weight: 500; line-height: 1.6; }
.produit__corps { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 0 8px; font-size: 15px; line-height: 1.6; }
.produit .produit__titre { margin: 0; font: 400 1.3rem/1.15 var(--sans); letter-spacing: -.01em; color: var(--encre); }
.produit .produit__accroche { margin: 0; font-size: .86rem; color: var(--texte-doux); }
.produit .produit__meta { margin: 0; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--texte); }
.produit__programme { font-size: .84rem; }
.produit__programme summary { cursor: pointer; color: var(--encre); }
.produit__programme ul { display: grid; gap: 4px; margin: 10px 0; padding: 0; list-style: none; color: var(--texte-doux); }
.produit__programme li { margin: 0; }
.entry-content .elementor .lien-dl { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--encre); text-decoration: none; }
.lien-dl::before { content: "↓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blanc); font-size: .78rem; }
.produit__achat { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(60,40,15,.1); }
.produit .produit__prix { margin: 0; font-size: 1.15rem; color: var(--encre); }
.produit__prix small { font-size: .74rem; color: var(--texte-doux); }
.produit__prix del { margin-right: 4px; font-size: .82rem; color: var(--texte-doux); }
.produit__indisponible { font-size: .8rem; color: var(--texte-doux); }
@media (max-width: 1000px) { .produits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .produits { grid-template-columns: 1fr; } }

/* Compteurs des filtres (boutons Elementor « filtre ») et nombre d'articles */
.filtre span { margin-left: 4px; font: 400 .72rem var(--sans); color: var(--texte-doux); }
.filtre--actif span { color: var(--encre-2); }

/* Message « ajouté au panier » (HTML 2 du pied, ouvert par le script) */
.panier-toast { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: flex; gap: 14px; align-items: center; max-width: 360px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--ombre), inset 0 0 0 1px var(--ligne); font-size: .84rem; line-height: 1.6; color: var(--texte); }
.panier-toast[hidden] { display: none; }
.panier-toast p { margin: 0; }
.panier-toast strong { color: var(--encre); font-weight: 500; }
.panier-toast__lien { font-size: .76rem; color: var(--encre); text-decoration: underline; }
.panier-toast__nb { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ocre); color: var(--encre); font-weight: 600; font-size: .84rem; }
body:has(.panier-toast:not([hidden])) .retour-haut { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .vedette__photo img, .produit__visuel img { transition: none; } }

/* Fiche Ateliers : choix du format et bloc d'achat ([cc_atelier], variations WooCommerce) */
.formats { display: grid; gap: 8px; min-width: 0; margin: 26px 0 20px; padding: 0; border: 0; }
.formats legend { margin-bottom: 10px; padding: 0 2px; font-weight: 400; font-size: .72rem; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--encre); }
.format { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--sable-doux); cursor: pointer; transition: background .2s; font-size: 15px; font-weight: 400; line-height: 1.6; }
.format:has(input:checked) { background: #f8ecd2; }
.format:has(input:focus-visible) { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
.format input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 50%; background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--sable-2); cursor: pointer; }
.format input:checked, .format input:checked:focus { border: 0; background: var(--blanc); box-shadow: inset 0 0 0 6px var(--ocre-fonce); }
.format strong { display: block; font: 400 1.05rem/1.2 var(--sans); color: var(--encre); }
.format small { font-size: .78rem; color: var(--texte-doux); }
.format b { font-weight: 400; font-size: 1.15rem; color: var(--encre); text-align: right; white-space: nowrap; }
.format b small { display: block; margin-top: 3px; font-size: .72rem; }
.achat { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 20px; border-radius: var(--rayon); background: #f8ecd2; font-size: 15px; line-height: 1.6; }
.achat p { margin: 0; }
.achat .achat__label { width: 100%; font-size: .8rem; color: var(--encre); }
.quantite { display: inline-flex; align-items: center; border-radius: 999px; background: var(--blanc); }
.quantite button, .quantite button:hover, .quantite button:focus { width: 42px; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--encre); font: 400 1.15rem/1.6 var(--sans); cursor: pointer; }
.quantite button:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: -2px; }
.quantite input[type=number] { width: 40px; height: auto; padding: 1px 2px; border: 0; background: none; box-shadow: none; text-align: center; font: 500 1rem var(--sans); color: var(--encre); -moz-appearance: textfield; appearance: textfield; }
.quantite input::-webkit-inner-spin-button, .quantite input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.achat .achat__total { margin: 0 0 0 auto; text-align: right; font-size: .76rem; color: var(--texte-doux); }
.achat__total b { display: block; font-weight: 400; font-size: 2rem; letter-spacing: -.03em; color: var(--encre); }
.achat .achat__bouton { flex: 1 1 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ocre); color: var(--encre); font: 500 .92rem/1 var(--sans); white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .2s; }
.achat .achat__bouton:hover, .achat .achat__bouton:focus { background: var(--ocre-fonce); color: var(--encre); }
.achat .achat__bouton[hidden] { display: none; }
.achat .achat__confirmation { position: relative; width: 100%; padding: 12px 14px 12px 38px; border-radius: 14px; background: var(--blanc); font-size: .8rem; line-height: 1.45; color: var(--encre-2); }
.achat__confirmation[hidden] { display: none; }
.achat__confirmation::before { content: "i"; position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ocre); color: var(--encre); font: 600 .7rem/1 var(--sans); }
.achat__confirmation.est-atteint::before { content: "✓"; }
.achat .achat__note { width: 100%; font-size: .78rem; color: var(--texte-doux); }
.entry-content .elementor .achat__note a { color: var(--encre); text-decoration: underline; }

/* BLOG ET ARTICLES : ce que les classes V4 ne savent pas faire (texte riche, lettrine, survol des cartes) */
.elementor .lettrine::first-letter { float: left; margin: .06em .1em 0 0; font-family: var(--serif); font-size: 4.2em; font-style: italic; font-weight: 400; line-height: .8; color: var(--encre); }
.elementor .prose strong { font-weight: 500; color: var(--encre); }
.entry-content .elementor .prose a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px; }
.elementor .prose__titre span { margin-right: 10px; font-family: var(--sans); font-size: .9rem; font-style: normal; line-height: 1; color: var(--texte-doux); }
.elementor a.carte:hover .carte__titre, .elementor a.blog-une:hover .blog-une__titre { color: var(--ocre-fonce); }
.elementor .article-tete .fil a:hover { color: var(--blanc); }

/* PANIER (page WooCommerce classique) : messages et panier vide aux couleurs du site. Tableau, totaux et commande : section PAGES WOOCOMMERCE en fin de fichier. */
body .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error),
body .woocommerce > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  margin: 0 0 12px; padding: 16px 20px 16px 52px; border: 0; border-radius: 16px; background: var(--sable-doux);
  font-size: .9rem; line-height: 1.6; color: var(--texte); box-shadow: none; outline: none;
}
body .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
body .woocommerce > :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { top: 50%; left: 20px; transform: translateY(-50%); color: var(--ocre-fonce); }
body .woocommerce-notices-wrapper .woocommerce-message { background: #f8ecd2; }
body .woocommerce-notices-wrapper .woocommerce-error { background: #fbe9e4; }
body .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px; }
body .woocommerce .return-to-shop { margin: 26px 0 0; }
body .woocommerce .return-to-shop .button.wc-backward {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--ocre); color: var(--encre); font-family: var(--sans); font-size: .92rem; font-weight: 500; line-height: 1; text-decoration: none; box-shadow: none;
  transition: background .2s;
}
body .woocommerce .return-to-shop .button.wc-backward:hover, body .woocommerce .return-to-shop .button.wc-backward:focus { background: var(--ocre-fonce); color: var(--encre); }
body .woocommerce-notices-wrapper .woocommerce-message { display: block; }
body .woocommerce-notices-wrapper .woocommerce-message .restore-item { display: inline; float: none; margin: 0; }

/* Boutons du panier et de la commande WooCommerce : boutons du site (ocre pour l'action principale, crème pour les autres) */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.button, button.button, input.button, #place_order) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne);
  font-family: var(--sans); font-size: .9rem; font-weight: 500; line-height: 1; text-decoration: none; transition: background .2s, opacity .2s;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.button, button.button, input.button):is(:hover, :focus) { background: var(--sable); color: var(--encre); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.button, button.button):is(:disabled, [disabled], .disabled),
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.button, button.button):is(:disabled, [disabled], .disabled):hover { background: var(--blanc); color: var(--encre); opacity: .5; cursor: default; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.checkout-button, a.button.alt, button.button.alt, #place_order) {
  min-height: 54px; background: var(--ocre); color: var(--encre); box-shadow: none; font-size: .95rem;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(a.checkout-button, a.button.alt, button.button.alt, #place_order):is(:hover, :focus) { background: var(--ocre-fonce); color: var(--encre); }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; margin-bottom: 0; }
/* Commande : mêmes encadrés que le panier (code promo, paiement) */
body.woocommerce-checkout .woocommerce :is(.woocommerce-form-coupon-toggle, #payment) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
  margin: 0 0 12px; padding: 16px 20px 16px 52px; border: 0; border-radius: 16px; background: var(--sable-doux); font-size: .9rem; line-height: 1.6; color: var(--texte); box-shadow: none; outline: none;
}
body.woocommerce-checkout .woocommerce :is(.woocommerce-form-coupon-toggle, #payment) :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { top: 50%; left: 20px; transform: translateY(-50%); color: var(--ocre-fonce); }
body.woocommerce-checkout .woocommerce :is(.woocommerce-form-coupon-toggle, #payment) :is(.woocommerce-info, .woocommerce-message) a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   PAGES WOOCOMMERCE : Panier (9), Commande (10, aussi la confirmation), Mon compte (11)
   Pages classiques (shortcodes) habillées comme les pages simples du site : cadre de 1180 px,
   pastille + grand titre (comme Mentions légales), encadrés sable, champs des formulaires de contact.
   -------------------------------------------------------------------------- */
/* Cadre : même largeur et mêmes marges que les pages Elementor (1180 px, 18 px de marge en mobile) */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) #content > .ast-container { display: block; width: min(var(--large), 100% - 36px); max-width: none; margin-inline: auto; padding-inline: 0; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) #primary { width: 100%; margin: 0; padding: 0 0 clamp(50px, 7vw, 90px); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) .ast-article-single { padding: 0; margin: 0; background: none; }
/* Tête : pastille « Boutique » (point ocre) et grand titre, comme la tête des pages simples */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) .entry-header { margin: 0; padding: clamp(30px, 4vw, 56px) 0 clamp(30px, 4vw, 50px); text-align: left; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) .entry-header::before {
  content: "Boutique"; display: table; margin: 0 0 18px; padding: 6px 14px 6px 28px; border-radius: 999px;
  background: radial-gradient(circle at 17px 50%, var(--ocre-fonce) 3px, transparent 3.5px), var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne);
  font: 400 .78rem/1.2 var(--sans); color: var(--encre);
}
body.woocommerce-account .entry-header::before { content: "Espace client"; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) .entry-header .entry-title {
  margin: 0; font-family: var(--sans); font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; color: var(--encre);
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .page-cgv) .entry-content { margin: 0; }
/* Titres internes (Total panier, Détails de facturation, Votre commande, Connexion…) */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(h2, h3):not(.entry-title) {
  margin: 0 0 22px; padding: 0; border: 0; font-family: var(--sans); font-size: 1.6rem; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; color: var(--encre);
}
/* Liens du texte : encre soulignée d'ocre */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(p, label, address, td:not(.product-name):not(.product-thumbnail):not(.product-remove)) a:not(.button) { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px; }

/* Tableaux (panier, récapitulatif, détail de la commande, téléchargements) : carte blanche arrondie, filets fins */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table {
  width: 100%; margin: 0 0 30px; border: 0; border-collapse: separate; border-spacing: 0; border-radius: var(--rayon); overflow: hidden;
  background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-size: .92rem; color: var(--texte);
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(th, td) { padding: 18px 20px; border: 0; border-top: 1px solid var(--ligne); background: none; vertical-align: middle; line-height: 1.5; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table thead th { border-top: 0; background: var(--sable-doux); font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--texte-doux); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table > tbody:first-child > tr:first-child > :is(th, td) { border-top: 0; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(tfoot th, tbody th) { font-weight: 400; color: var(--texte); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table .product-name a { color: var(--encre); font-weight: 500; text-decoration: none; transition: color .2s; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table .product-name a:hover { color: var(--ocre-fonce); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table .product-quantity { font-weight: 400; color: var(--texte-doux); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table .amount { color: var(--encre); white-space: nowrap; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(.order-total, .order_total) :is(th, td) { font-size: 1.05rem; color: var(--encre); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(.order-total, .order_total) .amount { font-size: 1.25rem; font-weight: 500; }

/* Panier : vignette arrondie, croix de retrait ronde, quantité en pastille */
body.woocommerce-cart .woocommerce table.cart .product-thumbnail { width: 112px; padding-right: 0; }
body.woocommerce-cart .woocommerce table.cart .product-thumbnail img { display: block; width: 76px; height: 76px; max-width: none; object-fit: cover; border-radius: 14px; }
body.woocommerce-cart .woocommerce table.cart .product-remove { width: 62px; padding-right: 0; }
body.woocommerce-cart .woocommerce table.cart a.remove {
  display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border: 0; border-radius: 50%; background: var(--sable-doux);
  color: var(--texte) !important; font-size: 1.15rem; line-height: 1; transition: background .2s, color .2s;
}
body.woocommerce-cart .woocommerce table.cart a.remove::before { display: none; }
body.woocommerce-cart .woocommerce table.cart a.remove:hover { background: var(--sable-2); color: var(--encre) !important; }
body.woocommerce-cart .woocommerce table.cart a.remove :is(svg, .ahfb-svg-iconset) { width: 14px; height: 14px; fill: currentColor; }
body.woocommerce-cart .woocommerce table.cart .quantity .qty {
  width: 68px; height: 44px; min-height: 0; padding: 0 6px; border: 0; border-radius: 12px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne);
  font: 400 .92rem/1 var(--sans); color: var(--encre); text-align: center;
}
body.woocommerce-cart .woocommerce table.cart td.actions { padding: 16px 20px; background: var(--sable-doux); }
body.woocommerce-cart .woocommerce table.cart td.actions .coupon { display: flex; gap: 10px; align-items: center; }
body.woocommerce-cart .woocommerce table.cart td.actions .coupon .input-text { width: 220px; margin: 0; }
/* Totaux : encadré sable (même rayon que les cartes du site) */
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals { padding: 30px; border: 0; border-radius: var(--rayon); background: var(--sable-doux); }
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2 { margin: 0 0 14px; padding: 0; background: none; border: 0; }
body.woocommerce-cart .woocommerce .cart_totals table.shop_table { margin: 0 0 24px; border-radius: 0; background: none; box-shadow: none; }
body.woocommerce-cart .woocommerce .cart_totals table.shop_table :is(th, td) { padding: 14px 0; border-top: 1px solid var(--sable-2); }
body.woocommerce-cart .woocommerce .cart_totals table.shop_table tr:first-child :is(th, td) { border-top: 0; }
body.woocommerce-cart .woocommerce .cart_totals table.shop_table td { text-align: right; }
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout { padding: 0; }

/* Champs (commande, code promo, connexion) : ceux des formulaires du site (blancs, filet sable, coins de 14 px, focus ocre) */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(input.input-text, input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select):not(.qty),
body:is(.woocommerce-checkout, .woocommerce-account) .select2-container .select2-selection--single {
  width: 100%; height: auto; min-height: 48px; padding: .7em 1.1em; border: 0; border-radius: 14px; background-color: var(--blanc);
  font: 400 .92rem/1.6 var(--sans); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); transition: box-shadow .2s;
}
/* Focus : #content pour passer devant le pointillé d'Astra (posé sur #coupon_code:focus) et devant la règle des champs ci-dessus */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) #content .woocommerce :is(input, textarea, select):not([type=checkbox]):not([type=radio]):focus,
body:is(.woocommerce-checkout, .woocommerce-account) #content .select2-container--focus .select2-selection--single,
body:is(.woocommerce-checkout, .woocommerce-account) #content .select2-container--open .select2-selection--single { outline: 0; border: 0; box-shadow: inset 0 0 0 1.5px var(--ocre-fonce); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce ::placeholder { color: var(--texte-doux); opacity: 1; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce textarea { min-height: 120px; resize: vertical; }
/* Liste des pays (select2) : chevron de la liste « Objet de la demande » */
/* Astra pose déjà son chevron en fond de la liste : retiré, le chevron du site est dessiné dans la flèche de select2 */
body:is(.woocommerce-checkout, .woocommerce-account) .select2-container .select2-selection--single { background-image: none; }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 32px 0 0; line-height: 1.6; color: var(--encre); }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 18px; width: 12px; height: 8px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231d1a16' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px 8px no-repeat; }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-container .select2-selection--single .select2-selection__arrow b { display: none; }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-dropdown { overflow: hidden; border: 0; border-radius: 14px; box-shadow: var(--ombre), inset 0 0 0 1px var(--ligne); font: 400 .9rem/1.5 var(--sans); }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-search--dropdown .select2-search__field { padding: .5em .9em; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ligne); }
body:is(.woocommerce-checkout, .woocommerce-account) .select2-results__option--highlighted[aria-selected],
body:is(.woocommerce-checkout, .woocommerce-account) .select2-results__option--highlighted[data-selected] { background: var(--sable); color: var(--encre); }
/* Libellés : petits, encre ; astérisque ocre ; « (facultatif) » discret */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce .form-row { margin: 0 0 14px; padding: 0; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { display: block; margin: 0 0 6px; font-size: .8rem; font-weight: 400; line-height: 1.6; color: var(--encre); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce .form-row .required { color: var(--ocre-fonce); font-weight: 400; text-decoration: none; border: 0; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce .form-row .optional { color: var(--texte-doux); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) { box-shadow: inset 0 0 0 1.5px #b3261e; }
/* Cases à cocher (conditions, « se souvenir de moi ») : carré arrondi, coche ocre, comme le formulaire de contact */
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce input[type=checkbox] {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; min-width: 20px; margin: 1px 10px 0 0; border: 0; border-radius: 6px; vertical-align: -4px;
  background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--sable-2); cursor: pointer;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce input[type=checkbox]:checked {
  background: var(--ocre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%231d1a16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: none;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce input[type=checkbox]:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce label.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; font-size: .84rem; font-weight: 400; line-height: 1.5; color: var(--texte); cursor: pointer; }

/* Commande : facturation à gauche, récapitulatif dans un encadré sable à droite */
body.woocommerce-checkout .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); grid-template-rows: auto 1fr; column-gap: clamp(30px, 5vw, 70px); align-items: start; }
body.woocommerce-checkout .woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 30px; }
body.woocommerce-checkout .woocommerce form.checkout_coupon { margin: -14px 0 30px; padding: 20px; border: 0; border-radius: 16px; background: var(--sable-doux); }
body.woocommerce-checkout .woocommerce form.checkout_coupon p:not(.form-row) { margin: 0 0 12px; font-size: .9rem; }
body.woocommerce-checkout .woocommerce form.checkout_coupon .form-row { display: inline-flex; width: auto; margin: 0 8px 0 0; vertical-align: middle; }
@media (max-width: 544px) { body.woocommerce-checkout .woocommerce form.checkout_coupon .form-row { display: flex; width: 100%; margin: 0 0 8px; } body.woocommerce-checkout .woocommerce form.checkout_coupon .form-row .button { width: 100%; } }
body.woocommerce-checkout .woocommerce form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; float: none; width: auto; margin: 0; }
body.woocommerce-checkout .woocommerce form.checkout #customer_details :is(.col-1, .col-2) { float: none; width: 100%; max-width: none; margin: 0; padding: 0; }
body.woocommerce-checkout .woocommerce form.checkout #customer_details .col-2:empty { display: none; }
body.woocommerce-checkout .woocommerce form.checkout .woocommerce-additional-fields { margin-top: 26px; }
/* Astra : filet sous « Détails de facturation » gardé, mais fin et sable comme les filets du site */
body.woocommerce-checkout #customer_details h3 { margin: 0 0 22px; padding: 0 0 16px; border-bottom: 1px solid var(--ligne); }
body.woocommerce-checkout #content .woocommerce form.checkout #order_review_heading {
  grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0; padding: 30px 30px 22px; border: 0; border-radius: var(--rayon) var(--rayon) 0 0; background: var(--sable-doux);
}
body.woocommerce-checkout #content .woocommerce form.checkout #order_review {
  grid-column: 2; grid-row: 2; float: none; width: auto; margin: 0; padding: 0 30px 30px; border: 0; border-radius: 0 0 var(--rayon) var(--rayon); background: var(--sable-doux);
}
body.woocommerce-checkout .woocommerce #order_review table.shop_table { margin: 0 0 22px; border-radius: 0; background: none; box-shadow: none; }
body.woocommerce-checkout .woocommerce #order_review table.shop_table :is(th, td) { padding: 13px 0; border-top: 1px solid var(--sable-2); }
body.woocommerce-checkout .woocommerce #order_review table.shop_table thead th { background: none; border-top: 0; padding-top: 0; }
body.woocommerce-checkout .woocommerce #order_review table.shop_table :is(td, th):last-child { text-align: right; }
body.woocommerce-checkout .woocommerce #order_review table.shop_table .product-name { padding-right: 16px; color: var(--encre); }
body.woocommerce-checkout .woocommerce #order_review table.shop_table .product-name .product-quantity { color: var(--texte-doux); font-weight: 400; }
/* Paiement : sans le fond gris de WooCommerce ; moyens de paiement en cartes blanches (prêtes pour Stripe) */
body.woocommerce-checkout .woocommerce #payment { padding: 0; border: 0; border-radius: 0; background: none; }
body.woocommerce-checkout .woocommerce #payment ul.payment_methods { margin: 0 0 18px; padding: 0; border: 0; list-style: none; }
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li:not(:has(.woocommerce-info)) {
  margin: 0 0 10px; padding: 14px 18px; border-radius: 16px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne); font-size: .92rem; line-height: 1.5; color: var(--encre);
}
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li > label { display: inline; margin: 0; font-weight: 500; color: var(--encre); }
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li > input[type=radio] { margin: 0 8px 0 0; accent-color: var(--ocre-fonce); }
body.woocommerce-checkout .woocommerce #payment div.payment_box { margin: 12px 0 0; padding: 0; border-radius: 0; background: none; font-size: .86rem; color: var(--texte); }
body.woocommerce-checkout .woocommerce #payment div.payment_box::before { display: none; }
body.woocommerce-checkout .woocommerce #payment ul.payment_methods > li > .woocommerce-info { margin: 0; }
body.woocommerce-checkout .woocommerce #payment div.form-row.place-order { margin: 0; padding: 0; }
body.woocommerce-checkout .woocommerce #payment .woocommerce-terms-and-conditions-wrapper { margin: 0 0 18px; }
body.woocommerce-checkout .woocommerce .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: .8rem; line-height: 1.6; color: var(--texte-doux); }
body.woocommerce-checkout .woocommerce #payment #place_order { float: none; width: 100%; }
@media (max-width: 921px) {
  body.woocommerce-checkout .woocommerce form.checkout { display: block; }
  body.woocommerce-checkout #content .woocommerce form.checkout #order_review_heading { margin-top: 34px; padding: 26px 22px 18px; }
  body.woocommerce-checkout #content .woocommerce form.checkout #order_review { padding: 0 22px 24px; }
}

/* Confirmation de commande (page Commande, « commande reçue ») et détail d'une commande */
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce-order > .woocommerce-notice,
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .woocommerce-thankyou-order-received {
  margin: 0 0 22px; padding: 18px 22px; border-radius: 16px; background: var(--miel); font-size: 1rem; line-height: 1.6; color: var(--encre);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce ul.woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none;
}
/* Le « clearfix » d'Astra (::before / ::after) prenait une place dans la grille flexible et décalait les cartes */
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce ul.woocommerce-order-overview::before,
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce ul.woocommerce-order-overview::after { display: none; }
body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce ul.woocommerce-order-overview li {
  flex: 1 1 160px; float: none; margin: 0; padding: 14px 18px; border: 0; border-radius: 16px; background: var(--sable-doux);
  font-size: .76rem; line-height: 1.5; letter-spacing: .02em; text-transform: none; color: var(--texte-doux);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--encre); overflow-wrap: anywhere; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .woocommerce-order > p:not(.woocommerce-notice) { margin: 0 0 22px; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce :is(.woocommerce-order-details, .woocommerce-order-downloads, .woocommerce-customer-details) { margin: 0 0 34px; }
/* #content : Astra met ces titres dans un bandeau gris encadré (.woocommerce-page.woocommerce-checkout .woocommerce-order h2…) */
body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce :is(.woocommerce-order-details__title, .woocommerce-order-downloads__title, .woocommerce-column__title) { margin: 0 0 16px; padding: 0; border: 0; background: none; font-size: 1.35rem; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table :is(td, th):last-child:not(:first-child) { text-align: right; }
body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-table--order-downloads td.download-file a.button { min-height: 40px; padding: 0 18px; background: var(--ocre); box-shadow: none; font-size: .86rem; }
body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-table--order-downloads td.download-file a.button:is(:hover, :focus) { background: var(--ocre-fonce); }
body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-customer-details address {
  padding: 20px 22px; border: 0; border-radius: 16px; background: var(--sable-doux); font-style: normal; font-size: .92rem; line-height: 1.7; color: var(--texte);
}
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .woocommerce-customer-details address p { margin: 6px 0 0; }
body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce .woocommerce-customer-details address p::before { color: var(--ocre-fonce); }

/* Tableaux de la confirmation en mobile (téléchargements, détail) : libellés WooCommerce en graisse normale, deux-points à la française */
@media (max-width: 921px) {
  body:is(.woocommerce-checkout, .woocommerce-account) .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title) "\00a0:"; font-weight: 400; color: var(--texte-doux); }
  body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-table--order-downloads td.download-file { text-align: left !important; }
  body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-table--order-downloads td.download-file::before { display: block; float: none; margin-bottom: 10px; }
  body:is(.woocommerce-checkout, .woocommerce-account) #content .woocommerce .woocommerce-table--order-downloads td.download-file a.button { display: flex; width: 100%; height: auto; padding: 12px 18px; line-height: 1.3; text-align: center; white-space: normal; }
}

/* Mon compte : connexion et mot de passe perdu dans un encadré sable ; espace connecté (menu en pastilles) */
body.woocommerce-account .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.woocommerce-ResetPassword, form.lost_reset_password) {
  max-width: 520px; margin: 0; padding: 30px; border: 0; border-radius: var(--rayon); background: var(--sable-doux);
}
body.woocommerce-account .woocommerce :is(#customer_login, .u-columns) { max-width: 520px; }
body.woocommerce-account .woocommerce #customer_login :is(.u-column1, .u-column2) { float: none; width: 100%; padding: 0; }
body.woocommerce-account .woocommerce form .form-row:has(> .woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 22px; }
body.woocommerce-account .woocommerce form .woocommerce-form-login__rememberme { order: 2; margin: 0; }
body.woocommerce-account #content .woocommerce form :is(.woocommerce-form-login__submit, .woocommerce-Button) { order: 1; float: none; margin: 0; background: var(--ocre); box-shadow: none; }
body.woocommerce-account #content .woocommerce form :is(.woocommerce-form-login__submit, .woocommerce-Button):is(:hover, :focus) { background: var(--ocre-fonce); }
body.woocommerce-account .woocommerce .lost_password { margin: 18px 0 0; font-size: .84rem; }
body.woocommerce-account .woocommerce .password-input { display: block; position: relative; }
/* Œil « afficher le mot de passe » (WooCommerce n'y met qu'un glyphe de police) */
body.woocommerce-account .woocommerce .show-password-input {
  position: absolute; top: 50%; right: 10px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; transform: translateY(-50%); cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
body.woocommerce-account .woocommerce .show-password-input.display-password {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b645b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
}
body.woocommerce-account .woocommerce .show-password-input::before, body.woocommerce-account .woocommerce .show-password-input::after { display: none; }
body.woocommerce-account .woocommerce .show-password-input:hover { background-color: var(--sable); }
body.woocommerce-account .woocommerce .password-input input { padding-right: 52px; }
body.woocommerce-account .woocommerce form .form-row:has(> .woocommerce-form-login__submit)::before,
body.woocommerce-account .woocommerce form .form-row:has(> .woocommerce-form-login__submit)::after { display: none; }
body.woocommerce-account .woocommerce form.lost_reset_password .form-row { float: none; width: 100%; }
body.woocommerce-account .woocommerce form.lost_reset_password > p:first-child { margin: 0 0 18px; font-size: .9rem; line-height: 1.6; }
body.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: 100%; margin: 0 0 30px; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li { margin: 0; border: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne);
  font-size: .84rem; color: var(--encre); text-decoration: none; transition: background .2s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--sable); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--ocre); box-shadow: none; }
body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
body.woocommerce-account .woocommerce :is(.woocommerce-MyAccount-content, form) .button:not(.woocommerce-form-login__submit) { min-height: 40px; }

/* Panier en mobile et tablette (feuille « smallscreen » d'Astra jusqu'à 921 px) : lignes en cartes, libellé de chaque colonne à gauche */
@media (max-width: 921px) {
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr { display: block; position: relative; padding: 8px 0; border-top: 1px solid var(--ligne); }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tbody tr:first-child { border-top: 0; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 18px; border: 0; text-align: right; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td::before { font-weight: 400; color: var(--texte-doux); }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.product-remove { position: absolute; top: 14px; right: 6px; z-index: 1; display: block; width: auto; padding: 0; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.product-thumbnail { display: block; width: auto; padding: 10px 18px 4px; text-align: left !important; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.product-thumbnail::before { display: none; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td::before { content: attr(data-title) "\00a0:"; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.product-name { display: block; padding: 12px 58px 6px 18px; text-align: left !important; font-size: 1rem; line-height: 1.4; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.product-name::before { display: none; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr:has(> td.actions) { padding: 0; }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.actions { display: block; margin-top: 4px; padding: 16px 18px; text-align: left !important; }
  /* Totaux : libellé (posé par WooCommerce en ::before) en graisse normale, deux-points à la française */
  body.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td::before { content: attr(data-title) "\00a0:"; font-weight: 400; color: var(--texte); }
  body.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr.order-total td::before { color: var(--encre); }
  body.woocommerce-cart .woocommerce table.cart.shop_table_responsive tr td.actions::before { display: none; }
  body.woocommerce-cart #content .woocommerce table.cart td.actions .coupon { display: flex; flex-direction: row; gap: 10px; float: none; width: 100%; padding: 0; }
  body.woocommerce-cart #content .woocommerce table.cart td.actions .coupon .input-text { flex: 1 1 auto; width: auto; min-width: 0; float: none; margin: 0; }
  body.woocommerce-cart #content .woocommerce table.cart td.actions .coupon .button { flex: none; width: auto; float: none; margin: 0; white-space: nowrap; }
  body.woocommerce-cart #content .woocommerce table.cart td.actions > .button { display: flex; float: none; width: 100%; margin: 10px 0 0; }
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals { width: 100%; padding: 24px 22px; }
}

/* Panier en mobile : champ du code promo et son bouton chacun sur une ligne entière */
@media (max-width: 544px) {
  body.woocommerce-cart #content .woocommerce table.cart td.actions .coupon { flex-direction: column; gap: 8px; }
  body.woocommerce-cart #content .woocommerce table.cart td.actions .coupon :is(.input-text, .button) { flex: 0 0 auto; width: 100%; }
}

/* --------------------------------------------------------------------------
   CONDITIONS GÉNÉRALES DE VENTE (14/11/2026) : page WordPress simple (sans Elementor), classe page-cgv posée par
   coachchretien-boutique.php. Même tête que les pages WooCommerce (pastille « Informations légales »), texte comme les
   Mentions légales (prose : titres Instrument Serif italique sur filet, paragraphes 1,04 rem, puces ocre, liens soulignés d'ocre).
   -------------------------------------------------------------------------- */
body.page-cgv .entry-header::before { content: "Informations légales"; }
/* Astra donne 32 px de marge haute à l'article d'une page simple : retirée (la tête suit l'en-tête comme sur les pages WooCommerce) */
body.page-cgv #primary article { margin: 0; padding: 0; }
body.page-cgv .entry-content { max-width: 66ch; text-align: left; font-size: 1.04rem; line-height: 1.75; color: var(--encre-2); }
body.page-cgv .entry-content > p { margin: 0; }
body.page-cgv .entry-content > p + p { margin-top: 1em; }
body.page-cgv .entry-content > h2 {
  margin: 2em 0 0; padding: 0 0 12px; border-bottom: 1px solid var(--ligne);
  font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-style: italic; font-weight: 400; line-height: 1.12; letter-spacing: -.02em; color: var(--encre);
}
body.page-cgv .entry-content > h2 + p { margin-top: 16px; }
body.page-cgv .entry-content > ul { display: block; margin: 1.1rem 0 0; padding: 0; list-style: none; }
body.page-cgv .entry-content > ul li + li { margin-top: 8px; }
body.page-cgv .entry-content > ul + p { margin-top: 1.1rem; }
body.page-cgv .entry-content > ul li { position: relative; margin: 0; padding-left: 20px; text-align: left; }
body.page-cgv .entry-content > ul li::before { content: ""; position: absolute; top: .78rem; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--ocre); }
body.page-cgv .entry-content a { color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px; }
body.page-cgv .entry-content .cgv-maj { margin-top: 2.6em; font-size: .85rem; color: var(--texte-doux); }

/* Mention « TVA non applicable » (panier, commande, confirmation) : posée par coachchretien-boutique.php */
.woocommerce .mention-tva { margin: 0 0 16px; font-size: .8rem; line-height: 1.5; color: var(--texte-doux); }
.woocommerce .woocommerce-order-details .mention-tva { margin: -18px 0 0; }

/* --------------------------------------------------------------------------
   RÉSERVATION D'ATELIER (14/11/2026) : fenêtre .atelier-modale (classes de la demande de rendez-vous + sélecteur de la fiche
   Ateliers). Les champs Format, Participants et Montant du formulaire sont remplis par le script : masqués, mais envoyés.
   -------------------------------------------------------------------------- */
.atelier-modale .rdv-modale__boite { width: min(620px, 100%); }
.atelier-modale .rdv-modale__titre { padding-right: 44px; }
/* Après l'envoi : seul le message de confirmation reste (récapitulatif masqué) */
.atelier-modale:has(.wpforms-confirmation-container-full) .atelier-recap { display: none; }
/* Message de confirmation des fenêtres (rendez-vous et atelier) : miel du site au lieu du vert de WPForms, qui passait devant */
body :is(.rdv-modale, .formulaire) div.wpforms-confirmation-container-full { margin: 0; padding: 18px 20px; border: 0; border-radius: 14px; background: var(--miel); color: var(--encre); font-size: .92rem; }
/* Récapitulatif du choix fait sur la fiche (pas de second choix de formule dans la fenêtre) */
.atelier-recap { position: relative; margin: 0 0 24px; padding: 18px 20px; border-radius: var(--rayon); background: #f8ecd2; }
.atelier-modale .atelier-recap p { margin: 0; }
.atelier-modale .atelier-recap .atelier-recap__titre { margin-bottom: 8px; font-size: .72rem; line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; color: var(--encre); }
.atelier-modale .atelier-recap__format { font: 400 1.05rem/1.3 var(--sans); color: var(--encre); }
.atelier-modale .atelier-recap .atelier-recap__detail { margin-top: 4px; font-size: .78rem; line-height: 1.5; color: var(--texte-doux); }
.atelier-modale .atelier-recap__detail:empty { display: none; }
.atelier-modale .atelier-recap .atelier-recap__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(29,26,22,.12); font-size: .9rem; color: var(--encre-2); }
.atelier-recap__ligne b { font-weight: 400; font-size: 1.6rem; letter-spacing: -.03em; color: var(--encre); white-space: nowrap; }
.atelier-modale .atelier-recap__modifier, .atelier-modale .atelier-recap__modifier:hover, .atelier-modale .atelier-recap__modifier:focus {
  position: absolute; top: 14px; right: 16px; padding: 4px 2px; border: 0; background: none; box-shadow: none; cursor: pointer;
  font: 400 .82rem/1.4 var(--sans); color: var(--encre); text-decoration: underline; text-decoration-color: var(--ocre); text-underline-offset: 3px;
}
.atelier-modale .atelier-recap__modifier:focus-visible { outline: 2px solid var(--ocre-fonce); outline-offset: 2px; }
.formulaire-atelier.wpforms-container .wpforms-form .wpforms-field.champ-atelier { position: absolute !important; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* À propos › Ateliers : phrase des tarifs à côté du bouton « Voir la fiche et réserver » (14/11/2026) */
.actions-ligne > .formules__note { flex: 1 1 320px; margin: 0 !important; max-width: none; }

/* Page 404 épurée (21/11/2026) : sans menu, pied, fil d'Ariane ni « Reprendre le chemin » ;
   le bloc restant (titre, texte, boutons, brebis) est centré verticalement dans l'écran. */
body.coachchretien-404 .elementor-element-1faea627 {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
