/*
Theme Name:   HD Kinésio
Description:  Thème enfant de Hello Elementor pour le site HD Kinésio (charte Lac et Cuir).
Author:       Quentin
Template:     hello-elementor
Version:      1.7.21
Text Domain:  hd-kinesio-child
*/

/* =========================================================
   RÈGLE DE MISE À JOUR (toutes les conversations du projet)
   Ce fichier est partagé entre plusieurs conversations. Avant toute
   modification : relire la version du projet JUSTE AVANT d'écrire, partir
   de celle-ci (jamais d'une copie gardée dans la conversation), ajouter
   seulement ses changements, puis incrémenter le numéro de version.
   Si le numéro lu est inférieur à celui qu'on connaît : ne rien écrire,
   signaler la régression à Quentin.
   ========================================================= */

/* =========================================================
   Styles partagés du site HD Kinésio
   Chaque bloc s'active en ajoutant sa classe dans Elementor :
   onglet Avancé > Classes CSS du widget ou du conteneur.
   ========================================================= */

:root {
  /* Les couleurs viennent des couleurs globales d'Elementor (Réglages du site) ;
     la valeur après la virgule ne sert que si Elementor ne les a pas chargées. */
  --hd-lin: var(--e-global-color-c8acff5, #F9F6F0);
  --hd-sable: var(--e-global-color-f7dfe0e, #EFE5D8);
  --hd-poudre: var(--e-global-color-813e12b, #E2CBC0);
  --hd-ecorce: var(--e-global-color-primary, #6B4F45);
  --hd-cacao: var(--e-global-color-text, #3A2C2A);
  --hd-brume: var(--e-global-color-ca40745, #DCE6E3);
  --hd-lac: var(--e-global-color-secondary, #3F6E72);
  --hd-cuir: var(--e-global-color-accent, #96633D);
  --hd-cuir-fonce: var(--e-global-color-1a05ba7, #7B5031);
  --hd-lac-fonce: var(--e-global-color-63d92f3, #2F5558);
  --hd-blanc: var(--e-global-color-25ccefa, #FFFFFF);
  --hd-filet-sable: var(--e-global-color-a23b797, #D8C6B8);
  --hd-filet-lac: var(--e-global-color-a14d87c, #5E8A8D);
  --hd-brume-fonce: var(--e-global-color-3dc8ab6, #C9D9D5);
  --hd-poudre-fonce: var(--e-global-color-b43dd3c, #C9A99A);
  /* Forme losange pour clip-path (v1.7.10) : les nouvelles règles l'utilisent
     au lieu de recopier le polygone (voir « Dette connue » dans integration-elementor.md). */
  --hd-losange: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

@keyframes hdIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hdFloat { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(-12px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) {
  [class*="hd-"], [class*="hd-"]::before, [class*="hd-"]::after, [class*="hd-"] img { animation: none !important; }
}


/* =========================================================
   1. LOSANGES DÉCORATIFS SUR LES CONTENEURS
   Elementor utilise le ::before de chaque conteneur pour sa « superposition
   d'arrière-plan » et lui impose une position (haut-gauche), un arrondi et
   des bordures. On remet ces réglages à zéro avant de placer nos losanges.
   ========================================================= */

.hd-hero::before,
.hd-hero-visuel::before,
.hd-hero-visuel::after,
.hd-carte-losange::before,
.hd-deco-coin::before,
.hd-portrait::before,
.hd-portrait::after,
.hd-patchwork::before,
.hd-photo-cadre::before,
.hd-citation-fond::before,
.hd-citation-fond::after,
.hd-sombre::before,
.hd-sombre::after,
.hd-bandeau-cta::before,
.hd-bandeau-cta::after,
.hd-entete::after,
.hd-deco-contour::before,
.hd-deco-contour::after,
.hd-coin-bas-gauche::after,
.hd-photo-voile::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 0;
  border-width: 0;
  border-style: none;
  mix-blend-mode: normal;
  opacity: 1;
  transition: none;
  pointer-events: none;
}

/* Le contenu passe au-dessus des losanges */
.hd-hero, .hd-deco-coin, .hd-carte-losange,
.hd-citation-fond, .hd-sombre, .hd-bandeau-cta,
.hd-deco-contour { position: relative; overflow: hidden; }
.hd-hero > .e-con-inner,
.hd-deco-coin > .e-con-inner,
.hd-deco-contour > .e-con-inner,
.hd-citation-fond > .e-con-inner,
.hd-sombre > .e-con-inner { position: relative; z-index: 1; }
.hd-carte-losange > .elementor-element,
.hd-carte-losange > .e-con-inner > .elementor-element,
.hd-bandeau-cta > .elementor-element,
.hd-sombre > .elementor-element,
.hd-portrait > .elementor-element { position: relative; z-index: 1; }


/* =========================================================
   2. ÉLÉMENTS COMMUNS
   ========================================================= */

/* Titres (widget Titre) : jamais de marge basse, même en balise p.
   L'espacement des paragraphes des Réglages du site s'applique à tous les <p>
   (sélecteur plus fort que la marge zéro d'Elementor) ; les espacements
   viennent uniquement de l'écart (gap) des conteneurs, comme dans les maquettes. */
.elementor-widget-heading .elementor-heading-title { margin-block-end: 0; }

/* Surtitre avec losange (widget Titre) : hd-surtitre */
.hd-surtitre .elementor-heading-title { display: flex; align-items: center; gap: .75rem; }
.hd-surtitre .elementor-heading-title::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg);
}
.hd-surtitre-centre .elementor-heading-title { justify-content: center; }

/* Titre précédé d'un losange centré (widget Titre) : hd-titre-losange
   + hd-titre-losange-gauche pour caler le losange à gauche (titre aligné à gauche) */
.hd-titre-losange .elementor-heading-title::before {
  content: ""; display: block; width: 12px; height: 12px; margin: 0 auto 18px; background: var(--hd-lac); transform: rotate(45deg);
}
.hd-titre-losange-gauche .elementor-heading-title::before { margin-left: 1px; }

/* En-tête centré de section (conteneur) : hd-entete-centre */
.hd-entete-centre { margin-left: auto; margin-right: auto; }

/* Paragraphes espacés (Éditeur de texte) : hd-texte */
.hd-texte p { margin: 0 0 1.25rem; }
.hd-texte p:last-child { margin-bottom: 0; }

/* Mention avec icône info (Éditeur de texte) : hd-note */
.hd-note p { display: flex; align-items: flex-start; gap: .75rem; margin: 0; }
.hd-note p::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: .1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.1'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Correctif v1.7.15 (Horse'paire) : en flex, un mot en gras ou un lien devenait une colonne à part
   (« À noter : » à gauche, le reste de la phrase serré sur 3 lignes à côté). Le paragraphe repasse en bloc,
   l'icône est placée dans la marge gauche : même rendu qu'avant pour les mentions sans gras. */
.hd-note p { display: block; position: relative; padding-left: calc(20px + .75rem); }
.hd-note p::before { position: absolute; left: 0; top: .1em; margin-top: 0; }

/* Icônes SVG du pack : la couleur du trait suit la couleur d'icône réglée dans Elementor.
   Dans les Listes d'icônes, Elementor ne colore que le remplissage : on reporte la couleur ici. */
.hd-band .elementor-icon-list-icon,
.hd-liste-aside .elementor-icon-list-icon { color: var(--hd-brume); }
.hd-reperes .elementor-icon-list-icon { color: var(--hd-lac); }
.elementor-icon-list-icon svg { width: 20px; height: 20px; }

/* Listes Elementor sans icône ni séparateur */
.hd-titres-inline .elementor-icon-list-item::after,
.hd-ariane .elementor-icon-list-item::after,
.hd-pastilles .elementor-icon-list-item::after,
.hd-liste-losange .elementor-icon-list-item::after,
.hd-competences .elementor-icon-list-item::after { display: none !important; }
.hd-titres-inline .elementor-icon-list-icon,
.hd-ariane .elementor-icon-list-icon,
.hd-pastilles .elementor-icon-list-icon,
.hd-liste-losange .elementor-icon-list-icon,
.hd-competences .elementor-icon-list-icon { display: none; }
.hd-titres-inline .elementor-icon-list-text,
.hd-ariane .elementor-icon-list-text,
.hd-pastilles .elementor-icon-list-text,
.hd-liste-losange .elementor-icon-list-text,
.hd-competences .elementor-icon-list-text { padding: 0 !important; }

/* Pastilles avec losange (Liste d'icônes en ligne) : hd-pastilles */
.hd-pastilles .elementor-icon-list-items { display: flex !important; flex-wrap: wrap; gap: 10px; margin: 0 !important; padding: 0; }
.hd-pastilles .elementor-icon-list-items .elementor-icon-list-item {
  display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 16px !important;
  border-radius: 999px; background: var(--hd-sable);
}
.hd-pastilles .elementor-icon-list-item::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; background: var(--hd-cuir); transform: rotate(45deg);
}
/* Les 2 dernières pastilles (motifs animaux) passent en Brume / Lac */
.hd-pastilles .elementor-icon-list-item:nth-last-child(-n+2) { background: var(--hd-brume); }
.hd-pastilles .elementor-icon-list-item:nth-last-child(-n+2)::before { background: var(--hd-lac); }
/* + hd-pastilles-derniere : seule la dernière pastille passe en Brume / Lac (hero Kinésiologie animale) */
.hd-pastilles-derniere .elementor-icon-list-item:nth-last-child(2) { background: var(--hd-sable); }
.hd-pastilles-derniere .elementor-icon-list-item:nth-last-child(2)::before { background: var(--hd-cuir); }
/* + hd-pastilles-sable : toutes les pastilles en Sable / Cuir, aucune en Brume (moyens de paiement, Infos & contact) */
.hd-pastilles-sable .elementor-icon-list-item:nth-last-child(-n+2) { background: var(--hd-sable); }
.hd-pastilles-sable .elementor-icon-list-item:nth-last-child(-n+2)::before { background: var(--hd-cuir); }

/* Liste à puces losange (Liste d'icônes) : hd-liste-losange */
.hd-liste-losange .elementor-icon-list-items { border-top: 1px solid var(--hd-brume-fonce); padding-top: 18px !important; }
.hd-liste-losange .elementor-icon-list-item { display: flex !important; align-items: center; gap: 12px; }
.hd-liste-losange .elementor-icon-list-item:not(:last-child) { padding-bottom: 10px !important; }
.hd-liste-losange .elementor-icon-list-item::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; background: var(--hd-lac); transform: rotate(45deg);
}
/* + hd-liste-losange-clair : sur fond Lac (filet Lac clair, puces Brume ; couleur du texte réglée dans le widget) */
.hd-liste-losange-clair .elementor-icon-list-items { border-top-color: var(--hd-filet-lac); }
.hd-liste-losange-clair .elementor-icon-list-item::before { background: var(--hd-brume); }

/* Pastille d'étiquette (widget Titre) : hd-badge (+ hd-badge-lieu pour l'icône de lieu, hd-badge-brume pour le fond Brume,
   hd-badge-ecorce pour le fond Écorce sur une section Cacao) */
.hd-badge .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--hd-lin);
}
.hd-badge-brume .elementor-heading-title { padding: 3px 10px; background: var(--hd-brume); }
.hd-badge-ecorce .elementor-heading-title { padding: 4px 12px; background: var(--hd-ecorce); }
/* + hd-badge-sable : fond Sable, sur une carte Lin (Mon accompagnement) */
.hd-badge-sable .elementor-heading-title { background: var(--hd-sable); }
.hd-badge-lieu .elementor-heading-title::before {
  content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Icône dans un losange Lin (widget Icône) : hd-icone-losange
   + hd-icone-losange-sable pour un losange Sable, sur une section à fond Lin */
.hd-icone-losange .elementor-icon {
  display: flex !important; align-items: center; justify-content: center; width: 52px; height: 52px;
  background: var(--hd-lin); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.hd-icone-losange .elementor-icon svg { width: 20px; height: 20px; }
.hd-icone-losange-sable .elementor-icon { background: var(--hd-sable); }
/* + hd-icone-losange-brume / hd-icone-losange-poudre : losanges alternés sur fond Lin (Mon accompagnement) */
.hd-icone-losange-brume .elementor-icon { background: var(--hd-brume); }
.hd-icone-losange-poudre .elementor-icon { background: var(--hd-poudre); }
/* + hd-icone-losange-lac (v1.7.12) : losange Lac foncé, sur une tuile Lac (Ateliers, passerelle Horse'paire) */
.hd-icone-losange-lac .elementor-icon { background: var(--hd-lac-fonce); }

/* Photo découpée en losange (widget Image) : hd-img-losange */
.hd-img-losange img { display: block; aspect-ratio: 1 / 1; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* Largeurs de lecture (widgets Titre ou Éditeur de texte) : hd-mesure (760 px), hd-mesure-courte (620 px) */
.hd-mesure { max-width: 47.5rem !important; }
.hd-mesure-courte { max-width: 38.75rem !important; }

/* Trait + losange Cuir au centre (widget Séparateur) : hd-separateur-losange
   Le halo du losange reprend le fond Lin de la section. */
.hd-separateur-losange .elementor-divider-separator { position: relative; }
.hd-separateur-losange .elementor-divider-separator::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px;
  background: var(--hd-cuir); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--hd-lin);
}

/* Réseaux sociaux (widget Icône, un par réseau) : hd-reseau */
.hd-reseau .elementor-icon {
  display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important;
  border: 1px solid var(--hd-poudre) !important; border-radius: 50%; transition: background-color .2s ease;
  /* !important : Elementor applique la couleur de l'icône (Lac) à la bordure, avec un sélecteur plus fort */
}
.hd-reseau .elementor-icon svg { width: 20px; height: 20px; }
.hd-reseau .elementor-icon:hover,
.hd-reseau .elementor-icon:focus-visible { background-color: var(--hd-sable); }

/* Conteneur qui prend la largeur de son contenu au lieu de 100 % (conteneur) : hd-largeur-auto */
.e-con.hd-largeur-auto { width: auto !important; max-width: 100%; }

/* Logo dans un rond blanc (widget Image) : hd-logo-rond */
.hd-logo-rond {
  flex-shrink: 0; display: flex !important; align-items: center; justify-content: center;
  width: 6rem !important; height: 6rem; border-radius: 50%; background: var(--hd-blanc); border: 1px solid var(--hd-poudre);
}
.hd-logo-rond > * { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.hd-logo-rond img { width: auto !important; height: auto !important; max-width: 4rem !important; max-height: 4rem; object-fit: contain; }


/* =========================================================
   3. BOUTONS ET LIENS
   ========================================================= */

/* Bouton secondaire (contour) : un voile Écorce léger au survol,
   pour ne pas rivaliser avec le bouton principal. */
.hd-btn-secondaire .elementor-button { transition: background-color .2s ease; }
.hd-btn-secondaire .elementor-button:hover,
.hd-btn-secondaire .elementor-button:focus-visible {
  background-color: rgba(107, 79, 69, .1) !important;
  background-color: color-mix(in srgb, var(--hd-ecorce) 10%, transparent) !important;
}
/* Variante Lac foncé, sur fond Brume : hd-btn-lac */
.hd-btn-lac .elementor-button,
.hd-btn-lac .elementor-button:hover { color: var(--hd-lac-fonce) !important; border-color: var(--hd-lac-fonce) !important; }
.hd-btn-lac .elementor-button:hover,
.hd-btn-lac .elementor-button:focus-visible {
  background-color: rgba(47, 85, 88, .1) !important;
  background-color: color-mix(in srgb, var(--hd-lac-fonce) 10%, transparent) !important;
}
/* Variante claire, sur fond Lac ou Cacao (contour Brume, texte Lin) : hd-btn-clair */
.hd-btn-clair .elementor-button { transition: background-color .2s ease; }
.hd-btn-clair .elementor-button:hover,
.hd-btn-clair .elementor-button:focus-visible {
  background-color: rgba(249, 246, 240, .12) !important;
  background-color: color-mix(in srgb, var(--hd-lin) 12%, transparent) !important;
}

/* Bouton principal sur deux lignes (conteneur en lien, fond Cuir) : hd-btn-double
   Icône téléphone + deux widgets Titre (libellé, puis précision). Le widget Bouton
   gratuit n'a pas de deuxième ligne : les deux textes restent modifiables par Hortense. */
.hd-btn-double { text-decoration: none !important; cursor: pointer; transition: background-color .2s ease; }
.hd-btn-double:hover,
.hd-btn-double:focus-visible { background-color: var(--hd-cuir-fonce) !important; }
.hd-btn-double .elementor-icon { display: flex; }
.hd-btn-double .elementor-icon svg { width: 20px; height: 20px; }
.hd-btn-double .elementor-heading-title { white-space: nowrap; }
@media (max-width: 767px) { .hd-btn-double .elementor-heading-title { white-space: normal; } }

/* Lien souligné (widget Bouton) : hd-lien */
.hd-lien .elementor-button { background: none !important; border-radius: 0 !important; padding: 6px 0 2px !important; border-bottom: 1px solid var(--hd-cuir); }
.hd-aside .hd-lien .elementor-button { border-bottom-color: var(--hd-brume); }

/* Bloc « Offre phare » (conteneur en lien) : hd-offre */
.hd-offre { text-decoration: none !important; transition: background-color .2s ease; }
.hd-offre:hover { background-color: var(--hd-lac-fonce) !important; }
.hd-offre .hd-icone-fleche { transition: transform .2s ease; }
.hd-offre:hover .hd-icone-fleche { transform: translateX(4px); }


/* =========================================================
   4. ACCUEIL · HERO
   ========================================================= */

/* Grand losange en contour, en bas à gauche de la section */
.hd-hero::before {
  left: -140px; bottom: -180px; width: 360px; height: 360px;
  border: 1px solid var(--hd-poudre); transform: rotate(45deg);
}

/* Sous-titre du H1 */
.hd-h1 .hd-h1-sous { display: block; margin-top: .3em; font-style: italic; font-size: .55em; line-height: 1.2; color: var(--hd-lac); }

/* Titres d'Hortense séparés par des losanges (Liste d'icônes en ligne) : hd-titres-inline
   Même rendu pour le fil d'Ariane des sous-pages (hd-ariane), qui reste en ligne sur mobile. */
.hd-titres-inline .elementor-icon-list-items,
.hd-ariane .elementor-icon-list-items { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 !important; }
.hd-titres-inline .elementor-icon-list-item,
.hd-ariane .elementor-icon-list-item { display: inline-flex !important; align-items: center; gap: 14px; margin: 0 !important; padding: 0 !important; }
.hd-titres-inline .elementor-icon-list-item + .elementor-icon-list-item::before,
.hd-ariane .elementor-icon-list-item + .elementor-icon-list-item::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; background: var(--hd-cuir); transform: rotate(45deg);
}
.hd-ariane a .elementor-icon-list-text { text-decoration: underline; text-underline-offset: 3px; }
/* Tablette et mobile : les titres passent à la ligne, chacun garde son losange */
@media (max-width: 1024px) {
  .hd-titres-inline .elementor-icon-list-items { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hd-titres-inline .elementor-icon-list-item { gap: 10px; }
  .hd-titres-inline .elementor-icon-list-item::before {
    content: ""; flex-shrink: 0; width: 6px; height: 6px; background: var(--hd-cuir); transform: rotate(45deg);
  }
}

/* Visuel : image du patchwork + 4 petits losanges flottants.
   Positions reprises de la maquette, ramenées au cadre de l'image. */
.hd-hero-visuel { position: relative; }
.hd-hero-img { position: relative; }
.hd-hero-img img { display: block; width: 100%; height: auto; animation: hdIn .9s ease-out .15s both; }
.hd-hero-visuel::before,
.hd-hero-visuel::after,
.hd-hero-img::before,
.hd-hero-img::after { content: ""; position: absolute; z-index: 2; pointer-events: none; }
.hd-hero-visuel::before {           /* Cuir, en haut à droite */
  right: 3.6%; top: 1.7%; width: 20px; height: 20px; background: var(--hd-cuir);
  animation: hdFloat 6s ease-in-out infinite;
}
.hd-hero-visuel::after {            /* Lac, en haut à gauche */
  left: 12.9%; top: 5.1%; width: 14px; height: 14px; background: var(--hd-lac);
  animation: hdFloat 7s ease-in-out 1s infinite;
}
.hd-hero-img::before {              /* contour Cuir, à droite */
  right: 2.7%; bottom: 17.7%; width: 12px; height: 12px; border: 1.5px solid var(--hd-cuir);
  animation: hdFloat 8s ease-in-out 2s infinite;
}
.hd-hero-img::after {               /* Poudre, en haut au centre */
  left: 57.3%; top: 4.3%; width: 14px; height: 14px; background: var(--hd-poudre);
  animation: hdFloat 7.5s ease-in-out .5s infinite;
}


/* =========================================================
   5. ACCUEIL · BANDEAU DE RÉASSURANCE (Liste d'icônes) : hd-band
   ========================================================= */

.hd-band .elementor-icon-list-items { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; margin: 0 !important; }
.hd-band .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.hd-band .elementor-icon-list-item::after { display: none !important; }
.hd-band a { color: inherit !important; }
.hd-band a .elementor-icon-list-text { border-bottom: 1px solid var(--hd-brume); }
@media (max-width: 1024px) { .hd-band .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hd-band .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); } }

/* Repères sous le hero d'une sous-page (Liste d'icônes en ligne) : hd-reperes
   La couleur des icônes est reportée en section 2 ; le filet du haut est réglé dans le widget. */
.hd-reperes .elementor-icon-list-item::after { display: none !important; }


/* =========================================================
   6. CARTES À LOSANGE DE COIN (conteneur) : hd-carte-losange
   Par défaut : losange Brume en haut à droite (carte « On me consulte… »).
   ========================================================= */

.hd-carte-losange::before {
  right: -46px; top: -46px; width: 120px; height: 120px; background: var(--hd-brume); transform: rotate(45deg); z-index: 0;
}
/* Carte « Pour votre animal » : losange Poudre en haut à droite */
.hd-coin-poudre::before { right: -40px; top: -40px; width: 110px; height: 110px; background: var(--hd-poudre); }
/* Carte « En groupe ou en entreprise » : losange en contour, en bas à droite */
.hd-coin-contour::before {
  top: auto; right: 28px; bottom: -30px; width: 70px; height: 70px; background: none; border: 1px solid var(--hd-poudre-fonce);
}
/* Carte Contact (Infos & contact, fond Brume) : grand losange Lin translucide en bas à gauche
   + petit losange Cuir (::after, ajouté à la remise à zéro de la section 1) */
.hd-coin-bas-gauche::before {
  top: auto; right: auto; left: -70px; bottom: -70px; width: 220px; height: 220px; background: var(--hd-lin); opacity: .6;
}
.hd-coin-bas-gauche::after {
  left: 180px; bottom: 40px; z-index: 0; width: 22px; height: 22px; background: var(--hd-cuir); transform: rotate(45deg);
}
@media (max-width: 767px) {
  .hd-coin-bas-gauche::before { left: -60px; bottom: -60px; width: 150px; height: 150px; }
  .hd-coin-bas-gauche::after { left: auto; right: 28px; bottom: 20px; width: 16px; height: 16px; }
}

/* Photo de la carte « Pour vous et vos proches » (widget Image) : hd-img-carte */
.hd-img-carte { position: relative; padding: 10px 0; background: var(--hd-brume-fonce); }
.hd-img-carte img { width: 220px !important; max-width: 100%; margin: 0 auto; }
.hd-img-carte::after {
  content: ""; position: absolute; left: 24px; bottom: 24px; width: 18px; height: 18px; background: var(--hd-cuir); transform: rotate(45deg);
}

/* Photo en bandeau horizontal 16:9 en haut d'une carte (widget Image) : hd-img-bandeau
   Remplace hd-img-losange + hd-img-carte sur la carte « Pour vous et vos proches » (v1.7.6).
   Export conseillé : 1240 × 698 px en WebP. Petit losange Cuir à cheval sur le bas de la photo. */
.hd-img-bandeau { position: relative; }
.hd-img-bandeau img { display: block; width: 100% !important; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hd-img-bandeau::after {
  content: ""; position: absolute; left: 24px; bottom: -9px; z-index: 2; width: 18px; height: 18px;
  background: var(--hd-cuir); transform: rotate(45deg); pointer-events: none;
}


/* =========================================================
   7. ACCUEIL · QUI SUIS-JE
   ========================================================= */

/* Portrait en losange dans son cadre (widget Image, largeur 340 px) : hd-img-portrait */
.hd-img-portrait { position: relative; }
.hd-img-portrait img { position: relative; z-index: 1; width: 100%; }
.hd-img-portrait::before {          /* cadre en contour, plus grand que la photo */
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; width: 121%; aspect-ratio: 1 / 1;
  border: 1px solid var(--hd-filet-sable); transform: translate(-50%, -50%) rotate(45deg); pointer-events: none;
}
.hd-img-portrait::after {           /* losange Lac flottant, en bas à droite */
  content: ""; position: absolute; right: -5%; bottom: 2.6%; z-index: 2; width: 22px; height: 22px;
  background: var(--hd-lac); animation: hdFloat 7s ease-in-out infinite;
}

/* Logos des certifications (widget Image) : hd-logo-certif */
.hd-logo-certif img { display: block; width: auto !important; height: 56px; max-width: none; object-fit: contain; }


/* =========================================================
   8. ACCUEIL · PRENDRE RENDEZ-VOUS
   ========================================================= */

/* Losange Lin translucide en haut à droite de la section : hd-deco-coin */
.hd-deco-coin::before {
  right: -90px; top: -90px; width: 260px; height: 260px; background: var(--hd-lin); opacity: .5; transform: rotate(45deg);
}
.hd-zone-amelia > .elementor-widget-shortcode { width: 100%; }
.hd-liste-aside .elementor-icon-list-item { align-items: flex-start !important; }
.hd-liste-aside .elementor-icon-list-icon { margin-top: 3px; }
.hd-horaires p { display: grid; grid-template-columns: 4.5em 1fr; margin: 0 0 6px; }
.hd-horaires p:last-child { margin-bottom: 0; }
.hd-horaires strong { font-weight: 500; }


/* =========================================================
   9. FAQ (widget Accordéon / Toggle) : hd-faq
   ========================================================= */

.hd-faq-wrap { max-width: 820px; }
.hd-faq .elementor-toggle-item { margin: 0 !important; border-bottom: 1px solid var(--hd-filet-sable); }
.hd-faq .elementor-toggle-item:first-child { border-top: 1px solid var(--hd-filet-sable); }
.hd-faq .elementor-tab-title {
  display: flex !important; align-items: center; justify-content: space-between; gap: 20px; border: 0 !important; padding: 22px 0 !important; cursor: pointer;
}
.hd-faq .elementor-tab-title:hover .elementor-toggle-title { color: var(--hd-ecorce) !important; }
.hd-faq .elementor-tab-content { border: 0 !important; padding: 0 0 24px !important; max-width: 680px; }
.hd-faq .elementor-tab-content p { margin: 0; }
/* Icône : carré (plié) → losange plein Cuir avec croix Sable (déplié) */
.hd-faq .elementor-toggle-icon {
  order: 2; flex-shrink: 0; float: none !important; width: 22px !important; height: 22px; margin: 7px !important;
  border: 1.5px solid var(--hd-cuir); box-sizing: border-box;
  background:
    linear-gradient(var(--hd-cuir), var(--hd-cuir)) center / 10px 2px no-repeat,
    linear-gradient(var(--hd-cuir), var(--hd-cuir)) center / 2px 10px no-repeat;
  transition: transform .25s ease;
}
.hd-faq .elementor-toggle-icon > * { display: none !important; }
.hd-faq .elementor-tab-title.elementor-active .elementor-toggle-icon {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--hd-sable), var(--hd-sable)) center / 10px 2px no-repeat,
    linear-gradient(var(--hd-sable), var(--hd-sable)) center / 2px 10px no-repeat,
    var(--hd-cuir);
}


/* =========================================================
   10. AVIS GOOGLE (Rich Showcase for Google Reviews 7.x)
   Classes à poser sur les widgets Shortcode (facultatives) :
   - hd-avis hd-avis-note   → flux en mise en page « Rating »  ([grw id=751] sur l'accueil)
   - hd-avis hd-avis-slider → flux en mise en page « Slider »  ([grw id=10] sur l'accueil)
   Chaque règle vise aussi directement la mise en page du plugin
   (.wp-gr[data-layout="rating"] / .wp-gr[data-layout="slider"]).
   Réécrite en v1.7.18 pour la version 7.2 du plugin (relevée sur le site le 30/10) :
   le plugin a changé son code HTML en 7.x (classes rpi-…). Pour tenir dans le temps,
   on passe d'abord par ses VARIABLES (--card-bg, --card-star-color, --slider-btn-…),
   qui sont son réglage officiel, et le moins possible par ses noms de classes.
   Les réglages de couleur du flux sont écrits en style en ligne sur .wp-gr :
   nos variables sont donc en !important pour passer devant.
   ========================================================= */

:is(.hd-avis .wp-gr, .wp-gr[data-layout="rating"], .wp-gr[data-layout="slider"]) {
  --font-family: 'DM Sans', system-ui, sans-serif !important;
  /* Étoiles et note globale */
  --star-color: var(--hd-cuir) !important;
  --head-star-size: 18px !important;
  --head-grade-color: var(--hd-ecorce) !important;
  --head-based-color: var(--hd-cacao) !important;
  --head-name-color: var(--hd-cacao) !important;
  /* Cartes d'avis */
  --card-bg: var(--hd-sable) !important;
  --card-tail: var(--hd-sable) !important;
  --card-br: none !important;
  --card-shadow: none !important;
  --card-radius: 16px !important;
  --card-padding: 28px !important;
  --card-star-color: var(--hd-cuir) !important;
  --card-star-size: 18px !important;
  --card-img-size: 40px !important;
  --img-filter: none !important;
  --name-color: var(--hd-cacao) !important;
  --card-color: var(--hd-cacao) !important;
  --time-color: var(--hd-ecorce) !important;
  --card-name-size: .9375rem !important;
  --card-text-size: 1rem !important;
  --card-line-height: 1.7 !important;
  --card-time-size: .8125rem !important;
  --card-text-lines: 4 !important;
  /* Flèches et points du carrousel */
  --slider-btn-size: 16px !important;
  --slider-btn-padding: 13px !important;
  --slider-btn-bw: 1px !important;
  --slider-btn-bc: var(--hd-ecorce) !important;
  --slider-btn-bg: transparent !important;
  --slider-btn-color: var(--hd-ecorce) !important;
  --slider-btn-shadow: none !important;
  --slider-dot-size: 8px !important;
  --slider-dot-gap: 12px !important;
  --slider-dot-color: var(--hd-poudre) !important;
  --slider-act-dot-color: var(--hd-cuir) !important;
}

/* ---- Note globale (flux « Rating ») ----
   Maquette : pavé Sable, 5 étoiles Cuir à gauche, la note (Zodiak, Écorce) au-dessus de « Basé sur N avis ».
   Le plugin écrit la note dans le même élément que les étoiles, dessinées en ::before / ::after
   (position absolue, à droite de la note). On les accroche au pavé, à gauche :
   134 px de marge gauche = 20 px + largeur des 5 étoiles (5 × (18 + 2) = 100 px) + 14 px d'écart. */
/* Le pavé se cale à droite du widget (v1.7.19 : le plugin ajoutait 4 px de marge autour) */
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .grw-header-inner { margin: 0 !important; width: 100% !important; align-items: flex-end !important; }
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .grw-header .rpi-row12-center {
  position: relative !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important;
  width: fit-content !important; max-width: 100%; box-sizing: border-box;
  padding: 12px 20px 12px 134px !important; text-align: left !important; border-radius: 12px; background: var(--hd-sable);
}
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .rpi-row12-center > .rpi-stars {
  position: static !important; height: auto !important; padding: 0 !important;
  font-family: 'Zodiak', Georgia, serif !important; font-size: 1.375rem !important; font-weight: 400 !important;
  line-height: 1.35 !important; color: var(--hd-ecorce) !important;
}
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .rpi-row12-center > .rpi-stars::before,
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .rpi-row12-center > .rpi-stars::after { left: 20px !important; right: auto !important; }
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .rpi-row12-center > .wp-google-based {
  margin: 0 !important; font-size: .875rem !important; line-height: 1.35 !important; color: var(--hd-cacao) !important;
}
:is(.hd-avis-note .wp-gr, .wp-gr[data-layout="rating"]) .wp-google-based b { font-weight: 400 !important; }

/* ---- Carrousel (flux « Slider ») ---- */
/* L'en-tête intégré du carrousel fait doublon avec la note : on le masque */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-header { display: none !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-header + .grw-content { flex: 1 0 100% !important; width: 100% !important; }
/* 3 avis visibles sur ordinateur, 2 sur tablette, 1 sur mobile */
/* Le plugin « croque » les bords des avis (masque rond) pour loger ses flèches : inutile, elles sont dessous */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-reviews { -webkit-mask: none !important; mask: none !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review { --col: 3 !important; --gap: 2 !important; }
@media (max-width: 1024px) { :is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review { --col: 2 !important; --gap: 1 !important; } }
@media (max-width: 767px) { :is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review { --col: 1 !important; --gap: 0 !important; } }

/* Carte d'avis (maquette) : guillemets, étoiles, texte, puis l'auteur en bas.
   Fond, arrondi, marges, couleurs et 4 lignes de texte (« lire la suite ») : variables ci-dessus.
   Les guillemets prennent la place du petit logo Google que le plugin pose en ::before. */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review-inner { gap: 14px !important; box-shadow: none !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review-inner::before {
  content: "" !important; order: 0 !important; position: static !important; inset: auto !important; display: block !important;
  flex-shrink: 0; width: 32px !important; height: 24px !important; margin: 0 !important; background: var(--hd-lac) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 32V18C2 9 7 3 16 2M24 32V18c0-9 5-15 14-16'/%3E%3C/svg%3E") no-repeat center / contain !important;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 32V18C2 9 7 3 16 2M24 32V18c0-9 5-15 14-16'/%3E%3C/svg%3E") no-repeat center / contain !important;
}
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review-inner > .rpi-stars { order: 1 !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review-inner > .rpi-flx { order: 2 !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-review-inner > .rpi-row12-center { order: 3 !important; margin-top: auto !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-img { border-radius: 50% !important; box-shadow: 0 0 0 2px var(--hd-poudre) !important; }
:is(.hd-avis .wp-gr, .wp-gr[data-layout="rating"], .wp-gr[data-layout="slider"]) .wp-google-name { font-weight: 500 !important; }
:is(.hd-avis .wp-gr, .wp-gr[data-layout="rating"], .wp-gr[data-layout="slider"]) .wp-more-toggle { color: var(--hd-cuir) !important; font-weight: 500 !important; }

/* Barre de navigation sous les avis (maquette) : flèche, points, flèche, calés à gauche.
   Le plugin place les flèches en absolu de part et d'autre des avis et les points en absolu dessous. */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner {
  flex-wrap: wrap !important; justify-content: flex-start !important; align-items: center !important; gap: 24px 16px;
}
/* Alignement (v1.7.19) : le plugin décale les avis de 22 px (place des flèches, devenue inutile) et chaque carte
   a 7 px de retrait (3 px de marge du slide + 4 px de la carte). On annule le décalage et on élargit la rangée
   de 2 × 7 px : le bord des cartes s'aligne sur le titre et sur les flèches. */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .grw-reviews {
  order: 0 !important; margin: 0 -7px !important; flex: 0 0 calc(100% + 14px) !important; width: calc(100% + 14px) !important; max-width: none !important;
}
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .grw-prev { order: 1 !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .rpi-dots-wrap {
  order: 2 !important; position: static !important; inset: auto !important; flex: 0 1 auto !important; min-width: 0 !important;
  margin: 0 !important; padding: 0 !important;
}
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .grw-next { order: 3 !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .rpi-dots { padding: 4px !important; }

/* Flèches : carré de 44 px à contour Écorce (taille, couleurs : variables ci-dessus), voile au survol */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .rpi-ltgt {
  position: static !important; flex: none !important; margin: 0 !important; border-radius: 8px !important; cursor: pointer;
}
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .grw-content-inner > .rpi-ltgt:is(:hover, :focus-visible) {
  background-color: rgba(107, 79, 69, .1) !important;
  background-color: color-mix(in srgb, var(--hd-ecorce) 10%, transparent) !important;
}

/* Points de pagination en losanges, pleine couleur (le plugin les éclaircit et les rétrécit) */
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .rpi-dots .rpi-dot { border-radius: 0 !important; opacity: 1 !important; transform: rotate(45deg) scale(.75) !important; }
:is(.hd-avis-slider .wp-gr, .wp-gr[data-layout="slider"]) .rpi-dots .rpi-dot.active { transform: rotate(45deg) scale(1) !important; }


/* =========================================================
   11. PHOTOS ET VISUELS EN LOSANGE (À propos, réutilisables)
   Toutes les positions sont reprises de la maquette validée.
   ========================================================= */

/* Photo aux coins arrondis (widget Image) : hd-photo (portrait 4/5),
   + hd-photo-paysage pour le format 5/4 */
.hd-photo img { display: block; width: 100% !important; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.hd-photo-paysage img { aspect-ratio: 5 / 4; }

/* Losange Poudre qui déborde à gauche de la photo (conteneur de la photo) : hd-photo-cadre */
.hd-photo-cadre::before {
  left: -36px; bottom: 48px; z-index: 2; width: 120px; height: 120px;
  background: var(--hd-poudre); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
@media (max-width: 767px) { .hd-photo-cadre::before { left: -20px; width: 80px; height: 80px; } }

/* Badge chiffré posé sur le bas de la photo (conteneur, dans le conteneur de la photo) : hd-badge-chiffre */
.e-con.hd-badge-chiffre {
  position: absolute !important; right: 24px; bottom: -32px; z-index: 2; width: auto !important; max-width: 15rem;
}
@media (max-width: 767px) { .e-con.hd-badge-chiffre { right: 16px; bottom: -24px; } }

/* Portrait en losange (conteneur hd-portrait + widget Image hd-portrait-img)
   Grand losange Brume derrière, photo en losange à 7 % du bord,
   losange Lac en bas à droite et losange Cuir en haut à gauche. */
.e-con.hd-portrait { width: min(100%, 28.75rem) !important; aspect-ratio: 1 / 1; }
.hd-portrait::before {
  left: 0; top: 0; z-index: 0; width: 100%; height: 100%;
  background: var(--hd-brume); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.hd-portrait::after {
  right: -2%; bottom: 12%; z-index: 2; width: 64px; height: 64px; background: var(--hd-lac);
  animation: hdFloat 7s ease-in-out infinite;
}
.hd-portrait-img { width: 86% !important; }
.hd-portrait-img img { display: block; width: 100% !important; height: auto; aspect-ratio: 1 / 1; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.hd-portrait-img::after {
  content: ""; position: absolute; left: -3.5%; top: 1.2%; z-index: 2; width: 28px; height: 28px; background: var(--hd-cuir);
  pointer-events: none; animation: hdFloat 6s ease-in-out 1s infinite;
}
/* + hd-portrait-poudre (Kinésiologie animale) : grand losange Poudre,
   couleurs des petits losanges inversées (Cuir en bas à droite, Lac en haut à gauche) */
.hd-portrait-poudre::before { background: var(--hd-poudre); }
.hd-portrait-poudre::after { background: var(--hd-cuir); }
.hd-portrait-poudre .hd-portrait-img::after { background: var(--hd-lac); }
@media (max-width: 767px) {
  .hd-portrait::after { width: 44px; height: 44px; }
  .hd-portrait-img::after { width: 20px; height: 20px; }
}

/* Patchwork de 3 photos en losange (conteneur hd-patchwork + 3 widgets Image
   hd-patch hd-patch-1 / hd-patch-2 / hd-patch-3) */
.e-con.hd-patchwork { position: relative; width: min(100%, 28.75rem) !important; aspect-ratio: 1 / 1; }
.hd-patchwork > .hd-patch { position: absolute !important; width: 58% !important; margin: 0 !important; }
.hd-patchwork > .hd-patch-1 { left: 0; top: 0; }
.hd-patchwork > .hd-patch-2 { right: 0; top: 21%; }
.hd-patchwork > .hd-patch-3 { left: 0; bottom: 0; }
.hd-patch img { display: block; width: 100% !important; height: auto; aspect-ratio: 1 / 1; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
/* Le clip-path se calcule sur le bord extérieur de l'image : une marge intérieure ou une bordure
   (réglage Images du site ou du widget) rognerait les pointes du losange en octogone. */
.hd-img-losange img,
.hd-portrait-img img,
.hd-patch img { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.hd-patchwork::before {
  right: 12%; bottom: 6%; z-index: 3; width: 22px; height: 22px; background: var(--hd-cuir);
  animation: hdFloat 6.5s ease-in-out infinite;
}
/* + hd-patch-couleur (v1.7.16, Ateliers) : losange de couleur à la place d'une photo.
   Conteneur vide (au lieu du widget Image) avec hd-patch hd-patch-1 / -2 / -3 + hd-patch-couleur ;
   couleur de fond réglée dans le conteneur (Brume, Poudre, Sable sur la page Ateliers).
   Pour remettre une photo plus tard : remplacer le conteneur par un widget Image hd-patch hd-patch-N. */
.hd-patchwork > .e-con.hd-patch-couleur {
  height: auto !important; min-height: 0 !important; aspect-ratio: 1 / 1; padding: 0 !important; clip-path: var(--hd-losange);
}


/* =========================================================
   12. SECTIONS À FOND DÉCORÉ (À propos, réutilisables)
   ========================================================= */

/* Section citation sur fond Brume (conteneur) : hd-citation-fond
   Losange Lin en haut à gauche, losange Poudre en bas à droite. */
.hd-citation-fond::before {
  left: -90px; top: -90px; width: 260px; height: 260px; background: var(--hd-lin); opacity: .55; transform: rotate(45deg);
}
.hd-citation-fond::after {
  right: -60px; bottom: -110px; width: 240px; height: 240px; background: var(--hd-poudre); opacity: .6; transform: rotate(45deg);
}
@media (max-width: 767px) {
  .hd-citation-fond::before { left: -80px; top: -80px; width: 160px; height: 160px; }
  .hd-citation-fond::after { right: -60px; bottom: -80px; width: 150px; height: 150px; }
}

/* Citation précédée de guillemets Lac (widget Titre) : hd-citation */
.hd-citation .elementor-heading-title::before {
  content: ""; display: block; width: 44px; height: 34px; margin: 0 auto 28px; background: var(--hd-lac);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 32V18C2 9 7 3 16 2M24 32V18c0-9 5-15 14-16'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 34' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M2 32V18C2 9 7 3 16 2M24 32V18c0-9 5-15 14-16'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* + hd-citation-gauche : guillemets calés à gauche, un peu plus petits (citation dans une carte) */
.hd-citation-gauche .elementor-heading-title::before { width: 40px; height: 30px; margin: 0 0 18px; }

/* Section sombre Cacao (conteneur) : hd-sombre
   Deux losanges en contour Écorce qui débordent à droite. */
.hd-sombre::before {
  right: -120px; top: 80px; width: 320px; height: 320px; border: 1px solid var(--hd-ecorce); transform: rotate(45deg);
}
.hd-sombre::after {
  right: -40px; top: 160px; width: 160px; height: 160px; border: 1px solid var(--hd-ecorce); transform: rotate(45deg);
}
@media (max-width: 767px) {
  .hd-sombre::before { right: -140px; top: 40px; width: 220px; height: 220px; }
  .hd-sombre::after { right: -70px; top: 95px; width: 110px; height: 110px; }
}

/* Numéro de valeur ou d'étape suivi d'un trait et d'un losange Cuir (widget Titre) : hd-valeur-num
   Le losange est accroché au titre lui-même (et non au widget), marge du <p> remise à zéro,
   pour rester centré sur la ligne. */
.hd-valeur-num .elementor-heading-title {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding-right: 26px;
}
.hd-valeur-num .elementor-heading-title::after { content: ""; flex: 1; height: 1px; background: var(--hd-ecorce); }
.hd-valeur-num .elementor-heading-title::before {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  background: var(--hd-cuir); transform: rotate(45deg); pointer-events: none;
}

/* Grille de compétences à puces losange (Liste d'icônes) : hd-competences
   3 par ligne sur ordinateur, 2 sur tablette, 1 sur mobile. */
.hd-competences .elementor-icon-list-items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; margin: 0 !important; padding: 0; }
.hd-competences .elementor-icon-list-items .elementor-icon-list-item {
  display: flex !important; align-items: center; gap: 14px; margin: 0 !important; padding: 20px 0 !important;
  border-bottom: 1px solid var(--hd-poudre);
}
.hd-competences .elementor-icon-list-item::before {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; background: var(--hd-lac); transform: rotate(45deg);
}
@media (max-width: 1024px) { .hd-competences .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (max-width: 767px) { .hd-competences .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); } }
/* + hd-competences-2 : liste serrée sur 2 colonnes, petites puces Cuir (liste des mutuelles, Infos & contact).
   Placée après les règles responsive de la base, d'où sa propre règle mobile. */
.hd-competences-2 .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.hd-competences-2 .elementor-icon-list-items .elementor-icon-list-item { align-items: baseline; gap: 10px; padding: 9px 0 !important; }
.hd-competences-2 .elementor-icon-list-item::before { width: 6px; height: 6px; background: var(--hd-cuir); transform: translateY(-2px) rotate(45deg); }
@media (max-width: 767px) { .hd-competences-2 .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau d'appel à l'action sur fond Lac (conteneur) : hd-bandeau-cta
   Losange Lin translucide en haut à droite, losange Poudre en bas. */
.hd-bandeau-cta::before {
  right: -70px; top: -70px; width: 220px; height: 220px; background: var(--hd-lin); opacity: .08; transform: rotate(45deg);
}
.hd-bandeau-cta::after {
  right: 120px; bottom: -40px; width: 90px; height: 90px; background: var(--hd-poudre); opacity: .25; transform: rotate(45deg);
}


/* =========================================================
   13. EN-TÊTE (modèle UAE « En-tête »)
   Conteneur hd-entete : widget Image hd-entete-logo, widget Navigation Menu
   d'UAE hd-nav, conteneur hd-entete-reseaux (visible seulement menu ouvert).
   - Le widget UAE dessine burger, croix et flèches en Font Awesome,
     désactivé sur le site : ces icônes sont redessinées ici en CSS.
   - Le plugin pose ses couleurs et marges avec des sélecteurs forts :
     les !important de cette section sont voulus.
   - La classe hd-scrolled est ajoutée au <body> au défilement par le petit
     script du functions.php (en-tête réduit).
   ========================================================= */

.hd-nav {
  --hd-masque-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --hd-masque-burger: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E");
  --hd-masque-croix: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

/* En-tête fixe, posé sur le conteneur hd-entete lui-même : on ne dépend plus
   de la balise qu'UAE place autour du modèle (#masthead n'était pas visé sur ce site).
   La marge haute du <body> (classe ehf-header posée par UAE) réserve sa place ;
   scroll-padding-top évite que les ancres (#rdv, #faq…) passent sous l'en-tête. */
.e-con.hd-entete { position: fixed !important; top: 0; left: 0; right: 0; z-index: 100; }
body.ehf-header { padding-top: 6rem; }
html { scroll-padding-top: 5.5rem; }
.admin-bar .e-con.hd-entete { top: 32px; }
@media (max-width: 1024px) {
  body.ehf-header { padding-top: 4.5rem; }
}
@media (max-width: 782px) { .admin-bar .e-con.hd-entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .e-con.hd-entete { top: 0; } }

/* Barre d'en-tête : 96 px en haut de page, 68 px au défilement, 72 px sur tablette et mobile.
   Hauteur fixée (height, et non min-height) : sinon la hauteur réelle suivait celle
   du contenu et ne se réduisait pas au défilement. */
.e-con.hd-entete {
  height: 6rem; min-height: 0 !important; box-sizing: border-box; border-bottom: 1px solid transparent;
  transition: height .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.e-con.hd-entete > .e-con-inner { height: 100%; min-height: 0 !important; position: static; }
.hd-scrolled .e-con.hd-entete {
  height: 4.25rem; border-bottom-color: var(--hd-filet-sable); box-shadow: 0 6px 24px rgba(58, 44, 42, .05);
  background-color: rgba(249, 246, 240, .94) !important;
}
@media (max-width: 1024px) {
  .e-con.hd-entete,
  .hd-scrolled .e-con.hd-entete { height: 4.5rem; }
}

/* Logo (widget Image, logo SVG d'Hortense) */
.hd-entete-logo img { display: block; width: auto !important; height: 3.5rem; max-width: 100% !important; object-fit: contain; object-position: left center; transition: height .3s ease; }
/* Le logo peut rétrécir sur les très petits écrans ; le burger, jamais */
.elementor-widget.hd-entete-logo { flex-shrink: 1 !important; min-width: 0; }
.hd-scrolled .hd-entete-logo img { height: 2.5rem; }
@media (max-width: 1024px) {
  .hd-entete-logo img,
  .hd-scrolled .hd-entete-logo img { height: 2.75rem; }
}

/* Liens du menu : Texte courant en 500, Cacao, Écorce au survol et sur la sous-page en cours,
   Cuir sur la rubrique principale en cours (Cuir sur Lin : contraste 4,7:1 ; sur le fond Sable
   des sous-pages en cours, il tomberait à 4,1:1, d'où l'Écorce pour celles-ci) */
.hd-nav .hfe-nav-menu a {
  font-family: var(--e-global-typography-text-font-family), system-ui, sans-serif !important;
  font-size: 1rem !important; line-height: 1.2 !important; letter-spacing: 0 !important;
  color: var(--hd-cacao) !important; background: none !important; transition: color .2s ease;
}
.hd-nav .hfe-nav-menu a.hfe-menu-item { font-weight: 500 !important; }
.hd-nav .hfe-nav-menu a:hover,
.hd-nav .hfe-nav-menu a:focus-visible,
.hd-nav .hfe-nav-menu li:is(.current-menu-item, .current-menu-ancestor) > a,
.hd-nav .hfe-nav-menu li:is(.current-menu-item, .current-menu-ancestor) > .hfe-has-submenu-container > a { color: var(--hd-ecorce) !important; }
.hd-nav .hfe-nav-menu > li:is(.current-menu-item, .current-menu-ancestor) > a.hfe-menu-item,
.hd-nav .hfe-nav-menu > li:is(.current-menu-item, .current-menu-ancestor) > .hfe-has-submenu-container > a.hfe-menu-item { color: var(--hd-cuir) !important; }

/* Flèche des sous-menus (redessinée : Font Awesome désactivé) */
.hd-nav .sub-arrow > * { display: none !important; }
.hd-nav .sub-arrow { display: inline-flex !important; align-items: center; justify-content: center; margin-left: 8px; padding: 0 !important; }
.hd-nav .sub-arrow::after {
  content: ""; width: 14px; height: 14px; background: currentColor; transition: transform .2s ease;
  -webkit-mask: var(--hd-masque-chevron) center / contain no-repeat;
          mask: var(--hd-masque-chevron) center / contain no-repeat;
}

/* ---- Ordinateur ---- */
@media (min-width: 1025px) {
  .hd-nav .hfe-nav-menu { gap: 2.5rem; }
  .hd-nav .hfe-nav-menu > li.menu-item { margin: 0 !important; }
  .hd-nav .hfe-nav-menu > li > a.hfe-menu-item,
  .hd-nav .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item { padding: 10px 0 !important; }

  /* Losange Cuir sous la rubrique en cours (centré sur le texte, hors flèche) */
  .hd-nav .hfe-nav-menu > li:is(.current-menu-item, .current-menu-ancestor)::after {
    content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; margin-left: -3px;
    background: var(--hd-cuir); transform: rotate(45deg); pointer-events: none;
  }
  .hd-nav .hfe-nav-menu > li.menu-item-has-children:is(.current-menu-item, .current-menu-ancestor)::after { margin-left: -14px; }

  /* Sous-menu : carte blanche à filet Sable */
  .hd-nav .hfe-nav-menu .sub-menu {
    top: calc(100% + 14px) !important; left: -22px !important; width: 16.5rem !important; padding: 10px !important;
    background: var(--hd-blanc) !important; border: 1px solid var(--hd-filet-sable) !important; border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(58, 44, 42, .08) !important;
  }
  /* Pont invisible : le sous-menu ne se referme pas en traversant l'écart */
  .hd-nav .hfe-nav-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .hd-nav .hfe-nav-menu .sub-menu li { margin: 0 !important; border: 0 !important; }
  .hd-nav .hfe-nav-menu .sub-menu a {
    display: flex !important; align-items: center; gap: 0; padding: 12px 14px !important; border: 0 !important; border-radius: 8px;
  }
  .hd-nav .hfe-nav-menu .sub-menu a:hover { background: var(--hd-lin) !important; }
  .hd-nav .hfe-nav-menu .sub-menu li.current-menu-item > a { background: var(--hd-sable) !important; }
}

/* Sous-pages alignées à gauche : l'alignement à droite du menu (réglage du widget)
   s'appliquait aussi aux liens du sous-menu et repoussait leur texte loin de la puce. */
.hd-nav .hfe-nav-menu .sub-menu a { justify-content: flex-start !important; text-align: left !important; }

/* Puces losange des sous-pages (ordinateur et mobile)
   UAE positionne déjà un ::before en absolu sur ses liens : on le remet dans le flux
   (static + inline-block), avec sa propre marge, pour qu'il ne passe plus sous le texte. */
.hd-nav .hfe-nav-menu .sub-menu a::before {
  content: "" !important; position: static !important; inset: auto !important; display: inline-block !important;
  flex-shrink: 0; width: 7px !important; height: 7px !important; margin: 0 12px 0 0 !important; vertical-align: middle;
  background: var(--hd-lac) !important; border: 0 !important; opacity: 1 !important; transform: rotate(45deg) !important;
}
.hd-nav .hfe-nav-menu .sub-menu li.current-menu-item > a::before { background: var(--hd-cuir) !important; }

/* ---- Tablette et mobile : burger et panneau ---- */
@media (max-width: 1024px) {
  /* Burger, puis croix quand le menu est ouvert */
  .hd-nav .hfe-nav-menu__toggle {
    display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important;
    border: 1px solid var(--hd-filet-sable) !important; border-radius: 10px !important;
    background: transparent !important; color: var(--hd-cacao) !important; cursor: pointer;
  }
  .hd-nav .hfe-nav-menu__toggle > * { display: none !important; }
  /* Burger calé à droite, qui suit la largeur de l'écran. Le menu replié restait
     dans le flux avec la largeur du menu horizontal et repoussait le burger hors
     de l'écran : le panneau est sorti du flux et se place sous l'en-tête. */
  .elementor-widget.hd-nav { margin-left: auto !important; flex-shrink: 0 !important; width: auto !important; max-width: none; }
  .hd-nav,
  .hd-nav > .elementor-widget-container { display: flex !important; flex-direction: column; align-items: flex-end !important; position: static !important; }
  .hd-nav .hfe-nav-menu__toggle { flex-shrink: 0; margin: 0 0 0 auto !important; }
  .hd-nav .hfe-nav-menu__toggle + nav {
    position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important;
    width: auto !important; margin: 0 !important;
  }
  .hd-nav .hfe-nav-menu__toggle::before {
    content: ""; width: 22px; height: 22px; background: currentColor;
    -webkit-mask: var(--hd-masque-burger) center / contain no-repeat;
            mask: var(--hd-masque-burger) center / contain no-repeat;
  }
  .hd-nav .hfe-nav-menu__toggle.hfe-active-menu { background: var(--hd-sable) !important; border-color: var(--hd-ecorce) !important; }
  .hd-nav .hfe-nav-menu__toggle.hfe-active-menu::before {
    -webkit-mask-image: var(--hd-masque-croix);
            mask-image: var(--hd-masque-croix);
  }

  /* Panneau Lin sous l'en-tête, sur toute la hauteur de l'écran */
  .hd-nav .hfe-active-menu + nav {
    box-sizing: border-box;
    min-height: calc(100dvh - 4.5rem); max-height: calc(100dvh - 4.5rem) !important; overflow-y: auto !important;
    padding: 8px 20px 10rem !important; background: var(--hd-lin) !important;
    border-top: 1px solid var(--hd-filet-sable) !important; box-shadow: none !important; z-index: 10 !important;
  }
  /* La page ne défile plus derrière le menu ouvert */
  html:has(.hd-nav .hfe-active-menu) { overflow: hidden; }

  /* La liste garde le retour à la ligne du menu horizontal : dans un panneau
     pleine hauteur, la place libre était répartie entre les rubriques. On empile. */
  .hd-nav nav .hfe-nav-menu {
    display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important;
    justify-content: flex-start !important; align-content: flex-start !important; align-items: stretch !important;
    height: auto !important; min-height: 0 !important; gap: 0 !important;
  }
  .hd-nav nav .hfe-nav-menu > li { flex: none !important; margin: 0 !important; border-bottom: 1px solid var(--hd-filet-sable) !important; }
  .hd-nav nav .hfe-nav-menu > li > a.hfe-menu-item,
  .hd-nav nav .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item {
    display: flex !important; align-items: center; gap: 10px; min-height: 58px; padding: 0 !important; border: 0 !important;
    font-size: 1.125rem !important;
  }
  /* Rubrique en cours : losange Cuir devant le texte */
  .hd-nav nav .hfe-nav-menu > li:is(.current-menu-item, .current-menu-ancestor) > a.hfe-menu-item::before,
  .hd-nav nav .hfe-nav-menu > li:is(.current-menu-item, .current-menu-ancestor) > .hfe-has-submenu-container > a.hfe-menu-item::before {
    content: ""; flex-shrink: 0; width: 6px; height: 6px; background: var(--hd-cuir); transform: rotate(45deg);
  }

  /* Flèche du sous-menu : bouton séparé de 44 px, le texte reste un lien vers la page */
  .hd-nav nav .sub-arrow {
    width: 44px; height: 44px; margin-left: auto !important; border-radius: 8px; background: var(--hd-sable); color: var(--hd-ecorce);
  }
  .hd-nav nav .sub-arrow::after { width: 18px; height: 18px; }
  .hd-nav nav li.sub-menu-active .sub-arrow::after { transform: rotate(180deg); }

  /* Sous-pages : en retrait, sans carte */
  .hd-nav nav .sub-menu {
    position: static !important; width: auto !important; padding: 4px 0 14px 4px !important;
    background: none !important; border: 0 !important; box-shadow: none !important;
  }
  .hd-nav nav .sub-menu li { margin: 0 !important; border: 0 !important; }
  .hd-nav nav .sub-menu a {
    display: flex !important; align-items: center; gap: 0; min-height: 44px; padding: 0 12px !important; margin-left: -12px;
    border: 0 !important; border-radius: 8px; font-weight: 400 !important;
  }
  .hd-nav nav .sub-menu li.current-menu-item > a { background: var(--hd-sable) !important; }
}

/* Réseaux en bas du panneau : masqués, sauf menu ouvert sur tablette et mobile.
   Le bouton RDV fixe (pied de page, z-index fort) reste au-dessus. */
.e-con.hd-entete-reseaux { display: none !important; }
@media (max-width: 1024px) {
  .hd-entete:has(.hfe-active-menu) .e-con.hd-entete-reseaux {
    display: flex !important; position: fixed; left: 20px; bottom: 28px; z-index: 20;
  }
  /* Losange en contour, en bas à droite du panneau */
  .hd-entete:has(.hfe-active-menu)::after {
    position: fixed; right: -70px; bottom: -70px; z-index: 19; width: 200px; height: 200px;
    border: 1px solid var(--hd-poudre-fonce); transform: rotate(45deg);
  }
}


/* =========================================================
   14. PIED DE PAGE (modèle UAE « Pied de page »)
   Les réseaux sociaux du pied de page réutilisent hd-reseau (section 2).
   ========================================================= */

/* Coordonnées : liens e-mail et téléphone en Lin (Liste d'icônes) : hd-coordonnees
   Les liens prennent sinon la couleur des liens des Réglages du site (Cuir, survol
   Cuir foncé), avec un sélecteur de même force chargé après le thème : d'où le
   .elementor-widget en tête de sélecteur. La couleur reste Lin au survol. */
.elementor-widget.hd-coordonnees a,
.elementor-widget.hd-coordonnees a .elementor-icon-list-text,
.elementor-widget.hd-coordonnees a:is(:hover, :focus-visible),
.elementor-widget.hd-coordonnees a:is(:hover, :focus-visible) .elementor-icon-list-text { color: var(--hd-lin); }

/* Bouton « Prendre rendez-vous » fixe, visible sur tout le site (widget Bouton, dans le pied de page) : hd-btn-rdv (v1.7.14)
   Couleurs (fond Cuir, survol Cuir foncé, texte Blanc), arrondi 8 px et marges intérieures réglés dans le widget.
   Le CSS le fixe en bas à droite de l'écran, ajoute l'ombre et dessine le petit losange Lin devant le libellé
   (Hortense ne modifie que le texte et le lien).
   z-index 110 : au-dessus de l'en-tête (100), donc aussi du panneau du menu mobile ouvert.
   Ne pas poser d'animation d'entrée (Motion Effects) sur le widget ni sur ses conteneurs :
   un transform sur un parent ferait défiler le bouton avec la page au lieu de le fixer. */
.elementor-widget.hd-btn-rdv {
  position: fixed !important; right: 24px; bottom: 24px; z-index: 110;
  width: auto !important; max-width: calc(100vw - 32px); margin: 0 !important;
}
.hd-btn-rdv .elementor-button { box-shadow: 0 6px 20px rgba(58, 44, 42, .22); transition: background-color .2s ease; }
.hd-btn-rdv .elementor-button-text { display: inline-flex; align-items: center; gap: 10px; }
.hd-btn-rdv .elementor-button-text::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; background: var(--hd-lin); clip-path: var(--hd-losange);
}
.hd-btn-rdv .elementor-button:focus-visible { outline: 2px solid var(--hd-lac); outline-offset: 3px; }
@media (max-width: 767px) { .elementor-widget.hd-btn-rdv { right: 16px; bottom: 16px; } }

/* Bannière de cookies CookieYes (version gratuite : couleurs des boutons non réglables) (v1.7.21)
   Aucune classe à poser : on vise les classes du plugin (.cky-btn-…).
   Le plugin écrit ses couleurs en style en ligne sur chaque bouton : !important obligatoire.
   « Accepter » (et « Tout accepter » du panneau de personnalisation) = bouton principal Lac, survol Lac foncé ;
   « Refuser », « Personnaliser », « Enregistrer mes préférences » = fond Lin, contour et texte Lac, survol Brume.
   Contrastes : Blanc sur Lac 5,6:1, Lac sur Lin 5,3:1. L'opacité réduite du plugin au survol est annulée. */
.cky-btn { opacity: 1 !important; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.cky-btn-accept {
  background-color: var(--hd-lac) !important; border: 1px solid var(--hd-lac) !important; color: var(--hd-blanc) !important;
}
.cky-btn-accept:hover,
.cky-btn-accept:focus-visible { background-color: var(--hd-lac-fonce) !important; border-color: var(--hd-lac-fonce) !important; }
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences,
.cky-btn-save {
  background-color: var(--hd-lin) !important; border: 1px solid var(--hd-lac) !important; color: var(--hd-lac) !important;
}
.cky-btn-reject:hover, .cky-btn-reject:focus-visible,
.cky-btn-customize:hover, .cky-btn-customize:focus-visible,
.cky-btn-preferences:hover, .cky-btn-preferences:focus-visible,
.cky-btn-save:hover, .cky-btn-save:focus-visible { background-color: var(--hd-brume) !important; }
.cky-btn:focus-visible { outline: 2px solid var(--hd-lac); outline-offset: 2px; }


/* =========================================================
   15. MON ACCOMPAGNEMENT (réutilisables sur les autres pages)
   Hero : hd-patchwork (section 11). Citation : hd-carte-losange + hd-citation hd-citation-gauche.
   Groupes numérotés : hd-valeur-num. Bandeau sportif : hd-sombre. Bloc Horse'paire
   et bandeau RDV : hd-bandeau-cta. Seuls les éléments ci-dessous sont nouveaux.
   ========================================================= */

/* Bouton pastille, icône Lac (widget Bouton) : hd-btn-pilule
   Fond Lin, bordure Filet Sable, arrondi et survol Brume réglés dans le widget ; l'icône reste Lac. */
.hd-btn-pilule .elementor-button-icon { color: var(--hd-lac); }
.hd-btn-pilule .elementor-button-icon svg { width: 20px; height: 20px; }

/* Rangée de cartes qui passent à la ligne (conteneur) : hd-cartes
   Chaque carte (conteneur enfant) mesure au moins 21 rem et partage la largeur restante. */
.e-con.hd-cartes > .e-con { flex: 1 1 21rem; min-width: 0; }
/* + hd-cartes-etroites : 4 tuiles par ligne sur ordinateur, 2 sur tablette, 1 sur mobile (Accès, Infos & contact) */
.e-con.hd-cartes-etroites > .e-con { flex-basis: 14rem; }
@media (max-width: 1024px) { .e-con.hd-cartes-etroites > .e-con { flex-basis: calc(50% - 20px); } }
@media (max-width: 767px) { .e-con.hd-cartes-etroites > .e-con { flex-basis: 100%; } }

/* Carte de prestation (conteneur, fond Lin et arrondi réglés dans le widget) : hd-carte-presta
   Le bouton se cale en bas : les boutons d'une même rangée restent alignés. */
.hd-carte-presta > .elementor-widget-button { margin-top: auto; }

/* Liste « libellé / information » (Éditeur de texte) : hd-details
   Une ligne par paragraphe, libellé en gras : <p><strong>Durée</strong> 1 heure</p>.
   Le gras est rendu en Écorce, graisse normale. Filet Poudre au-dessus. */
.hd-details { border-top: 1px solid var(--hd-poudre); padding-top: 20px; }
.hd-details p { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 16px; margin: 0 0 10px; }
.hd-details p:last-child { margin-bottom: 0; }
.hd-details strong { font-weight: 400; color: var(--hd-ecorce); }
@media (max-width: 767px) { .hd-details p { grid-template-columns: 6.5rem 1fr; column-gap: 12px; } }

/* Séparateur « ou » dans un losange Lac (widget Titre) : hd-ou
   Losange = carré tourné derrière le texte (pas de nouvelle copie du clip-path). */
.hd-ou .elementor-heading-title {
  position: relative; z-index: 0; display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto;
}
.hd-ou .elementor-heading-title::before {
  content: ""; position: absolute; inset: 8px; z-index: -1; background: var(--hd-lac); transform: rotate(45deg);
}
/* + hd-ou-brume (v1.7.13, Horse'paire) : losange Brume, numéros des axes (couleur du chiffre réglée dans le widget) ;
   + hd-ou-cuir : losange Cuir, première étape du déroulé ;
   + hd-ou-gauche : losange calé à gauche au lieu d'être centré (numéro en tête de carte ou d'étape). */
.hd-ou-brume .elementor-heading-title::before { background: var(--hd-brume); }
.hd-ou-cuir .elementor-heading-title::before { background: var(--hd-cuir); }
.hd-ou-gauche .elementor-heading-title { margin: 0; }

/* Étape reliée à la suivante (widget Icône rond) : hd-parcours-icone
   Le widget s'étire sur la hauteur de son étape : trait Lac sous l'icône, pointe vers le bas. */
.elementor-widget.hd-parcours-icone { position: relative; align-self: stretch !important; }
.hd-parcours-icone::after {
  content: ""; position: absolute; left: 50%; top: 58px; bottom: 8px; width: 1.5px; margin-left: -.75px;
  background: var(--hd-lac); pointer-events: none;
}
.hd-parcours-icone::before {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 8px; height: 8px; margin-left: -4px;
  border-right: 1.5px solid var(--hd-lac); border-bottom: 1.5px solid var(--hd-lac); transform: rotate(45deg);
  pointer-events: none;
}

/* Tuile cliquable vers une ancre ou une page (conteneur en lien) : hd-tuile
   Fond, arrondi et couleurs réglés dans le widget ; légère montée au survol. */
.hd-tuile { text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.hd-tuile:hover,
.hd-tuile:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58, 44, 42, .08); }


/* =========================================================
   16. INFOS & CONTACT
   Réutilise : hd-btn-pilule (ancres du hero), hd-patchwork (photos du cabinet),
   hd-cartes + hd-cartes-etroites (tuiles Accès), hd-pastilles + hd-pastilles-sable
   (paiement), hd-competences + hd-competences-2 (mutuelles), hd-icone-losange
   (mention médicale), hd-faq, hd-zone-amelia, hd-carte-losange + hd-coin-bas-gauche
   (carte Contact). Seuls les éléments ci-dessous sont nouveaux.
   Mon accompagnement (v1.7.11) : variante hd-photo-voile-colonne (bloc Horse'paire).
   Le formulaire de contact (widget Shortcode Fluent Forms dans le conteneur hd-formulaire)
   est mis en forme en section 19 (v1.7.20).
   ========================================================= */

/* Section à losange en contour (conteneur en boîte) : hd-deco-contour
   Grand losange Poudre en contour en haut à droite + petit losange Cuir (hero).
   + hd-deco-contour-gauche : grand losange Filet Sable à gauche, sans petit losange (réservation). */
.hd-deco-contour::before {
  right: -90px; top: 60px; width: 260px; height: 260px; border: 1px solid var(--hd-poudre); transform: rotate(45deg);
}
.hd-deco-contour::after {
  right: 70px; top: 220px; width: 18px; height: 18px; background: var(--hd-cuir); transform: rotate(45deg);
}
.hd-deco-contour-gauche::before { right: auto; left: -100px; top: 80px; width: 240px; height: 240px; border-color: var(--hd-filet-sable); }
.hd-deco-contour-gauche::after { display: none; }
@media (max-width: 767px) {
  .hd-deco-contour::before { right: -130px; top: 24px; width: 180px; height: 180px; }
  .hd-deco-contour::after { right: 24px; top: 150px; width: 14px; height: 14px; }
  .hd-deco-contour-gauche::before { right: auto; left: -120px; top: 32px; width: 170px; height: 170px; }
}

/* Photo aux coins arrondis qui remplit son conteneur, losange Lin translucide
   posé par-dessus en bas à droite (conteneur + widget Image) : hd-photo-voile
   Arrondi et couleur de fond (visible tant qu'il n'y a pas de photo) réglés dans le widget.
   Ordinateur : la photo prend la hauteur restante de la colonne (Taille flex « Grandir »).
   Tablette : bandeau 16/9 (pleine largeur) ; mobile : format 4/3. */
.e-con.hd-photo-voile { position: relative; overflow: hidden; min-height: 15rem; }
.hd-photo-voile::after {
  right: -36px; bottom: -36px; z-index: 2; width: 96px; height: 96px; background: var(--hd-lin); opacity: .5; transform: rotate(45deg);
}
.hd-photo-voile > .elementor-widget-image { flex: 1 1 auto; align-self: stretch; width: 100% !important; margin: 0 !important; }
.hd-photo-voile > .elementor-widget-image,
.hd-photo-voile > .elementor-widget-image > .elementor-widget-container { display: flex; height: 100%; }
.hd-photo-voile img {
  display: block; width: 100% !important; height: 100% !important; min-height: 15rem; max-width: none !important;
  object-fit: cover; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
@media (max-width: 1024px) {
  .e-con.hd-photo-voile { min-height: 0; }
  .hd-photo-voile img { height: auto !important; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) { .hd-photo-voile img { aspect-ratio: 4 / 3; } }
/* + hd-photo-voile-colonne (v1.7.11, Mon accompagnement) : sur tablette, la photo garde toute la hauteur
   de sa colonne au lieu de passer en bandeau 16/9 (bloc photo + texte qui reste en ligne : Horse'paire).
   Mobile inchangé (4/3, comme la base). Placée après les règles responsive de la base. */
@media (min-width: 768px) and (max-width: 1024px) {
  .e-con.hd-photo-voile-colonne { min-height: 15rem; }
  .hd-photo-voile-colonne img { height: 100% !important; min-height: 15rem; aspect-ratio: auto; }
}

/* Ligne du tableau des tarifs (conteneur + 3 widgets : Éditeur de texte, Titre, Titre) : hd-tarif
   Prestation | Durée | Tarif. La précision sous la prestation s'écrit dans le même paragraphe,
   dans une balise <small> : <p>Séance animal <small>Chien, chat</small></p>.
   + hd-tarif-entete sur la ligne d'en-tête (Prestation, Durée, Tarif) : sans filet, masquée sur mobile.
   Mobile : la prestation prend toute la ligne, durée et tarif en dessous (tarif calé à droite,
   sur deux lignes si besoin ; la durée reste sur une ligne). */
.e-con.hd-tarif {
  display: grid !important; grid-template-columns: minmax(0, 1fr) 8.5rem 10.5rem; column-gap: 16px; row-gap: 4px;
  align-items: baseline; padding: 16px 0 !important; border-top: 1px solid var(--hd-filet-sable);
}
.hd-tarif > .elementor-element { width: auto !important; max-width: none; min-width: 0; margin: 0 !important; }
.hd-tarif > .elementor-element:last-child { justify-self: end; text-align: right; }
.hd-tarif p { margin: 0; }
.hd-tarif > .elementor-widget-text-editor:first-child p { font-weight: 500; }
.hd-tarif small { display: block; margin-top: 2px; font-size: .875rem; font-weight: 400; line-height: 1.4; color: var(--hd-ecorce); }
.e-con.hd-tarif-entete { padding-top: 0 !important; border-top: 0; }
.e-con.hd-tarif:last-child { padding-bottom: 0 !important; }
@media (max-width: 767px) {
  .e-con.hd-tarif { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; padding: 14px 0 !important; }
  .hd-tarif > .elementor-element:first-child { grid-column: 1 / -1; }
  .hd-tarif > .elementor-element:nth-child(2) .elementor-heading-title { white-space: nowrap; }
  .e-con.hd-tarif-entete { display: none !important; }
  .e-con.hd-tarif-entete + .e-con.hd-tarif { padding-top: 0 !important; border-top: 0; }
}

/* Texte long qui peut passer à la ligne n'importe où (widget Titre) : hd-coupure
   Ex. l'adresse e-mail, qui dépasserait de sa carte sur les petits écrans. */
.hd-coupure .elementor-heading-title { overflow-wrap: anywhere; }

/* Étapes numérotées dans un losange Brume (Liste d'icônes, sans icône) : hd-etapes
   Le numéro est calculé automatiquement (1, 2, 3…) : Hortense ne saisit que le texte. */
.hd-etapes .elementor-icon-list-items { counter-reset: hd-etape; display: flex !important; flex-direction: column; gap: 16px; margin: 0 !important; padding: 0; }
.hd-etapes .elementor-icon-list-items .elementor-icon-list-item {
  counter-increment: hd-etape; display: flex !important; align-items: flex-start; gap: 14px; margin: 0 !important; padding: 0 !important;
}
.hd-etapes .elementor-icon-list-item::after { display: none !important; }
.hd-etapes .elementor-icon-list-icon { display: none; }
.hd-etapes .elementor-icon-list-text { padding: 0 !important; }
.hd-etapes .elementor-icon-list-item::before {
  content: counter(hd-etape); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-top: -3px; background: var(--hd-brume); clip-path: var(--hd-losange);
  font-size: .8125rem; font-weight: 500; line-height: 1; color: var(--hd-lac-fonce);
}


/* =========================================================
   17. ATELIERS (v1.7.12)
   Réutilise : hd-deco-contour + hd-patchwork + hd-btn-pilule (hero), hd-valeur-num
   (groupes 01 à 03), hd-carte-losange + hd-citation hd-citation-gauche, hd-photo-voile,
   hd-pastilles + hd-pastilles-sable, hd-cartes (+ hd-cartes-etroites), hd-carte-presta,
   hd-icone-losange, hd-sombre, hd-btn-double, hd-tuile, hd-bandeau-cta, hd-zone-amelia.
   Seuls les éléments ci-dessous sont nouveaux, plus la variante hd-icone-losange-lac
   (section 2, après hd-icone-losange-poudre).
   ========================================================= */

/* Acronyme P.A.U.S.E (conteneur hd-pause + 5 conteneurs « carte ») : hd-pause
   Ordinateur : 5 cartes en ligne (lettre au-dessus, mot et phrase centrés).
   Tablette et mobile : une carte par ligne, lettre à gauche ; le sens « ligne » de la carte
   et l'alignement à gauche des textes sont réglés dans les widgets (onglet tablette). */
.e-con.hd-pause { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.e-con.hd-pause > .e-con { width: auto !important; min-width: 0; }
@media (max-width: 1024px) { .e-con.hd-pause { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Lettre dans un losange (widget Titre ; couleur de la lettre réglée dans le widget) : hd-pause-lettre
   Losange Brume par défaut ; + hd-pause-lettre-poudre (losange Poudre),
   + hd-pause-lettre-cuir (losange Cuir, sur la carte Lac du « E »). */
.hd-pause-lettre .elementor-heading-title {
  display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; margin: 0 auto;
  background: var(--hd-brume); clip-path: var(--hd-losange);
}
@media (max-width: 1024px) { .hd-pause-lettre .elementor-heading-title { width: 3.5rem; height: 3.5rem; margin: 0; } }
.hd-pause-lettre-poudre .elementor-heading-title { background: var(--hd-poudre); }
.hd-pause-lettre-cuir .elementor-heading-title { background: var(--hd-cuir); }

/* Liste d'événements Amelia (widget Shortcode [ameliaeventslistbooking]) : hd-amelia
   Classes relevées le 29/10 sur Amelia 2.4.14 (liste d'événements 2.0, page de test /amelia/) :
   .am-ec = un événement ; .am-ec__period (date + heure), .am-ec__info (nom, lieu, statut, places),
   .am-ec__actions (prix + bouton « En savoir plus », qui ouvre la fenêtre d'inscription).
   - Amelia préfixe ses règles par « .amelia-v2-booking #amelia-container » (un identifiant) :
     on reprend ce préfixe derrière .hd-amelia pour passer devant, sans !important.
   - Ses variables (couleurs, police, largeur) sont posées en style en ligne sur #amelia-container :
     !important obligatoire sur celles-ci.
   - Sous 500 px de large, Amelia ajoute .am-rw-500 et passe la carte en colonne.
   - La fenêtre d'inscription (.am-dialog-popup) est ajoutée en bas de page, hors de hd-amelia :
     ses couleurs et sa police se règlent dans Amelia > Personnaliser.
   À vérifier après import : le message d'Amelia quand aucun événement n'est programmé
   (classe pas encore relevée, non stylé ici) et la couleur du texte du bouton. */
.hd-amelia .amelia-v2-booking #amelia-container {
  --am-c-primary: var(--hd-cuir) !important;
  --am-c-btn-prim: var(--hd-cuir) !important;
  --am-c-btn-prim-text: var(--hd-blanc) !important;
  --am-c-main-text: var(--hd-cacao) !important;
  --am-c-main-heading-text: var(--hd-ecorce) !important;
  --am-c-card-text: var(--hd-cacao) !important;
  --am-c-card-border: var(--hd-poudre) !important;
  --am-font-family: 'DM Sans', system-ui, sans-serif !important;
  --am-mw-main: 100% !important;
  width: 100%; max-width: 100% !important;
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec {
  align-items: center; padding: 22px 24px; background: var(--hd-blanc);
  border: 1px solid var(--hd-poudre); border-radius: 14px; box-shadow: none;
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec.am-rw-500 { align-items: flex-start; padding: 20px 18px; }
/* Date et heure dans un pavé Sable */
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 5.25rem; margin-right: 28px; padding: 12px 10px; border-radius: 12px; background: var(--hd-sable);
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period-date { justify-content: center; column-gap: 4px; margin: 0; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period-date__day {
  width: 100%; text-align: center; font-family: 'Zodiak', Georgia, serif; font-size: 2.125rem; font-weight: 400; line-height: 1.1; color: var(--hd-ecorce);
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period-date__month,
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period-date__year { font-size: .8125rem; line-height: 1.3; color: var(--hd-ecorce); }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period-time { margin: 4px 0 0; font-size: .8125rem; font-weight: 500; color: var(--hd-lac); }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period.am-rw-500 {
  flex-direction: row; align-items: baseline; align-self: flex-start; gap: 8px; min-width: 0; margin: 0 0 12px; padding: 8px 14px;
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period.am-rw-500 .am-ec__period-date__day { width: auto; font-size: 1.5rem; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__period.am-rw-500 .am-ec__period-time { margin: 0; }
/* Nom, lieu, statut et places */
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info { flex: 1 1 auto; min-width: 0; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-name {
  margin: 0 0 6px; font-family: 'Zodiak', Georgia, serif; font-size: 1.5rem; font-weight: 400; line-height: 1.25; color: var(--hd-ecorce);
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-location { font-size: .9375rem; color: var(--hd-ecorce); }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-other { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-availability {
  margin: 0; padding: 2px 10px; border-radius: 999px; font-size: .875rem; font-weight: 500;
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-availability.open { background: var(--hd-brume); color: var(--hd-lac-fonce); }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__info-capacity { margin: 0; font-size: .875rem; color: var(--hd-cacao); }
/* Prix et bouton */
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions { display: flex; align-items: center; gap: 20px; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions-price p {
  margin: 0; font-family: 'Zodiak', Georgia, serif; font-size: 1.375rem; font-weight: 400; color: var(--hd-ecorce);
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions .am-button--primary {
  height: auto; min-height: 48px; padding: 13px 24px; border: 0; border-radius: 8px; background: var(--hd-cuir); color: var(--hd-blanc);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 1rem; font-weight: 500; transition: background-color .2s ease;
}
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions .am-button--primary span { color: inherit; }
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions .am-button--primary:hover,
.hd-amelia .amelia-v2-booking #amelia-container .am-ec__actions .am-button--primary:focus-visible { background: var(--hd-cuir-fonce); }


/* =========================================================
   18. HORSE'PAIRE (v1.7.13)
   Réutilise : hd-ariane + hd-reperes, hd-deco-contour + hd-portrait (hero), hd-cartes
   (+ hd-cartes-etroites), hd-carte-presta, hd-ou (+ variantes hd-ou-brume, hd-ou-cuir,
   hd-ou-gauche, section 15), hd-img-losange, hd-photo + hd-photo-cadre, hd-liste-losange,
   hd-tarif (+ hd-tarif-entete), hd-bandeau-cta, hd-note, hd-faq, hd-sombre, hd-btn-double,
   hd-btn-clair, hd-coordonnees, hd-details, hd-lien. Seuls les éléments ci-dessous sont nouveaux.
   Aucun losange en ::before / ::after sur un conteneur : rien à ajouter à la section 1.
   v1.7.15 : hd-etapes-filet (filet du déroulé, en fin de section) ; correctif hd-note (section 2).
   ========================================================= */

/* Deux losanges Lac et Cuir sous un titre (widget Titre) : hd-duo-losanges
   Symbole du duo cavalier + cheval (section L'approche). Un seul pseudo-élément :
   dégradé Lac | Cuir découpé par un masque de deux losanges. */
.hd-duo-losanges .elementor-heading-title::after {
  content: ""; display: block; width: 46px; height: 18px; margin-top: 22px;
  background: linear-gradient(90deg, var(--hd-lac) 50%, var(--hd-cuir) 50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 18'%3E%3Cpath d='M9 0l9 9-9 9-9-9zM37 0l9 9-9 9-9-9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 18'%3E%3Cpath d='M9 0l9 9-9 9-9-9zM37 0l9 9-9 9-9-9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Visuel « Cavalier · Le lien · Cheval » (section L'approche) : trois losanges qui se chevauchent.
   - Carte (conteneur ; fond Lin, filet Poudre, arrondi réglés dans le widget) : hd-duo
   - Conteneur des formes (pleine largeur, sans marge intérieure) : hd-duo-formes
     → 3 conteneurs hd-duo-forme + hd-duo-cavalier / hd-duo-cheval / hd-duo-lien
       (fond Lac / Cuir / Écorce réglé dans le widget ; icône + widget Titre)
   - Légende (Éditeur de texte) : hd-duo-legende, un paragraphe par forme, dans l'ordre
     cavalier, lien, cheval : <p><strong>Cavalier</strong>Émotions, posture, réflexes</p>
   Positions en % reprises de la maquette : le conteneur des formes garde le format 100/66. */
.e-con.hd-duo { max-width: 33.75rem; }
@media (max-width: 1024px) { .e-con.hd-duo { align-self: center; } }
.e-con.hd-duo-formes { position: relative; width: 100% !important; aspect-ratio: 100 / 66; padding: 0 !important; }
.hd-duo-formes > .e-con.hd-duo-forme {
  position: absolute !important; top: 0; width: 66% !important; height: auto; min-height: 0; aspect-ratio: 1 / 1;
  margin: 0 !important; clip-path: var(--hd-losange);
}
.hd-duo-formes > .e-con.hd-duo-cavalier { left: 0; padding: 0 0 0 12% !important; }
.hd-duo-formes > .e-con.hd-duo-cheval { right: 0; padding: 0 12% 0 0 !important; }
.hd-duo-formes > .e-con.hd-duo-lien { left: 34%; top: 25.76%; width: 32% !important; z-index: 1; padding: 0 !important; }
.hd-duo-formes .elementor-widget { width: auto !important; max-width: none; margin: 0 !important; }
.hd-duo-formes .elementor-icon { display: flex; }
@media (max-width: 767px) { .hd-duo-formes .elementor-icon { font-size: 26px !important; } }

/* Légende : 3 colonnes centrées sous les formes, puces losange aux couleurs des formes ;
   sur mobile, une ligne par terme (puce, libellé, puis la précision). */
.hd-duo-legende { border-top: 1px solid var(--hd-poudre); padding-top: 22px; }
.hd-duo-legende:not(:has(> .elementor-widget-container)),
.hd-duo-legende > .elementor-widget-container {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; text-align: center;
}
.hd-duo-legende p { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 0 6px; }
.hd-duo-legende p::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; background: var(--hd-lac); transform: rotate(45deg);
}
.hd-duo-legende p:nth-child(2)::before { background: var(--hd-ecorce); }
.hd-duo-legende p:nth-child(3)::before { background: var(--hd-cuir); }
.hd-duo-legende strong { font-weight: 500; color: var(--hd-cacao); }
@media (max-width: 767px) {
  .hd-duo-legende:not(:has(> .elementor-widget-container)),
  .hd-duo-legende > .elementor-widget-container { grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: left; }
  .hd-duo-legende p { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 0; }
  .hd-duo-legende p::before { align-self: center; }
}


/* Filet entre les numéros d'étapes (conteneur de la rangée d'étapes, avec hd-cartes hd-cartes-etroites) : hd-etapes-filet (v1.7.15)
   Chaque étape commence par son numéro dans un losange (widget Titre hd-ou hd-ou-gauche, 52 px) ;
   un trait Lac le relie au losange de l'étape suivante, comme sur la maquette.
   Ordinateur seulement : les 4 étapes restent sur une ligne (largeur mini 13 rem au lieu de 14) ;
   dès la tablette, elles passent à la ligne et le trait est masqué.
   right: -32px = écart entre les étapes réglé dans le conteneur (32 px) : à modifier ensemble. */
@media (min-width: 1025px) {
  .e-con.hd-etapes-filet > .e-con { flex-basis: 13rem; }
  .hd-etapes-filet > .e-con > .elementor-widget.hd-ou { position: relative; }
  .hd-etapes-filet > .e-con:not(:last-child) > .elementor-widget.hd-ou::after {
    content: ""; position: absolute; left: 52px; right: -32px; top: 26px; height: 1px; pointer-events: none;
    background: rgba(63, 110, 114, .35);
    background: color-mix(in srgb, var(--hd-lac) 35%, transparent);
  }
}


/* =========================================================
   19. FORMULAIRE DE CONTACT (Fluent Forms, version gratuite) (v1.7.20)
   Conteneur hd-formulaire (fond Lin, arrondi 16, marges 36 réglés dans le widget)
   + widget Shortcode [fluentform id="…"]. Le Form Styler étant réservé à la version Pro,
   toute la mise en forme est ici. Classes standard de Fluent Forms :
   .ff-el-group (un champ), .ff-el-input--label (libellé), .ff-el-form-control (saisie),
   .ff-t-container / .ff-t-cell (champs côte à côte), .ff-btn-submit (bouton),
   .ff-message-success (message après envoi, Ajax), .text-danger (erreur sous un champ).
   Fluent Forms pose ses styles avec « .fluentform … » (2 classes) : le préfixe
   .hd-formulaire suffit à passer devant, sans !important (sauf indiqué).
   Astérisque des champs obligatoires : Cuir, à droite ou à gauche selon le réglage du formulaire.
   À vérifier sur le site : le rendu de la case de consentement et du message d'erreur général.
   ========================================================= */

/* Espacement entre les champs ; les champs côte à côte (Prénom | Nom, E-mail | Téléphone)
   passent l'un sous l'autre sur mobile (Fluent Forms le fait seul sous 768 px). */
.hd-formulaire .fluentform .ff-el-group { margin-bottom: 20px; }
.hd-formulaire .fluentform .ff-el-group.ff_submit_btn_wrapper { margin: 28px 0 0; }
.hd-formulaire .fluentform .ff-t-container { gap: 20px; margin-bottom: 20px; }
.hd-formulaire .fluentform .ff-t-container .ff-t-cell { padding: 0 !important; }
.hd-formulaire .fluentform .ff-t-container .ff-t-cell .ff-el-group:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .hd-formulaire .fluentform .ff-t-container { flex-direction: column; } }

/* Libellés */
.hd-formulaire .fluentform .ff-el-input--label { margin-bottom: 8px; }
.hd-formulaire .fluentform .ff-el-input--label label {
  margin: 0; font-family: 'DM Sans', system-ui, sans-serif; font-size: .9375rem; font-weight: 500; line-height: 1.4; color: var(--hd-cacao);
}
.hd-formulaire .fluentform .ff-el-is-required.asterisk-right label::after,
.hd-formulaire .fluentform .ff-el-is-required.asterisk-left label::before { color: var(--hd-cuir); font-weight: 500; }
.hd-formulaire .fluentform .ff-el-help-message { margin-top: 6px; font-size: .875rem; font-style: normal; color: var(--hd-ecorce); }

/* Champs de saisie (texte, e-mail, liste, zone de texte) : fond Blanc, filet Sable, Lac au focus */
.hd-formulaire .fluentform .ff-el-form-control {
  width: 100%; min-height: 48px; box-sizing: border-box; padding: 12px 14px;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 1rem; line-height: 1.5; color: var(--hd-cacao);
  background-color: var(--hd-blanc); border: 1px solid var(--hd-filet-sable); border-radius: 8px; box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hd-formulaire .fluentform textarea.ff-el-form-control { min-height: 9rem; resize: vertical; }
.hd-formulaire .fluentform .ff-el-form-control::placeholder { color: var(--hd-ecorce); opacity: .7; }
.hd-formulaire .fluentform .ff-el-form-control:hover { border-color: var(--hd-poudre-fonce); }
.hd-formulaire .fluentform .ff-el-form-control:focus {
  outline: 0; border-color: var(--hd-lac); box-shadow: 0 0 0 3px var(--hd-brume);
}
/* Liste déroulante : flèche redessinée (même chevron que le menu) */
.hd-formulaire .fluentform select.ff-el-form-control {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B4F45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}

/* Cases à cocher et boutons radio (dont la case de consentement) : couleur Cuir */
.hd-formulaire .fluentform input[type="checkbox"],
.hd-formulaire .fluentform input[type="radio"] { accent-color: var(--hd-cuir); width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -3px; }
.hd-formulaire .fluentform .ff-el-form-check { margin-bottom: 8px; }
.hd-formulaire .fluentform .ff-el-form-check-label { font-size: .9375rem; line-height: 1.5; color: var(--hd-cacao); }
.hd-formulaire .fluentform .ff-el-tc .ff-el-form-check-label,
.hd-formulaire .fluentform .ff_t_c { font-size: .875rem; color: var(--hd-ecorce); }

/* Erreurs : filet et message rouge brique (contraste 6:1 sur Lin), lisible sans la couleur grâce au texte */
.hd-formulaire .fluentform .ff-el-is-error .ff-el-form-control { border-color: #9B3B2E; }
.hd-formulaire .fluentform .ff-el-is-error .ff-el-form-control:focus { box-shadow: 0 0 0 3px rgba(155, 59, 46, .15); }
.hd-formulaire .fluentform .error.text-danger,
.hd-formulaire .fluentform .ff-el-is-error .text-danger { margin-top: 6px; font-size: .875rem; line-height: 1.4; color: #9B3B2E; }
.hd-formulaire .ff-errors-in-stack { margin-top: 16px; font-size: .875rem; color: #9B3B2E; }

/* Bouton d'envoi : même rendu que le bouton principal du site (Cuir, survol Cuir foncé, losange Lin) ;
   pleine largeur sur mobile. !important : Fluent Forms écrit la couleur du bouton en style en ligne. */
.hd-formulaire .fluentform .ff-btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 1rem; font-weight: 500; line-height: 1.2;
  color: var(--hd-blanc) !important; background-color: var(--hd-cuir) !important; border: 0; border-radius: 8px;
  box-shadow: none; opacity: 1; cursor: pointer; transition: background-color .2s ease;
}
.hd-formulaire .fluentform .ff-btn-submit::before {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; background: var(--hd-lin); clip-path: var(--hd-losange);
}
.hd-formulaire .fluentform .ff-btn-submit:hover,
.hd-formulaire .fluentform .ff-btn-submit:focus-visible { background-color: var(--hd-cuir-fonce) !important; opacity: 1; }
.hd-formulaire .fluentform .ff-btn-submit:focus-visible { outline: 2px solid var(--hd-lac); outline-offset: 3px; }
.hd-formulaire .fluentform .ff-btn-submit:disabled { opacity: .7; cursor: wait; }
@media (max-width: 767px) { .hd-formulaire .fluentform .ff-btn-submit { width: 100%; } }

/* Message après envoi (le formulaire est masqué) : pavé Brume, losange Lac devant le texte */
.hd-formulaire .ff-message-success {
  position: relative; margin: 0; padding: 22px 24px 22px 56px; border: 0; border-radius: 12px; box-shadow: none;
  background: var(--hd-brume); font-size: 1rem; line-height: 1.6; color: var(--hd-lac-fonce);
}
.hd-formulaire .ff-message-success::before {
  content: ""; position: absolute; left: 24px; top: 29px; width: 12px; height: 12px; background: var(--hd-lac); clip-path: var(--hd-losange);
}
.hd-formulaire .ff-message-success p { margin: 0 0 .5rem; }
.hd-formulaire .ff-message-success p:last-child { margin-bottom: 0; }