/* =========================================================================
   Five Yoga Club · sections (accueil et compositions réutilisables)
   D'après la maquette H3 validée. Tout est en blocs natifs : ces règles ne font que les mettre en page.
   Téléphone : en dessous de 782 px.
   ========================================================================= */

/* ---------- Bases communes ---------- */
.five-accueil .wp-block-post-content > .five-section,
.five-accueil .wp-block-post-content > .five-hero { margin-block-start: 0; }
.five-section { padding-top: var(--five-section); }

.five-titre-section { margin: 0; font-size: clamp(30px, 3.3vw, 48px); }
.five-tete { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.five-tete > * { margin: 0 !important; }
.five-tete > p:not(.is-style-surtitre) { max-width: 620px; }
.five-tete-main img { display: block; }

.five-entete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.five-entete-section > * { margin: 0 !important; }
.five-entete-section .five-titre-section { font-size: clamp(28px, 3.2vw, 44px); }
.five-entete-lien a { font-weight: 700; color: var(--wp--preset--color--accent); text-decoration: none; }
.five-entete-lien a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Image qui remplit sa tuile */
.five-tuile-photo { position: relative; overflow: hidden; border-radius: var(--five-rayon-tuile); min-height: 220px; background: #E9DCC9; }
.five-remplit { position: absolute !important; inset: 0; margin: 0 !important; }
.five-remplit img { display: block; width: 100%; height: 100%; object-fit: cover; }
.five-cadre-haut img { object-position: 50% 28%; }
.five-cadre-bas img { object-position: 50% 62%; }

/* Textes des tuiles */
.five-tuile-titre { margin: 0; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.12; color: inherit; }
.five-tuile-note { font-size: 15px; line-height: 1.55; }
.five-lien-tuile { margin-top: auto !important; padding-top: 6px; font-weight: 700; }
.five-lien-tuile a { color: var(--wp--preset--color--accent); text-decoration: none; }
.is-style-tuile-jaune .five-tuile-titre,
.is-style-tuile-lilas .five-tuile-titre { color: var(--wp--preset--color--orange); }
.is-style-tuile-peche .five-tuile-titre { color: var(--wp--preset--color--encre); }
.is-style-tuile-peche .is-style-surtitre,
.is-style-tuile-peche .five-lien-tuile a { color: #B23F1B; }
.is-style-tuile-corail .is-style-surtitre { color: #FDE9DE; }
.is-style-tuile-corail .five-lien-tuile a { color: #fff; }

/* Tuile entièrement cliquable : le lien « … → » s'étend sur toute la tuile */
.five-tuile-lien { transition: transform .22s ease-out, box-shadow .22s ease-out; }
.five-tuile-lien:hover { transform: translateY(-3px); box-shadow: var(--five-ombre-survol); }
.five-tuile-lien .five-lien-tuile a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.five-tuile-lien .five-lien-tuile a:focus-visible { outline: none; }
.five-tuile-lien:has(.five-lien-tuile a:focus-visible) { outline: 2px solid var(--wp--preset--color--encre); outline-offset: 3px; }

/* ---------- Hero ---------- */
.five-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 8px; }
.five-hero > * { margin: 0 !important; }
.five-hero-texte { min-height: 520px; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 52px) !important; }
.five-hero-texte > * { margin: 0; }
.five-hero-titre { font-size: clamp(39px, 4.4vw, 63px); line-height: 1.06; }
.five-hero-intro { margin-top: 22px !important; max-width: 470px; font-size: clamp(17px, 1.35vw, 19px); }
.five-hero-boutons { margin-top: 32px !important; gap: 12px; }
.five-hero-main { position: absolute !important; top: 40px; right: 44px; margin: 0 !important; opacity: .9; transform: rotate(8deg); }
.five-hero-media { position: relative; overflow: hidden; min-height: 520px; border-radius: var(--five-rayon-tuile); background: #E9DCC9; }
.five-hero-media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.five-pause { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgba(253, 251, 243, .85); color: var(--wp--preset--color--encre); cursor: pointer; transition: background-color .2s ease; }
.five-pause:hover { background: #fff; }
.five-pause:focus-visible { outline: 2px solid var(--wp--preset--color--encre); outline-offset: 2px; }
/* Entrée douce au chargement, sur toutes les pages : le haut de page apparaît en fondu, tuile après tuile.
   (Seulement le premier bloc : les sections suivantes ont leur propre apparition au défilement.) */
@keyframes fiveEntree { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.five-principal .wp-block-post-content > :first-child > * { animation: fiveEntree .75s cubic-bezier(.22, .7, .3, 1) both; }
.five-principal .wp-block-post-content > :first-child > :nth-child(2) { animation-delay: .12s; }
.five-principal .wp-block-post-content > :first-child > :nth-child(3) { animation-delay: .24s; }

/* ---------- Mosaïque « c'est qui et c'est quoi ? » ---------- */
.five-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(200px, 16vw, 232px), auto); gap: 20px; }
.five-bento > * { margin: 0 !important; }
.five-bento-1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.five-bento-2 { grid-column: 6 / 13; grid-row: 1; }
.five-bento-3 { grid-column: 6 / 10; grid-row: 2; }
.five-bento-4 { grid-column: 10 / 13; grid-row: 2; }
.five-bento-5 { grid-column: 1 / 5; grid-row: 3; }
.five-bento-6 { grid-column: 5 / 13; grid-row: 3; }
.five-bento [class*="is-style-tuile-"],
.five-trois [class*="is-style-tuile-"] { display: flex; flex-direction: column; gap: 10px; }
.five-bento [class*="is-style-tuile-"] > *,
.five-trois [class*="is-style-tuile-"] > * { margin: 0; }
.five-tuile-texte { max-width: 480px; }
.five-tuile-deco { position: absolute !important; right: 40px; bottom: 34px; margin: 0 !important; opacity: .85; }

/* ---------- Panneaux dépliants (Yoga & Pilates, Soins, & More) ---------- */
.five-panneaux { display: flex; gap: 16px; height: 540px; }
.five-panneaux > * { margin: 0 !important; }
.five-panneau { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--five-rayon-tuile); background: #E9DCC9; cursor: pointer; transition: flex-grow .95s cubic-bezier(.45, 0, .2, 1); }
.five-panneau .five-remplit img { transition: transform 1.4s cubic-bezier(.45, 0, .2, 1); }
.five-panneau::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(61, 44, 38, 0) 40%, rgba(61, 44, 38, .55) 100%); transition: opacity .7s ease; }
.five-panneau-nom { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; margin: 0 !important; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 30px; line-height: 1.1; color: #fff; transition: opacity .5s ease; }
.five-panneau-carte { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; max-width: 520px; margin: 0 !important; padding: 26px 28px; border-radius: 30px; background: var(--wp--preset--color--creme); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s ease-out, transform .25s ease-out; }
.five-panneau-carte > * { margin: 0; }
.five-panneau-carte > * + * { margin-top: 10px; }
.five-panneau-titre { font-size: 34px; }
.five-panneau-carte .wp-block-buttons { margin-top: 18px; }
/* Panneau ouvert (le premier tant que le script n'a pas pris la main) */
.five-panneau.est-actif,
.five-panneaux:not(.est-pret) > .five-panneau:first-child { flex-grow: 2.6; cursor: default; }
.five-panneau.est-actif .five-remplit img,
.five-panneaux:not(.est-pret) > .five-panneau:first-child .five-remplit img { transform: scale(1.04); }
.five-panneau.est-actif::after,
.five-panneau.est-actif .five-panneau-nom,
.five-panneaux:not(.est-pret) > .five-panneau:first-child::after,
.five-panneaux:not(.est-pret) > .five-panneau:first-child .five-panneau-nom { opacity: 0; }
.five-panneau.est-actif .five-panneau-carte,
.five-panneaux:not(.est-pret) > .five-panneau:first-child .five-panneau-carte { opacity: 1; transform: none; pointer-events: auto; transition: opacity .55s ease-out .35s, transform .55s cubic-bezier(.2, .7, .2, 1) .35s; }
.five-atouts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px !important; padding: 0; list-style: none; font-weight: 600; font-size: 15px; color: var(--wp--preset--color--encre); }
.five-atouts li { display: flex; align-items: center; gap: 8px; margin: 0; }
.five-atouts li::before { content: "✓"; font-weight: 700; color: var(--wp--preset--color--orange); }

/* ---------- L'histoire de Five ---------- */
.five-histoire { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.five-histoire > * { margin: 0 !important; }
.five-histoire-texte { flex: 1 1 380px; min-width: 0; }
.five-histoire-texte > * { margin: 0; }
.five-histoire-texte > * + * { margin-top: 18px; }
.five-histoire-texte > .is-style-surtitre + * { margin-top: 0; }
.five-histoire-texte .five-titre-section { font-size: clamp(30px, 3.2vw, 46px); }
.five-histoire-texte > p:not(.is-style-surtitre) { max-width: 500px; }
.five-histoire-texte .wp-block-buttons { margin-top: 26px; }
.five-duo { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px !important; }
.five-duo > *, .five-duo-personne > * { margin: 0 !important; }
.five-duo-personne { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--wp--preset--color--encre); }
.five-portrait img { display: block; width: 62px; height: 62px; border-radius: 99px; object-fit: cover; }
.five-histoire-photo { flex: 1 1 480px; min-height: 400px; }
.five-histoire-photo .five-remplit img { object-position: 50% 45%; }

/* ---------- Avis en carrousel ---------- */
.five-carrousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 6px; }
.five-carrousel::-webkit-scrollbar { display: none; }
.five-carrousel > * { margin: 0 !important; }
.five-avis-carte { flex: 0 0 360px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 24px; border: 1px solid var(--wp--preset--color--filet); border-radius: var(--five-rayon-carte); background: #fff; }
.five-avis-carte > * { margin: 0 !important; }
.five-avis-carte::before { content: "“"; height: 18px; font-family: var(--wp--preset--font-family--asul); font-size: 44px; line-height: .6; color: #F0BA9A; }
.five-avis-texte { font-size: 17px; color: var(--wp--preset--color--encre); }
.five-avis-nom { margin-top: auto !important; font-weight: 700; font-size: 15px; }
.five-fleches { display: flex; gap: 8px; }
.five-fleches button { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--wp--preset--color--orange); border-radius: 999px; background: var(--wp--preset--color--creme); color: var(--wp--preset--color--accent); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.five-fleches button:hover { background: var(--wp--preset--color--orange); color: #fff; }
.five-fleches button:disabled { opacity: .35; cursor: default; background: var(--wp--preset--color--creme); color: var(--wp--preset--color--accent); }
.five-points { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.five-points i { width: 8px; height: 8px; border-radius: 99px; background: #EFE4CF; transition: width .25s ease, background-color .25s ease; }
.five-points i.est-actif { width: 26px; background: var(--wp--preset--color--orange); }

/* ---------- Des petits plus ---------- */
.five-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(420px, auto); gap: 20px; }
.five-trois > * { margin: 0 !important; }
.five-tuile-centre { align-items: center; text-align: center; }
.five-souffle { position: relative; display: flex; align-items: center; justify-content: center; width: 190px; height: 190px; margin: 18px auto 14px !important; }
.five-souffle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff 0%, #F3E7B1 55%, #F0BA9A 100%); animation: fiveRespire 10s ease-in-out infinite; }
.five-souffle::after { content: ""; position: absolute; inset: -18px; border: 1.5px solid rgba(224, 97, 58, .35); border-radius: 50%; animation: fiveRespire 10s ease-in-out infinite; }
.five-souffle p { position: relative; z-index: 1; margin: 0 !important; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 22px; color: var(--wp--preset--color--accent); }
.five-souffle-in { animation: fiveTexteIn 10s infinite; }
.five-souffle .five-souffle-out { position: absolute; animation: fiveTexteOut 10s infinite; }
@keyframes fiveRespire { 0%, 100% { transform: scale(.72); } 45%, 55% { transform: scale(1); } }
@keyframes fiveTexteIn { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fiveTexteOut { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.five-carte-cadeau { position: relative; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; width: min(100%, 280px); aspect-ratio: 1.6 / 1; margin: 16px auto 10px !important; padding: 18px 84px 18px 20px; border-radius: 20px; background: radial-gradient(80% 90% at 100% 100%, #F1A98C 0%, rgba(241, 169, 140, 0) 60%), #E0613A; box-shadow: 0 16px 30px rgba(178, 63, 27, .25); color: #FFF3EC; transform: rotate(-4deg); }
.five-carte-cadeau::after { content: ""; position: absolute; top: 0; bottom: 0; right: 58px; width: 14px; background: rgba(253, 251, 243, .85); }
.five-carte-cadeau > * { margin: 0 !important; }
.five-carte-cadeau-logo img { display: block; width: auto; height: 40px; }
.five-carte-cadeau-titre { text-align: left; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 20px; line-height: 1.1; color: #FFF3EC; }
.five-carte-cadeau-titre span { font-family: var(--wp--preset--font-family--quicksand); font-weight: 600; font-size: 13px; }
.five-location { display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 30px; color: #fff; }
.five-location::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40, 26, 20, .08) 0%, rgba(40, 26, 20, .30) 38%, rgba(40, 26, 20, .88) 100%); }
.five-location-texte { z-index: 2; display: flex; flex-direction: column; gap: 6px; margin: 0 !important; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.five-location-texte > * { margin: 0 !important; }
.five-location .is-style-surtitre { color: #FDE9DE; }
.five-location .five-tuile-titre,
.five-location .five-lien-tuile a { color: #fff; }

/* ---------- FAQ en accordéon ---------- */
.five-faq-section { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.five-faq-section > * { margin: 0 !important; }
.five-faq-intro > * { margin: 0; }
.five-faq-intro > * + * { margin-top: 14px; }
.five-faq-intro > .is-style-surtitre + * { margin-top: 0; }
.five-faq-intro .five-titre-section { font-size: clamp(30px, 3.2vw, 44px); }
.five-faq-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 24px !important; padding: 24px !important; border-radius: 28px; color: var(--wp--preset--color--encre); }
.five-faq-contact > * { margin: 0 !important; }
.five-faq-contact-titre { font-weight: 700; }
.five-faq-contact p:nth-child(2) { font-size: 15px; }
.five-faq-contact p:nth-child(2) a { color: inherit; text-decoration: none; }
.five-faq-contact-lien a { font-weight: 700; color: var(--wp--preset--color--accent); text-decoration: none; }
.five-faq { display: flex; flex-direction: column; gap: 10px; }
.five-faq > * { margin: 0 !important; }
.five-faq-item { border: 1px solid var(--wp--preset--color--filet); border-radius: 24px; background: #fff; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.five-faq-item[open] { border-color: #F3C7AE; background: #FFFDF8; box-shadow: 0 14px 30px rgba(61, 44, 38, .07); }
.five-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; list-style: none; font-weight: 700; color: var(--wp--preset--color--encre); cursor: pointer; }
.five-faq-item summary::-webkit-details-marker { display: none; }
.five-faq-item summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1.5px solid var(--wp--preset--color--orange); border-radius: 99px; font-weight: 500; font-size: 22px; line-height: 1; color: var(--wp--preset--color--orange); transition: transform .3s cubic-bezier(.3, .7, .3, 1), background-color .25s ease, color .25s ease; }
.five-faq-item[open] summary::after { transform: rotate(135deg); background: var(--wp--preset--color--orange); color: #fff; }
.five-faq-item summary:focus-visible { outline: 2px solid var(--wp--preset--color--encre); outline-offset: -2px; border-radius: 24px; }
.five-faq-item > :not(summary) { margin: 0 !important; padding: 0 22px 20px; }

/* ---------- Instagram ---------- */
.five-insta-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.five-insta-grille > :nth-child(n+6) { display: none; }
.five-insta-grille > * { margin: 0 !important; }
.five-insta-grille img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }

/* ---------- L'actu ---------- */
.five-actu-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.five-actu-grille > li { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.five-actu-grille > li > * { margin: 0 !important; }
.five-actu-image { overflow: hidden; border-radius: var(--five-rayon-carte); }
.five-actu-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.five-actu-grille > li:hover .five-actu-image img { transform: scale(1.02); }
.five-actu-titre { font-size: 22px; line-height: 1.25; }
.five-actu-titre a { color: var(--wp--preset--color--encre); text-decoration: none; }
.five-actu-titre a:hover { color: var(--wp--preset--color--bouton); }

/* ---------- Apparition discrète des sections (posée par sections.js, une seule fois) ---------- */
html.five-js .five-apparait { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
html.five-js .five-apparait.est-visible { opacity: 1; transform: none; }

/* ---------- Téléphone ---------- */
@media (max-width: 781px) {
	.five-hero { grid-template-columns: 1fr; gap: 14px; }
	.five-hero-texte { min-height: 0; padding: 30px 26px !important; }
	.five-hero-main { display: none !important; }
	.five-hero-media { min-height: 0; aspect-ratio: 4 / 5; }
	.five-hero-boutons { flex-direction: column; align-items: stretch; }
	.five-hero-boutons .wp-block-button,
	.five-hero-boutons .wp-block-button__link { width: 100%; text-align: center; }

	.five-tete { margin-bottom: 24px; }

	.five-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 14px; }
	.five-bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.five-bento > .five-tuile-demi { grid-column: span 1 !important; }
	.five-bento-1 { min-height: 300px; }
	.five-tuile-demi { padding: 18px !important; }
	.five-tuile-demi .five-tuile-titre { font-size: 21px; }
	.five-tuile-deco { display: none !important; }

	.five-panneaux { flex-direction: column; height: auto; gap: 10px; }
	.five-panneau { flex: none !important; height: 92px; border-radius: 28px; transition: height .85s cubic-bezier(.45, 0, .2, 1); }
	.five-panneau.est-actif,
	.five-panneaux:not(.est-pret) > .five-panneau:first-child { height: 600px; }
	.five-panneau-nom { top: 50%; bottom: auto; font-size: 24px; transform: translateY(-50%); }
	.five-panneau:not(.est-actif)::after { background: rgba(61, 44, 38, .42); }
	.five-panneau-carte { left: 12px; right: 12px; bottom: 12px; padding: 22px; }
	.five-panneau-titre { font-size: 28px; }

	.five-histoire-photo { flex-basis: 100%; min-height: 260px; }

	.five-carrousel { gap: 12px; margin-right: calc(-1 * var(--wp--style--root--padding-right, 20px)); padding-right: var(--wp--style--root--padding-right, 20px); }
	.five-avis-carte { flex-basis: 280px; padding: 22px; }
	.five-avis .five-fleches { display: none; }

	.five-trois { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
	.five-location { min-height: 380px; padding: 26px; }

	.five-faq-section { grid-template-columns: 1fr; }

	.five-insta-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.five-insta-grille img { border-radius: 16px; }
	.five-insta-grille > :nth-child(n+4) { display: none; }

	.five-actu-grille { grid-template-columns: 1fr; gap: 16px; }
	.five-actu-grille > li { flex-direction: row; align-items: center; gap: 16px; }
	.five-actu-grille > li:nth-child(n+3) { display: none; }
	.five-actu-image { flex: none; width: 112px; border-radius: 22px; }
	.five-actu-image img { aspect-ratio: 1 / 1 !important; }
	.five-actu-titre { font-size: 18px; }
}

/* ---------- Éditeur : tout visible pour pouvoir modifier ---------- */
.editor-styles-wrapper .five-panneaux { flex-wrap: wrap; height: auto; }
.editor-styles-wrapper .five-panneau { flex: 1 1 280px; min-height: 540px; cursor: default; }
.editor-styles-wrapper .five-panneau-carte { opacity: 1; transform: none; pointer-events: auto; }
.editor-styles-wrapper .five-souffle-out { position: relative; }
.editor-styles-wrapper .five-carrousel { overflow-x: auto; }
/* L'éditeur enveloppe l'image dans son propre cadre : on l'étire aussi pour que la photo remplisse sa tuile */
.editor-styles-wrapper .five-remplit > div,
.editor-styles-wrapper .five-remplit .components-resizable-box__container { width: 100% !important; height: 100% !important; }
.editor-styles-wrapper .five-remplit img { width: 100% !important; height: 100% !important; object-fit: cover; }

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
	.five-hero > *, .five-souffle::before, .five-souffle::after, .five-souffle p { animation: none !important; }
	.five-souffle .five-souffle-out { display: none; }
	.five-tuile-lien:hover { transform: none; }
}

/* =========================================================================
   Pages intérieures (Yoga & Pilates d'abord) : haut de page, pratiques, horaires zen, profs
   ========================================================================= */
.wp-block-post-content > .five-haut { margin-block-start: 0; }

/* Pictogrammes (jeu Feather du site, PICTOS-H3.md) : la classe donne l'icône, le composant choisit la forme */
.five-picto-eclair { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.five-picto-lune { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); }
.five-picto-cible { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E"); }
.five-picto-boussole { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E"); }

/* ---------- Haut de page intérieure ---------- */
.five-haut { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding-top: 8px; }
.five-haut > * { margin: 0 !important; }
.five-haut-texte { grid-column: 1 / 8; display: flex; flex-direction: column; justify-content: center; min-height: 440px; padding: clamp(28px, 3.4vw, 48px) !important; }
.five-haut-texte > * { margin: 0; }
.five-haut-photo { grid-column: 8 / 13; min-height: 440px; }
.five-ariane { margin-bottom: 18px !important; font-weight: 600; font-size: 14px; line-height: 1.4; color: #7A706A; }
.five-ariane a { color: var(--wp--preset--color--accent); text-decoration: none; }
.five-ariane a:hover { text-decoration: underline; }
.five-haut-titre { font-size: clamp(35px, 3.9vw, 56px); line-height: 1.06; }
.five-haut-intro { margin-top: 18px !important; max-width: 520px; font-size: clamp(17px, 1.35vw, 19px); }
.five-haut-boutons { margin-top: 26px !important; gap: 12px; }
.five-ancres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.five-ancres a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #EFE4CF; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 700; font-size: 14px; color: var(--wp--preset--color--encre); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.five-ancres a:hover { border-color: var(--wp--preset--color--orange); background: #fff; }

/* ---------- Boutons : « Lien simple » et « Réserver » compact ---------- */
.wp-block-button.is-style-lien .wp-block-button__link { padding: 0; border-radius: 0; background: transparent; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--accent); }
.wp-block-button.is-style-lien .wp-block-button__link:hover { background: transparent; color: var(--wp--preset--color--orange); text-decoration: underline; text-underline-offset: 4px; }
.five-reserver .wp-block-button__link { padding: 11px 20px; font-size: 15px; }

/* ---------- Nos pratiques : filtres, liste et grande carte ---------- */
.five-filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.five-filtres button { height: 46px; padding: 0 22px; border: 1.5px solid #EFE4CF; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--encre); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.five-filtres button:hover { border-color: var(--wp--preset--color--orange); }
.five-filtres button[aria-pressed="true"] { border-color: var(--wp--preset--color--orange); background: var(--wp--preset--color--orange); color: #fff; }
.five-famille-titre { margin: 0 0 4px !important; padding-left: 12px; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--accent); }
.five-famille + .five-famille { margin-top: 18px; }
.five-famille.est-masquee, .five-liste-groupe.est-masquee { display: none !important; }

/* Carte d'une pratique (grande carte sur ordinateur) */
.five-pratique { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: 560px; margin: 0 0 20px; overflow: hidden; border-radius: var(--five-rayon-tuile); background: radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), #F3E7B1; color: var(--wp--preset--color--encre); }
.five-famille-douce .five-pratique { background: radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 60%), #EDE3F0; color: var(--wp--preset--color--lilas-texte); }
.five-famille-spe .five-pratique { background: radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 60%), #F5C4A6; }
.five-pratique > * { margin: 0 !important; }
.five-pratique-photo { position: relative; min-height: 260px; }
.five-pratique-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.five-pratique-corps { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3vw, 44px); }
.five-pratique-corps > * { margin: 0; }
.five-pratique-famille { display: flex; align-items: center; gap: 12px; margin-bottom: 14px !important; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--accent); }
.five-pratique-famille::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 99px; background: #fff var(--five-picto) center / 20px no-repeat; }
.five-pratique-nom { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.08; color: var(--wp--preset--color--orange); }
.five-pratique-avec { display: flex; align-items: center; gap: 12px; margin-top: 14px !important; font-weight: 700; color: var(--wp--preset--color--encre); }
.five-pratique-avec > * { margin: 0 !important; }
.five-pratique-portrait img { display: block; width: 52px; height: 52px; border-radius: 99px; object-fit: cover; }
.five-pratique-texte { margin-top: 16px !important; font-size: 16px; line-height: 1.65; }
.five-pratique-actions { width: 100%; margin-top: auto !important; padding-top: 24px; align-items: center; gap: 12px 22px; }
.five-pratique-actions .five-reserver { margin-left: auto; }
@keyframes fiveCarte { from { opacity: .35; } to { opacity: 1; } }

/* Liste (créée par le script) */
.five-pratiques-liste > * + * { margin-top: 18px; }
.five-liste-groupe { display: flex; flex-direction: column; gap: 4px; }
.five-liste-ligne { display: flex; align-items: center; gap: 14px; width: 100%; padding: 7px 18px 7px 7px; border: 0; border-radius: 999px; background: transparent; font: inherit; text-align: left; color: var(--wp--preset--color--encre); cursor: pointer; transition: background-color .2s ease; }
.five-liste-ligne:hover { background: #fff; }
.five-liste-ligne img { flex: none; width: 48px; height: 48px; border-radius: 99px; object-fit: cover; }
.five-liste-ligne > span { flex: 1; min-width: 0; }
.five-liste-ligne b { display: block; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 21px; line-height: 1.2; }
.five-liste-ligne small { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; color: #7A706A; }
.five-liste-ligne svg { flex: none; color: var(--wp--preset--color--accent); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.five-liste-ligne:hover svg { opacity: .5; }
.five-liste-ligne[aria-pressed="true"] svg { opacity: 1; transform: translateX(3px); }
.five-famille-dyn .five-liste-ligne[aria-pressed="true"] { background: #F3E7B1; }
.five-famille-douce .five-liste-ligne[aria-pressed="true"] { background: #EDE3F0; }
.five-famille-spe .five-liste-ligne[aria-pressed="true"] { background: #F5C4A6; }
.five-pratique-bascule { display: none; }

@media (min-width: 782px) {
	.five-pratiques.est-pret { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
	.five-pratiques.est-pret > .five-pratiques-liste { grid-column: 1; grid-row: 1; }
	.five-pratiques.est-pret > .five-famille { display: contents; }
	.five-pratiques.est-pret > .five-famille > .five-famille-titre { display: none; }
	.five-pratiques.est-pret .five-pratique { display: none; grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--five-haut-colle, 0px) + 24px); margin: 0; }
	.five-pratiques.est-pret .five-pratique.est-active { display: grid; animation: fiveCarte .35s ease-out both; }
}

/* ---------- Les cours en petits groupes ---------- */
.five-zen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.five-zen > * { margin: 0 !important; }
.five-zen-tuile { display: flex; flex-direction: column; gap: 10px; padding: 14px 24px 26px !important; }
.five-zen-tuile > * { margin: 0 !important; }
.five-zen-photo { margin: 0 -10px 8px !important; }
.five-zen-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 26px; }
.five-zen-titre { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 2vw, 28px); color: var(--wp--preset--color--orange); }
.five-zen-titre::before { content: ""; flex: none; width: 48px; height: 48px; border-radius: 99px; background: #FDF1E6 var(--five-picto) center / 22px no-repeat; }
.five-zen-tuile > p { font-size: 16px; }
.five-creneaux { margin-top: 8px !important; padding: 0; list-style: none; }
.five-creneaux li { position: relative; margin: 0; padding: 12px 0 12px 32px; border-top: 1px solid var(--wp--preset--color--filet); font-size: 15px; line-height: 1.35; }
.five-creneaux li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center / contain no-repeat; }
.five-creneaux strong { font-weight: 700; color: var(--wp--preset--color--encre); }
.five-zen-liens { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: auto !important; padding-top: 10px; font-weight: 700; font-size: 15px; }
.five-zen-liens a { color: var(--wp--preset--color--accent); text-decoration: none; }
.five-zen-liens a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Nos professeurs ---------- */
.five-profs { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 16px; }
.five-profs > * { margin: 0 !important; }
.five-prof { display: flex; flex-direction: column; align-items: center; gap: 4px; width: calc((100% - 80px) / 6); text-align: center; }
.five-prof > * { margin: 0 !important; }
.five-prof-photo img { display: block; width: 112px; height: 112px; margin: 0 auto 8px; border-radius: 999px; object-fit: cover; }
.five-prof-nom { font-size: 21px; line-height: 1.2; color: var(--wp--preset--color--encre); }
.five-prof-disc { font-size: 14px; line-height: 1.4; }
.five-prof-bio { width: 100%; }
.five-prof-bio summary { display: inline-block; margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--accent); cursor: pointer; list-style: none; }
.five-prof-bio summary::-webkit-details-marker { display: none; }
.five-prof-bio summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.five-prof-bio[open] { text-align: left; font-size: 15px; }

/* Fenêtre de biographie (créée par le script) */
.five-dialogue { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 32px; background: var(--wp--preset--color--creme); color: var(--wp--preset--color--texte); box-shadow: 0 30px 60px rgba(61, 44, 38, .25); }
.five-dialogue::backdrop { background: rgba(61, 44, 38, .5); }
.five-dialogue-contenu { padding: 30px 30px 28px; }
.five-dialogue-tete { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; padding-right: 40px; }
.five-dialogue-tete img { flex: none; width: 84px; height: 84px; border-radius: 99px; object-fit: cover; }
.five-dialogue-tete h2 { margin: 0; font-size: 30px; }
.five-dialogue-tete p { margin: 2px 0 0; font-weight: 600; font-size: 15px; color: #7A706A; }
.five-dialogue-contenu > p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; }
.five-dialogue-fermer { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 99px; background: var(--wp--preset--color--jaune-pale); color: var(--wp--preset--color--encre); cursor: pointer; }

@media (max-width: 781px) {
	.five-haut { grid-template-columns: 1fr; gap: 14px; }
	.five-haut-texte, .five-haut-photo { grid-column: 1 / -1; }
	.five-haut-texte { min-height: 0; padding: 26px !important; }
	.five-haut-photo { min-height: 250px; }
	.five-ancres { flex-wrap: nowrap; overflow-x: auto; margin-right: -26px !important; padding-right: 26px; scrollbar-width: none; }
	.five-ancres a { flex: none; height: 38px; padding: 0 14px; }

	.five-filtres { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 6px; margin: 0 calc(-1 * var(--wp--style--root--padding-right, 20px)) 18px 0; padding-right: var(--wp--style--root--padding-right, 20px); scrollbar-width: none; }
	.five-filtres button { flex: none; height: 42px; padding: 0 18px; font-size: 14px; }
	.five-pratiques-liste { display: none; }
	/* Une ligne par pratique, qui se déplie */
	.five-pratiques.est-pret .five-famille { display: flex; flex-direction: column; gap: 4px; }
	.five-pratiques.est-pret .five-pratique { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "portrait nom chevron" "portrait prof chevron"; align-items: center; column-gap: 14px; min-height: 0; margin: 0; padding: 6px 14px 6px 6px; border-radius: 26px; background: transparent; overflow: visible; }
	.five-pratiques.est-pret .five-pratique-corps, .five-pratiques.est-pret .five-pratique-avec { display: contents; }
	.five-pratiques.est-pret .five-pratique-portrait { grid-area: portrait; }
	.five-pratiques.est-pret .five-pratique-portrait img { width: 44px; height: 44px; }
	.five-pratiques.est-pret .five-pratique-nom { grid-area: nom; align-self: end; font-size: 19px; line-height: 1.2; color: var(--wp--preset--color--encre); }
	.five-pratiques.est-pret .five-pratique-avec > p { grid-area: prof; align-self: start; margin: 0; font-weight: 600; font-size: 14px; color: #7A706A; }
	.five-pratiques.est-pret .five-pratique-photo, .five-pratiques.est-pret .five-pratique-texte, .five-pratiques.est-pret .five-pratique-actions, .five-pratiques.est-pret .five-pratique-famille { display: none; }
	.five-pratiques.est-pret .five-pratique-bascule { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; height: 58px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--wp--preset--color--accent); cursor: pointer; }
	.five-pratiques.est-pret .five-pratique-bascule svg { opacity: .55; transform: rotate(90deg); transition: transform .25s ease, opacity .25s ease; }
	.five-pratiques.est-pret .five-pratique-bascule[aria-expanded="true"] svg { opacity: 1; transform: rotate(-90deg); }
	.five-pratiques.est-pret .five-pratique-bascule:focus-visible { outline: 2px solid var(--wp--preset--color--encre); outline-offset: 2px; }
	/* Ouverte : la ligne se colore, le détail s'affiche dans un cadre blanc dessous */
	.five-pratiques.est-pret .five-pratique.est-ouverte { grid-template-areas: "portrait nom chevron" "portrait prof chevron" "photo photo photo" "texte texte texte" "actions actions actions"; row-gap: 0; padding-bottom: 0; }
	.five-pratiques.est-pret .five-pratique.est-ouverte::before { content: ""; grid-area: 1 / 1 / 3 / -1; align-self: stretch; z-index: -1; margin: -6px -14px -6px -6px; border-radius: 999px; background: #F3E7B1; }
	.five-pratiques.est-pret .five-famille-douce .five-pratique.est-ouverte::before { background: #EDE3F0; }
	.five-pratiques.est-pret .five-famille-spe .five-pratique.est-ouverte::before { background: #F5C4A6; }
	.five-pratiques.est-pret .five-pratique.est-ouverte::after { content: ""; grid-area: 3 / 1 / 6 / -1; align-self: stretch; z-index: -1; margin: 10px -14px 10px -6px; border: 1px solid var(--wp--preset--color--filet); border-radius: 28px; background: #fff; }
	.five-pratiques.est-pret .five-pratique.est-ouverte .five-pratique-photo { display: block; grid-area: photo; min-height: 0; margin: 20px 4px 12px -2px !important; }
	.five-pratiques.est-pret .five-pratique.est-ouverte .five-pratique-photo img { position: static; aspect-ratio: 4 / 3.3; border-radius: 20px; }
	.five-pratiques.est-pret .five-pratique.est-ouverte .five-pratique-texte { display: block; grid-area: texte; margin: 0 !important; padding: 0 6px; font-size: 15px; line-height: 1.6; color: var(--wp--preset--color--texte); }
	.five-pratiques.est-pret .five-pratique.est-ouverte .five-pratique-actions { display: flex; grid-area: actions; margin: 0 !important; padding: 12px 6px 30px; }

	.five-zen { display: flex; gap: 12px; overflow-x: auto; margin-right: calc(-1 * var(--wp--style--root--padding-right, 20px)); padding-right: var(--wp--style--root--padding-right, 20px); scroll-snap-type: x mandatory; scrollbar-width: none; }
	.five-zen-tuile { flex: 0 0 296px; scroll-snap-align: start; padding: 12px 20px 22px !important; }
	.five-zen-photo { margin: 0 -8px 6px !important; }
	.five-zen-photo img { border-radius: 20px; }
	.five-zen-titre::before { width: 40px; height: 40px; background-size: 20px; }
	.five-zen-tuile > p { font-size: 15px; line-height: 1.55; }
	.five-creneaux li { padding: 9px 0 9px 30px; }
	.five-creneaux li::before { top: 10px; width: 18px; height: 18px; }

	.five-profs { gap: 22px 10px; }
	.five-prof { width: calc((100% - 20px) / 3); }
	.five-prof-photo img { width: 84px; height: 84px; margin-bottom: 6px; }
	.five-prof-nom { font-size: 18px; }
	.five-prof-disc { font-size: 13px; }
}

/* Éditeur : toutes les pratiques visibles l'une sous l'autre */
.editor-styles-wrapper .five-pratique { display: grid !important; }

/* =========================================================================
   Page Soins : mosaïque du haut, carte des soins, thérapeutes, listes à pastilles, réservation
   ========================================================================= */
.five-picto-calendrier { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.five-picto-tasse { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='1' x2='6' y2='4'/%3E%3Cline x1='10' y1='1' x2='10' y2='4'/%3E%3Cline x1='14' y1='1' x2='14' y2='4'/%3E%3C/svg%3E"); }
.five-picto-goutte { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/%3E%3C/svg%3E"); }
.five-picto-personne { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.five-picto-telephone { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.five-picto-horloge { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }

/* Haut de page : mosaïque de trois photos à la place de la grande photo */
.five-haut-mosaique { grid-column: 8 / 13; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 440px; }
.five-haut-mosaique > * { margin: 0 !important; min-height: 0; border-radius: 32px; }
.five-haut-mosaique > .five-mosaique-grande { grid-row: span 2; border-radius: var(--five-rayon-tuile); }

/* Listes à pastilles (atouts, étapes) */
.five-liste-pastilles { display: flex; flex-direction: column; gap: 12px; margin-top: 22px !important; padding: 0; list-style: none; font-weight: 600; line-height: 1.45; color: var(--wp--preset--color--encre); }
/* Pastille posée à gauche en absolu : le texte (et ses liens) s'écoule normalement */
.five-liste-pastilles li { position: relative; display: block; min-height: 44px; margin: 0; padding: 10px 0 10px 58px; }
.five-liste-pastilles li::before { content: ""; position: absolute; left: 0; top: 50%; width: 44px; height: 44px; border-radius: 99px; background: #FDF1E6 var(--five-picto) center / 21px no-repeat; transform: translateY(-50%); }
.five-liste-pastilles a { color: var(--wp--preset--color--accent); }

/* ---------- Carte des soins ---------- */
.five-soin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 10px; margin: 0 0 20px; padding: 12px; overflow: hidden; border-radius: var(--five-rayon-tuile); background: radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), #F6EDCF; }
.five-soin > * { margin: 0 !important; }
.five-soin-photo { position: relative; min-height: 600px; }
.five-soin-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.five-soin-corps { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px 22px 24px 20px; }
.five-soin-corps > * { margin: 0 !important; }
.five-soin-corps > p { font-size: 16px; line-height: 1.6; }
.five-soin-avec { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--accent); }
.five-soin-avec > * { margin: 0 !important; }
.five-soin-portrait img { display: block; width: 30px; height: 30px; border-radius: 99px; object-fit: cover; }
.five-soin-nom { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: var(--wp--preset--color--orange); }
.five-soin-court { display: none; }
/* Dans l'éditeur, le nom court du soin (utilisé par le script de la page Soins) reste visible et modifiable. */
.editor-styles-wrapper .five-soin-court { display: block; font-size: 14px; opacity: .65; }
.editor-styles-wrapper .five-soin-court::before { content: "Nom court : "; font-weight: 700; }
.five-soin-corps > .five-soin-detail { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--wp--preset--color--encre); }
.five-soin-detail.five-picto-horloge::before { content: ""; width: 16px; height: 16px; background: var(--five-picto) center / contain no-repeat; }
.five-soin-actions { margin-top: 6px !important; align-items: center; gap: 10px 18px; }
.five-soins-aide { margin: 0; }

/* Menu des soins (créé par le script) */
.five-soins-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--wp--preset--color--filet); border-radius: var(--five-rayon-tuile); background: #fff; }
.five-soins-ligne { display: grid; grid-template-columns: 52px minmax(0, 1fr) 22px; align-items: center; gap: 14px; width: 100%; padding: 11px 16px 11px 11px; border: 1.5px solid transparent; border-radius: 28px; background: transparent; font: inherit; text-align: left; color: var(--wp--preset--color--encre); cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.five-soins-ligne:hover { background: var(--wp--preset--color--creme); }
.five-soins-ligne[aria-pressed="true"] { border-color: #F6EDCF; background: #F6EDCF; }
.five-soins-ligne img { width: 52px; height: 52px; border-radius: 99px; object-fit: cover; }
.five-soins-ligne b { display: block; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 19px; line-height: 1.2; }
.five-soins-ligne[aria-pressed="true"] b { color: var(--wp--preset--color--orange); }
.five-soins-ligne small { display: block; margin-top: 2px; font-weight: 600; font-size: 14px; line-height: 1.3; color: #7A706A; }
.five-soins-ligne svg { color: var(--wp--preset--color--orange); opacity: 0; transform: translateX(-4px); transition: opacity .25s ease, transform .25s ease; }
.five-soins-ligne[aria-pressed="true"] svg { opacity: 1; transform: none; }
.five-soins-ligne .five-court { display: none; }
.five-soins-menu .five-soins-aide { position: relative; display: block; margin: auto 0 0; padding: 18px 12px 8px 74px; min-height: 74px; border-top: 1px solid var(--wp--preset--color--filet); font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--encre); }
.five-soins-menu .five-soins-aide::before { content: ""; position: absolute; left: 12px; top: 18px; width: 48px; height: 48px; border-radius: 99px; background: #FDF1E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.five-soins-menu .five-soins-aide a { font-weight: 700; color: inherit; white-space: nowrap; text-decoration: none; }
.five-soins.est-pret { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.five-soins.est-pret > .five-soin { display: none; grid-column: 2; grid-row: 1; margin: 0; }
.five-soins.est-pret > .five-soin.est-active { display: grid; animation: fiveCarte .35s ease-out both; }
.five-soins.est-pret > .five-soins-menu { grid-column: 1; grid-row: 1; }

/* ---------- Thérapeutes : portraits et fiche ---------- */
.five-therapeutes-rangee { display: flex; justify-content: center; gap: clamp(16px, 3vw, 44px); margin-bottom: 30px; }
.five-therapeute-choix { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; padding: 0; border: 0; background: none; font: inherit; color: var(--wp--preset--color--encre); cursor: pointer; }
.five-therapeute-choix img { display: block; width: 120px; height: 120px; border: 4px solid var(--wp--preset--color--creme); border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px var(--wp--preset--color--filet); transition: box-shadow .25s ease, transform .25s ease; }
.five-therapeute-choix:hover img { transform: translateY(-3px); }
.five-therapeute-choix[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--wp--preset--color--orange); transform: translateY(-4px); }
.five-therapeute-choix b { margin-top: 4px; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 20px; line-height: 1.2; }
.five-therapeute-choix[aria-pressed="true"] b { color: var(--wp--preset--color--orange); }
.five-therapeute-choix small { font-weight: 600; font-size: 13px; line-height: 1.35; color: #7A706A; text-align: center; }
.five-therapeute { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0 0 20px; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--five-rayon-tuile); background: radial-gradient(70% 80% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), #F6EDCF; }
.five-therapeute > * { margin: 0 !important; }
.five-therapeute-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 32px; }
.five-therapeute-corps > * { margin: 0 0 10px; }
.five-therapeute-corps > p:not([class]) { max-width: 640px; }
.five-therapeute-nom { margin: 0 !important; font-size: clamp(32px, 3.2vw, 44px); }
.five-therapeute-corps .is-style-surtitre { margin: 0 !important; }
.five-therapeute-spe { margin: 6px 0 16px !important; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--accent); }
.five-therapeute-soins { display: flex; flex-direction: column; gap: 10px; margin-top: 18px !important; }
.five-therapeute-soin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 10px 10px 22px; border-radius: 999px; background: #fff; }
.five-therapeute-soin > * { margin: 0 !important; }
.five-therapeute-soin > p { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--wp--preset--color--encre); }
.five-therapeute-bonus { margin-top: 12px !important; font-weight: 600; font-size: 15px; color: var(--wp--preset--color--encre); }
.five-therapeute-bio summary { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--wp--preset--color--accent); cursor: pointer; list-style: none; }
.five-therapeute-bio summary::-webkit-details-marker { display: none; }
.five-therapeute-bio summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.five-therapeutes.est-pret > .five-therapeute { display: none; margin: 0; }
.five-therapeutes.est-pret > .five-therapeute.est-active { display: grid; animation: fiveCarte .35s ease-out both; }

/* ---------- Comment réserver + carte cadeau ---------- */
.five-resa-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.five-resa-section > * { margin: 0 !important; }
.five-resa { grid-column: 1 / 8; display: flex; flex-direction: column; }
.five-resa > * { margin: 0; }
.five-resa-titre { font-size: clamp(26px, 2.6vw, 37px); }
.five-etapes { gap: 0; margin-top: 14px !important; font-weight: 500; }
.five-etapes li { padding: 14px 0 14px 58px; border-top: 1px solid rgba(61, 44, 38, .1); }
.five-etapes li:first-child { border-top: 0; }
.five-resa-boutons { margin-top: 18px !important; gap: 12px; }
.five-resa-cadeau { grid-column: 8 / 13; min-height: 440px; }

@media (max-width: 781px) {
	.five-haut-mosaique { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto; gap: 8px; min-height: 0; height: 210px; }
	.five-haut-mosaique > *, .five-haut-mosaique > .five-mosaique-grande { grid-row: auto; border-radius: 22px; }
	.five-liste-pastilles { gap: 10px; }
	.five-liste-pastilles li { padding-left: 54px; }
	.five-liste-pastilles li::before { width: 40px; height: 40px; background-size: 19px; }

	.five-soins.est-pret { display: flex; flex-direction: column; gap: 16px; }
	.five-soins-menu { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
	.five-soins-ligne { display: inline-flex; width: auto; height: 44px; padding: 0 16px; border-color: #EFE4CF; border-radius: 999px; background: #fff; }
	.five-soins-ligne[aria-pressed="true"] { border-color: var(--wp--preset--color--orange); background: var(--wp--preset--color--orange); }
	.five-soins-ligne img, .five-soins-ligne small, .five-soins-ligne svg, .five-soins-ligne .five-long { display: none; }
	.five-soins-ligne .five-court { display: block; font-family: var(--wp--preset--font-family--quicksand); font-size: 15px; }
	.five-soins-ligne[aria-pressed="true"] b { color: #fff; }
	.five-soins-menu .five-soins-aide { display: none; }
	.five-soin { grid-template-columns: 1fr; gap: 0; padding: 0; border-radius: 30px; }
	.five-soin-photo { order: 2; min-height: 0; height: 260px; }
	.five-soin-photo img { border-radius: 0; }
	.five-soin-corps { padding: 24px 22px 26px; }
	.five-soin-corps > p { font-size: 15px; line-height: 1.55; }

	.five-therapeutes-rangee { justify-content: space-between; gap: 4px; margin-bottom: 18px; }
	.five-therapeute-choix { flex: 1 1 0; width: auto; min-width: 0; }
	.five-therapeute-choix img { width: 60px; height: 60px; border-width: 3px; }
	.five-therapeute-choix b { font-size: 14px; }
	.five-therapeute-choix small { display: none; }
	.five-therapeute { grid-template-columns: 1fr; gap: 0; padding: 24px 22px; border-radius: 30px; }
	.five-therapeute-photo { display: none; }
	.five-therapeute-corps > p:not([class]) { font-size: 15px; line-height: 1.55; }
	.five-therapeute-soin { padding: 14px 16px; border-radius: 24px; }
	.five-therapeute-soin > p { font-size: 18px; }
	.five-therapeute-soin .wp-block-buttons, .five-therapeute-soin .wp-block-button, .five-therapeute-soin .wp-block-button__link { width: 100%; text-align: center; }

	.five-resa-section { grid-template-columns: 1fr; gap: 14px; }
	.five-resa, .five-resa-cadeau { grid-column: 1 / -1; }
	.five-resa-cadeau { min-height: 340px; }
}

.editor-styles-wrapper .five-soin, .editor-styles-wrapper .five-therapeute { display: grid !important; }

/* =========================================================================
   Page Tarifs (maquette H3Tarifs) · cartes de prix, offres découverte, cartes cadeaux
   Les cartes de prix (.five-prix-carte) servent aussi ailleurs : un groupe par formule, texte modifiable.
   ========================================================================= */
.five-picto-renouveler { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='17 1 21 5 17 9'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpolyline points='7 23 3 19 7 15'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E"); }
.five-picto-cartes { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
.five-picto-etiquette { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E"); }
.five-picto-cadeau { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 12 20 22 4 22 4 12'/%3E%3Crect x='2' y='7' width='20' height='5'/%3E%3Cline x1='12' y1='22' x2='12' y2='7'/%3E%3Cpath d='M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z'/%3E%3Cpath d='M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E"); }

/* Titre de section précédé d'une pastille (pictogramme à gauche, ou au-dessus avec .five-picto-dessus) */
.five-entete-picto { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; margin-bottom: clamp(22px, 2.6vw, 32px); }
.five-entete-picto::before { content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 99px; background: #fff var(--five-picto) center / 24px no-repeat; }
.five-entete-picto > * { grid-column: 2; margin: 0 !important; }
.five-entete-picto > .is-style-surtitre { margin-bottom: 2px !important; }
.five-entete-picto .five-titre-section { font-size: clamp(30px, 3.2vw, 44px); }
#cartes > .five-entete-picto::before { background-color: #FDF1E6; }
.five-picto-dessus { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 0; }
.five-picto-dessus::before { margin-bottom: 6px; }

/* Cartes de prix */
.five-prix { display: grid; gap: 20px; }
.five-prix > * { margin: 0 !important; }
.five-prix-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.five-prix-quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.five-prix-deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.five-prix-carte { display: flex; flex-direction: column; gap: 4px; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--wp--preset--color--filet); border-radius: var(--five-rayon-carte); color: var(--wp--preset--color--texte); }
.five-prix-carte > * { margin: 0 !important; }
.five-prix-nom { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--wp--preset--color--orange); }
.five-prix-detail { padding-bottom: 14px; font-size: 15px; line-height: 1.5; }
.five-prix-montant { margin-top: auto !important; padding-top: 16px; border-top: 1px solid var(--wp--preset--color--filet); font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 44px; line-height: 1; color: var(--wp--preset--color--encre); }
.five-prix-montant small { font-family: var(--wp--preset--font-family--quicksand); font-weight: 600; font-size: 16px; color: var(--wp--preset--color--texte); }
.five-prix-bouton { margin-top: 22px !important; }
.five-prix-bouton .wp-block-button { width: 100%; }
.five-prix-bouton .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding-top: 0; padding-bottom: 0; }
.five-prix-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0 !important; font-size: 14px; line-height: 1.5; color: #7A706A; }
.five-prix-note::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A706A' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Offres découverte : texte à gauche, deux cartes à droite (la tuile parrainage de la maquette est retirée) */
.five-decouverte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 24px clamp(24px, 3vw, 40px); }
.five-decouverte > * { margin: 0 !important; }
.five-decouverte-texte > * { margin: 0; }
.five-decouverte-texte > p { margin-top: 14px; max-width: 460px; }
.five-decouverte .five-titre-section,
.five-cadeaux-offrir .five-titre-section { font-size: clamp(28px, 2.8vw, 40px); color: var(--wp--preset--color--encre); }
.five-decouverte .five-prix-carte { border-color: transparent; }

/* Cartes cadeaux : grande photo à gauche, deux tuiles empilées à droite */
.five-cadeaux { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.five-cadeaux > * { margin: 0 !important; }
.five-cadeaux-offrir, .five-cadeaux-mot { grid-column: 6 / 13; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.five-cadeaux-offrir { grid-row: 1; }
.five-cadeaux-mot { grid-row: 2; }
.five-cadeaux-offrir > *, .five-cadeaux-mot > * { margin: 0; }
.five-cadeaux-offrir > p, .five-cadeaux-mot > p:not(.is-style-surtitre):not(.five-lien-tuile) { margin-top: 4px; max-width: 520px; }
.five-cadeaux-offrir > .wp-block-buttons { margin-top: 14px; }
.five-cadeaux-mot .five-lien-tuile { margin-top: 8px !important; }
.five-cadeaux-photo { grid-column: 1 / 6; grid-row: 1 / 3; }
.five-cadeaux-photo .five-remplit img { object-position: 18% 45%; }

/* Besoin d'un renseignement ? */
.five-renseignement .five-titre-section { font-size: clamp(28px, 3vw, 42px); }
.five-renseignement .five-tete { margin-bottom: 0; }
.five-renseignement .five-tete > p:not(.is-style-surtitre) { max-width: 560px; }
.five-renseignement a[href^="tel:"], .five-renseignement a[href^="mailto:"] { color: var(--wp--preset--color--encre); text-decoration: none; }
.five-renseignement a[href^="tel:"]:hover, .five-renseignement a[href^="mailto:"]:hover { text-decoration: underline; text-underline-offset: 4px; }
.five-renseignement .wp-block-buttons { margin-top: 8px !important; }

@media (max-width: 781px) {
	.five-entete-picto { column-gap: 14px; }
	.five-entete-picto::before { width: 40px; height: 40px; background-size: 20px; }
	.five-prix-trois, .five-prix-deux { grid-template-columns: 1fr; gap: 12px; }
	.five-prix-quatre { grid-template-columns: 1fr 1fr; gap: 12px; }
	.five-prix-carte { padding: 22px 20px 20px; border-radius: 26px; }
	.five-prix-nom { font-size: 23px; }
	.five-prix-montant { font-size: 38px; }
	.five-prix-quatre .five-prix-carte { padding: 20px 16px 16px; }
	.five-prix-quatre .five-prix-nom { font-size: 20px; }
	.five-prix-quatre .five-prix-detail { font-size: 14px; }
	.five-prix-quatre .five-prix-montant { font-size: 32px; }
	.five-prix-quatre .five-prix-bouton { margin-top: 16px !important; }
	.five-prix-quatre .five-prix-bouton .wp-block-button__link { min-height: 44px; padding-left: 12px; padding-right: 12px; }
	.five-decouverte { grid-template-columns: 1fr; }
	.five-cadeaux { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
	.five-cadeaux > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.five-cadeaux-photo { min-height: 300px; }
	.five-cadeaux-offrir > .wp-block-buttons { flex-direction: column; align-items: stretch; }
}

/* =========================================================================
   Page Ateliers (maquette H3Ateliers) · pastilles du haut, module bsport, bandeau « Location & events »
   ========================================================================= */
.five-picto-maison { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.five-haut-pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0 !important; padding: 0; list-style: none; }
.five-haut-pastilles li { margin: 0; padding: 6px 14px; border: 1px solid #EFE4CF; border-radius: 999px; background: rgba(255, 255, 255, .7); font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--wp--preset--color--encre); }
.five-haut-pastilles + .five-haut-boutons { margin-top: 28px !important; }
.five-photo-ateliers img { object-position: 50% 62%; }
.five-module-ateliers { min-height: 240px; }

/* Bandeau pour les pros : texte à gauche, bouton à droite */
.five-bandeau-pro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px clamp(28px, 5vw, 72px); }
.five-bandeau-pro > * { margin: 0 !important; }
.five-bandeau-pro-texte { flex: 1 1 520px; min-width: 0; }
.five-bandeau-pro-texte > p { margin: 12px 0 0; max-width: 640px; }
.five-bandeau-pro .five-titre-section { font-size: clamp(26px, 2.6vw, 37px); color: var(--wp--preset--color--encre); }

@media (max-width: 781px) {
	.five-cache-mobile { display: none !important; }
	.five-haut-pastilles { gap: 6px; }
	.five-bandeau-pro > .wp-block-buttons { width: 100%; flex-direction: column; align-items: stretch; }
}

/* =========================================================================
   Page Le club (maquette H3Club, version fun) · haut de page, esprit, histoire, mini-jeu, chiffres, équipe
   ========================================================================= */
.five-picto-coeur { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.is-style-tuile-corail .five-picto-coeur { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.five-picto-soleil { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
.five-picto-livre { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.five-picto-medaille { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.five-picto-personnes { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.five-picto-mail { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }

/* Haut de page : main illustrée posée sur le bord bas de la tuile (elle reste dans le cadre), bulle sur la photo */
.five-club-haut .five-haut-texte, .five-club-haut .five-haut-photo { min-height: 460px; }
.five-club-haut .five-haut-texte { overflow: hidden; container: five-club-tuile / inline-size; }
.five-club-haut .five-haut-titre { max-width: 520px; }
.five-club-haut .five-haut-intro { max-width: 450px; }
.five-club-haut .five-haut-boutons { margin-top: 30px !important; }
/* La main n’apparaît que si la tuile laisse assez de place à droite du texte et des boutons (sinon elle les recouvrirait) ; largeurs mesurées sans les marges intérieures. */
.five-club-main { position: absolute !important; right: 30px; bottom: 0; z-index: 2; display: none; width: 84px; margin: 0 !important; pointer-events: none; }
.five-club-main img { display: block; width: 100% !important; height: auto; }
@container five-club-tuile (min-width: 530px) { .five-club-main { display: block; } }
@container five-club-tuile (min-width: 590px) { .five-club-main { right: clamp(28px, 4vw, 60px); width: 112px; } }
.five-photo-club img { object-position: 64% 50%; }
.five-bulle { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 22px 10px 10px; border-radius: 999px 999px 999px 12px; background: rgba(253, 251, 243, .96); box-shadow: 0 14px 30px rgba(61, 44, 38, .18); font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--wp--preset--color--accent); }
.five-bulle::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 99px; background: #FDF1E6 var(--five-picto) center / 20px no-repeat; }

/* Surtitre précédé d'une pastille (au-dessus) ou d'un pictogramme (à gauche) */
.five-sur-pastille { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.five-sur-pastille::before { content: ""; width: 48px; height: 48px; border-radius: 99px; background: #fff var(--five-picto) center / 24px no-repeat; }
.is-style-tuile-corail .five-sur-pastille::before { background-color: rgba(255, 255, 255, .18); }
.five-sur-picto { display: flex; align-items: center; gap: 8px; }
.five-sur-picto::before { content: ""; flex: none; width: 24px; height: 24px; background: var(--five-picto) center / contain no-repeat; }

/* L'esprit Five */
.five-esprit-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.five-esprit-grille > * { margin: 0 !important; }
.five-esprit-photo { grid-column: 1 / 6; grid-row: 1 / 3; min-height: 500px; }
.five-esprit-photo .five-remplit img { object-position: 50% 30%; }
.five-esprit-vision { grid-column: 6 / 13; grid-row: 1; }
.five-esprit-cours { grid-column: 6 / 10; grid-row: 2; }
.five-esprit-the { grid-column: 10 / 13; grid-row: 2; }
.five-esprit-tuile { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.five-esprit-tuile > * { margin: 0; }
.five-esprit-tuile .five-tuile-titre { font-size: clamp(24px, 2.1vw, 30px); }
.five-esprit-vision > p:not(.is-style-surtitre) { max-width: 520px; color: #FFF3EC; }
.five-esprit-cours > p:not(.is-style-surtitre), .five-esprit-the > p:not(.is-style-surtitre) { font-size: 16px; line-height: 1.6; }

/* Notre histoire */
.five-club-histoire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(28px, 5vw, 72px); }
.five-club-histoire > * { margin: 0 !important; }
.five-club-histoire-photos { position: relative; padding-bottom: 70px; }
.five-club-histoire-photos > * { margin: 0 !important; }
.five-club-histoire-grande { min-height: 440px; }
.five-club-histoire-grande .five-remplit img { object-position: 48% 35%; }
.five-club-histoire-petite { position: absolute !important; right: -12px; bottom: 0; width: 40%; min-height: 0; aspect-ratio: 3 / 4; border: 8px solid var(--wp--preset--color--creme); border-radius: 36px; }
.five-club-histoire-petite .five-remplit img { object-position: 50% 62%; }
.five-club-histoire-texte > * { margin: 0; }
.five-club-histoire-texte .five-titre-section { margin-top: 8px; font-size: clamp(30px, 3.2vw, 46px); }
.five-etapes { position: relative; display: flex; flex-direction: column; gap: 20px; margin-top: 24px !important; counter-reset: five-etape; }
.five-etapes::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; border-left: 2px dotted #F0BA9A; }
.five-etape { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; align-items: start; margin: 0 !important; counter-increment: five-etape; }
.five-etape::before { content: counter(five-etape); position: relative; z-index: 1; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; border: 1.5px solid #F0BA9A; border-radius: 99px; background: var(--wp--preset--color--jaune-pale); font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 20px; color: var(--wp--preset--color--orange); }
.five-etape > * { grid-column: 2; margin: 0; }
.five-etape-titre { margin-top: 8px !important; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--wp--preset--color--encre); }
.five-etape > p:not(.five-etape-titre) { margin-top: 6px; font-size: 16px; line-height: 1.65; }

/* Mini-jeu « Plutôt Mélanie ou Jessica ? » (sections.js) */
.five-duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 20px; }
.five-duo > * { margin: 0 !important; }
.five-duo-questions { display: flex; flex-direction: column; gap: 10px; }
.five-duo-question { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 18px; margin: 0 !important; padding: 14px 14px 14px 26px; border: 1px solid var(--wp--preset--color--filet); border-radius: 26px; background: #fff; }
.five-duo-question > * { margin: 0; }
.five-duo-q { grid-column: 1; font-weight: 700; font-size: 17px; color: var(--wp--preset--color--encre); }
.five-duo-m, .five-duo-j { grid-column: 2; font-size: 15px; }
.five-duo-m::before { content: "Mélanie : "; font-weight: 700; }
.five-duo-j::before { content: "Jessica : "; font-weight: 700; }
.five-duo.est-pret .five-duo-m, .five-duo.est-pret .five-duo-j { display: none; }
.five-duo-indice { grid-column: 1; display: block; font-weight: 700; font-size: 13px; line-height: 1.3; color: #7A706A; opacity: .7; }
.five-duo-indice.est-m { color: var(--wp--preset--color--accent); opacity: 1; }
.five-duo-indice.est-j { color: var(--wp--preset--color--lilas-texte); opacity: 1; }
.five-duo-choix { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
.five-duo-choix button { min-width: 132px; height: 50px; padding: 0 18px; border: 1.5px solid #EFE4CF; border-radius: 999px; background: var(--wp--preset--color--creme); font: inherit; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--encre); cursor: pointer; transition: background-color .25s ease, border-color .25s ease, opacity .25s ease, transform .2s ease; }
.five-duo-choix button:hover { transform: translateY(-2px); }
.five-duo-choix button:focus-visible { outline: 2px solid var(--wp--preset--color--encre); outline-offset: 2px; }
.five-duo-choix button.est-m[aria-pressed="true"] { background: var(--wp--preset--color--peche); border-color: var(--wp--preset--color--orange); }
.five-duo-choix button.est-j[aria-pressed="true"] { background: var(--wp--preset--color--lilas); border-color: var(--wp--preset--color--lilas-texte); }
.five-duo-choix.a-choisi button[aria-pressed="false"] { opacity: .5; }
.five-duo-resultats { display: flex; flex-direction: column; gap: 20px; }
.five-duo.est-pret .five-duo-resultats { position: sticky; top: calc(var(--five-haut-colle, 0px) + 24px); }
.five-duo-res { margin: 0 !important; overflow: hidden; border-radius: var(--five-rayon-tuile); background-color: var(--wp--preset--color--jaune-pale); background-image: radial-gradient(80% 70% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%); color: var(--wp--preset--color--texte); }
.five-duo-res-m { background-color: var(--wp--preset--color--peche); }
.five-duo-res-j { background-color: var(--wp--preset--color--lilas); }
.five-duo.est-pret .five-duo-res { display: none; }
.five-duo.est-pret .five-duo-res.est-visible { display: block; }
.five-duo-photo { margin: 0 !important; }
.five-duo-photo img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: 50% 24%; }
.five-duo-res-m .five-duo-photo img, .five-duo-res-j .five-duo-photo img { object-position: 50% 30%; }
.five-duo-texte { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.five-duo-texte > * { margin: 0 !important; }
.five-duo-titre { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--wp--preset--color--orange); }
.five-duo-texte > p:not(.is-style-surtitre):not(.five-duo-titre) { color: var(--wp--preset--color--encre); }
.five-duo-cours { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.five-duo-cours li { margin: 0; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--wp--preset--color--encre); }
.five-duo-boutons { margin-top: 6px !important; gap: 10px; }
.five-duo-rejouer { padding: 0.85em 1.6em; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--orange); font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; color: var(--wp--preset--color--accent); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.five-duo-rejouer:hover { background: var(--wp--preset--color--orange); color: #fff; }
.five-duo-barre { position: relative; height: 12px; overflow: hidden; border-radius: 99px; background: rgba(78, 58, 85, .22); }
.five-duo-barre > span { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; border-radius: 99px; background: var(--wp--preset--color--orange); transition: width .45s cubic-bezier(.3, .7, .3, 1); }
.five-duo-score { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--encre); }
.five-duo-score > span { display: flex; align-items: center; gap: 8px; }
.five-duo-score b { font-weight: 700; }
.five-duo-score i { font-style: normal; }
.five-duo-score img { width: 36px; height: 36px; border-radius: 99px; object-fit: cover; }
@keyframes fiveDuo { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.five-duo-anime .five-duo-texte { animation: fiveDuo .35s ease-out both; }

/* Five en chiffres */
.five-chiffres-tete { margin-bottom: 24px; }
.five-chiffres-tete > * { margin: 0; }
.five-chiffres-tete .five-titre-section { margin-top: 8px; font-size: clamp(26px, 2.8vw, 39px); }
.five-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px 0; border: 1px solid var(--wp--preset--color--filet); border-radius: var(--five-rayon-tuile); background: #fff; }
.five-chiffre { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; margin: 0 !important; padding: 26px clamp(22px, 2.6vw, 40px); border-left: 1px solid var(--wp--preset--color--filet); }
.five-chiffre:first-child { border-left: 0; }
.five-chiffre::before { content: ""; grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 99px; background: #FDF1E6 var(--five-picto) center / 24px no-repeat; }
.five-chiffre > * { grid-column: 2; margin: 0; }
.five-chiffre-nombre { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--wp--preset--color--orange); }
.five-chiffre-texte { margin-top: 4px !important; font-weight: 700; line-height: 1.4; color: var(--wp--preset--color--encre); }

/* L'équipe */
.five-equipe { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.five-equipe > * { margin: 0 !important; }
.five-equipe-photo { flex: 1 1 480px; min-height: 520px; }
.five-equipe-texte { flex: 1 1 420px; min-width: 0; }
.five-equipe-texte > * { margin: 0; }
.five-equipe-texte .five-titre-section { margin-top: 8px; font-size: clamp(28px, 3vw, 42px); }
.five-visages-groupe { margin-top: 20px !important; }
.five-visages-groupe > * { margin: 0; }
.five-visages-titre { display: flex; align-items: center; gap: 8px; margin-bottom: 10px !important; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--encre); }
.five-visages-titre::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--five-picto) center / contain no-repeat; }
.five-visages { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.five-visage { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; margin: 0 !important; }
.five-visage img { display: block; width: 56px; height: 56px; border: 3px solid #fff; border-radius: 99px; object-fit: cover; box-shadow: 0 6px 14px rgba(61, 44, 38, .10); transition: transform .2s ease-out; }
.five-visage:hover img { transform: translateY(-3px); }
.five-visage figcaption { margin: 0; font-weight: 600; font-size: 13px; line-height: 1.2; text-align: center; color: var(--wp--preset--color--encre); }
.five-equipe-boutons { margin-top: 26px !important; gap: 12px; }

/* Location & events (version photo + tuile) */
.five-club-location { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.five-club-location > * { margin: 0 !important; }
.five-club-location-photo { grid-column: 1 / 6; grid-row: 1; min-height: 380px; }
.five-club-location-photo .five-remplit img { object-position: 50% 62%; }
.five-club-location-tuile { grid-column: 6 / 13; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 380px; }
.five-club-location-tuile > * { margin: 0; }
.five-club-location-tuile .five-titre-section { font-size: clamp(26px, 2.6vw, 37px); color: var(--wp--preset--color--encre); }
.five-club-location-tuile > p:not(.is-style-surtitre) { margin-top: 4px; max-width: 540px; }
.five-club-location-tuile > .wp-block-buttons { margin-top: 14px; }

/* Besoin d'un renseignement ? (tuile avec mains illustrées) */
.five-renseignement-tuile { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); text-align: center; background: radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--jaune-pale); }
.five-renseignement-tuile > * { margin: 0 !important; }
.five-renseignement-tuile > p:not(.is-style-surtitre) { max-width: 560px; }
.five-deco { position: absolute !important; pointer-events: none; }
.five-deco img { display: block; height: auto; }
.five-deco-gauche { left: 6%; bottom: 34px; }
.five-deco-droite { right: 5%; top: 44px; }
.five-coordonnees { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 700; }
.five-coordonnees a { display: inline-flex; align-items: center; gap: 10px; color: var(--wp--preset--color--encre); text-decoration: none; }
.five-coordonnees a:hover { text-decoration: underline; text-underline-offset: 4px; }
.five-coordonnees a::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--five-picto) center / contain no-repeat; }
.five-renseignement-tuile .wp-block-button.is-style-secondaire .wp-block-button__link { background-color: var(--wp--preset--color--creme); }
.five-renseignement-tuile .wp-block-button.is-style-secondaire .wp-block-button__link:hover { background-color: var(--wp--preset--color--orange); }

@media (max-width: 781px) {
	.five-club-haut .five-haut-texte { min-height: 0; }
	.five-club-haut .five-haut-photo { min-height: 220px; }
	.five-bulle { left: 14px; bottom: 14px; padding: 8px 18px 8px 8px; font-size: 17px; }
	.five-bulle::before { width: 34px; height: 34px; }
	.five-esprit-grille { grid-template-columns: 1fr; gap: 14px; }
	.five-esprit-grille > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.five-esprit-tuile { gap: 8px; padding: 22px !important; }
	.five-esprit-tuile .five-tuile-titre { font-size: 22px; }
	.five-sur-pastille::before { display: none; }
	.five-club-histoire { grid-template-columns: 1fr; gap: 24px; }
	.five-club-histoire-photos { order: 2; padding: 0; }
	.five-club-histoire-grande { min-height: 210px; }
	.five-etapes { gap: 16px; margin-top: 18px !important; }
	.five-etapes::before { left: 19px; }
	.five-etape { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
	.five-etape::before { width: 40px; height: 40px; font-size: 18px; }
	.five-etape-titre { margin-top: 6px !important; font-size: 19px; }
	.five-etape > p:not(.five-etape-titre) { font-size: 15px; line-height: 1.6; }
	.five-duo { grid-template-columns: 1fr; }
	.five-duo-question { grid-template-columns: 1fr; padding: 14px; }
	.five-duo-m, .five-duo-j, .five-duo-choix { grid-column: 1; grid-row: auto; }
	.five-duo-choix { margin-top: 10px !important; }
	.five-duo-choix button { flex: 1 1 0; min-width: 0; height: 46px; padding: 0 10px; }
	.five-duo.est-pret .five-duo-resultats { position: static; }
	.five-duo-photo img { height: 240px; }
	.five-duo-texte { padding: 20px 22px 24px; }
	.five-chiffres { grid-template-columns: 1fr; padding: 4px 0; }
	.five-chiffre { padding: 16px 22px; border-left: 0; border-top: 1px solid var(--wp--preset--color--filet); column-gap: 16px; }
	.five-chiffre:first-child { border-top: 0; }
	.five-chiffre::before { width: 48px; height: 48px; }
	.five-chiffre-nombre { font-size: 24px; }
	.five-equipe-photo { order: 2; flex-basis: 100%; min-height: 220px; }
	.five-visages-groupes { display: flex; gap: 26px; margin-right: -20px !important; padding: 0 20px 6px 0; overflow-x: auto; scrollbar-width: none; }
	.five-visages-groupe { flex: none; margin-top: 16px !important; }
	.five-visages { flex-wrap: nowrap; padding-top: 2px; }
	.five-visage { flex: none; width: 58px; }
	.five-visage img { width: 50px; height: 50px; }
	.five-equipe-boutons { flex-wrap: nowrap; gap: 10px; }
	.five-equipe-boutons .wp-block-button { flex: 1 1 0; min-width: 0; }
	.five-equipe-boutons .wp-block-button__link { width: 100%; padding-left: 10px; padding-right: 10px; font-size: 15px; }
	.five-club-location { grid-template-columns: 1fr; }
	.five-club-location-tuile { grid-column: 1 / -1; min-height: 0; }
	.five-renseignement-tuile { padding: 30px 22px !important; }
	.five-coordonnees { flex-direction: column; align-items: center; gap: 6px; }
}

/* =========================================================================
   Page L'actu (maquette H3Actus) · bandeau compact, article à la une, grille d'articles
   ========================================================================= */
.five-blog-haut { padding-top: 8px; }
.five-blog-bandeau { padding: clamp(24px, 2.3vw, 32px) clamp(26px, 3vw, 44px) !important; border-radius: 36px; background: radial-gradient(70% 120% at 100% 100%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--jaune-pale); }
.five-blog-bandeau > * { margin: 0; }
.five-blog-bandeau .five-ariane { margin-bottom: 10px !important; }
.five-blog-bandeau .is-style-surtitre { margin-bottom: 6px !important; }
.five-blog-titre { font-size: clamp(32px, 2.8vw, 40px); line-height: 1.08; }
.five-meta { margin: 0; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--wp--preset--color--accent); }
.five-extrait { margin: 0; }
.five-extrait .wp-block-post-excerpt__excerpt { display: -webkit-box; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.five-extrait .wp-block-post-excerpt__more-text { margin: 6px 0 0; }
.five-extrait .wp-block-post-excerpt__more-link { font-weight: 700; color: var(--wp--preset--color--accent); text-decoration: none; }
.five-extrait .wp-block-post-excerpt__more-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* À la une */
.five-une { margin-top: 20px !important; }
.five-une-liste { margin: 0; padding: 0; list-style: none; }
.five-une-carte { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(340px, auto); gap: 20px; }
.five-une-carte > * { margin: 0 !important; }
.five-une-photo { grid-column: 1 / 7; position: relative; min-height: 340px; overflow: hidden; border-radius: var(--five-rayon-tuile); background: #E9DCC9; }
.five-une-photo a, .five-une-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100% !important; object-fit: cover; }
.five-une-photo img { transition: transform .22s ease-out; }
.five-une-carte:hover .five-une-photo img { transform: scale(1.02); }
.five-une-texte { grid-column: 7 / 13; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(26px, 2.4vw, 34px) clamp(26px, 2.8vw, 40px) !important; }
.five-une-texte > * { margin: 0 !important; }
.five-une-titre { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: clamp(24px, 2vw, 29px); line-height: 1.14; }
.five-une-titre a { color: var(--wp--preset--color--orange); text-decoration: none; }
.five-une-titre a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Tous les articles */
.five-blog-liste { padding-top: clamp(40px, 3.4vw, 52px); }
.five-blog-tete { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.five-blog-tete > * { margin: 0 !important; }
.five-blog-tete > .wp-block-group > * { margin: 0; }
.five-blog-main { flex: none; }
.five-blog-main img { display: block; }
.five-blog-tete .five-titre-section { font-size: clamp(26px, 2.5vw, 35px); }
.five-blog-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; margin: 0; padding: 0; list-style: none; }
.five-blog-grille > * { margin: 0 !important; }
.five-blog-carte { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.five-blog-carte > * { margin: 0 !important; }
.five-blog-photo { overflow: hidden; border-radius: var(--five-rayon-carte); background: #E9DCC9; }
.five-blog-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .22s ease-out; }
.five-blog-carte:hover .five-blog-photo img { transform: scale(1.02); }
.five-blog-carte-texte { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.five-blog-carte-texte > * { margin: 0 !important; }
.five-blog-carte-titre { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 22px; line-height: 1.25; }
.five-blog-carte-titre a { color: var(--wp--preset--color--encre); text-decoration: none; }
.five-blog-carte-titre a:hover { color: var(--wp--preset--color--accent); }
.five-blog-carte .five-extrait { flex: 1; display: flex; flex-direction: column; font-size: 16px; line-height: 1.6; }
.five-blog-carte .five-extrait .wp-block-post-excerpt__more-text { margin-top: auto; padding-top: 4px; font-size: 15px; }
.five-blog-pages { margin-top: clamp(40px, 4.4vw, 64px) !important; gap: 8px; }
.five-blog-pages .page-numbers,
.five-blog-pages .wp-block-query-pagination-previous,
.five-blog-pages .wp-block-query-pagination-next { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; margin: 0; padding: 0 6px; box-sizing: border-box; border: 1px solid var(--wp--preset--color--filet); border-radius: 999px; background: #fff; font-weight: 700; color: var(--wp--preset--color--encre); text-decoration: none; }
.five-blog-pages .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.five-blog-pages .page-numbers.current { border-color: var(--wp--preset--color--orange); background: var(--wp--preset--color--orange); color: #fff; }
.five-blog-pages .page-numbers.dots { border: 0; background: none; }
.five-blog-pages .wp-block-query-pagination-previous-arrow,
.five-blog-pages .wp-block-query-pagination-next-arrow { margin: 0; color: var(--wp--preset--color--accent); font-size: 20px; }
.five-blog-pages a:hover { border-color: var(--wp--preset--color--orange); }

@media (max-width: 781px) {
	.five-blog-bandeau { padding: 24px 22px 22px !important; border-radius: 30px; }
	.five-blog-titre { font-size: 30px; }
	.five-une-carte { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
	.five-une-carte > * { grid-column: 1 / -1 !important; }
	.five-une-photo { order: 2; min-height: 260px; }
	.five-blog-liste { padding-top: 44px; }
	.five-blog-tete { margin-bottom: 18px; }
	.five-blog-grille { grid-template-columns: 1fr; gap: 18px; }
	.five-blog-carte { flex-direction: row; align-items: center; gap: 16px; }
	.five-blog-photo { flex: none; width: 112px; border-radius: 22px; }
	.five-blog-photo img { aspect-ratio: 1 / 1 !important; }
	.five-blog-carte-texte { gap: 4px; }
	.five-blog-carte-titre { font-size: 18px; }
	.five-blog-carte .five-meta { font-size: 13px; }
	.five-blog-carte .five-extrait { display: none; }
}

/* =========================================================================
   Page Contact (maquette H3Contact) · formulaire, informations pratiques, carte chargée sur demande
   Le formulaire lui-même est stylé par l'extension Five · Formulaire de contact.
   ========================================================================= */
.five-picto-lieu { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.five-picto-instagram { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23E0613A'/%3E%3C/svg%3E"); }
.five-picto-carte { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4L3 6v14l6-2 6 2 6-2V4l-6 2-6-2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E"); }

.five-contact-haut .five-haut-texte { position: relative; }
.five-contact-main { position: absolute !important; top: 40px; right: 44px; width: 58px; margin: 0 !important; opacity: .9; pointer-events: none; }
.five-contact-main img { display: block; }
.five-photo-contact img { object-position: 45% 50%; }

.five-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 20px; }
.five-contact > * { margin: 0 !important; }
.five-contact-formulaire { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 10px; }
.five-contact-formulaire > * { margin: 0 !important; }
.five-contact-formulaire .five-titre-section { font-size: clamp(26px, 2.6vw, 37px); }
.five-contact-formulaire .five-c { margin-top: 14px !important; }
.five-contact-cote { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 20px; }
.five-contact-cote > * { margin: 0 !important; }
.five-contact-infos { display: flex; flex-direction: column; gap: 16px; background: radial-gradient(80% 90% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--jaune-pale); }
.five-contact-infos > * { margin: 0 !important; }
.five-contact-ligne { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; line-height: 1.5; color: var(--wp--preset--color--encre); }
.five-contact-ligne::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: var(--five-picto) center / contain no-repeat; }
.five-contact-ligne a { color: inherit; text-decoration: none; }
.five-contact-ligne a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; text-underline-offset: 4px; }

.five-carte-google { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 300px; text-align: center; }
.five-carte-google > * { margin: 0 !important; }
.five-carte-google::before { content: ""; width: 40px; height: 40px; background: var(--five-picto) center / contain no-repeat; }
.five-carte-titre-google { font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 24px; line-height: 1.2; color: var(--wp--preset--color--encre); }
.five-carte-texte { max-width: 280px; font-size: 15px; line-height: 1.5; }
.five-carte-boutons { justify-content: center; gap: 8px; margin-top: 6px !important; }
.five-carte-boutons .wp-block-button__link { padding: 12px 20px; font-size: 15px; }
.five-carte-google.est-chargee { padding: 0 !important; min-height: 360px; }
.five-carte-google.est-chargee::before,
.five-carte-google.est-chargee > :not(iframe) { display: none !important; }
.five-carte-google iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 781px) {
	.five-contact { grid-template-columns: 1fr; }
	.five-contact > * { grid-column: 1 / -1 !important; }
	.five-carte-google { min-height: 280px; }
}

/* =========================================================================
   Pages de texte long (maquette H3PageTexte) : confidentialité, puis CGV et mentions légales
   Bandeau compact, sommaire collant à gauche (repliable sur téléphone), colonne de lecture.
   ========================================================================= */
.five-texte-haut { padding-top: 8px; }
.five-texte-bandeau { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 48px; padding: clamp(24px, 2.3vw, 32px) clamp(26px, 3vw, 44px) !important; border-radius: 36px; background: radial-gradient(70% 120% at 100% 100%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--jaune-pale); }
.five-texte-bandeau > * { margin: 0 !important; }
.five-texte-titre-zone { flex: 1 1 560px; min-width: 0; }
.five-texte-titre-zone > * { margin: 0; }
.five-texte-titre-zone .five-ariane { margin-bottom: 10px !important; }
.five-texte-h1 { max-width: 760px; font-size: clamp(30px, 2.6vw, 39px); line-height: 1.1; }
.five-texte-intro { flex: 0 1 380px; }
.five-texte-intro > * { margin: 0; }
.five-texte-maj { margin-top: 6px !important; font-weight: 700; font-size: 14px; color: var(--wp--preset--color--accent); }

.five-texte { display: grid; grid-template-columns: 290px minmax(0, 720px); justify-content: center; align-items: start; gap: clamp(40px, 5.4vw, 80px); padding-top: clamp(32px, 3.6vw, 52px); }
.five-texte > * { margin: 0 !important; }

/* Sommaire (bloc « Détails ») */
.five-texte-sommaire { position: sticky; top: calc(var(--five-haut-colle, 0px) + 24px); max-height: calc(100vh - var(--five-haut-colle, 0px) - 48px); overflow-y: auto; padding: 24px 22px 20px; border-radius: var(--five-rayon-carte); background: radial-gradient(80% 60% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--jaune-pale); }
.five-texte-sommaire summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(224, 97, 58, .22); list-style: none; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--wp--preset--color--orange); cursor: default; }
.five-texte-sommaire summary::-webkit-details-marker { display: none; }
.five-texte-sommaire summary::after { content: ""; display: none; flex: none; width: 34px; height: 34px; box-sizing: border-box; border: 1.5px solid var(--wp--preset--color--orange); border-radius: 99px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s cubic-bezier(.3, .7, .3, 1); }
.five-texte-sommaire[open] summary::after { transform: rotate(180deg); }
.five-texte-sommaire ul { margin: 12px 0 0; padding: 0; list-style: none; }
.five-texte-sommaire li { margin: 0; }
.five-texte-sommaire a { display: block; margin: 0 -10px; padding: 4px 10px; border-radius: 12px; font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--wp--preset--color--texte); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.five-texte-sommaire a:hover { background: rgba(255, 255, 255, .75); color: var(--wp--preset--color--accent); }

/* Colonne de lecture */
.five-texte-contenu { min-width: 0; font-size: 17px; line-height: 1.75; }
.five-texte-contenu > * { margin: 0 !important; }
.five-texte-article { padding: 30px 0 28px; border-top: 1px solid var(--wp--preset--color--filet); }
.five-texte-article:first-child { padding-top: 2px; border-top: 0; }
.five-texte-article > * { margin: 0 0 12px; }
.five-texte-article > :last-child { margin-bottom: 0; }
.five-texte-article h2 { margin-bottom: 14px; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.2; color: var(--wp--preset--color--orange); }
.five-texte-article h3 { margin: 24px 0 6px; font-family: var(--wp--preset--font-family--quicksand); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--wp--preset--color--encre); }
.five-texte-article ul { padding-left: 22px; }
.five-texte-article li { margin: 0 0 4px; padding-left: 4px; }
.five-texte-article li::marker { color: var(--wp--preset--color--orange); }
.five-texte-article strong { color: var(--wp--preset--color--encre); }
.five-texte-article a { color: var(--wp--preset--color--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.five-texte-fiche { padding: 18px 24px !important; border: 1px solid var(--wp--preset--color--filet); border-radius: 24px; background: #fff; font-size: 16px; line-height: 1.7; }
.five-texte-tableau { margin: 4px 0 12px !important; }
.five-texte-tableau table { width: 100%; overflow: hidden; border: 1px solid var(--wp--preset--color--filet); border-collapse: separate; border-spacing: 0; border-radius: 20px; background: #fff; font-size: 15px; line-height: 1.45; }
.five-texte-tableau th, .five-texte-tableau td { padding: 10px 16px; border: 0; text-align: left; vertical-align: top; }
.five-texte-tableau thead { border: 0; }
.five-texte-tableau th { background: #FBF4DE; font-weight: 700; color: var(--wp--preset--color--encre); }
.five-texte-tableau td { border-top: 1px solid var(--wp--preset--color--filet); }
.five-texte-tableau td:first-child { font-weight: 700; color: var(--wp--preset--color--encre); }

@media (max-width: 1023px) {
	.five-texte { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.five-texte-sommaire { position: static; max-height: none; overflow: visible; }
	.five-texte-sommaire summary { padding-bottom: 0; border-bottom: 0; cursor: pointer; font-size: 21px; }
	.five-texte-sommaire[open] summary { padding-bottom: 12px; border-bottom: 1px solid rgba(224, 97, 58, .22); }
	.five-texte-sommaire summary::after { display: block; }
}
@media (max-width: 781px) {
	.five-texte-bandeau { padding: 24px 22px 22px !important; border-radius: 30px; }
	.five-texte-h1 { font-size: 30px; }
	.five-texte-contenu { font-size: 16px; line-height: 1.7; }
	.five-texte-article { padding: 24px 0 22px; }
	.five-texte-fiche { padding: 16px 18px !important; }
	.five-texte-tableau th, .five-texte-tableau td { padding: 9px 12px; }
}

/* L'actu : filtres par thème dans le bandeau, thème + date sur les cartes */
.five-blog-bandeau { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.five-blog-bandeau > * { margin: 0 !important; }
.five-blog-bandeau-titre { flex: 1 1 520px; min-width: 0; }
.five-blog-bandeau-titre > * { margin: 0; }
.five-blog-bandeau-titre .five-ariane { margin-bottom: 10px !important; }
.five-blog-bandeau-titre .is-style-surtitre { margin-bottom: 6px !important; }
.five-blog-filtres { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; flex: 0 1 430px; }
.five-blog-filtres a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid #EFE4CF; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; color: var(--wp--preset--color--encre); text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.five-blog-filtres a:hover { border-color: var(--wp--preset--color--orange); }
.five-blog-filtres a.est-actif { border-color: var(--wp--preset--color--orange); background: var(--wp--preset--color--orange); color: #fff; }
.five-meta-ligne { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.five-meta-ligne > * { margin: 0 !important; }
.five-meta-ligne > .wp-block-post-terms + .wp-block-post-date::before { content: "·"; margin-right: 6px; }
@media (max-width: 781px) {
	.five-blog-bandeau-titre { flex-basis: 100%; }
	.five-blog-filtres { flex: 1 1 100%; justify-content: flex-start; gap: 6px; }
	.five-blog-filtres a { height: 38px; padding: 0 14px; font-size: 14px; }
}

/* Pages de texte converties (CGV…) : le premier titre de chaque rubrique prend le style des titres de rubrique, quel que soit son niveau */
.five-texte-article > .wp-block-heading:first-child { margin-bottom: 14px; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.2; color: var(--wp--preset--color--orange); }
.five-texte-article h4, .five-texte-article h5 { margin: 22px 0 6px; font-family: var(--wp--preset--font-family--quicksand); font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--wp--preset--color--encre); }

/* Page Cartes cadeaux : module bsport dans une tuile, photo à gauche, petit mot dessous */
.five-cadeaux-haut .five-haut-texte { position: relative; }
.five-cadeaux-main { position: absolute !important; right: clamp(24px, 3.4vw, 48px); bottom: 36px; width: 96px; margin: 0 !important; pointer-events: none; }
.five-cadeaux-main img { display: block; }
.five-cadeaux-page .five-cadeaux-photo { grid-column: 1 / 5; grid-row: 1 / 3; }
.five-cadeaux-page .five-cadeaux-mot { grid-column: 5 / 13; grid-row: 2; }
.five-cadeaux-module { grid-column: 5 / 13; grid-row: 1; display: flex; flex-direction: column; gap: 14px; }
.five-cadeaux-module > * { margin: 0 !important; }
.five-cadeaux-module .five-entete-picto { margin-bottom: 4px; }
.five-cadeaux-module .five-entete-picto .five-titre-section { font-size: clamp(26px, 2.6vw, 37px); }
.five-module-cadeaux { min-height: 200px; }

/* Page Planning : le module arrive juste sous le bandeau */
.five-planning { padding-top: 20px; }
.five-module-planning { min-height: 640px; }
.five-planning-premiere { padding-top: clamp(40px, 4.4vw, 64px); }
.five-planning-premiere .five-entete-picto { margin-bottom: 0; }
.five-planning-premiere .five-titre-section { font-size: clamp(25px, 2.3vw, 32px); color: var(--wp--preset--color--encre); }
.five-module-planning { box-sizing: border-box; padding: clamp(18px, 2.6vw, 36px); border: 1px solid var(--wp--preset--color--filet); border-radius: var(--five-rayon-tuile); background: #fff; }
@media (max-width: 781px) { .five-module-planning { padding: 14px 10px; border-radius: 30px; } }

/* =========================================================================
   Pages converties depuis Kadence (pratiques, soins, articles) : outils/contenus/convertir-kadence.php
   Rangées et colonnes deviennent des groupes ; ces règles reproduisent la mise en page d'origine aux couleurs du thème.
   ========================================================================= */
.five-picto-oeil { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.five-picto-fleche { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
.five-picto-activite { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E"); }
.five-picto-vent { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2'/%3E%3C/svg%3E"); }
.five-picto-sourire { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E"); }
.five-picto-pouce { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); }
.five-picto-etoile { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.five-picto-tapis { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M17 9h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2'/%3E%3C/svg%3E"); }

.five-k-rangee { margin-top: 24px !important; }
.wp-block-post-content > .five-k-rangee:first-child { margin-top: 0 !important; padding-top: 8px; }
.five-k-rangee.five-k-espace { margin-top: var(--five-section) !important; }
.five-k-rangee > .five-k-grille { margin: 0 !important; }
.five-k-etroit { max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
.five-k-grille { display: grid; gap: 20px; align-items: stretch; }
.five-k-grille > * { margin: 0 !important; min-width: 0; }
.five-k-c-1 { grid-template-columns: minmax(0, 1fr); }
.five-k-c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.five-k-c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.five-k-c-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.five-k-c-60-40 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.five-k-c-40-60 { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.five-k-c-70-30 { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.five-k-c-30-70 { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.five-k-c-67-33 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.five-k-c-33-67 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.five-k-c-65-35 { grid-template-columns: minmax(0, 13fr) minmax(0, 7fr); }
.five-k-c-35-65 { grid-template-columns: minmax(0, 7fr) minmax(0, 13fr); }
.five-k-c-55-45 { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
.five-k-c-45-55 { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
.five-k-c-75-25 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.five-k-c-25-75 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }

.five-k-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.five-k-col > * { margin: 0 !important; }
.five-k-col > .five-k-rangee { margin-top: 0 !important; }
.five-k-centre { justify-content: center; }
.five-k-bas { justify-content: flex-end; }
.five-k-ligne { flex-direction: row; flex-wrap: wrap; align-items: center; }
.five-k-col[class*="is-style-tuile-"] { gap: 10px; }
.five-k-p-petit { padding: 22px !important; }
.five-k-p-moyen { padding: 30px !important; }
.five-k-sans-bord { border: 0 !important; }
.five-k-peche-clair { background: radial-gradient(90% 80% at 0% 0%, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 60%), #F6DAC8; }
.five-k-photo { min-height: 260px; }
.five-k-photo.five-k-h-petit { min-height: 220px; }
.five-k-photo.five-k-h-moyen { min-height: 320px; }
.five-k-photo.five-k-h-grand { min-height: 440px; }

.five-k-pastille { align-self: flex-start; padding: 4px 16px; border-radius: 999px; background: #FDF1E6; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--wp--preset--color--orange); }
.five-k-pastille.has-text-align-center { align-self: center; }
.five-k-intitule { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--wp--preset--color--encre); }
.is-style-tuile-corail .five-k-intitule, .is-style-tuile-corail .five-k-titre { color: #fff; }
.five-k-grand-texte { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; }
.is-style-tuile-corail .five-k-grand-texte { color: #FFF3EC; }
/* Tuile claire posée dans une tuile corail (cartes blanches de « Pourquoi pratiquer… ») : couleurs normales, sinon titres blancs sur blanc. */
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) :is(h1, h2, h3, h4, h5, h6, .five-k-titre) { color: var(--wp--preset--color--orange); }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) .five-k-intitule { color: var(--wp--preset--color--encre); }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) .five-k-grand-texte { color: inherit; }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) a:not(.wp-element-button) { color: var(--wp--preset--color--accent); }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) .is-style-surtitre { color: var(--wp--preset--color--orange); }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) .five-k-coches li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.is-style-tuile-corail :is(.is-style-tuile-blanche, .is-style-tuile-jaune, .is-style-tuile-jaune-pale, .is-style-tuile-peche, .is-style-tuile-lilas) .five-picto-coeur { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
/* Carte à picto centré : le texte qui suit le titre est centré lui aussi. */
.five-k-col:has(> .five-k-avec-icone.has-text-align-center) > p:not([class*="has-text-align"]) { text-align: center; }
.five-k-titre.has-text-align-center { margin-left: auto !important; margin-right: auto !important; max-width: 860px; }
.five-k-avec-icone::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 99px; background: #fff var(--five-picto) center / 22px no-repeat; }
.five-k-avec-icone.has-text-align-center::before { margin-left: auto; margin-right: auto; }
.is-style-tuile-blanche .five-k-avec-icone::before { background-color: #FDF1E6; }

.five-k-coches { padding: 0 !important; list-style: none; }
.five-k-coches li { position: relative; margin: 0 0 8px; padding-left: 30px; }
.five-k-coches li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-tuile-corail .five-k-coches li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* Pas de marge forcée sur les images : dans un article, elles se centrent dans la colonne comme le texte. */
.five-k-col > .aligncenter { align-self: center; }
.five-k-col > .alignright { align-self: flex-end; }
.five-k-illu img { border-radius: 0 !important; }
.five-k-image img { display: block; width: 100%; height: auto; border-radius: var(--five-rayon-carte); }
.five-k-portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
.five-k-boutons { gap: 12px; }
.five-k-faq { width: 100%; }

@media (max-width: 781px) {
	.five-k-rangee { margin-top: 16px !important; }
	.five-k-grille { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }
	.five-k-photo, .five-k-photo.five-k-h-grand, .five-k-photo.five-k-h-moyen { min-height: 240px; }
	.five-k-p-petit, .five-k-p-moyen { padding: 20px !important; }
}
/* Sous-titre surligné des titres Kadence (« Restez en forme à tout âge ») : ligne plus petite sous le titre */
.five-k-titre mark { display: block; margin-top: 10px; background: none; font-size: .5em; line-height: 1.25; color: var(--wp--preset--color--encre); }

/* =========================================================================
   Article (maquette H3Article) : haut en tuile + photo, colonne de lecture, encart, articles voisins, « À lire aussi »
   ========================================================================= */
.five-article-haut { padding-top: 8px; }
.five-article-photo { grid-column: 8 / 13; position: relative; min-height: 440px; margin: 0 !important; overflow: hidden; border-radius: var(--five-rayon-tuile); background: #E9DCC9; }
.five-article-photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.five-article-haut:not(:has(.five-article-photo)) .five-haut-texte { grid-column: 1 / -1; }
.five-article-ariane { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.five-article-ariane > * { margin: 0 !important; }
.five-article-ariane-titre { overflow: hidden; max-width: 42ch; font: inherit; color: #7A706A; white-space: nowrap; text-overflow: ellipsis; }
.five-article-meta { margin-bottom: 10px !important; }
.five-article-titre { font-size: clamp(32px, 3.3vw, 49px); line-height: 1.08; }
.five-article-texte { padding-top: clamp(40px, 4vw, 60px); font-size: 18px; line-height: 1.8; }
.five-article-texte > h2, .five-article-texte > .wp-block-heading:not(h1):not(h3):not(h4) { margin-top: 2em; font-size: clamp(23px, 2vw, 28px); line-height: 1.2; }
.five-article-texte h3 { margin-top: 1.6em; font-size: 22px; }
.five-article-texte img { border-radius: var(--five-rayon-carte); }
/* Photos seules : centrées, jamais plus hautes que l'écran (une photo verticale garde ses proportions). */
.five-article-texte > .wp-block-image:not(.five-k-illu) { margin-top: 36px !important; margin-bottom: 36px !important; }
.five-article-texte > .wp-block-image:not(.five-k-illu) img { display: block; width: auto; max-width: 100%; max-height: min(640px, 80vh); margin-inline: auto; }
/* Illustrations (mains) et encadrés de fin : dans la largeur de la colonne de lecture. */
.five-article-texte > .five-k-illu { margin-top: 32px !important; margin-bottom: 32px !important; }
.five-article-texte > .five-k-etroit { max-width: 720px; }
.five-article-texte > .five-k-illu img { max-height: min(640px, 80vh); object-fit: contain; }
.five-article-texte blockquote, .five-article-texte .wp-block-quote { margin: 32px 0; padding: 26px 30px; border: 0; border-radius: 30px; background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 60%), var(--wp--preset--color--lilas); color: var(--wp--preset--color--lilas-texte); font-style: normal; }
.five-article-texte blockquote p { margin: 0; }
/* Citations des articles : souvent plusieurs phrases, donc taille de lecture (le style « grand » du thème reste pour les citations courtes ailleurs). */
.five-article-texte .wp-block-quote { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.55; }
.five-article-texte blockquote p + p { margin-top: .55em; }
.five-article-texte .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--wp--preset--font-family--quicksand); font-size: 15px; font-style: normal; font-weight: 700; }
.five-article-fin { padding-top: clamp(48px, 5vw, 80px); }
.five-article-cours { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 920px; margin: 0 auto !important; text-align: center; }
.five-article-cours > * { margin: 0 !important; }
.five-article-cours > p:not(.is-style-surtitre) { max-width: 560px; }
.five-article-cours .five-titre-section { font-size: clamp(26px, 2.6vw, 37px); }
.five-article-boutons { justify-content: center; gap: 12px; margin-top: 8px !important; }
.five-article-voisins { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 28px; max-width: 720px; margin: clamp(40px, 4.4vw, 56px) auto 0 !important; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--filet); font-weight: 700; }
.five-article-voisins > * { margin: 0 !important; }
.five-article-voisins a { color: var(--wp--preset--color--encre); text-decoration: none; }
.five-article-voisins a:hover { color: var(--wp--preset--color--accent); }
.five-article-toutes a { color: var(--wp--preset--color--accent); }
.five-article-voisins .post-navigation-link-previous { max-width: 440px; font-family: var(--wp--preset--font-family--asul); font-size: 18px; line-height: 1.35; }
@media (max-width: 781px) {
	.five-article-photo { grid-column: 1 / -1; min-height: 240px; }
	.five-article-texte { font-size: 17px; line-height: 1.75; }
	.five-article-ariane-titre { max-width: 24ch; }
}
/* Ateliers : message quand aucun atelier n'est programmé (créneaux « Studio réservé » masqués) */
.five-ateliers-vide { margin: 6px 0 0; padding: 22px 24px; border-radius: 24px; background: var(--wp--preset--color--jaune-pale); font-weight: 600; line-height: 1.6; color: var(--wp--preset--color--encre); }
.five-ateliers-vide a { color: var(--wp--preset--color--accent); font-weight: 700; }

/* Articles : lecteur Spotify (podcast) à sa hauteur d'origine, sans le grand cadre vide du format vidéo. */
.five-article-texte .wp-block-embed-spotify .wp-block-embed__wrapper::before { display: none; }
.five-article-texte .wp-block-embed-spotify iframe { position: static; display: block; width: 100%; height: 152px; border: 0; border-radius: 14px; }

/* Articles sur téléphone : le bandeau photos du haut garde sa forme (grande photo, puis les deux petites côte à côte)
   au lieu d'empiler trois grandes tuiles (la main dessinée devenait une tuile géante recadrée). */
@media (max-width: 781px) {
	.five-article-texte .five-k-col:has(> .five-k-photo ~ .five-k-photo) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.five-article-texte .five-k-col:has(> .five-k-photo ~ .five-k-photo) > .five-k-photo { min-height: 150px; }
	.five-article-texte .wp-block-quote { padding: 22px; font-size: 19px; }
}

/* Titre automatique d'une page sans haut de page (modèle « Page ») */
.five-titre-auto { margin: clamp(24px, 4vw, 48px) 0 24px !important; font-size: clamp(35px, 3.9vw, 56px); line-height: 1.08; }

/* Relecture visuelle du 22 novembre */
/* Bloc étroit (cartes « Pourquoi choisir… », « Besoin d'un renseignement ? ») posé dans une colonne : centré, comme à l'origine. */
.five-k-col > .five-k-etroit { margin-inline: auto !important; width: 100%; }
/* Boutons convertis : alignés comme dans Kadence (centrés par défaut). */
.five-k-boutons-centre { justify-content: center; }
.five-k-boutons-droite { justify-content: flex-end; }
/* Lettrine (premier paragraphe de certains articles) aux couleurs du thème. */
.has-drop-cap:not(:focus)::first-letter { float: left; margin: .06em .12em 0 0; font-family: var(--wp--preset--font-family--asul); font-weight: 700; font-size: 3.4em; line-height: .86; color: var(--wp--preset--color--orange); text-transform: none; }
/* Accueil (ordinateur) : la main dessinée ne touche plus le titre. */
@media (min-width: 782px) { .five-hero-titre { padding-right: 72px; } }
/* Carte « en ligne » qui ne contient qu'une colonne : la colonne prend toute la largeur (contenu bien centré). */
.five-k-ligne > .five-k-col:only-child { flex: 1 1 100%; }

/* ---------- Bibliothèque de blocs (compositions « Five · … ») ---------- */
/* Intitulé + picto (style de paragraphe choisi dans l'éditeur) */
[class*="is-style-picto-"] { font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--wp--preset--color--encre); }
[class*="is-style-picto-"]::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 99px; background: #FDF1E6 var(--five-picto) center / 22px no-repeat; }
.has-text-align-center[class*="is-style-picto-"]::before { margin-left: auto; margin-right: auto; }
:is(.is-style-tuile-jaune-pale, .is-style-tuile-jaune, .is-style-tuile-peche) [class*="is-style-picto-"]::before { background-color: #fff; }
.is-style-picto-coeur { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.is-style-picto-soleil { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
.is-style-picto-etoile { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.is-style-picto-personnes { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.is-style-picto-sourire { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' y1='9' x2='9.01' y2='9'/%3E%3Cline x1='15' y1='9' x2='15.01' y2='9'/%3E%3C/svg%3E"); }
.is-style-picto-medaille { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.is-style-picto-vent { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2'/%3E%3C/svg%3E"); }
.is-style-picto-tapis { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M17 9h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2'/%3E%3C/svg%3E"); }
.is-style-picto-lune { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); }
.is-style-picto-eclair { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.is-style-picto-calendrier { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.is-style-picto-lieu { --five-picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0613A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
/* Haut de page sans photo : la tuile prend toute la largeur. */
.five-haut-seul > .five-haut-texte { grid-column: 1 / -1; min-height: 0; }
/* Tuile corail avec titre et cartes ; appel à l'action ; témoignage ; séparateur. */
.five-bloc-corail > .five-tete { margin-bottom: clamp(24px, 3vw, 36px); }
.five-appel { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.five-appel > * { margin: 0 !important; max-width: 640px; }
.five-appel .wp-block-button:not(.is-style-secondaire) .wp-block-button__link { background: #fff; color: var(--wp--preset--color--accent); }
.five-appel .wp-block-button:not(.is-style-secondaire) .wp-block-button__link:hover { background: var(--wp--preset--color--creme); }
.five-appel .wp-block-button.is-style-secondaire .wp-block-button__link { border-color: #fff; background: transparent; color: #fff; }
.five-appel .wp-block-button.is-style-secondaire .wp-block-button__link:hover { background: rgba(255, 255, 255, .16); }
.five-appel .is-style-surtitre { color: #FDE9DE; }
.five-temoignage > * { margin: 0 !important; }
.five-temoignage > * + * { margin-top: 14px !important; }
.five-temoignage .five-k-grand-texte { font-family: var(--wp--preset--font-family--asul); font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; }
.five-separateur { margin-top: clamp(36px, 4vw, 56px) !important; margin-bottom: 0 !important; }
.five-separateur img { border-radius: 0 !important; }

/* « Sharing is caring » avec l'extension Instagram Feed (flux n° 1 réglé sur 5 publications) : les 5 dernières photos
   sur une seule ligne, carrés arrondis comme les photos de départ ; sur téléphone, la même ligne défile au doigt.
   Sans l'en-tête ni les boutons de l'extension. */
.five-insta-flux #sb_instagram { width: 100% !important; padding: 0 !important; }
.five-insta-flux #sbi_images { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px !important; width: 100% !important; padding: 0 !important; }
.five-insta-flux .sbi_item { width: auto !important; margin: 0 !important; padding: 0 !important; }
.five-insta-flux .sbi_item:nth-child(n+6) { display: none !important; }
.five-insta-flux .sbi_photo_wrap, .five-insta-flux .sbi_photo { display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 1 / 1; height: auto !important; }
.five-insta-flux .sbi_photo img { width: 100% !important; height: 100% !important; object-fit: cover; }
.five-insta-flux .sb_instagram_header, .five-insta-flux #sbi_load, .five-insta-flux .sbi_follow_btn, .five-insta-flux .sbi_load_btn { display: none !important; }
@media (max-width: 781px) {
	.five-insta-flux #sbi_images { display: flex !important; gap: 10px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
	.five-insta-flux #sbi_images::-webkit-scrollbar { display: none; }
	.five-insta-flux .sbi_item { flex: 0 0 42% !important; scroll-snap-align: start; }
	.five-insta-flux .sbi_photo_wrap, .five-insta-flux .sbi_photo { border-radius: 16px; }
}

/* Avis Google automatiques (inc/avis-google.php) : étoiles à la place du guillemet, texte limité, note globale sous le carrousel. */
.five-avis-google::before { display: none; }
.five-avis-etoiles { font-size: 18px; line-height: 1; letter-spacing: 2px; color: var(--wp--preset--color--orange); }
.five-avis-google .five-avis-texte { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 9; }
.five-avis-nom span { font-weight: 500; color: #7A706A; }
.five-avis-resume { width: fit-content; max-width: 100%; margin: 22px auto 0 !important; padding: 10px 22px; border-radius: 24px; background: #fff; text-align: center; font-size: 16px; line-height: 1.6; }
.five-avis-resume strong { font-size: 22px; vertical-align: -1px; }
.five-avis-resume a { color: var(--wp--preset--color--accent); }
.five-avis-resume-etoiles { color: var(--wp--preset--color--orange); font-size: 18px; letter-spacing: 1px; }
