/*
Theme Name: Yseult Chalandon
Theme URI: https://github.com/BarryBcr/site-yseult
Description: Child theme of Hello Elementor for AnimalYse — Yseult Chalandon, communication animale en Bretagne. Custom palette bordeaux + Playfair/Newsreader + responsive.
Author: Boubacar Barry — FlairDigital
Author URI: https://boubacarbarry.fr
Template: hello-elementor
Version: 0.1.0
License: GNU General Public License v2 or later
Text Domain: yseult-chalandon
*/

/* ============================================================
   Yseult — Maquette B "Douceur Poudrée"
   Palette : bordeaux #8B1E3F · rose poudré #F7E3E3 · blanc rosé #FDF7F5
   Typo : Playfair Display (serif romantique) · Newsreader (texte)
   ============================================================ */

:root {
  --c-ink: #2A2A2A;
  --c-ink-soft: #5A5A5A;
  --c-ink-muted: #6B6B6B;
  --c-ink-faint: #B59E9E;
  --c-bordeaux: #8B1E3F;
  --c-blush: #F7E3E3;
  --c-blush-light: #FDF7F5;
  --c-blush-mid: #F1C9C9;
  --c-blush-mauve: #D4A5A5;
  --c-cream: #FFFFFF;

  --serif: "Playfair Display", "Newsreader", Georgia, serif;
  --sans: "Newsreader", Georgia, "Times New Roman", serif;

  --r-pill: 999px;
  --r-card: 16px;
  --r-soft: 8px;

  --container: 1280px;
  --pad-x: 80px;
}

* { box-sizing: border-box; }

/* overflow-x: clip empêche tout débordement horizontal accidentel (à n'importe quel
   breakpoint) → footer & sections toujours pleine largeur. 'clip' (pas 'hidden')
   ne casse PAS position:sticky du header et n'affecte pas les .scrollable-on-narrow
   qui ont leur propre overflow-x:auto. */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-blush-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.section { width: 100%; padding: 96px var(--pad-x); }
.section--tight { padding: 56px var(--pad-x); }
.section--xl { padding: 112px var(--pad-x); }
.container { max-width: var(--container); margin: 0 auto; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--c-bordeaux);
  text-transform: uppercase;
  margin: 0;
}

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-bordeaux);
  line-height: 1;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.15;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
p { margin: 0; }

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--c-bordeaux); color: var(--c-cream); }
.btn--primary:hover { background: #7a1937; box-shadow: 0 8px 20px rgba(139,30,63,.25); }

.btn--ghost { background: transparent; color: var(--c-bordeaux); border-color: var(--c-bordeaux); }
.btn--ghost:hover { background: var(--c-bordeaux); color: var(--c-cream); }

.btn--ghost-light { background: transparent; color: var(--c-cream); border-color: var(--c-cream); }
.btn--ghost-light:hover { background: var(--c-cream); color: var(--c-bordeaux); }

.btn--invert { background: var(--c-cream); color: var(--c-bordeaux); }
.btn--invert:hover { background: var(--c-blush); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Header / Nav ---------- */
.site-nav {
  background: var(--c-blush-light);
  height: 72px;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(241,201,201,.35);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(253,247,245,.92);
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  color: var(--c-ink);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  color: var(--c-ink-muted);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--c-bordeaux);
  font-weight: 600;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-bordeaux);
  border-radius: 2px;
}

/* ---------- Burger / Mobile drawer ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  margin-left: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.site-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Sub-nav (Prestations dropdown) ---------- */
.has-submenu { position: relative; }
.has-submenu > a { padding-right: 4px; }
.submenu-toggle {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--c-ink-muted);
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.submenu-toggle .chevron {
  width: 10px;
  height: 7px;
  transition: transform .2s ease;
}
.has-submenu.is-open .submenu-toggle .chevron,
.submenu-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.sub-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 220px;
  background: var(--c-blush-light);
  border: 1px solid rgba(241,201,201,.4);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(139,30,63,.10);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 60;
}
.has-submenu:hover .sub-nav,
.has-submenu:focus-within .sub-nav,
.has-submenu.is-open .sub-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-nav li { width: 100%; }
.sub-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--c-ink-muted);
  white-space: nowrap;
}
.sub-nav a:hover,
.sub-nav a.is-active {
  color: var(--c-bordeaux);
  background: rgba(241,201,201,.25);
  font-weight: 600;
}


