/* Thème « Amalia · Mimosa » : ce qui adapte la feuille du site au balisage des blocs WordPress, puis l'en-tête et le
   pied. Source : outils/wp.css (copiée dans le thème par construire-theme.py). */

/* ---------- Les blocs WordPress, ramenés au dessin du site */
.wp-site-blocks { overflow-x: clip; }
:where(.wp-block-group) { box-sizing: border-box; }
.wp-block-post-content > :first-child { margin-top: 0; }
:where(.ex) { margin: 0; }   /* un paragraphe né d'un autre élément n'a pas les marges d'un paragraphe */
:where(.wp-block-image) { margin: 0; }
:where(.wp-block-image) img { display: block; max-width: 100%; height: auto; box-sizing: border-box; }
:where(.wp-block-image) :where(.wp-element-caption) { margin: 0; }
:where(.wp-block-quote) { margin: 0; padding: 0; border: 0; }
:where(.wp-block-quote) > p { margin: 0; }
:where(.wp-block-quote) > p + p { margin-top: .6em; }
/* un bouton seul ou dans un groupe : le lien redevient l'enfant direct de sa carte, comme dans la maquette */
.wp-block-buttons.seul, .wp-block-button { display: contents; }
:where(.wp-block-button__link) { box-sizing: border-box; cursor: pointer; text-align: center; word-break: normal; }
.wp-block-buttons.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.avec-fleche > .wp-block-button__link::after {
  content: ""; width: 36px; height: 36px; border-radius: 50%; flex: none; transition: transform .35s var(--ressort, ease);
  background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%232A1712' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.avec-fleche > .wp-block-button__link:hover::after { transform: translateX(3px); }
:where(.wp-block-separator) { border: 0; }
.wp-block-details > summary { cursor: pointer; }
p.lien-seul { margin: 0; }
/* le diaporama des écrans de l'appli : chaque photo est dans sa figure, c'est la figure qui défile */
.diapos > .wp-block-image { flex: 0 0 100%; scroll-snap-align: start; }
.diapos > .wp-block-image img { width: 100%; }
.lien-bloc h1 a, .lien-bloc h2 a, .lien-bloc h3 a { color: inherit; text-decoration: none; }
/* « Qui je suis » au téléphone : la largeur écrite dans la page cède, les colonnes s'empilent */
@media (max-width: 900px) { .duo[class*=" s-"] { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------- Petites icônes devant un texte (les symboles de la page, dessinés par la feuille) */
.ic::before { content: ""; display: inline-block; width: 18px; height: 18px; flex: none; background: center / contain no-repeat; vertical-align: -3px; margin-right: 8px; }
.icone-bloc.ic::before { display: block; width: 100%; height: 100%; margin: 0; }
.sur.ic::before, .faits .ic::before, .creneaux .ic::before { margin-right: 0; }
.faits .ic::before { width: 20px; height: 20px; margin-top: 3px; }

/* ---------- L'en-tête : bandeau du coaching, puis la barre flottante (comme le studio) */
/* mêmes mesures que la maquette : bandeau de 40 px qui part au défilement, barre fixe à 54 px puis à 14 px, 136 px réservés */
.zone-entete { position: relative; z-index: 50; height: 136px; }
.annonce { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; color: #FFF7EE; text-align: center;
  background: linear-gradient(90deg, color-mix(in oklab, var(--wp--preset--color--violet) 82%, #000), var(--wp--preset--color--violet) 50%, color-mix(in oklab, var(--wp--preset--color--violet) 82%, #000)); }
/* une couleur de fond choisie dans le panneau Bloc passe devant le dégradé du thème (Kathy, 01/11/2026) */
.annonce.has-background { background-image: none; }
.annonce p { margin: 0; font: 500 13.5px/1.3 var(--corps); display: flex; align-items: center; gap: 0 .35em; flex-wrap: wrap; justify-content: center; }
.annonce p::before { content: ""; width: 8px; height: 8px; flex: none; margin-right: 8px; border-radius: 50%; background: var(--wp--preset--color--mimosa); animation: ds-pouls 2.4s cubic-bezier(.32, .72, 0, 1) infinite; }
@keyframes ds-pouls { 0% { box-shadow: 0 0 0 0 rgba(var(--k9-rgb), .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(var(--k9-rgb), 0); } }
.annonce strong { color: var(--wp--preset--color--mimosa); font-weight: 600; }
.annonce a { color: #FFF8EE; font-weight: 600; text-decoration: none; margin-left: 8px; }
.annonce a .annonce-long { text-decoration: underline; text-decoration-color: rgba(var(--k9-rgb), .8); text-underline-offset: 3px; }
/* sans transform ni flou sur la barre elle-même : ils enfermeraient le menu plein écran du téléphone dans la barre */
.ds-nav { position: fixed; top: 54px; left: 12px; right: 12px; margin: 0 auto; max-width: 1400px; z-index: 40; box-sizing: border-box;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 999px; transition: top .55s cubic-bezier(.32, .72, 0, 1); }
.ds-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(var(--k1-rgb), .8); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(42, 23, 18, .07), 0 10px 30px -18px rgba(120, 64, 24, .35); }
html.ds-annonce-passee .ds-nav { top: 14px; }
.admin-bar .ds-nav { margin-top: 32px; }
.ds-marque { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.ds-marque .wp-block-site-logo { flex: none; }
/* le logo DOSE Mouvement (Kathy, 03/11/2026) : le lettrage d'origine, MOUVEMENT en dessous, sans capsule */
.ds-marque .wp-block-site-logo img { width: auto; height: 34px; max-width: 168px; object-fit: contain; border-radius: 0; }
.ds-marque .wp-block-site-logo + .ds-nom { padding-left: 12px; border-left: 1.5px solid color-mix(in oklab, var(--encre) 18%, transparent); }
/* avec le logo DOSE Mouvement, le menu manquait de place : la barre est plafonnée à 1 400 px, le slogan n'y tient pas ;
   le nom « Amalia Beyer » à côté du logo à partir de 1 440 px, le logo seul en dessous */
.ds-marque .wp-block-site-logo img { height: 50px; max-width: none; }
@media (max-width: 1439px) { .ds-nom .wp-block-site-tagline { display: none; } }
@media (max-width: 760px) { .ds-marque .wp-block-site-logo + .ds-nom { display: none; } }
.ds-nom { display: grid; gap: 4px; min-width: 0; }
.ds-nom .wp-block-site-title { margin: 0; font: 650 19px/1 var(--titre); letter-spacing: -.03em; white-space: nowrap; }
.ds-nom .wp-block-site-title a { color: var(--encre); text-decoration: none; }
.ds-nom .wp-block-site-tagline { margin: 0; font: 600 9.5px/1 var(--corps); letter-spacing: .2em; text-transform: uppercase; color: var(--doux); white-space: nowrap; }
.ds-menu { font: 500 14px/1 var(--corps); }
.ds-menu .wp-block-navigation__container { gap: 2px; }
.ds-menu .wp-block-navigation-item__content { padding: 10px 11px; border-radius: 999px; color: var(--texte-2); text-decoration: none; transition: background .3s, color .3s; }
/* Fonds du survol et de la page en cours : couleurs « Menu · survol » et « Menu · page en cours » de la palette
   (Apparence › Éditeur › Styles › Couleurs), au départ celles d'origine (Kathy, 01/11/2026). */
.ds-menu .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--menu-survol, rgba(42, 23, 18, .06)); color: var(--encre); }
.ds-menu .current-menu-item > .wp-block-navigation-item__content, .ds-menu [aria-current="page"] { background: var(--wp--preset--color--menu-actif, rgba(var(--k9-rgb), .7)); color: var(--encre); }
/* « En ligne » s'allume aussi quand on est sur une page de son sous-menu (DOSE Coaching) */
.ds-menu .has-child:has([aria-current="page"]) > .wp-block-navigation-item__content { background: var(--wp--preset--color--menu-actif, rgba(var(--k9-rgb), .7)); color: var(--encre); }
.ds-menu .wp-block-navigation__submenu-container [aria-current="page"] { background: var(--wp--preset--color--menu-actif, rgba(var(--k9-rgb), .7)); }
.ds-menu .wp-block-navigation__submenu-container { min-width: 250px !important; padding: 8px !important; border: 0 !important; border-radius: 18px; background: var(--carte) !important;
  box-shadow: 0 24px 50px -24px rgba(90, 40, 10, .45); }
.ds-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 12px; padding: 11px 12px; }
.ds-menu .wp-block-navigation-item__description { display: block; margin-top: 4px; font-size: 12.5px; color: var(--doux); }
.ds-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.ds-connexion > .wp-block-button__link { padding: 10px 12px; border-radius: 999px; background: transparent; color: var(--encre); font: 600 14px/1 var(--corps); text-decoration: none; }
.ds-connexion > .wp-block-button__link:hover { background: rgba(42, 23, 18, .06); }
.ds-essai > .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 18px; border-radius: 999px; background: var(--jaune); color: var(--encre);
  font: 700 14px/1 var(--corps); text-decoration: none; box-shadow: 0 10px 24px -14px rgba(160, 100, 0, .8); transition: transform .35s var(--ressort, ease); }
.ds-essai > .wp-block-button__link:hover { transform: translateY(-1px); }
.ds-essai.avec-fleche > .wp-block-button__link::after { width: 32px; height: 32px; background-color: var(--encre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23FFFAF0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; }
/* le menu se replie plus tôt que celui de WordPress (600 px) : sept entrées et deux boutons ne tiennent pas en tablette, ni sous 1240 px (passé sur deux lignes, vu le 02/11/2026) */
@media (max-width: 1240px) {
  .ds-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .ds-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .ds-menu { order: 3; }
}
.ds-menu .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border-radius: 50%; background: rgba(42, 23, 18, .06); align-items: center; justify-content: center; }
.ds-menu .wp-block-navigation__responsive-container.is-menu-open { background: rgba(var(--k1-rgb), .97) !important; padding: 28px 24px; }
.ds-menu .is-menu-open .wp-block-navigation-item__content { font: 600 30px/1.15 var(--titre); letter-spacing: -.03em; color: var(--encre); padding: 8px 0;
  display: flex !important; flex-direction: column; align-items: flex-start; }
.ds-menu .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item) { align-items: flex-start !important; text-align: left; }
.ds-menu .is-menu-open .wp-block-navigation__container { gap: 2px !important; padding-top: 24px; }
.ds-menu .is-menu-open .wp-block-navigation-item__description { font: 400 14px/1.3 var(--corps); letter-spacing: 0; color: var(--doux); margin-top: 2px; }
.ds-menu .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; background: transparent !important; padding: 0 0 0 14px !important; }
.ds-menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 20px; }
@media (max-width: 640px) {
  .zone-entete { height: 116px; }
  .annonce-long { display: none; }
  .ds-nav { gap: 6px; padding: 6px 6px 6px 10px; }
  .ds-connexion > .wp-block-button__link { font-size: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: rgba(42, 23, 18, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M4.5 20c1.4-3.6 4.2-5.3 7.5-5.3s6.1 1.7 7.5 5.3' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
  .ds-essai > .wp-block-button__link { font-size: 0; gap: 0; padding: 4px; }
  .ds-essai > .wp-block-button__link::before { content: "Tester"; font-size: 14px; padding: 0 10px 0 8px; }
  .ds-nom .wp-block-site-title { font-size: 16px; }
  .ds-nom .wp-block-site-tagline { font-size: 8.5px; letter-spacing: .12em; }
  .ds-marque .wp-block-site-logo img { width: auto; height: 42px; max-width: none; }
}

/* ---------- Le pied de page */
.zone-pied .pied { margin-top: 0; }
.pied .lien-bloc.marque { display: inline-flex; align-items: center; gap: 12px; }
.pied .marque .wp-block-image img { width: 118px; height: 118px; border-radius: 50%; object-fit: contain; }
.pied .marque p { margin: 0; }

/* ---------- Petits traits et points : l'éditeur ne garde pas un élément vide, la feuille les dessine */
.camus-signe::before { content: ""; width: 30px; height: 1px; background: var(--jaune); }
.facons-voix .figcaption::before { content: ""; width: 36px; height: 2px; background: var(--jaune); border-radius: 2px; }
.point { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--jaune); color: transparent; font-size: 0; vertical-align: middle; margin: 0 .55em; box-shadow: 0 0 0 5px rgba(var(--k9-rgb), .35); }
.legende .puce { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.legende .puce::before { content: ""; width: 16px; height: 16px; border-radius: 5px; display: inline-block; }

/* Haut de l'accueil : deux lunes sur l'orbite (Kathy, 01/11/2026 : « quelque chose de pas très harmonieux dans cet
   ensemble », composition 3 choisie sur planche). Le soleil garde sa place ; l'arche et la lune deviennent deux ronds
   identiques posés sur l'orbite, en diagonale (haut à droite, bas à gauche), au même contour crème. L'orbite s'élargit
   un peu pour que les lunes ne mordent pas sur la grande photo ; le petit point qui tournait dessus est retiré. */
.astre { --orbite: 540px; --lune: 118px; }
.orbite { width: var(--orbite); height: var(--orbite); margin: calc(var(--orbite) / -2) 0 0 calc(var(--orbite) / -2); }
.astre .orbite circle + circle { display: none; }
.astre .lune, .astre .arche { width: var(--lune); height: var(--lune); border-radius: 50%; border: 7px solid var(--creme); transform: none; right: auto; bottom: auto; box-shadow: 0 24px 40px -22px rgba(var(--k133-rgb), .55); }
.astre .lune { left: calc(50% + var(--orbite) * .35355 - var(--lune) / 2); top: calc(50% - var(--orbite) * .35355 - var(--lune) / 2); }
.astre .arche { left: calc(50% - var(--orbite) * .35355 - var(--lune) / 2); top: calc(50% + var(--orbite) * .35355 - var(--lune) / 2); }
.astre .arche img { object-position: 50% 30%; }
@media (max-width: 900px) {
  .astre { --orbite: 356px; --lune: 78px; }
  .astre .lune, .astre .arche { border-width: 5px; }
}

/* Vignettes des rangées du studio (page « Le studio en ligne », 01/11/2026) : le lien est sur le titre, et couvre toute
   la vignette sur le site. Pas dans l'éditeur, où il faut pouvoir cliquer la photo pour la changer. */
.vign.lien-bloc { position: relative; }
.vign-t a { color: inherit; text-decoration: none; }
body:not(.editor-styles-wrapper) .vign-t a::after { content: ""; position: absolute; inset: 0; }

/* Police des titres choisie dans Styles › Typographie › Titres (Kathy, 02/11/2026) : une police à une seule graisse
   (Shrikhand…) reste telle qu'elle est dessinée, sans gras imité par le navigateur. */
:root[data-titres], :root[data-titres] * { font-synthesis-weight: none; }

/* Bouton à contour (Kathy, 02/11/2026 : « comment changer la couleur des boutons ») : une couleur de texte choisie dans le
   panneau Bloc colore aussi le cadre, qui restait à l'encre. */
.bouton.creux > .wp-block-button__link.has-text-color { box-shadow: inset 0 0 0 2px currentColor; }

/* Icônes du site (symboles des pages) */
.ic-agenda::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5' width='16' height='15' rx='3' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M4 10h16M9 3v4M15 3v4' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-coche::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%232A1712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-coeur::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10z' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-fleche::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-horloge::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13' r='8' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M12 9v4l2.5 2M9 2h6' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-lieu::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3C/svg%3E"); }
.ic-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M4 7l8 6 8-6' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%232A1712' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-prix::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M15 8.5a3.6 3.6 0 1 0 0 7M7.5 11h5.5M7.5 13.2h5' fill='none' stroke='%232A1712' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-soleil::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23FFCE3A' stroke='%232A1712' stroke-width='1.5'/%3E%3Cpath d='M12 1.5v3M12 19.5v3M1.5 12h3M19.5 12h3M4.6 4.6l2.1 2.1M17.3 17.3l2.1 2.1M4.6 19.4l2.1-2.1M17.3 6.7l2.1-2.1' stroke='%232A1712' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-tel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a11 11 0 0 0 6 6l1.5-2 4 1.5v3a2 2 0 0 1-2 2A16 16 0 0 1 4.5 5.5a2 2 0 0 1 2-2z' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ic-video::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='13' rx='3' fill='none' stroke='%232A1712' stroke-width='1.8'/%3E%3Cpath d='M10 9.5v4l3.5-2z' fill='none' stroke='%232A1712' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ===== Plancher de lisibilité : 11 tailles (02/11/2026) ===== */
.annonce p { font-size: 14.5px; }
.ds-nom .wp-block-site-tagline { font-size: 11px; }
.ds-menu { font-size: 15px; }
.ds-menu .wp-block-navigation-item__description { font-size: 14px; }
.ds-connexion > .wp-block-button__link { font-size: 15px; }
.ds-essai > .wp-block-button__link { font-size: 15px; }
.ds-menu .is-menu-open .wp-block-navigation-item__description { font-size: 15px; }
@media (max-width: 640px) { .ds-connexion > .wp-block-button__link { font-size: 0; } }
@media (max-width: 640px) { .ds-essai > .wp-block-button__link { font-size: 0; } }
@media (max-width: 640px) { .ds-essai > .wp-block-button__link::before { font-size: 15px; } }
@media (max-width: 640px) { .ds-nom .wp-block-site-tagline { font-size: 10px; } }
