/* Retouches esthétiques, octobre 2026 : surcouche à la feuille Webflow, sans toucher au contenu ni au balisage.
   Palette d'origine conservée : vert #236d5e (--bg), sable #eeede4 (--bg-2), vert clair #c4d6b0 (--primary). */

:root {
  --r-vert: #236d5e;
  --r-vert-fonce: #1b5649;
  --r-sable: #eeede4;
  --r-ligne: #e2e3da;
  --r-rayon: 20px;
  --r-ombre: 0 18px 40px -22px rgba(35, 109, 94, 0.35);
  --r-police: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Typographie : la police prévue par la maquette est désormais réellement chargée */
body, .uui-pricing09_price, .uui-pricing09_heading, .uui-text-size-medium {
  font-family: var(--r-police);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .hero-title, .title, .main-title, .therapiest-title, .appointment-title, .cta-title, .story-title {
  letter-spacing: -0.015em;
}
.hero-title { font-weight: 600; line-height: 1.04; }
.sub-title { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--r-vert); font-weight: 600; }
@media (min-width: 992px) {
  .hero-title { font-size: 52px; }
}

/* En-tête : reste visible au défilement, fond légèrement translucide */
.w-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(238, 237, 228, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.uui-navbar08_link:hover, .uui-navbar08_dropdown-toggle:hover { color: var(--r-vert); }
.uui-navbar08_dropdown-list { border-radius: 16px; overflow: hidden; border: 1px solid var(--r-ligne); }

/* Boutons : relief léger au survol, cohérence des rayons */
.uui-button, .fill-button, .button, .uui-button-2, .button-2 {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.uui-button:hover, .fill-button:hover, .button:hover, .uui-button-2:hover, .button-2:hover {
  background-color: var(--r-vert-fonce);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(27, 86, 73, 0.6);
}
.uui-button-2 { border-radius: 999px; }
.secondary-button { transition: color 0.2s ease; }
.secondary-button:hover { color: var(--r-vert); }

/* Images : rayon unique, et photos recadrées sur le visage dans les grands formats */
.hero-image, .about-us-image, .story-image, .story-main-image, .fact-image, .therapiest-main-image,
.treatment-main-image, .treatment-img, .contact-image, .faq-image, .post-image, .treatment-link,
.uui-navbar08_dropdown-list, .therapiest-main-img, .story-img, .faq-img {
  border-radius: var(--r-rayon);
}
.hero-image { border-radius: var(--r-rayon) var(--r-rayon) 0 0; object-position: 50% 18%; }
.about-us-image, .therapiest-main-image { object-position: 50% 22%; }
.treatment-main-image { object-position: 50% 22%; }
.fact-image { object-position: 50% 15%; }
.post-image { border-radius: 12px; }

/* Cartes des pratiques : zoom doux et voile plus lisible */
.treatment-link { overflow: hidden; box-shadow: var(--r-ombre); }
.treatment-image { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.treatment-link:hover .treatment-image { transform: scale(1.04); }
.treatment-data { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.62) 100%); }
.treatment-title { font-weight: 600; letter-spacing: -0.01em; }
.treatment-data > div:first-child { font-size: 13px; letter-spacing: 0.04em; opacity: 0.9; }

/* Encadré « Mes autres pratiques » et boutons des pages pratiques */
.treatment-sidebar > div { border-radius: var(--r-rayon); }
.link-treatment { transition: color 0.2s ease; }
.link-treatment:hover { color: var(--r-vert); }
.treatment-rich-text h2 { margin-top: 44px; }
.treatment-rich-text ul { padding-left: 1.2em; }
.treatment-rich-text li { margin-bottom: 8px; }
.treatment-rich-text li::marker { color: var(--r-vert); }
.therapiest-rich-text h3 { margin-top: 36px; margin-bottom: 10px; font-size: 24px; line-height: 1.25; }

/* Tarifs : trois cartes côte à côte, prix en vert, devise discrète */
.uui-pricing09_components { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column-gap: 24px; }
.uui-pricing09_plan {
  border-radius: var(--r-rayon);
  border-color: var(--r-ligne);
  box-shadow: var(--r-ombre);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uui-pricing09_plan:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -24px rgba(35, 109, 94, 0.45); }
.uui-pricing09_price { color: var(--r-vert); }
.uui-pricing09_price sup { font-size: 0.42em; top: -1em; margin-left: 2px; margin-right: 4px; }
.uui-pricing09_price-text { font-size: 1rem; color: #667085; }
.uui-pricing09_divider { background-color: var(--r-ligne); margin-top: 1.5rem; margin-bottom: 1.25rem; }
.uui-pricing09_content-top > .uui-text-size-medium:last-child { margin-bottom: 1.5rem; }
.uui-pricing09_content { display: flex; flex-direction: column; height: 100%; }
.uui-pricing09_content-top { flex: 1 1 auto; }
section.pricing { display: none; }
@media (max-width: 991px) {
  .uui-pricing09_components { grid-template-columns: minmax(0, 1fr); }
}

/* Questions fréquentes : séparateurs doux, icône qui pivote à l'ouverture */
.faq { border-bottom-color: var(--r-ligne); }
.que-title { transition: color 0.2s ease; }
.que:hover .que-title { color: var(--r-vert); }
.plus-icon { transition: transform 0.3s ease; }
.w--open .plus-icon { transform: rotate(45deg); }
.ans-text + .ans-text { margin-top: 10px; }

/* Avis et articles : cartes arrondies, ombre portée légère */
.review-card, .post-link {
  border-radius: var(--r-rayon);
  border: 1px solid var(--r-ligne);
  background-color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover, .post-link:hover { transform: translateY(-2px); box-shadow: var(--r-ombre); }

/* Bloc « 2 cabinets », parcours et bandeau d'appel */
.story-tag { border-radius: 999px; }
.uui-padding-vertical-xhuge-2 .uui-text-align-center-2 { border-radius: var(--r-rayon); }
.cta-image { border-radius: 0; }

/* Pied de page : colonnes qui respirent avec les nouveaux intitulés */
.footer-right { grid-column-gap: 48px; flex-wrap: wrap; }
@media (min-width: 768px) and (max-width: 991px) {
  .footer-right { flex-wrap: nowrap; grid-column-gap: 32px; }
  .footer-menu { min-width: 0; }
  .footer-link { white-space: normal; }
  .top-link { flex: none; margin-left: auto; }
}
.footer-link { transition: color 0.2s ease, opacity 0.2s ease; }
.footer-link:hover { opacity: 0.8; }

/* Accessibilité : focus visible cohérent avec la palette */
a:focus-visible, button:focus-visible { outline: 2px solid var(--r-vert); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .treatment-image, .uui-pricing09_plan, .review-card, .post-link, .plus-icon { transition: none; }
}

/* Cartes des pratiques : largeurs égales malgré des intitulés plus longs */
.treatment-item { flex: 1 1 0%; min-width: 0; }
.treatment-link { display: block; }
.treatment-title { font-size: 22px; line-height: 1.2; }
@media (min-width: 992px) {
  .hero-title { font-size: 46px; }
}

/* Pied de page : trois colonnes sur une ligne en bureau */
@media (min-width: 992px) {
  .footer-right { flex-wrap: nowrap; grid-column-gap: 48px; }
  .footer-menu { min-width: 0; }
  .footer-link { white-space: normal; }
}

/* Titre de page : ne dépasse jamais la largeur de l'écran (largeur fixe d'origine corrigée en mobile) */
.main-title { max-width: 100%; }

/* Formulaire Jotform : ne déborde plus en mobile */
iframe { max-width: 100%; }

/* ============================================================
   Pages pratiques : en-tête plus affirmé, texte rythmé, listes en cartes
   ============================================================ */
.treatment-tag {
  background-color: var(--r-vert);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
}
.treatment-info-text { font-size: 19px; line-height: 1.5; color: #475467; max-width: 60ch; }
@media (min-width: 992px) {
  .main-title { font-size: 50px; line-height: 1.08; }
}
.treatment-img { border-radius: 24px; box-shadow: var(--r-ombre); }
.treatment-sidebar { border-radius: 24px; }
.treatment-inner-title { font-weight: 600; }
.link-treatment { padding-top: 4px; transition: color 0.2s ease, padding-left 0.25s ease; }
.link-treatment:hover { padding-left: 6px; }

.treatment-rich-text { width: 100%; }
.treatment-rich-text p { font-size: 17px; line-height: 1.7; max-width: 68ch; }
.treatment-rich-text > p:first-child { font-size: 21px; line-height: 1.5; color: #1d2939; }
.treatment-rich-text h2 {
  position: relative;
  margin-top: 56px;
  padding-top: 18px;
  font-size: 30px;
  line-height: 1.15;
}
.treatment-rich-text h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--r-vert);
}
/* paragraphe entièrement en gras = phrase clé mise en exergue */
.treatment-rich-text p:has(> strong:only-child),
.therapiest-rich-text > p:nth-child(2) {
  max-width: none;
  background-color: var(--r-sable);
  border-left: 4px solid var(--r-vert);
  border-radius: 0 16px 16px 0;
  padding: 18px 24px;
  font-size: 18px;
  line-height: 1.5;
}
.treatment-rich-text p:has(> strong:only-child) strong,
.therapiest-rich-text > p:nth-child(2) strong { font-weight: 600; }
/* listes : cartes à deux colonnes avec coche verte */
.treatment-rich-text ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
}
.treatment-rich-text ul li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 46px;
  background-color: #fff;
  border: 1px solid var(--r-ligne);
  border-radius: 14px;
  line-height: 1.5;
}
.treatment-rich-text ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--r-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 767px) {
  .treatment-rich-text ul { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Qui suis-je : photo avec cadre décalé, image qui suit la lecture, parcours en bloc vert
   ============================================================ */
.therapiest-main-img {
  position: relative;
  overflow: visible;
  background-color: transparent;
  border-radius: 24px;
}
.therapiest-main-img::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border-radius: 24px;
  background-color: var(--r-vert);
  opacity: 0.14;
}
.therapiest-main-img img {
  position: relative;
  border-radius: 24px;
  box-shadow: var(--r-ombre);
}
.therapiest-main-copy { padding-top: 80px; padding-bottom: 80px; }
.therapiest-title { font-size: 42px; line-height: 1.1; }
.therapiest-right > div > div:not([class]) { font-size: 17px; line-height: 1.7; }
.uui-section_layout37 .therapiest-wrap { align-items: flex-start; }
.uui-section_layout37 .therapiest-main-img { position: sticky; top: 110px; margin-top: 60px; }
.therapiest-rich-text p { font-size: 17px; line-height: 1.7; }
.therapiest-rich-text > p:first-child { font-size: 20px; line-height: 1.55; color: #1d2939; }
.therapiest-rich-text h3 {
  position: relative;
  margin-top: 48px;
  padding-top: 18px;
  font-size: 28px;
  line-height: 1.15;
}
.therapiest-rich-text h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background-color: var(--r-vert);
}
.uui-padding-vertical-xhuge-2 {
  background-color: var(--r-vert);
  color: #fff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
}
.uui-padding-vertical-xhuge-2 h2 { color: #fff; margin-top: 0; }
.uui-padding-vertical-xhuge-2 .uui-max-width-large-2 { max-width: 60rem; }
.uui-padding-vertical-xhuge-2 ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  text-align: left;
}
.uui-padding-vertical-xhuge-2 ul li {
  margin: 0;
  padding: 18px 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.uui-padding-vertical-xhuge-2 ul li strong { color: #fff; font-weight: 600; }
@media (max-width: 767px) {
  .uui-padding-vertical-xhuge-2 ul { grid-template-columns: minmax(0, 1fr); }
  .uui-padding-vertical-xhuge-2 { padding: 2rem 1.25rem; }
  .therapiest-main-img::before { inset: 12px 12px -12px -12px; }
}
@media (max-width: 991px) {
  .uui-section_layout37 .therapiest-main-img { position: static; margin-top: 0; }
  .therapiest-main-img::before { inset: 12px 12px -12px -12px; }
}

/* Apparition au défilement (navigateurs qui gèrent les animations pilotées par le défilement) */
@keyframes r-apparition {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  .treatment-rich-text > *,
  .therapiest-rich-text > *,
  .uui-padding-vertical-xhuge-2 ul li,
  .treatment-item,
  .faq {
    animation: r-apparition 0.6s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 26%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .treatment-rich-text > *, .therapiest-rich-text > *, .uui-padding-vertical-xhuge-2 ul li, .treatment-item, .faq { animation: none; }
}

/* Qui suis-je : photo d'ouverture cadrée sur le visage */
.therapiest-main-copy .therapiest-main-image { object-position: 55% 10%; }

/* Le cadre décalé des photos ne doit pas créer de défilement horizontal */
.therapiest-main-copy, .uui-section_layout37 { overflow-x: clip; }

/* ============================================================
   Pages pratiques : encadré « Mes autres pratiques » collant à droite du texte
   Le bloc image + encadré (.treatment-wrap) est dissous (display: contents) pour que
   l'image, l'encadré et le texte deviennent les cellules d'une même grille.
   ============================================================ */
@media (min-width: 992px) {
  .treatment-main .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 40px;
    align-items: start;
  }
  .treatment-wrap { display: contents; }
  .treatment-img {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    aspect-ratio: 16 / 9;
    max-height: 560px;
  }
  .treatment-main-image { width: 100%; height: 100%; object-fit: cover; }
  .treatment-details {
    grid-column: 1;
    grid-row: 2;
    max-width: none;
  }
  .treatment-sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 140px;
    max-width: none;
    padding: 32px;
    grid-row-gap: 28px;
  }
  .treatment-sidebar .fill-button { width: 100%; }
}

/* Page équilibre alimentaire : photo verticale, cadrage sur la praticienne à son bureau */
html[data-wf-item-slug="dietetique-chinoise"] .treatment-main-image { object-position: 50% 78%; }

/* ============================================================
   Repasse responsive, octobre 2026
   ============================================================ */
/* Contact : le script Jotform force une largeur de 700 px sur son iframe, ce qui débordait en mobile */
.contact-wrap iframe { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }

/* Pied de page mobile : les intitulés longs passent à la ligne proprement */
@media (max-width: 767px) {
  .footer-right { grid-column-gap: 24px; }
  .footer-link { white-space: normal; line-height: 1.35; }
}

/* Bandeau d'appel : sur petit écran, les deux photos s'empilent au lieu de se partager la largeur */
@media (max-width: 479px) {
  .cta-images { flex-direction: column; grid-row-gap: 12px; }
  .cta-img { max-width: 100%; }
  .cta-image { max-height: 220px; min-height: 180px; }
}

/* « Voir toutes les pratiques » : libellé et flèche sur la même ligne en mobile */
@media (max-width: 767px) {
  .treat-data { flex-flow: row wrap; justify-content: center; align-items: center; grid-column-gap: 10px; grid-row-gap: 12px; }
  .treat-data .text-block-5 { flex: 0 0 100%; }
}

/* Qui suis-je : respiration entre l'ouverture et la section suivante en tablette et mobile */
@media (max-width: 991px) {
  .therapiest-main-copy { padding-top: 48px; padding-bottom: 48px; margin-bottom: 56px; }
}

/* Boutons du hero : retour à la ligne propre quand la largeur manque */
.hero-wrap a + a, .hero-wrap .uui-button + a { margin-top: 0; }