/* ---------- HERO ---------- */
.hero {
  background: var(--c-blush);
  padding: 72px var(--pad-x);
}
.hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 500px);
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: 48px;
  margin-top: 6px;
}
.hero__script { font-size: 58px; }
.hero__sub {
  font-size: 17px;
  color: var(--c-ink-soft);
  margin-top: 18px;
  max-width: 540px;
}
.hero__cta { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media {
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--c-blush-mid) center/cover no-repeat;
  box-shadow: 0 30px 60px -20px rgba(139,30,63,.35);
  justify-self: end;
  position: relative;
  overflow: hidden;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  pointer-events: none;
}

/* ---------- Bandeau crédibilité ---------- */
.bandeau {
  background: var(--c-ink);
  height: 88px;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bandeau__item { display: flex; flex-direction: column; gap: 4px; color: var(--c-blush-light); }
.bandeau__value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.bandeau__label {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--c-blush-mauve);
  text-transform: uppercase;
}
.bandeau__sep {
  width: 1px;
  height: 36px;
  background: var(--c-ink-soft);
  flex-shrink: 0;
}

/* ---------- Section header (centered) ---------- */
.section__head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__head .eyebrow { display: block; margin-bottom: 12px; }
.section__head .script { font-size: 44px; }
.section__head h2 { font-size: 36px; margin-top: 4px; }
.section__head p { color: var(--c-ink-muted); margin-top: 14px; }

.bg--blush { background: var(--c-blush); }
.bg--cream { background: var(--c-cream); }
.bg--light { background: var(--c-blush-light); }
.bg--bordeaux { background: var(--c-bordeaux); color: var(--c-cream); }
.bg--ink { background: var(--c-ink); color: var(--c-cream); }

