/* Hypnose & EMDR à Lohéac — feuille de style commune */

@font-face { font-family: "Caslon"; src: url("fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caslon"; src: url("fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --encre: #173a63;        /* bleu marine du badge AHTMA : titres, pied de page */
  --texte: #2a3242;        /* texte courant */
  --indigo: #2b679b;       /* bleu du logo, assombri : boutons */
  --bleu: #2f6c9e;         /* bleu du logo, assombri pour la lisibilité des liens */
  --bleu-clair: #3488bc;   /* bleu clair du logo : décor */
  --or: #b8893a;           /* or de la plume : filets */
  --brume: #eef3f8;        /* fond de section */
  --papier: #ffffff;
  --trait: #d9e1ea;
  --serif: "Caslon", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", system-ui, sans-serif;
  --mesure: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--bleu-clair); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); color: var(--encre); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
strong { color: var(--encre); font-weight: 700; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; background: var(--indigo); color: #fff; padding: .6rem 1rem; z-index: 50; border-radius: 4px; }
.evitement:focus { top: 1rem; color: #fff; }

.conteneur { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48em) { .conteneur { padding: 0 2rem; } }

/* Filet doré à losange, repris du flyer */
.filet { display: flex; align-items: center; gap: .6rem; color: var(--or); margin: 1.2rem 0 1.4rem; max-width: 18rem; }
.filet::before, .filet::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.filet span { width: 22px; height: 22px; flex: 0 0 auto; background: url("img/triskel.svg") center / contain no-repeat; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.marque { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--encre); }
.marque img { width: 3.1rem; }
.marque-nom { font-family: var(--serif); font-size: 1.12rem; line-height: 1.15; display: block; }
.marque-metier { font-size: .8rem; color: #555b73; display: block; letter-spacing: .02em; }

.bouton-menu { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--trait); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-size: .95rem; color: var(--encre); cursor: pointer; }
.bouton-menu svg { width: 1.1rem; height: 1.1rem; }
.navigation { display: none; }
.navigation.ouverte { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--trait); box-shadow: 0 12px 24px rgba(23,58,99,.08); }
.navigation ul { list-style: none; margin: 0; padding: .5rem 1rem 1rem; }
.navigation a { display: block; padding: .7rem .2rem; text-decoration: none; color: var(--encre); border-bottom: 1px solid var(--brume); }
.navigation a[aria-current="page"] { color: var(--indigo); font-weight: 700; }
@media (min-width: 80em) {
  .bouton-menu { display: none; }
  .navigation, .navigation.ouverte { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .navigation ul { display: flex; gap: 1.3rem; padding: 0; }
  .navigation a { border: 0; padding: .3rem 0; font-size: .95rem; }
  .navigation a[aria-current="page"] { border-bottom: 2px solid var(--or); }
}

/* ---------- Boutons ---------- */
.bouton { display: inline-block; background: var(--indigo); color: #fff; text-decoration: none; font-weight: 700; padding: .85rem 1.5rem; border-radius: 999px; letter-spacing: .01em; }
.bouton:hover { background: var(--encre); color: #fff; }
.bouton-discret { display: inline-block; color: var(--indigo); border: 1.5px solid var(--indigo); text-decoration: none; font-weight: 700; padding: .75rem 1.3rem; border-radius: 999px; }
.bouton-discret:hover { background: var(--indigo); color: #fff; }

/* ---------- Accueil : ouverture ---------- */
.ouverture { position: relative; overflow: hidden; }
.devise { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--indigo); margin: 0; }
.ouverture-texte .intro { font-size: 1.12rem; max-width: var(--mesure); }

/* ---------- La plume en fond ----------
   Une seule image, fixe derrière toute la page : en grand et en couleurs à l'arrivée,
   elle s'estompe en filigrane quand on fait défiler (script en bas de page). */
html { background: var(--papier); }
body { background: transparent; }
.fond-plume { position: fixed; inset: 4rem 0 0 0; z-index: -1; pointer-events: none;
  background: url("img/plume-fond-1000.webp") center 1rem / auto 62% no-repeat; opacity: 1; }
.section-brume { background: rgba(238,243,248,.84); }
.ouverture .conteneur { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 60svh; }
.ouverture-texte { padding: 2rem 0 2.5rem; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 2.5rem); }
@media (min-width: 48em) {
  .fond-plume { background-position: right 6vw center; background-size: auto 90%; }
  .ouverture .conteneur { justify-content: center; padding-top: 0; min-height: calc(100vh - 4rem); }
  .ouverture-texte { max-width: 34rem; background: none; padding: 3rem 0; }
}
@media (min-width: 48em) and (max-width: 63.99em) { .fond-plume { background-position: right -4vw center; } }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section-brume { background: var(--brume); }
.texte-courant { max-width: var(--mesure); }

.signature { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); max-width: var(--mesure); }
.signature p { margin: 0; font-style: italic; color: #4a4f66; }
.signature a.badge { flex: 0 0 auto; }
.signature img { width: 5.5rem; }

/* Trois portes d'entrée */
.portes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.portes li { border-top: 1px solid var(--trait); }
.portes li:last-child { border-bottom: 1px solid var(--trait); }
.portes a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem; padding: 1.3rem .2rem; text-decoration: none; color: var(--texte); }
.portes .titre-porte { font-family: var(--serif); font-size: 1.45rem; color: var(--encre); }
.portes .resume { grid-column: 1; font-size: .98rem; color: #4a4f66; }
.portes svg { grid-row: 1 / span 2; grid-column: 2; width: 1.4rem; height: 1.4rem; color: var(--or); transition: transform .2s ease; }
.portes a:hover .titre-porte { color: var(--indigo); }
.portes a:hover svg { transform: translateX(4px); }
@media (min-width: 48em) {
  .portes { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .portes li, .portes li:last-child { border: 0; border-top: 2px solid var(--or); }
  .portes a { grid-template-columns: 1fr; padding: 1.2rem 0 0; }
  .portes svg { grid-row: auto; grid-column: 1; }
}

/* Avis */
.avis { display: grid; gap: 1.2rem; }
.avis .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 48em) { .avis { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #dfe3f2; padding: 2.5rem 0 1.5rem; font-size: .95rem; }
.pied a { color: #fff; }
.pied .conteneur { display: grid; gap: 1.5rem; }
.pied-haut { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.pied address { font-style: normal; line-height: 1.7; }
.pied .nom { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.pied .badge img { width: 6.5rem; }
@media (min-width: 48em) { .pied .badge img { width: 8rem; } }
.pied-liens { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; list-style: none; }
.urgence { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.2rem; font-size: .9rem; color: #c9cfe4; }
.urgence strong { color: #fff; }

.lien-tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; }
.icone-tel { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.pied abbr { text-decoration: none; font-size: .85em; letter-spacing: .04em; }
.siret { font-size: .85rem; color: #b9c4d8; }
.homonyme { font-size: .85rem; color: #b9c4d8; }

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

/* ---------- Pages intérieures ---------- */
body[data-fond="filigrane"] .fond-plume { opacity: .12; background-position: center center; background-size: auto 80%; }
@media (min-width: 48em) { body[data-fond="filigrane"] .fond-plume { background-position: right 6vw center; background-size: auto 90%; } }

.page-ouverture { padding-top: 3rem; padding-bottom: 1.5rem; }
.page-ouverture h1 { margin-bottom: .3em; }
.page-ouverture .filet { margin-bottom: 0; }
.bloc { padding: 2.2rem 0; }
.bloc + .bloc { padding-top: 0; }
.bloc h2 { margin-top: .4em; }

/* Étapes d'une séance : une vraie suite, donc numérotée */
.etapes { list-style: none; counter-reset: etape; margin: 1.2rem 0 0; padding: 0; max-width: var(--mesure); }
.etapes li { counter-increment: etape; position: relative; padding: 0 0 1.4rem 3.2rem; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--or); color: var(--encre); font-family: var(--serif); font-size: 1.1rem; display: grid; place-items: center; background: #fff; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 1.03rem; top: 2.2rem; bottom: .2rem; width: 1px; background: var(--trait); }
.etapes strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }

/* Questions dépliables */
.depliables { max-width: var(--mesure); border-top: 1px solid var(--trait); }
.depliables details { border-bottom: 1px solid var(--trait); }
.depliables summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem .2rem; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--encre); }
.depliables summary::-webkit-details-marker { display: none; }
.depliables summary::after { content: ""; flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--or); background: #fff url("img/triskel.svg") center / 1.35rem no-repeat; transition: transform .45s ease, background-color .2s ease; }
.depliables summary:hover::after { background-color: var(--brume); }
.depliables details[open] summary::after { transform: rotate(120deg); background-color: #c9dcee; border-color: var(--bleu-clair); }
.depliables details > div { padding: 0 .2rem 1.1rem; }
.depliables details > div p:last-child { margin-bottom: 0; }

/* Rappel de sécurité : encadré discret, toujours au même endroit */
.encadre { max-width: var(--mesure); border-left: 3px solid var(--or); background: rgba(255,255,255,.9); padding: 1rem 1.2rem; margin: 0; font-size: .98rem; }
.encadre h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; color: var(--encre); }
.encadre p { margin: 0; }
.appel { padding-top: 1rem; padding-bottom: 3.5rem; }
.conteneur.texte-courant { max-width: 68rem; }
.conteneur.texte-courant > * { max-width: var(--mesure); }

/* ---------- Photos du cabinet ---------- */
.duo { display: grid; gap: 2rem; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 6px; }
@media (min-width: 48em) {
  .duo { grid-template-columns: minmax(0, 36rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .section-brume .duo .photo img { max-height: 28rem; object-fit: cover; }
}
.etapes + .photo img { max-width: 22rem; margin: 0 auto; }

/* Pages intérieures : plume nette au-dessus du titre (téléphone) ou à droite (ordinateur), puis filigrane */
@media (max-width: 47.99em) {
  body[data-accueil="non"] .fond-plume { background-size: auto 36%; background-position: center 1rem; }
  body[data-accueil="non"] .page-ouverture { padding-top: calc(36svh + 1.5rem); }
}

/* Ordinateur : la plume glisse de la droite vers le centre en s'estompant (--glisse va de 0 à 1) */
@media (min-width: 48em) {
  .fond-plume, body[data-fond="filigrane"] .fond-plume { background-position: calc(97% - 47% * var(--glisse, 0)) center; }
}
/* Idées reçues : bloc centré, lignes alignées à gauche */
.section-centree > .conteneur > h2 { text-align: center; }
.section-centree .depliables { margin-left: auto; margin-right: auto; }

/* ---------- Listes ---------- */
.liste { padding-left: 1.2rem; margin: 0 0 1em; }
.liste li { margin-bottom: .45rem; }
.liste li::marker { color: var(--or); }

/* ---------- Schéma de la mémoire (EMDR) ---------- */
.schema { margin: 1.5rem 0 0; display: grid; gap: 1.2rem; max-width: 52rem; }
.schema-ligne { display: grid; grid-template-columns: 1fr; gap: .4rem; align-items: center; background: rgba(255,255,255,.92); border: 1px solid var(--trait); border-radius: 8px; padding: 1.1rem; }
.schema-case { display: flex; align-items: center; gap: .9rem; color: var(--encre); font-size: 1rem; line-height: 1.35; }
.schema-case svg { width: 3rem; height: 3rem; flex: 0 0 auto; fill: none; stroke: var(--bleu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schema-case--range span { font-weight: 700; }
.schema-case--ouvert span { font-weight: 700; }
.schema-ligne--trauma .schema-case svg { stroke: var(--encre); }
.schema-ligne--trauma .schema-case--ouvert svg { stroke: #9b5b1e; }
.schema-fleche { position: relative; display: flex; align-items: center; gap: .6rem; padding: .5rem 0 .5rem 3.9rem; min-height: 2.6rem; font-size: .88rem; font-style: italic; color: #4a5266; }
.schema-fleche::before { content: ""; position: absolute; left: calc(1.5rem - 1px); top: 0; bottom: 0; width: 2px; background: var(--or); }
.schema-fleche::after { content: ""; position: absolute; left: calc(1.5rem - 5px); bottom: -2px; width: 8px; height: 8px; border-right: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(45deg); }
.schema-fleche--bloquee::before { background: repeating-linear-gradient(to bottom, var(--or) 0 5px, transparent 5px 9px); }
.schema-fleche--bloquee::after { border: 0; width: 16px; height: 2px; background: #9b5b1e; transform: none; left: calc(1.5rem - 8px); bottom: 50%; }
@media (min-width: 48em) {
  .schema-ligne { grid-template-columns: 1fr 12rem 1fr; gap: 1rem; }
  .schema-fleche { flex-direction: column; justify-content: center; text-align: center; padding: 0 0 1.4rem; }
  .schema-fleche::before { left: 0; right: 0; top: auto; bottom: .55rem; width: auto; height: 2px; }
  .schema-fleche::after { left: auto; right: 0; bottom: calc(.55rem - 3px); transform: rotate(-45deg); }
  .schema-fleche--bloquee::before { right: 35%; background: repeating-linear-gradient(to right, var(--or) 0 6px, transparent 6px 10px); }
  .schema-fleche--bloquee::after { left: auto; right: calc(35% - 7px); bottom: calc(.55rem - 6px); width: 2px; height: 14px; transform: none; }
}

/* ---------- Illustration bibliothèque (EMDR) ---------- */
.biblio { margin: 1.8rem 0 0; max-width: 60rem; }
.biblio svg { display: block; width: 100%; height: auto; }
.biblio .schema-large { display: none; }
.biblio figcaption { max-width: var(--mesure); margin: 1.2rem auto 0; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--encre); text-align: center; }
@media (min-width: 40em) {
  .biblio .schema-large { display: block; }
  .biblio .schema-etroit { display: none; }
}
@media (max-width: 39.99em) { .biblio .schema-etroit { max-width: 24rem; margin: 0 auto; } }
.biblio > div { background: rgba(255,255,255,.94); border-radius: 10px; padding: 1rem .8rem; box-shadow: 0 0 0 1px var(--trait); }
@media (min-width: 40em) { .biblio > div { padding: 1.4rem 1.6rem; } }

.photo-schema { max-width: 40rem; margin: 1.8rem auto 0; }
.photo-schema img { box-shadow: 0 0 0 1px var(--trait); }
.photo-schema figcaption { max-width: var(--mesure); margin: 1rem auto 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--encre); text-align: center; }

/* ---------- Page Contact ---------- */
/* La plume reste visible en filigrane derrière le formulaire, au lieu d'être couverte par le fond bleuté opaque */
.section-brume-legere { background: rgba(238,243,248,.55); }
.coordonnees { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.coordonnees li { margin-bottom: .6rem; }
.coordonnees a { color: var(--encre); text-decoration-color: var(--or); }

.formulaire-contact { max-width: 34rem; margin: 0 auto; }
.formulaire-contact .champ { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.3rem; }
.formulaire-contact label { font-weight: 700; color: var(--encre); }
.formulaire-contact .facultatif { font-weight: 400; color: #5a6072; font-size: .85rem; }
.formulaire-contact input, .formulaire-contact textarea, .formulaire-contact select {
  font: inherit; font-size: 1rem; padding: .7rem .9rem; border: 1px solid var(--trait); border-radius: 8px;
  background: #fff; color: var(--encre); width: 100%;
}
.formulaire-contact input:focus, .formulaire-contact textarea:focus, .formulaire-contact select:focus {
  outline: 2px solid var(--indigo); outline-offset: 1px;
}
.formulaire-contact textarea { resize: vertical; }
.formulaire-contact .bouton { border: 0; cursor: pointer; }
.piege-robot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Lien vers une autre page du site : petit triskel doré après le mot */
.lien-page { white-space: nowrap; }
.lien-page::after { content: ""; display: inline-block; width: 1.2em; height: 2.3em; margin-left: .3em; vertical-align: -.3em; background: url("img/plume-triskel.svg") center / contain no-repeat; }
.section + .bloc { padding-top: 1rem; }

/* Plume dans le pied de page */
.pied-identite { display: flex; align-items: center; gap: 1.1rem; }
.pied-plume { width: auto; height: 8.5rem; flex: 0 0 auto; }
@media (min-width: 48em) { .pied-plume { height: 9.5rem; } }
.ouverture-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.ouverture-actions .badge img { width: 5.5rem; }
@media (min-width: 48em) { .ouverture-actions .badge img { width: 6.5rem; } }

/* Badge AHTMA dans l'en-tête, rattaché au nom */
.badge-entete { flex: 0 0 auto; margin-right: auto; margin-left: -.2rem; line-height: 0; }
.badge-entete img { width: 3.1rem; height: 3.1rem; }
@media (min-width: 48em) { .badge-entete img { width: 3.4rem; height: 3.4rem; } }
@media (max-width: 34em) { .badge-entete { display: none; } }
/* En-tête : place pour le badge */
.marque-nom, .marque-metier, .navigation a { white-space: nowrap; }
.badge-entete { margin-left: .4rem; }
@media (min-width: 80em) { .entete .conteneur { max-width: 80rem; } .navigation ul { gap: 1.15rem; } }
@media (max-width: 29.99em) {
  .marque img { width: 2.6rem; }
  .marque { gap: .5rem; }
  .marque-nom { font-size: 1.02rem; }
  .marque-metier { font-size: .74rem; }
  .badge-entete { margin-left: .15rem; }
  .badge-entete img { width: 2.7rem; height: 2.7rem; }
  .bouton-menu { padding: .55rem; }
  .menu-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .entete .conteneur { gap: .5rem; }
}

/* ---------- Qui suis-je ---------- */
.portrait-attente { aspect-ratio: 4 / 5; max-width: 20rem; width: 100%; border: 1.5px dashed var(--or); border-radius: 6px; display: grid; place-items: center; color: #8a6420; font-style: italic; background: rgba(255,255,255,.8); }
@media (min-width: 48em) { .duo-portrait { align-items: center; } }
.portrait { max-width: 20rem; width: 100%; margin: 0 auto; }
/* Fondu sur les bords : la photo se fond dans le fond de la page au lieu d'être un rectangle découpé */
.portrait img {
  display: block; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 46%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse closest-side at 50% 46%, #000 58%, transparent 100%);
}
/* Qui suis-je : photo nette ; sur ordinateur, fondu uniquement sur le côté droit, vers la plume */
.duo-portrait .portrait img { -webkit-mask-image: none; mask-image: none; border-radius: 6px; box-shadow: 0 0 0 1px var(--trait); }
@media (min-width: 48em) {
  .duo-portrait .portrait img {
    border-radius: 6px 0 0 6px; box-shadow: none;
    -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%);
            mask-image: linear-gradient(to right, #000 62%, transparent 100%);
  }
}
/* Accueil : petit portrait à côté du texte de présentation */
.portrait-accueil { max-width: 11rem; margin: 0 auto 1rem; }
@media (min-width: 48em) {
  .portrait-accueil { float: left; width: 10rem; margin: 0 1.5rem .5rem -.5rem; }
}
.formation { display: grid; gap: 2rem; }
.formation-marque { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; padding: 1.4rem 1rem; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px var(--trait); max-width: 17rem; justify-self: center; }
.formation-marque img:first-child { width: 5.5rem; height: auto; }
.formation-marque img:nth-child(2) { width: 10rem; height: auto; }
.formation-sous-titre { font-size: .78rem; text-align: center; color: var(--encre); letter-spacing: .02em; line-height: 1.4; }
.formation-marque:hover { box-shadow: 0 0 0 1px var(--bleu-clair); }
@media (min-width: 48em) { .formation { grid-template-columns: minmax(0, 36rem) 17rem; gap: 3rem; align-items: center; } }

/* ---------- Accompagnements ---------- */
.themes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
.themes { background: rgba(255,255,255,.93); border-radius: 10px; padding: .4rem 1.2rem; box-shadow: 0 0 0 1px var(--trait); }
.themes li { padding: 1.3rem 0 1.2rem 1.6rem; border-top: 1px solid var(--trait); position: relative; }
.themes li:first-child { border-top: 0; }
@media (min-width: 48em) { .themes { padding: .4rem 2rem; } .themes li:nth-child(2) { border-top: 0; } }
.themes li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 1rem; height: 1rem; background: url("img/triskel.svg") center / contain no-repeat; }
.themes h2 { font-size: 1.3rem; margin: 0 0 .35rem; }
.themes p { margin: 0; color: #3a4256; }
@media (min-width: 48em) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Accompagnements : titres dépliables sur téléphone, tout ouvert sur ordinateur */
.theme summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.theme summary::-webkit-details-marker { display: none; }
.theme summary h2 { margin: 0; }
.theme summary::after { content: ""; flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--or); background: #fff url("img/triskel.svg") center / 1.35rem no-repeat; transition: transform .45s ease, background-color .2s ease; }
.theme[open] summary::after { transform: rotate(120deg); background-color: #c9dcee; border-color: var(--bleu-clair); }
.theme p { margin-top: .5rem; }
.themes li { padding-top: 1rem; padding-bottom: 1rem; }
.themes li::before { top: 1.45rem; }
@media (min-width: 48em) {
  .theme summary { cursor: default; pointer-events: none; }
  .theme summary::after { display: none; }
  .themes li { padding-top: 1.3rem; padding-bottom: 1.2rem; }
}
@media (max-width: 47.99em) { .themes li { padding-left: 0; } .themes li::before { display: none; } }
/* Encadré des accompagnements : fondu en haut au lieu d'un bord net */
.themes { box-shadow: none; border-radius: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,.75) 4rem, rgba(255,255,255,.94) 9rem); }
/* Plume réduite (pages où une liste occupe le bas de l'écran d'arrivée) */
@media (min-width: 48em) {
  body[data-plume="petite"] .fond-plume { background-size: auto 44%; background-position-y: 3%; }
}

/* Bandeau : bouton « Prendre rendez-vous », toujours visible */
.bouton-rdv-entete { display: inline-block; background: var(--indigo); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; border-radius: 999px; padding: .55rem .9rem; font-size: .88rem; }
.bouton-rdv-entete:hover { background: var(--encre); color: #fff; }
.bouton-rdv-entete .rdv-long { display: none; }
@media (min-width: 48em) {
  .bouton-rdv-entete .rdv-court { display: none; }
  .bouton-rdv-entete .rdv-long { display: inline; }
  .bouton-rdv-entete { padding: .6rem 1.1rem; }
}
@media (min-width: 80em) {
  .navigation ul { align-items: center; gap: .6rem; }
  .navigation a { font-size: .85rem; }
  .marque { flex-shrink: 0; }
  .bouton-rdv-entete { padding: .5rem .95rem; font-size: .85rem; margin-left: .3rem; }
}
@media (max-width: 25.5em) {
  .marque img { width: 2rem; }
  .marque { gap: .35rem; }
  .marque-nom { font-size: .82rem; }
  .marque-metier { font-size: .62rem; }
  .bouton-rdv-entete { padding: .42rem .5rem; font-size: .71rem; }
  .bouton-menu { padding: .4rem; }
  .entete .conteneur { gap: .3rem; padding: 0 .55rem; }
}
/* Qui suis-je, sur ordinateur : portrait plus petit, sous le texte de présentation (à droite de la colonne), avant « Mon parcours » ; la plume reste entière */
@media (min-width: 48em) {
  .duo-portrait .portrait { grid-column: 1; justify-self: end; align-self: start; max-width: 19rem; margin: -.5rem 2rem 0 0; }
}

/* Pied de page : liens vers les réseaux sociaux */
.pied-reseaux { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.pied-reseaux a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.pied-reseaux a:hover, .pied-reseaux a:focus-visible { text-decoration: underline; }
.pied-reseaux svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }

/* Certifications */
.formation h3 { font-size: 1.05rem; margin: 1.2rem 0 .3rem; }
.certifs-titre { margin: 2.5rem 0 .3rem; }
.certifs-aide { font-size: .9rem; margin: 0 0 1rem; color: var(--encre); }
.certifs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.certifs a { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: var(--encre); font-size: .85rem; text-align: center; }
.certifs img { width: 100%; height: auto; max-height: 13rem; object-fit: contain; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.15); border-radius: 3px; transition: transform .2s; }
.certifs a:hover img, .certifs a:focus-visible img { transform: scale(1.03); }
@media (min-width: 48em) { .certifs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Page Venir au cabinet */
.actions-acces { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }

/* Menu avec « Accès » : resserré entre 80em et 90em */
@media (min-width: 80em) and (max-width: 89.99em) {
  .navigation ul { gap: .42rem; }
  .navigation a { font-size: .82rem; }
  .entete .conteneur { padding-left: 1rem; padding-right: 1rem; }
}
.carte-trajet { margin: 1.5rem 0 0; }
.carte-trajet img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--trait); }
.carte-trajet figcaption { font-size: .85rem; margin-top: .5rem; color: var(--encre); }

/* Articles */
.fil-ariane { margin: 0 0 .6rem; font-size: .9rem; }
.fil-ariane a { color: var(--indigo); text-decoration: none; font-weight: 700; }
.fil-ariane a::after { content: " ›"; color: var(--or); }
.date-article { display: block; margin: 0 0 .8rem; font-size: .9rem; color: #4a4f66; }
.chapeau { font-size: 1.12rem; font-style: italic; color: var(--encre); }
.articles-liste .date-article { grid-column: 1; margin: 0; font-size: .85rem; }
.retour-articles { margin-top: 1.5rem; }
/* Menu à 11 entrées (rubrique Articles) : bouton court sur grand écran pour garder la place */
@media (min-width: 80em) {
  .bouton-rdv-entete .rdv-long { display: none; }
  .bouton-rdv-entete .rdv-court { display: inline; }
  .entete .conteneur { gap: .8rem; }
}
@media (min-width: 90em) { .navigation ul { gap: .5rem; } }
.titre-article { max-width: 22ch; }
.chapeau { margin-bottom: 2rem; }

/* En-tête : badge AHTMA tout à droite, après le menu (novembre 2026) */
.badge-entete { order: 10; margin-right: 0; margin-left: .4rem; }
.bouton-rdv-entete { margin-left: auto; }
@media (max-width: 29.99em) { .badge-entete { margin-left: .15rem; } }