/* ---------- Services grid (Accueil + Tarifs) ---------- */
.grid-2 {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
/* Carte unique dans une grille → centrée (desktop grid + carrousel mobile)
   Ne matche QUE les grilles à 1 carte (ex: bloc formation Prestations). */
.grid-2:has(> .card:only-child) {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.card {
  background: var(--c-cream);
  border: 1px solid var(--c-blush-mid);
  border-radius: var(--r-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -24px rgba(139,30,63,.25);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.card__title { font-size: 24px; }
.card__desc {
  color: var(--c-ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.card__link {
  margin-top: auto;
  color: var(--c-bordeaux);
  font-size: 14px;
  font-weight: 600;
}
.card__link:hover { text-decoration: underline; }

/* Card variant : feature (bordeaux) for Tarifs */
.card--feature {
  background: var(--c-bordeaux);
  border-color: var(--c-bordeaux);
  color: var(--c-cream);
}
.card--feature .card__icon { background: rgba(247,227,227,.18); }
.card--feature .card__title { color: var(--c-cream); }
.card--feature .card__desc { color: var(--c-blush); }
.card--feature .eyebrow { color: var(--c-blush); }
.card--feature .price__value { color: var(--c-cream); }
.card--feature .price__unit { color: var(--c-blush); }

/* ---------- Tarif card ---------- */
.tarif-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-width: 0; /* autorise la carte (item grille) à coller au conteneur < 450px (anti grid-blowout) */
  transition: transform .25s ease, box-shadow .25s ease,
              background-color .25s ease, border-color .25s ease, color .25s ease;
}
.tarif-card .price-list__label { min-width: 0; overflow-wrap: anywhere; }
/* Carte large géo : la grille interne 2 colonnes doit aussi pouvoir rétrécir */
.tarif-card .price-grid, .tarif-card .price-grid > .price-group { min-width: 0; }
.tarif-card .card__icon { font-size: 28px; }
.tarif-card .card__desc { margin-bottom: 18px; }
.tarif-card .btn { margin-top: auto; }

/* Hover : blanche -> bordeaux (toutes les cartes Tarifs) */
.tarif-card:hover {
  background: var(--c-bordeaux);
  border-color: var(--c-bordeaux);
  color: var(--c-cream);
}
.tarif-card:hover .card__icon { background: rgba(247, 227, 227, .18); }
.tarif-card:hover .eyebrow,
.tarif-card:hover .card__desc,
.tarif-card:hover .price__unit,
.tarif-card:hover .price-list__label,
.tarif-card:hover .price-list__label em,
.tarif-card:hover .price-list__value,
.tarif-card:hover .price-group__title,
.tarif-card:hover .price-group__sub { color: var(--c-blush); }
.tarif-card:hover .card__title,
.tarif-card:hover .price__value { color: var(--c-cream); }
.tarif-card:hover .price-list,
.tarif-card:hover .price-list li { border-color: rgba(247, 227, 227, .25); }
.tarif-card:hover .btn--primary,
.tarif-card:hover .btn--invert {
  background: var(--c-cream);
  color: var(--c-bordeaux);
  border-color: var(--c-cream);
}
.tarif-card:hover .btn--primary:hover { background: var(--c-blush); }
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.price__value {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--c-bordeaux);
  line-height: 1;
}
.price__unit { color: var(--c-ink-muted); font-size: 14px; }

/* ---------- Price list (tiered) ---------- */
.price-list {
  list-style: none;
  margin: 4px 0 22px;
  padding: 0;
  border-top: 1px solid rgba(139, 30, 63, .12);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(139, 30, 63, .12);
}
.price-list__label {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--c-ink);
  line-height: 1.4;
}
.price-list__label em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--c-ink-muted);
  margin-top: 2px;
}
.price-list__value {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-bordeaux);
  white-space: nowrap;
}
.price-list__note {
  margin: -14px 0 22px;
  font-size: 13px;
  font-style: italic;
  color: var(--c-ink-muted);
}
.price-group { margin-top: 18px; }
.price-group:first-child { margin-top: 0; }
.price-group__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-bordeaux);
  margin: 0 0 4px;
}
.price-group__sub {
  font-size: 13px;
  font-style: italic;
  color: var(--c-ink-muted);
  margin: 0 0 6px;
}
.tarif-card--wide { grid-column: 1 / -1; }
.tarif-card--wide .price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
@media (max-width: 720px) {
  .tarif-card--wide .price-grid { grid-template-columns: 1fr; }
}
/* Carte large géo (Tarifs) : la grille interne est marquée scrollable-on-narrow
   (carrousel) — sur la page tarifs on préfère EMPILER les 2 groupes en mobile
   plutôt qu'un mini-carrousel horizontal qui coupe la 2e colonne. */
@media (max-width: 1100px) {
  .tarif-card--wide .price-grid.scrollable-on-narrow {
    display: block !important;
    overflow: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    -webkit-mask-image: none !important;
            mask-image: none !important;
  }
  .tarif-card--wide .price-grid.scrollable-on-narrow > .price-group {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
  }
  .tarif-card--wide .price-grid.scrollable-on-narrow > .price-group + .price-group {
    margin-top: 18px;
  }
}

/* ---------- About asymétrique ---------- */
.about {
  background: var(--c-blush);
  padding: 96px var(--pad-x);
}
.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  width: 420px; height: 420px;
  border-radius: 50%;
  background: var(--c-blush-mid) center/cover no-repeat;
  box-shadow: 0 24px 50px -20px rgba(139,30,63,.3);
}
.about__title { font-size: 40px; }
.about__script { font-size: 48px; }
.about__lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  max-width: 600px;
}
.about__cta { margin-top: 24px; }

/* ---------- Testimonials ---------- */
.testimonials__row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--c-blush);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__stars { color: var(--c-bordeaux); font-size: 15px; }
.testimonial__quote {
  font-style: italic;
  color: var(--c-ink);
  font-size: 15px;
  line-height: 1.65;
}
.testimonial__author { color: var(--c-ink-muted); font-size: 12px; font-weight: 600; }

/* ---------- Final CTA (bordeaux) ---------- */
.final-cta {
  background: var(--c-bordeaux);
  padding: 96px var(--pad-x);
  text-align: center;
  color: var(--c-cream);
}
.final-cta .script { color: var(--c-blush); font-size: 48px; }
.final-cta h2 { color: var(--c-cream); font-size: 36px; max-width: 900px; margin: 8px auto 0; }
.final-cta p {
  color: var(--c-blush);
  font-size: 17px;
  max-width: 620px;
  margin: 14px auto 28px;
}
.final-cta__row { display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-blush);
  padding: 56px var(--pad-x) 28px;
}
/* Hello Elementor (theme.css) cape .site-footer:not(.dynamic-footer) à max-width
   500px (576-767px) / 600px / 800px / 1140px, et ne fournit l'override
   .footer-full-width:max-width:100% QU'À PARTIR de 768px → footer rétréci+centré
   dans la plage 576-767px. On force la pleine largeur à toutes les largeurs. */
.site-footer.footer-full-width { max-width: 100% !important; }
.site-footer__cols {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(247,227,227,.12);
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--c-blush);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer a, .site-footer li { color: var(--c-blush-mauve); font-size: 13px; transition: color .2s ease; }
.site-footer a:hover { color: var(--c-cream); }
.site-footer__brand {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  color: var(--c-blush-light);
}
.site-footer__tag { color: var(--c-blush-mauve); font-size: 13px; line-height: 1.6; margin-top: 8px; max-width: 380px; }
.site-footer__bar {
  max-width: var(--container);
  margin: 24px auto 0;
  text-align: center;
  font-size: 11px;
  color: var(--c-ink-muted);
}

/* ---------- Page header (sub-pages) ---------- */
.page-hero {
  background: var(--c-blush-light);
  padding: 80px var(--pad-x) 40px;
  text-align: center;
}
.page-hero__inner { max-width: 900px; margin: 0 auto; }
.page-hero .script { font-size: 48px; }
.page-hero h1 { font-size: 38px; margin-top: 4px; }
.page-hero p { color: var(--c-ink-muted); max-width: 700px; margin: 18px auto 0; font-size: 16px; }

/* ---------- About page (parcours timeline) ---------- */
.about-hero {
  background: var(--c-blush-light);
  padding: 80px var(--pad-x);
}
.about-hero__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero__media {
  width: 480px; height: 480px;
  border-radius: 50%;
  background: var(--c-blush-mid) center/cover no-repeat;
  box-shadow: 0 30px 60px -20px rgba(139,30,63,.35);
}
.about-hero h1 { font-size: 38px; margin-top: 6px; }
.about-hero .script { font-size: 52px; }
.about-hero p { margin-top: 16px; color: var(--c-ink-soft); font-size: 16px; line-height: 1.7; max-width: 700px; }
.about-hero p + p { margin-top: 14px; }

.timeline {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
  padding-top: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-blush-mauve) 15%, var(--c-blush-mauve) 85%, transparent);
}
.timeline__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 36px;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-bordeaux);
  border: 3px solid var(--c-blush);
  box-shadow: 0 0 0 1px var(--c-blush-mauve);
}
.timeline__year {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--c-bordeaux);
}
.timeline__title { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.timeline__desc { color: var(--c-ink-muted); font-size: 13px; line-height: 1.6; }

/* ---------- Philosophy 3 piliers (works for 3/4/8 items via auto-fit) ---------- */
.piliers {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.pilier {
  background: var(--c-blush);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pilier__icon { font-size: 32px; }

/* ---------- Contact page ---------- */
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) 440px;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--c-cream);
  border: 1px solid var(--c-blush-mid);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-card h3 { font-size: 22px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { color: var(--c-ink-muted); font-size: 12px; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--c-ink);
  background: var(--c-blush-light);
  border: 1px solid transparent;
  border-radius: var(--r-soft);
  padding: 12px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--c-ink-faint);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-bordeaux);
  background: var(--c-cream);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ---------- Contact Form 7 — calé sur .form-field ---------- */
.form-card .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.form-card .wpcf7-form > p { margin: 0; }
.form-field .wpcf7-form-control-wrap { display: block; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; box-sizing: border-box; }
.form-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: var(--c-ink-muted);
}
.form-consent .wpcf7-list-item { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.form-consent input[type="checkbox"] { width: auto; margin-top: 3px; flex: 0 0 auto; }
.wpcf7-response-output {
  margin: 4px 0 0 !important; padding: 12px 16px !important;
  border-radius: var(--r-soft); font-size: 14px; line-height: 1.5;
}
.wpcf7-not-valid-tip { color: #b3261e; font-size: 12px; margin-top: 4px; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border: 1px solid #e6b0aa; color: #b3261e; background: #fdf3f2; }
.wpcf7 form.sent .wpcf7-response-output { border: 1px solid #a3c9a8; color: #1e7a3d; background: #f1f8f2; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.tile {
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile--bordeaux { background: var(--c-bordeaux); color: var(--c-cream); }
.tile--bordeaux .tile__label { color: var(--c-blush); }
.tile--bordeaux .tile__value {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}
.tile--bordeaux .tile__hint { color: var(--c-blush); font-size: 13px; }
.tile--blush { background: var(--c-blush); }
.tile__title { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--c-ink); }
.tile__hint { color: var(--c-ink-muted); font-size: 13px; line-height: 1.6; }
.tile__label { font-size: 11px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.calendly-box {
  background: var(--c-cream);
  border-radius: var(--r-soft);
  padding: 30px;
  display: flex; align-items: center; justify-content: center;
  font-style: italic;
  color: var(--c-bordeaux);
  font-size: 12px;
}

/* ---------- Tarifs : info paiement bandeau ---------- */
.tarif-info {
  background: var(--c-blush);
  padding: 56px var(--pad-x);
  text-align: center;
}
.tarif-info h3 { font-size: 24px; }
.tarif-info p { color: var(--c-ink-muted); font-size: 15px; margin-top: 8px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */

/* Tablet + mobile: show burger, hide horizontal nav, drawer overlay */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav .btn--sm { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--c-blush-light);
    flex-direction: column;
    gap: 0;
    padding: 32px var(--pad-x);
    z-index: 100;
    overflow-y: auto;
    border-top: 1px solid rgba(241,201,201,.4);
    animation: drawer-fade .2s ease;
    box-sizing: border-box;
  }
  .site-nav.is-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(241,201,201,.4);
  }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { color: var(--c-bordeaux); border-left: 3px solid var(--c-bordeaux); padding-left: 16px; }
  .nav-drawer__cta {
    margin-top: 24px;
    width: 100%;
    text-align: center;
    padding: 16px 24px !important;
  }

  /* Sub-nav: accordion behaviour inside drawer */
  .has-submenu {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .has-submenu > a {
    flex: 1 1 auto;
    width: auto;
  }
  .submenu-toggle {
    position: static;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    justify-content: center;
    align-items: center;
    color: var(--c-ink-muted);
    border-bottom: 1px solid rgba(241,201,201,.4);
  }
  .submenu-toggle .chevron { width: 14px; height: 10px; }
  .has-submenu:hover .sub-nav,
  .has-submenu:focus-within .sub-nav {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .sub-nav {
    position: static;
    flex: 0 0 100%;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
  }
  .has-submenu.is-open .sub-nav {
    max-height: 400px;
    padding: 4px 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sub-nav a {
    padding: 14px 16px 14px 32px;
    font-size: 16px;
    border-bottom: 1px solid rgba(241,201,201,.25);
    color: var(--c-ink-muted);
  }
}
@keyframes drawer-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet + below: hero, about, contact stack — but NOT grid-2/piliers/timeline (they keep multi-col) */
@media (max-width: 1100px) {
  :root { --pad-x: 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { width: 400px; height: 400px; justify-self: center; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { margin: 0 auto; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-hero__media { margin: 0 auto; width: 360px; height: 360px; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Bandeau crédibilité: 2x2 grid in tablet range (601px–1024px) instead of 1x4 vertical stack */
@media (min-width: 601px) and (max-width: 1024px) {
  .bandeau {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 32px var(--pad-x);
    gap: 24px 40px;
  }
  .bandeau__sep { display: none; }
}

/* Mobile: full single-column stacking */
@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero__title { font-size: 32px; }
  .hero__script { font-size: 40px; }
  .hero__media { width: 280px; height: 280px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  /* Bandeau crédibilité mobile: 2x2 grid (au lieu de stack vertical ou scroll) */
  .bandeau {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    padding: 24px;
    gap: 20px 16px;
  }
  .bandeau__item { min-width: 0; }
  .bandeau__sep { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .piliers { grid-template-columns: 1fr; }
  .section, .section--xl { padding: 64px var(--pad-x); }
  .about-hero__media { width: 240px; height: 240px; }
  /* Image ronde section "Yseult" : fluide pour ne jamais déborder (causait un overflow horizontal + footer non pleine largeur) */
  .about__grid { justify-items: center; }
  .about__media { width: min(320px, 78vw); height: auto; aspect-ratio: 1 / 1; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .final-cta__row { flex-direction: column; align-items: stretch; }
  .final-cta__row .btn { text-align: center; }
  .tarif-card { padding: 24px; }
  .price-list__value { font-size: 19px; }
  .price-list__label { font-size: 16px; }
  .testimonial { padding: 28px 24px; }
}

/* ============================================================
   Slider arrows (injectées par scroller.js sur les .scrollable-on-narrow
   réellement scrollables — mobile/tablette). Autoplay géré en JS.
   ============================================================ */
.slider-shell { position: relative; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--c-bordeaux);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  padding: 0;
  box-shadow: 0 4px 14px rgba(139, 30, 63, .35);
  transition: opacity .2s ease, transform .2s ease;
}
.slider-arrow:hover { transform: translateY(-50%) scale(1.06); }
.slider-arrow svg { width: 18px; height: 18px; display: block; }
.slider-arrow--prev { left: 6px; }
.slider-arrow--next { right: 6px; }
.slider-arrow.is-disabled { opacity: 0; pointer-events: none; }

/* ============================================================
   Card scrollers — opt-in via .scrollable-on-narrow
   Activated at <=1100px (tablet + mobile). Desktop keeps the grid.
   ============================================================ */
@media (max-width: 1100px) {
  .scrollable-on-narrow {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: visible;
    gap: 16px;
    padding: 8px 24px 24px;
    margin-left: calc(var(--pad-x) * -1);
    margin-right: calc(var(--pad-x) * -1);
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
  }
  .scrollable-on-narrow::-webkit-scrollbar { display: none; }

  .scrollable-on-narrow > * {
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: start;
    /* reset any timeline ::before/::after that may bleed when flexed */
  }

  /* Disable the desktop vertical line on .timeline when in scroller mode */
  .timeline.scrollable-on-narrow::before,
  .timeline.scrollable-on-narrow::after { display: none; }
}

/* Mobile (<=480px) — cards a bit wider so 1.2 cards peek nicely */
@media (max-width: 480px) {
  .scrollable-on-narrow > * {
    flex: 0 0 82%;
    max-width: 300px;
  }
}

/* Tablet (601–1100px) — show ~2.2 cards in view */
@media (min-width: 601px) and (max-width: 1100px) {
  .scrollable-on-narrow > * {
    flex: 0 0 44%;
    max-width: 360px;
  }
}

/* Piliers — variante "2 rangées" pour les sections à beaucoup d'items (ex: 8 bienfaits prestations).
   Active uniquement quand .piliers--2rows ET .scrollable-on-narrow sont combinés. */
@media (max-width: 1100px) {
  .piliers--2rows.scrollable-on-narrow {
    display: grid !important;
    grid-template-rows: repeat(2, auto) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 70%;
    flex-wrap: initial !important;
    flex-direction: initial !important;
    align-items: stretch;
    column-gap: 16px;
    row-gap: 16px;
  }
  .piliers--2rows.scrollable-on-narrow > .pilier {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .piliers--2rows.scrollable-on-narrow {
    grid-auto-columns: 38%;
  }
}
@media (max-width: 480px) {
  .piliers--2rows.scrollable-on-narrow {
    grid-auto-columns: 75%;
  }
}

/* ============================================================
   REBUILD ELEMENTOR NATIF — couche de compat.
   En injection JSON, Elementor n'applique les classes custom
   qu'aux *widgets* (pas aux sections/colonnes). On porte donc
   nos styles typographiques sur le contenu interne des widgets,
   et on stylise les conteneurs via les réglages natifs Elementor.
   ============================================================ */

/* NB : avec "Optimized DOM Output", le widget text-editor n'a PAS de
   .elementor-widget-container — le texte est directement dans .elementor-element.
   On cible donc .elementor-widget-text-editor.<classe> (spécificité 0,2,0). */

/* Eyebrow / Script */
.elementor-widget-text-editor.eyebrow {
  font-family: var(--sans) !important; font-size: 12px !important; font-weight: 700;
  letter-spacing: 3px; color: var(--c-bordeaux) !important; text-transform: uppercase;
}
.elementor-widget-text-editor.script {
  font-family: var(--serif) !important; font-style: italic; font-weight: 400;
  color: var(--c-bordeaux) !important; line-height: 1; font-size: 44px !important;
}
.elementor-widget-text-editor.script--hero { font-size: 52px !important; }
.elementor-widget-text-editor.script--cta  { color: var(--c-blush) !important; }

/* Headings — réaffirme notre typo serif par-dessus le kit Elementor */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--serif) !important; font-weight: 600; color: var(--c-ink) !important; line-height: 1.15;
}
.elementor-widget-heading h1.elementor-heading-title { font-size: 48px; }
.elementor-widget-heading h2.elementor-heading-title { font-size: 36px; }
.elementor-widget-heading h3.elementor-heading-title { font-size: 24px; }

/* Eyebrow / Script en widget HEADING (ligne unique, éditable proprement).
   Placés APRÈS la règle heading globale pour la surcharger (même spécificité). */
.eyebrow .elementor-heading-title {
  font-family: var(--sans) !important; font-size: 12px !important; font-weight: 700;
  letter-spacing: 3px; color: var(--c-bordeaux) !important; text-transform: uppercase; line-height: 1.4;
}
.script .elementor-heading-title {
  font-family: var(--serif) !important; font-style: italic; font-weight: 400;
  color: var(--c-bordeaux) !important; line-height: 1; font-size: 44px !important;
}
.script--hero .elementor-heading-title { font-size: 52px !important; }
.final-cta .script .elementor-heading-title { color: var(--c-blush) !important; font-size: 48px !important; }

/* Cartes piliers */
.card__title .elementor-heading-title { font-size: 20px; }
.elementor-widget-text-editor.card__desc { color: var(--c-ink-soft) !important; font-size: 15px !important; line-height: 1.65; }
.elementor-widget-text-editor.pilier__icon { font-size: 32px !important; line-height: 1; }

/* Bloc texte centré (déroulé) — contient de vrais <p> */
.elementor-widget-text-editor.prose-narrow {
  max-width: 760px; margin: 0 auto; font-family: var(--serif) !important;
  font-size: 18px !important; line-height: 1.8; color: var(--c-ink) !important;
}
.prose-narrow p { margin: 0 0 1em; color: inherit; }
.prose-narrow p:last-child { margin-bottom: 0; }

/* Têtes de section centrées + largeur lisible */
.elementor-widget-text-editor.headw { max-width: 760px; margin-inline: auto; text-align: center; }

/* Boutons — la classe btn* est sur le widget, le <a> est .elementor-button */
.elementor-widget-button .elementor-button {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.elementor-widget-button .elementor-button:hover { transform: translateY(-1px); }
/* Hook dédié `el-btn*` (PAS `btn*`) pour ne PAS déclencher nos règles .btn sur
   le wrapper du widget (sinon double pilule bordeaux). Seul le <a> est stylé. */
.el-btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.el-btn .elementor-button:hover { transform: translateY(-1px); }
.el-btn--primary .elementor-button { background: var(--c-bordeaux) !important; color: var(--c-cream) !important; }
.el-btn--primary .elementor-button:hover { background: #7a1937 !important; box-shadow: 0 8px 20px rgba(139,30,63,.25); }
.el-btn--invert .elementor-button { background: var(--c-cream) !important; color: var(--c-bordeaux) !important; }
.el-btn--invert .elementor-button:hover { background: var(--c-blush) !important; }
.el-btn--ghost-light .elementor-button { background: transparent !important; color: var(--c-cream) !important; border-color: var(--c-cream) !important; }
.el-btn--ghost-light .elementor-button:hover { background: var(--c-cream) !important; color: var(--c-bordeaux) !important; }

/* Textes CTA (section bordeaux) clairs — prioritaires sur la compat heading globale */
.final-cta .elementor-heading-title { color: var(--c-cream) !important; }
.final-cta .elementor-widget-text-editor.script { color: var(--c-blush) !important; font-size: 48px !important; }
.final-cta .elementor-widget-text-editor { color: var(--c-blush) !important; }

/* ===== A1 + B2 : adaptations layout pour le DOM Elementor =====
   DOM : .elementor-section.<classe> > .elementor-container > .elementor-column */

/* HERO 2 colonnes (about-hero) — la grille est portée par .elementor-container */
.about-hero > .elementor-container {
  display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: center;
}
.about-hero > .elementor-container > .elementor-column { width: auto !important; }
/* Image hero (A2 : widget image natif) — ronde, ratio carré, responsive par max-width */
.about-hero__media-img { width: 100%; max-width: 480px; margin: 0 auto; }
.about-hero__media-img img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: 50%; box-shadow: 0 30px 60px -20px rgba(139, 30, 63, .35);
}
@media (max-width: 768px) {
  .about-hero > .elementor-container { grid-template-columns: 1fr; gap: 40px; }
  .about-hero__media-img { max-width: 360px; }
}
@media (max-width: 480px) { .about-hero__media-img { max-width: 240px; } }

/* PILIERS (B2) — grille desktop sur .elementor-container, carrousel ≤1100px */
.piliers > .elementor-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.piliers > .elementor-container > .elementor-column { width: auto !important; }
/* L'inner-section hôte reste un bloc neutre (on annule les styles scroller hérités) */
.elementor-inner-section.scrollable-on-narrow {
  display: block !important; overflow: visible !important;
  margin-left: 0 !important; margin-right: 0 !important;
  -webkit-mask-image: none !important; mask-image: none !important;
  padding: 0 !important;
}
/* ≤1100px : carrousel. NB : scroller.js enveloppe .elementor-container dans
   .slider-shell → on utilise des sélecteurs DESCENDANTS (pas `>`) pour rester
   valides après l'enrobage. (1 seul .elementor-container par piliers → sûr.) */
@media (max-width: 1100px) {
  .piliers.scrollable-on-narrow .elementor-container {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; overflow-y: visible;
    gap: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
  }
  .piliers.scrollable-on-narrow .elementor-container::-webkit-scrollbar { display: none; }
  .piliers.scrollable-on-narrow .elementor-container > .elementor-column {
    flex: 0 0 78%; max-width: 320px; width: auto !important; scroll-snap-align: start;
  }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .piliers.scrollable-on-narrow .elementor-container > .elementor-column { flex: 0 0 44%; max-width: 360px; }
}
@media (max-width: 480px) {
  .piliers.scrollable-on-narrow .elementor-container > .elementor-column { flex: 0 0 82%; max-width: 300px; }
}
