/**
 * Des gestes pour grandir — CSS du thème.
 * Issu de la maquette HTML. À modifier section par section ensuite.
 */

:root {
  --terracotta: #6B3F27;
  --terracotta-dark: #4A2B1B;
  --ochre: #AF8A6B;
  --ochre-light: #C9AC8E;
  --olive: #6F704D;
  --olive-dark: #505231;
  --ink: #2F2A24;
  --ink-soft: #6F6960;
  --cream: #EBE3D7;
  --cream-light: #F2EDE3;
  --cream-lighter: #FAF7F1;
  --white: #ffffff;
  --border-soft: rgba(47, 42, 36, 0.12);
  --shadow-soft: 0 10px 40px -12px rgba(107, 63, 39, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  font-family: 'Nunito', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { color: var(--ink-soft); }
a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terracotta-dark); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 247, 241, 0.82);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 500;
  color: var(--ink);
}
/* --- Logo SVG — header --- */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo {
  display: block;
  height: 80px;
  width: auto;
  color: var(--ink);
  transition: color .2s ease;
}
.brand-logo:hover .nav-logo { color: var(--terracotta); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--ink); font-size: .95rem; font-weight: 500;
  position: relative; padding: .25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--terracotta);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--olive); color: var(--cream-lighter) !important;
  padding: .6rem 1.2rem !important; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--olive-dark); transform: translateY(-1px); }

/* Dropdown sous-menu */
.nav-item-has-children {
  position: relative;
}
.nav-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.nav-chevron {
  transition: transform .22s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.nav-item-has-children:hover .nav-chevron,
.nav-item-has-children:focus-within .nav-chevron {
  transform: rotate(180deg);
}
.sub-menu {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: .45rem;
  min-width: 220px;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 32px rgba(47, 42, 36, 0.11), 0 2px 8px rgba(47, 42, 36, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 100;
}
/* Pont invisible pour garder le hover actif entre le lien et le menu */
.sub-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: .9rem;
}
.nav-item-has-children:hover .sub-menu,
.nav-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li { list-style: none; }
.sub-menu li a {
  display: block;
  padding: .6rem .9rem;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .15s ease;
}
.sub-menu li a:hover { background: var(--cream); }
.sub-menu li a::after { display: none !important; }
.sub-menu li a.active { color: var(--terracotta); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--ink); transition: all .3s ease;
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream-lighter);
    border-bottom: 1px solid var(--border-soft);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 600px; padding: 1rem 0; }
  .nav-links > a { padding: .9rem 1.5rem; width: 100%; }
  .nav-cta {
    width: auto;
    max-width: max-content;
    margin: .8rem auto;
    padding: .8rem 1.6rem;
    text-align: center;
  }
  .menu-toggle { display: flex; }

  /* Dropdown mobile : affiché en ligne sous le parent */
  .nav-item-has-children > a { padding: .9rem 1.5rem; width: 100%; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-width: 0;
  }
  .sub-menu::before { display: none; }
  .sub-menu li a {
    padding: .65rem 1.5rem .65rem 2.5rem;
    font-size: .88rem;
    color: var(--ink-light);
    border-radius: 0;
  }
  .sub-menu li a:hover { background: rgba(175, 138, 107, 0.08); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -100px; right: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
  z-index: 0;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -80px; left: -140px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(175, 138, 107, 0.22) 0%, transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--olive); font-weight: 600;
  font-size: .85rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--olive);
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
  font-style: italic; color: var(--olive-dark);
  font-weight: 400;
}
.hero-subtitle {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
  max-width: 540px;
}
.hero-lead {
  font-size: 1.15rem; line-height: 1.7;
  max-width: 520px; margin-bottom: 2.2rem;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: all .25s ease; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--olive); color: var(--cream-lighter);
  box-shadow: 0 4px 20px -6px rgba(80, 82, 49, 0.4);
}
.btn-primary:hover {
  background: var(--olive-dark); color: var(--cream-lighter);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(80, 82, 49, 0.55);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover {
  background: var(--cream); color: var(--ink); border-color: var(--ochre);
}
.btn-arrow { transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 40% 60% / 45% 55% 45% 55%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 40%),
    linear-gradient(135deg, var(--ochre) 0%, var(--terracotta) 100%);
  position: relative;
  box-shadow: var(--shadow-soft);
  animation: morph 14s ease-in-out infinite;
}
.hero-visual::before {
  content: ''; position: absolute;
  top: 8%; left: 10%; right: 10%; bottom: 8%;
  border: none;
  border-radius: 50% 50% 40% 60% / 45% 55% 45% 55%;
}
.hero-visual-quote {
  position: absolute; inset: auto 0 12% 0; padding: 0 2rem;
  color: var(--cream-lighter); text-align: center;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.3rem; line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 40% 60% / 45% 55% 45% 55%; }
  50%      { border-radius: 45% 55% 55% 45% / 60% 40% 60% 40%; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 380px; margin: 0 auto; aspect-ratio: 1/1; }
}

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-eyebrow {
  display: inline-block;
  color: var(--olive); font-weight: 600;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: .8rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-intro {
  max-width: 640px; font-size: 1.08rem; line-height: 1.7;
  margin-bottom: 3rem;
}

/* ---------- Intro / Mission ---------- */
.mission {
  background: var(--cream-light);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.mission-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mission-card {
  padding: 2rem 1.5rem;
  text-align: center;
}
.mission-icon {
  width: 54px; height: 54px; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  background: var(--white); border-radius: 50%;
  color: var(--terracotta);
  box-shadow: 0 4px 16px -4px rgba(107, 63, 39, 0.15);
}
.mission-card h3 { margin-bottom: .6rem; }
.mission-card p { font-size: .98rem; }
@media (max-width: 780px) {
  .mission-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Prestations ---------- */
.prestations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.prestation {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.prestation::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--ochre));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.prestation:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(47, 42, 36, 0.2);
  border-color: transparent;
}
.prestation:hover::before { transform: scaleX(1); }
.prestation-head {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1rem;
}
.prestation-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--terracotta);
}
.prestation-format {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: .35rem;
}
.prestation h3 { margin-bottom: 0; }
.prestation p { margin-top: .8rem; font-size: .98rem; }
.prestation-list {
  margin-top: 1.2rem; padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.prestation-list li {
  font-size: .8rem; font-weight: 500;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--cream-lighter);
  color: var(--ink-soft);
  border: 1px solid var(--border-soft);
}
.prestation-note {
  display: block;
  margin-top: 1.2rem;
  font-size: .85rem; font-style: italic;
  color: var(--ochre);
}
@media (max-width: 780px) {
  .prestations-grid { grid-template-columns: 1fr; }
}

/* ---------- À propos ---------- */
.apropos {
  background: var(--cream);
}
.apropos-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem; align-items: center;
}
.apropos-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  background:
    linear-gradient(180deg, var(--ochre-light) 0%, var(--terracotta) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.apropos-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.25) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(235, 227, 215, 0.2) 0%, transparent 50%);
}
.apropos-visual-has-image::before {
  background:
    linear-gradient(180deg, rgba(47, 42, 36, 0.08) 0%, rgba(47, 42, 36, 0.18) 100%),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 40%);
}
.apropos blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.4rem; line-height: 1.5;
  color: var(--terracotta-dark);
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--terracotta);
  margin: 1.8rem 0;
}
.apropos-values {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 2rem;
}
.hero-lead p,
.mission p + p,
.prestation p + p,
.apropos p + p,
.faq-answer-inner p + p {
  margin-top: 1rem;
}
.value {
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}
.value-label {
  display: block; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ochre); font-weight: 600;
  margin-bottom: .25rem;
}
.value-text { font-size: .95rem; color: var(--ink); font-weight: 500; }

@media (max-width: 820px) {
  .apropos-grid { grid-template-columns: 1fr; }
  .apropos-visual { max-width: 340px; margin: 0 auto; }
}

/* Charte couleur : fond blanc par défaut globalement, ivoire #EBE3D7 ponctuel sur certaines sections */
.mission { background: var(--white) !important; border-top: 0 !important; border-bottom: 0 !important; }
.contact { background: var(--white) !important; }

/* CF7 : neutralise la live-validation introduite en v5.6+. Les tips ne s'affichent qu'après une vraie tentative d'envoi invalide. */
.wpcf7-not-valid-tip { display: none !important; }
.wpcf7-form.invalid .wpcf7-not-valid-tip { display: block !important; }


/* Bandeau compact pour la section À propos */
.apropos-bandeau { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.apropos-bandeau .apropos-grid {
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}
.apropos-bandeau .apropos-visual {
  aspect-ratio: 1/1;
  max-width: 220px;
}
.apropos-bandeau blockquote { margin: 1.2rem 0 0; font-size: 1.2rem; }
@media (max-width: 820px) {
  .apropos-bandeau .apropos-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .apropos-bandeau .apropos-visual { max-width: 180px; }
}

/* ---------- Tarifs ---------- */
.tarifs-table {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.tarif-row {
  display: grid; grid-template-columns: 1fr 180px 200px;
  gap: 1.5rem; align-items: center;
  padding: 1.35rem 1.8rem;
  border-bottom: 1px solid var(--border-soft);
  transition: background .2s ease;
}
.tarif-row:last-child { border-bottom: none; }
.tarif-row:hover { background: var(--cream-lighter); }
.tarif-row.is-header {
  background: var(--cream-light);
  font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.tarif-row.is-header:hover { background: var(--cream-light); }
.tarif-name {
  font-family: 'Fraunces', serif; font-size: 1.05rem;
  color: var(--ink); font-weight: 500;
}
.tarif-desc {
  display: block; margin-top: .15rem;
  font-size: .88rem; color: var(--ink-soft);
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
}
.tarif-format {
  font-size: .85rem; color: var(--ochre);
  font-weight: 600;
  text-align: center;
}
.tarif-row.is-header > div:nth-child(2) {
  text-align: center;
}
.tarif-price {
  font-family: 'Fraunces', serif; font-size: 1.3rem;
  color: var(--terracotta); font-weight: 500;
  white-space: nowrap;
  text-align: right;
}
.tarif-row.is-header > div:nth-child(3) {
  text-align: right;
}
.tarif-price span {
  font-family: 'Nunito', sans-serif; font-size: .75rem;
  color: var(--ink-soft); font-weight: 400;
  display: block; margin-top: -2px;
}
.tarifs-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border-radius: 14px;
  font-size: .9rem; color: var(--ink);
  border-left: 3px solid var(--ochre);
}
@media (max-width: 680px) {
  .tarif-row { grid-template-columns: 1fr auto; gap: .8rem; padding: 1.2rem 1.2rem; }
  .tarif-format { display: none; }
  .tarif-row.is-header { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item:first-child { border-top: 1px solid var(--border-soft); }
.faq-question {
  width: 100%; text-align: left;
  padding: 1.4rem 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-question:hover { color: var(--terracotta); }
.faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center;
  font-size: 1.2rem; color: var(--terracotta);
  transition: transform .3s ease, background .2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--terracotta); color: var(--cream-lighter);
  border-color: var(--terracotta);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer-inner {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem; line-height: 1.7;
  max-width: 680px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, var(--cream-lighter) 0%, var(--cream-light) 100%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: stretch;
}
.contact-info {
  padding: 2.5rem;
  background: var(--terracotta);
  color: var(--cream-lighter);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.contact-info h3 {
  color: var(--cream-lighter);
  margin-bottom: 1.2rem;
}
.contact-info p {
  color: rgba(250, 247, 241, 0.85);
  margin-bottom: 2rem; font-size: 1.02rem;
}
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(250, 247, 241, 0.18);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(250, 247, 241, 0.12);
  display: grid; place-items: center;
  color: var(--cream-lighter); flex-shrink: 0;
}
.contact-item-label {
  display: block; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(250, 247, 241, 0.7); font-weight: 600;
  margin-bottom: .1rem;
}
.contact-item-value { color: var(--cream-lighter); font-weight: 500; }
.contact-item-value a { color: var(--cream-lighter); }
.contact-item-value a:hover { color: var(--ochre-light); }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--ink); margin-bottom: .45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--cream-lighter);
  font-family: inherit; font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
/* CF7 — intégration transparente dans le style du thème */
.contact-form .wpcf7 { width: 100%; }
.contact-form .wpcf7-form { width: 100%; }

/* Supprime les marges/paddings par défaut de CF7 */
.contact-form .wpcf7-form p { margin: 0; }

/* Supprime les <br> que CF7 injecte entre label et champ */
.contact-form .wpcf7-form br { display: none; }

/* Retire le wrapper <span> de l'équation visuelle */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}

/* Champs dans le wrapper CF7 */
.contact-form .wpcf7-form-control-wrap input,
.contact-form .wpcf7-form-control-wrap select,
.contact-form .wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--cream-lighter);
  font-family: inherit; font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}

.contact-form .wpcf7-form-control-wrap input:focus,
.contact-form .wpcf7-form-control-wrap select:focus,
.contact-form .wpcf7-form-control-wrap textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}

.contact-form .wpcf7-form-control-wrap textarea {
  min-height: 80px;
  height: 80px;
  resize: vertical;
}

/* Erreurs de validation CF7 — uniquement après tentative d'envoi */
.contact-form .wpcf7-form.invalid .wpcf7-not-valid,
.contact-form .wpcf7-form.spam .wpcf7-not-valid {
  border-color: var(--terracotta) !important;
}

.contact-form .wpcf7-not-valid-tip { display: none; }
.contact-form .wpcf7-form.invalid .wpcf7-not-valid-tip,
.contact-form .wpcf7-form.spam .wpcf7-not-valid-tip {
  font-size: .78rem;
  color: var(--terracotta);
  margin-top: .3rem;
  display: block;
}

/* Bouton submit CF7 (input[type=submit]) */
.contact-form .wpcf7-submit {
  width: 100%;
  justify-content: center;
  display: block;
  padding: .85rem 1.8rem;
  background: var(--terracotta);
  color: var(--cream-lighter);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  letter-spacing: .01em;
}

.contact-form .wpcf7-submit:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.contact-form .wpcf7-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Messages de réponse CF7 */
.contact-form .wpcf7-response-output {
  margin-top: 1rem;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  font-size: .92rem;
  border: none !important;
}

.contact-form .wpcf7-mail-sent-ok {
  background: #edf7f0;
  color: #2d6a4f;
}

.contact-form .wpcf7-mail-sent-ng,
.contact-form .wpcf7-spam-blocked,
.contact-form .wpcf7-validation-errors {
  background: #fdf0ee;
  color: var(--terracotta-dark);
}

.contact-form button { width: 100%; justify-content: center; }
.form-message {
  margin-top: 1rem; padding: .9rem 1.2rem;
  border-radius: 10px;
  background: var(--cream);
  color: var(--terracotta-dark);
  font-size: .92rem;
  display: none;
}
.form-message.visible { display: block; }
.form-message.visible.success {
  background: #edf7f0;
  color: #2d6a4f;
}
.form-message.visible.error {
  background: #fdf0ee;
  color: var(--terracotta-dark);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(235, 227, 215, 0.8);
  padding: 3.5rem 0 1.8rem;
  font-size: .95rem;
}
footer h4 {
  color: var(--cream);
  margin-bottom: 1rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-about p { color: rgba(235, 227, 215, 0.65); max-width: 320px; }
.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  color: var(--cream);
  opacity: .9;
  transition: opacity .2s ease;
}
.footer-brand:hover .footer-logo { opacity: 1; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.2rem;
}
.footer-brand-name {
  font-size: .95rem;
  font-weight: 400;
  color: var(--cream);
  opacity: .85;
}
.footer-brand-name strong { font-weight: 600; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(235, 227, 215, 0.7); }
.footer-links a:hover { color: var(--ochre-light); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(235, 227, 215, 0.1);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  color: rgba(235, 227, 215, 0.5); font-size: .85rem;
}
.footer-bottom a {
  color: rgba(235, 227, 215, 0.5);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-bottom a:hover { color: var(--cream); }
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Service pages ---------- */
.service-page {
  background: var(--white);
}
.service-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  overflow: hidden;
  position: relative;
}
.service-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(47, 42, 36, 0.12) 18%, rgba(47, 42, 36, 0.12) 82%, transparent 100%);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.service-hero-title {
  margin-bottom: 1.1rem;
  max-width: 11ch;
}
.service-hero-intro {
  max-width: 560px;
  margin-bottom: 1.8rem;
}
.service-hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.service-hero-visual {
  min-height: 440px;
  border-radius: 38% 62% 55% 45% / 44% 47% 53% 56%;
  background:
    linear-gradient(135deg, rgba(175, 138, 107, 0.9) 0%, rgba(107, 63, 39, 0.95) 100%);
  box-shadow: var(--shadow-soft);
  animation: morph 16s ease-in-out infinite;
}
.service-hero-visual-has-image {
  background-color: var(--ochre-light);
}
.service-narrow {
  max-width: 780px;
}
.service-intro {
  position: relative;
  z-index: 1;
}
.service-intro-card {
  margin-top: -1.4rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(47, 42, 36, 0.08);
  border-radius: 26px;
  box-shadow: 0 18px 45px -24px rgba(47, 42, 36, 0.18);
  backdrop-filter: blur(8px);
  text-align: center;
}
.service-section-head {
  max-width: 720px;
  margin: 0 auto 2.8rem;
  text-align: center;
}
.service-formats {
  background: var(--cream);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.service-card {
  padding: 2rem;
}
.service-card-visual {
  position: relative;
  height: 220px;
  margin: -0.45rem -0.45rem 1.35rem;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.service-card-visual::before,
.service-card-visual::after {
  content: '';
  position: absolute;
  inset: auto;
}
.service-card-visual::before {
  width: 78%;
  height: 78%;
  right: -10%;
  top: -16%;
  border-radius: 46% 54% 52% 48% / 58% 42% 58% 42%;
  background: rgba(255,255,255,0.18);
}
.service-card-visual::after {
  width: 52%;
  height: 52%;
  left: -8%;
  bottom: -10%;
  border-radius: 58% 42% 41% 59% / 43% 57% 43% 57%;
  background: rgba(255,255,255,0.12);
}
.service-card-visual-1 {
  background:
    radial-gradient(circle at 26% 28%, rgba(255,255,255,0.28) 0%, transparent 16%),
    linear-gradient(150deg, #C9AC8E 0%, #AF8A6B 54%, #6b3f27 100%);
}
.service-card-visual-2 {
  background:
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.26) 0%, transparent 18%),
    linear-gradient(150deg, #EBE3D7 0%, #AF8A6B 52%, #6B3F27 100%);
}
.service-card-visual-3 {
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,0.28) 0%, transparent 16%),
    linear-gradient(150deg, #C9AC8E 0%, #AF8A6B 54%, #6B3F27 100%);
}
.service-card-visual-4 {
  background:
    radial-gradient(circle at 72% 28%, rgba(255,255,255,0.25) 0%, transparent 16%),
    linear-gradient(150deg, #C9AC8E 0%, #AF8A6B 52%, #4A2B1B 100%);
}
.service-card-visual-5 {
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,0.24) 0%, transparent 16%),
    linear-gradient(150deg, #EBE3D7 0%, #AF8A6B 52%, #6B3F27 100%);
}
.service-card-visual-6 {
  background:
    radial-gradient(circle at 76% 24%, rgba(255,255,255,0.24) 0%, transparent 16%),
    linear-gradient(150deg, #C9AC8E 0%, #AF8A6B 52%, #6B3F27 100%);
}
.service-card-visual-has-image {
  background-color: var(--cream);
}
.service-card-visual-has-image::before,
.service-card-visual-has-image::after {
  display: none;
}
.service-cards-grid .prestation.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .atelier-card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.atelier-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--olive-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s ease, color .2s ease;
}
.atelier-more:hover {
  color: var(--terracotta);
  gap: .55rem;
}
.atelier-price {
  font-size: .85rem;
  font-weight: 600;
  color: var(--olive-dark);
  background: var(--cream);
  padding: .25rem .65rem;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.service-benefits {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.service-benefits-panel {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.service-benefits-head {
  max-width: 28rem;
}
.service-benefits-head .section-title {
  margin-bottom: 0;
}
.service-bullets {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.service-bullets li {
  position: relative;
  min-height: 100%;
  padding: .85rem 1rem .85rem 2.55rem;
  background: var(--cream-lighter);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.4;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--ochre));
}
.service-process {
  background: var(--cream);
}
.service-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-step {
  padding: 2rem 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.service-step-icon {
  margin-bottom: 1.2rem;
}
.service-step h3,
.service-card h3 {
  margin-bottom: .75rem;
}
.service-step h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}
.service-step p:last-child,
.service-card p:last-child,
.service-intro-card p:last-child,
.service-cta-card p:last-child {
  margin-bottom: 0;
}
.service-cta {
  background: var(--cream);
}
.service-cta-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.service-cta-card .section-title {
  margin-bottom: 1rem;
}
.service-cta-card p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.service-cta-card p + p {
  margin-top: 1.1rem;
}
.service-cta-card .btn {
  min-width: 0;
  width: auto;
}
.service-cta-note {
  margin-top: 1.35rem;
  color: var(--ochre);
  font-size: .92rem;
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  section {
    padding: clamp(3.2rem, 10vw, 4.8rem) 0;
  }

  .nav-inner {
    padding: .95rem 0;
    gap: 1rem;
  }

  .brand {
    gap: .55rem;
    font-size: 1.02rem;
    line-height: 1.2;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }


  .hero {
    padding: 2.8rem 0 3.4rem;
  }

  .hero::before {
    top: -120px;
    right: -180px;
    width: 360px;
    height: 360px;
  }

  .hero::after {
    left: -120px;
    width: 240px;
    height: 240px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
    max-width: 10ch;
  }

  .hero-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1.6rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: .95rem 1.2rem;
  }

  .hero-visual {
    max-width: min(100%, 330px);
  }

  .hero-visual-quote {
    padding: 0 1.25rem;
    font-size: 1.08rem;
    inset: auto 0 10% 0;
  }

  .section-intro {
    margin-bottom: 2rem;
  }

  .mission-card,
  .prestation,
  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }

  .prestation-head {
    gap: .8rem;
  }

  .prestation-icon {
    width: 46px;
    height: 46px;
  }

  .apropos blockquote {
    font-size: 1.18rem;
    padding: 1rem 0 1rem 1rem;
    margin: 1.4rem 0;
  }

  .apropos-values {
    grid-template-columns: 1fr;
  }

  .tarifs-table {
    border-radius: 16px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.15rem 0;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer-inner {
    font-size: .96rem;
    line-height: 1.65;
  }

  .contact-item {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 .9rem;
  }

  .nav-links a {
    padding-left: .9rem;
    padding-right: .9rem;
  }

  .nav-cta {
    margin-left: .9rem;
    margin-right: .9rem;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12.5vw, 3rem);
  }

  .hero-eyebrow,
  .section-eyebrow {
    letter-spacing: .12em;
  }

  .hero-visual {
    max-width: 290px;
  }

  .hero-visual-quote {
    font-size: .98rem;
  }

  .mission-card,
  .prestation,
  .contact-info,
  .contact-form {
    padding: 1.25rem;
  }

  .tarif-row {
    padding: 1rem;
  }

  .tarif-price {
    font-size: 1.12rem;
  }

  .field input,
  .field select,
  .field textarea {
    padding: .8rem .9rem;
    font-size: 16px;
  }

  footer {
    padding: 3rem 0 1.4rem;
  }
}

@media (max-width: 900px) {
  .service-hero-grid,
  .service-benefits-panel,
  .service-steps-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-visual {
    min-height: 340px;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 780px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-bullets {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding: 2.6rem 0 3.2rem;
  }

  .service-hero-title {
    max-width: none;
  }

  .service-card,
  .service-step,
  .service-cta-card {
    padding: 1.35rem;
  }

  .service-card-visual {
    height: 180px;
    margin-bottom: 1rem;
  }

  .service-card-visual {
    min-height: 160px;
  }

  .service-intro-card,
  .service-benefits-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .service-bullets li {
    padding: .85rem .95rem .85rem 2.45rem;
    border-radius: 18px;
  }

  .service-hero-visual {
    min-height: 280px;
    max-width: 300px;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

/* ---------- WordPress overrides ---------- */
/* Reset des styles WP qui pourraient interférer */
.wp-block-group { margin: 0; }
img { max-width: 100%; height: auto; }

/* ---------- Bain Bébé — Description méthode ---------- */
.service-description {
  background: var(--cream);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.service-description-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 3rem;
  align-items: start;
}
.service-description-text p {
  font-size: 1.05rem;
  line-height: 1.75;
}
.service-description-text p + p {
  margin-top: 1rem;
}
.service-method-badge {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .45rem 1.1rem;
  background: var(--terracotta);
  color: var(--cream-lighter);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- Bain Bébé — Bénéfices ---------- */
.bain-benefits {
  background: var(--white);
}
.bain-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.bain-benefits-col {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}
.bain-benefits-col-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.bain-benefits-col-header h3 {
  margin-bottom: 0;
}
.bain-benefits-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--terracotta);
}
.bain-bullets {
  grid-template-columns: 1fr;
  gap: .7rem;
}

/* ---------- Bain Bébé — Contre-indications ---------- */
.bain-ci {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.bain-ci-panel {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
  background: var(--white);
  border: 1px solid rgba(107, 63, 39, 0.22);
  border-left: 4px solid var(--terracotta);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  max-width: 860px;
  margin: 0 auto;
}
.bain-ci-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--terracotta);
}
.bain-ci-panel .section-title {
  margin-bottom: .6rem;
}
.bain-ci-panel > div > p {
  margin-bottom: 1rem;
  font-size: .98rem;
}
.bain-ci-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.bain-ci-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .98rem;
  color: var(--ink-soft);
}
.bain-ci-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* ---------- Bain Bébé — Partenariat photographe ---------- */
.bain-partner {
  background: var(--cream);
}
.bain-partner-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.bain-partner-visual {
  aspect-ratio: 4 / 5;
  border-radius: 38% 62% 55% 45% / 44% 47% 53% 56%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.22) 0%, transparent 38%),
    linear-gradient(150deg, var(--ochre-light) 0%, var(--ochre) 48%, var(--terracotta) 100%);
  box-shadow: var(--shadow-soft);
  animation: morph 18s ease-in-out infinite;
}
.bain-partner-visual.bain-partner-visual-has-image {
  background-blend-mode: normal;
}
.bain-partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}
.bain-partner-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s ease;
}
.bain-partner-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--cream-lighter);
}

/* ---------- Bain Bébé — Vidéo démonstration ---------- */
.service-description-grid--video {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.bain-description-video { width: 100%; }
.bain-description-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}
.bain-description-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.bain-description-video-label {
  display: flex; align-items: center; gap: .45rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: .75rem;
}
@media (max-width: 720px) {
  .service-description-grid--video {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bain Bébé — Note carte cadeau ---------- */
.bain-gift-note-section {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.bain-gift-note {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--cream-lighter);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
}
.bain-gift-note-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--ochre);
  box-shadow: 0 4px 14px -4px rgba(107, 63, 39, 0.12);
}
.bain-gift-note-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}

/* ---------- Bain Bébé — Responsive ---------- */
@media (max-width: 900px) {
  .service-description-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bain-partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bain-partner-visual {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 780px) {
  .bain-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bain-ci-panel {
    flex-direction: column;
    gap: 1rem;
  }

  .bain-gift-note {
    flex-direction: column;
    gap: 1rem;
  }

  .bain-benefits-col {
    padding: 1.35rem;
  }
}

/* ==========================================================================
   MASSAGE & SOINS
   ========================================================================== */

.massage-soins {
  padding: 5rem 0;
}

.massage-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: start;
}

/* Carte */
.massage-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(175, 138, 107, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.massage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(47, 42, 36, 0.13);
}

/* Visuel coloré */
.massage-card-visual {
  height: 180px;
  position: relative;
}

.massage-card-visual-1 {
  background: linear-gradient(135deg, var(--ochre-light) 0%, #D8C8B0 100%);
}

.massage-card-visual-2 {
  background: linear-gradient(135deg, #A8B095 0%, #6F704D 100%);
}

.massage-card-visual-3 {
  background: linear-gradient(135deg, var(--ochre) 0%, var(--terracotta) 100%);
}

/* Badge (Grossesse, Post-partum, Signature) */
.massage-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
}

/* Corps de la carte */
.massage-card-body {
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.massage-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: .3rem;
}

.massage-tagline {
  font-size: .85rem;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.massage-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--ink-light);
  margin-bottom: 1.4rem;
  flex: 1;
}

/* Tarifs */
.massage-tarifs-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: .6rem;
}

.massage-tarifs {
  list-style: none;
  border-top: 1px solid var(--border-soft);
  margin-bottom: 1.4rem;
}

.massage-tarifs li {
  display: flex;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border-soft);
  gap: .5rem;
  font-size: .88rem;
}

.massage-tarif-duree {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

.massage-tarif-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(175, 138, 107, 0.5);
  position: relative;
  top: 1px;
}

.massage-tarif-prix {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--terracotta);
  font-weight: 400;
  white-space: nowrap;
}

/* Bouton outline spécifique aux cartes massage */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.3rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
  transition: background .2s ease, color .2s ease;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--cream-lighter);
}

/* Note pratique */
.massage-note-section {
  padding: 1.5rem 0 3.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .massage-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .massage-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CARTE CADEAU
   ========================================================================== */

/* Hero */
.cc-hero {
  padding: 5rem 0 4rem;
  background: var(--white);
  overflow: hidden;
}

.cc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cc-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-card-img {
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  box-shadow:
    0 6px 24px rgba(47, 42, 36, 0.14),
    0 20px 60px rgba(47, 42, 36, 0.10);
  transform: rotate(2.5deg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.cc-card-img:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 8px 32px rgba(47, 42, 36, 0.18),
    0 28px 72px rgba(47, 42, 36, 0.13);
}

.cc-card-placeholder {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.18) 0%, transparent 45%),
    linear-gradient(135deg, var(--ochre-light) 0%, var(--ochre) 50%, var(--terracotta) 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  transform: rotate(2.5deg);
}

/* Services offrables */
.cc-services {
  padding: 5rem 0;
  background: var(--white);
}

.cc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cc-service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(175, 138, 107, 0.12);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  position: relative;
}

.cc-service-card-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ochre);
  opacity: .55;
  line-height: 1;
  margin-bottom: .25rem;
}

.cc-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.cc-service-card p {
  font-size: .9rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.cc-service-note {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(107, 63, 39, 0.08);
  padding: .3rem .7rem;
  border-radius: 999px;
  width: fit-content;
}

/* Formulaire de commande */
.cc-form-section {
  padding: 5rem 0;
  background: var(--cream);
}

.cc-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-soft);
  max-width: 780px;
  margin: 0 auto;
}

.cc-form-head {
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(175, 138, 107, 0.18);
}

.cc-form-head .section-title {
  margin-bottom: .6rem;
}

.cc-form-head p {
  color: var(--ink-light);
  margin: 0;
  font-size: .95rem;
}

.cc-form .field label .required {
  color: var(--terracotta);
  margin-left: .2rem;
}

.cc-form .field label .field-optional {
  color: var(--ink-light);
  font-weight: 400;
  font-size: .85em;
}

/* Note de bas de page */
.cc-note-section {
  padding: 2.5rem 0 3.5rem;
  background: var(--white);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .cc-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cc-hero-visual {
    order: -1;
  }

  .cc-card-img,
  .cc-card-placeholder {
    max-width: 360px;
    transform: rotate(1deg);
  }

  .cc-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cc-form-wrap {
    padding: 2rem 1.5rem;
  }

  .cc-services-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   PAGE À PROPOS
   ============================================================================= */

.about-page {
  background: var(--white);
}

/* --- Hero --- */
.about-hero {
  padding: 6rem 0 3.5rem;
  text-align: center;
}

.about-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin: .75rem 0 1.5rem;
}

.about-hero-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  line-height: 1.75;
}

.about-hero-intro p { margin: 0; }

/* --- Chapitres --- */
.about-story {
  padding: 2rem 0 5rem;
}

.about-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-chapter:last-child {
  margin-bottom: 0;
}

/* Inversion : image passe à droite, texte à gauche */
.about-chapter--reverse {
  direction: rtl;
}
.about-chapter--reverse > * {
  direction: ltr;
}

.about-chapter-image {
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}

.about-chapter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.about-chapter-image:hover img {
  transform: scale(1.02);
}

.about-chapter-image--placeholder {
  min-height: 380px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
}

.about-chapter-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

.about-chapter-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.about-chapter-text p:last-child {
  margin-bottom: 0;
}

/* --- Citation --- */
.about-quote-section {
  padding: 4.5rem 0;
  background: var(--cream);
}

.about-quote {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  border: none;
  padding: 0;
}

.about-quote p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1.35;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .about-chapter {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .about-chapter--reverse > * {
    direction: ltr;
  }

  .about-chapter-image {
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }

  .about-chapter-image--placeholder {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: 4rem 0 2.5rem;
  }

  .about-story {
    padding: 1.5rem 0 3.5rem;
  }

  .about-chapter {
    margin-bottom: 3.5rem;
  }
}

/* =============================================================================
   PAGES LÉGALES (Mentions légales + Politique de confidentialité)
   ============================================================================= */

.legal-page {
  background: var(--white);
  padding-bottom: 5rem;
}

.legal-container {
  max-width: 820px;
}

/* Header */
.legal-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--cream);
  margin-bottom: 3rem;
}

.legal-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--ink);
  margin: .6rem 0 .75rem;
  line-height: 1.2;
}

.legal-date {
  font-size: .85rem;
  color: var(--ink-soft);
  opacity: .7;
  margin: 0;
}

/* Intro */
.legal-intro {
  margin-bottom: 2.5rem;
}

.legal-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  padding: 1.5rem 2rem;
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 10px 10px 0;
  margin: 0;
}

/* Sections */
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cream);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.legal-section h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 .6rem;
}

.legal-section p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: .5rem 0 1rem 0;
  padding: 0;
  list-style: none;
}

.legal-section ul li {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--ink-soft);
  padding: .3rem 0 .3rem 1.4rem;
  position: relative;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ochre);
  opacity: .7;
}

.legal-section a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  opacity: .8;
}

/* Tableau cookies */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
  border-radius: 10px;
  border: 1px solid var(--cream);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.legal-table thead {
  background: var(--cream);
}

.legal-table th {
  text-align: left;
  padding: .7rem 1rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.legal-table td {
  padding: .7rem 1rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--cream);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table code {
  font-family: 'Courier New', monospace;
  font-size: .85em;
  background: var(--cream);
  padding: .1em .4em;
  border-radius: 4px;
  color: var(--terracotta);
}

/* Section contact */
.legal-section--contact {
  background: var(--cream);
  padding: 2rem;
  border-radius: 14px;
  border-bottom: none;
  margin-top: 1rem;
}

.legal-section--contact h2 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

.legal-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--terracotta) !important;
  text-decoration: none !important;
  transition: opacity .2s ease;
}

.legal-contact-link:hover {
  opacity: .75;
}

/* Responsive */
@media (max-width: 640px) {
  .legal-header {
    padding: 3.5rem 0 2rem;
  }

  .legal-intro p {
    padding: 1.2rem 1.2rem;
  }

  .legal-section--contact {
    padding: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE REFINEMENTS — Optimisations mobile & tablette
   ============================================================ */

/* Typographie fluide globale — base saine pour tous écrans */
h1, .service-hero-title, .legal-title, .about-hero-title {
  font-size: clamp(1.85rem, 5.5vw, 3.2rem);
  line-height: 1.15;
}
h2, .section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.25;
}
h3 {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  line-height: 1.3;
}

/* iOS Safari : inputs à 16px minimum pour éviter le zoom auto au focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  font-size: 16px;
}

/* ---------- TABLETTE (≤ 1024 px) ---------- */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  section {
    padding: clamp(3rem, 7vw, 5rem) 0;
  }
}

/* ---------- TABLETTE STRICT (≤ 900 px) ---------- */
@media (max-width: 900px) {
  /* Grilles 2 colonnes -> 1 colonne sur tout ce qui reste en 2col */
  .contact-grid,
  .service-hero-grid,
  .apropos-grid,
  .cc-hero-grid,
  .service-benefits-panel,
  .bain-partner-grid,
  .bain-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  /* Réduit la hauteur du visuel hero pour ne pas écraser le contenu sous */
  .service-hero-visual,
  .bain-partner-visual {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4/3;
  }
}

/* ---------- MOBILE (≤ 640 px) ---------- */
@media (max-width: 640px) {
  .container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  section {
    padding: clamp(2.5rem, 8vw, 3.5rem) 0;
  }

  /* Hero : visuels et CTA plus compacts */
  .hero {
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 4rem);
  }
  .hero-grid { gap: 1.8rem; }
  .hero-visual { max-width: 280px; }
  .service-hero-visual,
  .bain-partner-visual { max-width: 320px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: .65rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .service-hero-cta { flex-direction: column; align-items: stretch; gap: .65rem; }
  .service-hero-cta .btn { width: 100%; justify-content: center; }

  /* Boutons : touch target 44 px minimum (recommandation Apple/Google) */
  .btn { padding: .95rem 1.4rem; min-height: 44px; }
  .nav-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  /* Eyebrows et titres section */
  .section-eyebrow { font-size: .75rem; letter-spacing: .15em; }
  .section-intro { font-size: 1rem; margin-bottom: 2rem; }

  /* Hero subtitle : un peu plus discret sur mobile */
  .hero-subtitle { font-size: 1.05rem; }

  /* Grilles : tout en 1 colonne par défaut sur mobile */
  .mission-grid,
  .prestations-grid,
  .service-cards-grid,
  .service-steps-grid,
  .apropos-values { grid-template-columns: 1fr !important; }

  /* Cards : padding réduit */
  .prestation,
  .service-card,
  .mission-card,
  .service-step { padding: 1.5rem; }

  /* Tableau tarifs : tout en bloc lisible */
  .tarif-row {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: 1rem 1rem;
    text-align: left;
  }
  .tarif-format {
    display: inline-block;
    text-align: left;
    font-size: .8rem;
    margin-top: .15rem;
  }
  .tarif-price {
    text-align: left;
    font-size: 1.15rem;
    margin-top: .25rem;
  }

  /* FAQ : taille bouton et padding */
  .faq-question { font-size: 1rem; padding: 1rem 1.1rem; }
  .faq-answer-inner { padding: 0 1.1rem 1rem; }

  /* CF7 / formulaires : 1 colonne, gap réduit */
  .contact-form .form-row,
  .form-row { grid-template-columns: 1fr !important; gap: 1rem; }
  .field label { font-size: .95rem; }

  /* Atelier card footer : prix et bouton sur 2 lignes si peu de place */
  .service-card .atelier-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }

  /* Bandeau À propos : layout vertical et image plus petite */
  .apropos-bandeau .apropos-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }
  .apropos-bandeau .apropos-visual {
    max-width: 160px;
    margin: 0 auto;
  }
  .apropos blockquote {
    font-size: 1.15rem;
    padding: 1rem 0 1rem 1rem;
  }

  /* Footer : 1 colonne, espacements aérés */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Tables RGPD / Cookies dans politique de confidentialité */
  .legal-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .legal-table { min-width: 480px; }
}

/* ---------- TRÈS PETIT MOBILE (≤ 380 px) ---------- */
@media (max-width: 380px) {
  .container {
    padding-left: .9rem;
    padding-right: .9rem;
  }
  /* Titre hero : laisser respirer */
  h1, .service-hero-title { font-size: 1.7rem; }
  h2, .section-title { font-size: 1.35rem; }

  /* Boutons restent confortables */
  .btn { padding: .85rem 1.2rem; font-size: .9rem; }

  /* Eyebrow encore plus compact */
  .section-eyebrow { font-size: .7rem; }

  /* Cards padding très réduit */
  .prestation,
  .service-card,
  .mission-card,
  .service-step { padding: 1.2rem; }
}

/* ---------- Empêche les débordements horizontaux (safety net) ---------- */
/* overflow-x: clip pour empêcher le scroll horizontal SANS casser position:sticky sur la nav.
   "clip" hide l'overflow comme "hidden" mais ne crée pas de contexte de défilement. */
html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; height: auto; }

/* Tap highlight color en cohérence avec la charte */
* { -webkit-tap-highlight-color: rgba(107, 63, 39, 0.15); }

/* ============================================================
   NAVBAR MOBILE — corrections logo + menu déroulant
   ============================================================ */

/* Tablette : logo réduit */
@media (max-width: 1024px) {
  .nav-logo { height: 60px; }
}

/* Mobile : logo encore plus compact */
@media (max-width: 640px) {
  .nav-logo { height: 48px; }
  .nav-inner { padding-top: .5rem; padding-bottom: .5rem; }
}

@media (max-width: 380px) {
  .nav-logo { height: 42px; }
}

/* Menu mobile — réécriture propre pour homogénéité */
@media (max-width: 820px) {
  .nav-links { padding: 0; }
  .nav-links.open { max-height: 80vh; overflow-y: auto; padding: .5rem 0 1rem; }

  /* Tous les items (a direct ET div parent) alignés pareil, full-width */
  .nav-links > a,
  .nav-links > .nav-item-has-children {
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
  }

  /* Le lien parent qui a des enfants : reset inline-flex hérité du desktop */
  .nav-links > .nav-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    text-align: left;
  }

  /* Items simples (Accueil, Carte cadeau) : même padding que parent */
  .nav-links > a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
  }

  /* Séparateur fin entre items pour la lisibilité */
  .nav-links > a + a,
  .nav-links > a + .nav-item-has-children,
  .nav-links > .nav-item-has-children + a,
  .nav-links > .nav-item-has-children + .nav-item-has-children {
    border-top: 1px solid rgba(47, 42, 36, 0.06);
  }

  /* Sous-menu : fond légèrement teinté + indent léger uniforme */
  .sub-menu {
    background: rgba(235, 227, 215, 0.45);
    border-top: 1px solid rgba(47, 42, 36, 0.04);
  }
  .sub-menu li a {
    padding: .75rem 1.5rem .75rem 2.5rem !important;
    font-size: .92rem !important;
    color: var(--ink) !important;
    display: block;
    border-bottom: 1px solid rgba(47, 42, 36, 0.04);
  }
  .sub-menu li:last-child a { border-bottom: none; }

  /* CTA dans le menu : marges cohérentes */
  .nav-cta {
    display: block !important;
    margin: .8rem 1.5rem !important;
    text-align: center !important;
    padding: .9rem 1.4rem !important;
    border-radius: 999px !important;
  }

  /* Chevron du parent : visible et bien placé */
  .nav-chevron { flex-shrink: 0; }
}

/* Fix mobile : neutralise les transforms hérités du :hover / :focus-within desktop
   qui faisaient sortir le sous-menu hors écran au toucher du parent */
@media (max-width: 820px) {
  .nav-item-has-children:hover .sub-menu,
  .nav-item-has-children:focus-within .sub-menu {
    transform: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }
  .sub-menu,
  .sub-menu::before {
    transform: none !important;
    position: static !important;
  }
}

/* ============================================================
   HERO VISUEL HOME — alignement comportement avec les autres pages
   ============================================================ */

/* Sur la home, le visuel hero doit afficher l'image de fond comme sur
   les pages services (Bain Bébé, Massage, etc.). On lui ajoute donc
   un min-height explicite + l'override quand une image est présente. */

.hero-visual {
  width: 100%;
  min-height: 380px;
}
.hero-visual-has-image {
  background-color: var(--ochre-light);
}

/* Tablette */
@media (max-width: 900px) {
  .hero-visual {
    min-height: 360px;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4/3;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-visual {
    min-height: 280px;
    max-width: 320px;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    min-height: 240px;
    max-width: 280px;
  }
}

/* ============================================================
   PRESTATIONS HOME — bouton "En savoir plus" en bas à droite
   ============================================================ */
.prestations-grid .prestation {
  display: flex;
  flex-direction: column;
}
.prestation-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
}
.prestation-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--olive-dark);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s ease, color .2s ease;
}
.prestation-more:hover {
  color: var(--terracotta);
  gap: .55rem;
}

/* Mobile : on garde le bouton en bas mais aligné à gauche (touch friendly) */
@media (max-width: 640px) {
  .prestation-footer { justify-content: flex-start; }
}

/* ============================================================
   CONTACT SECTION — Accordion formulaire sur mobile uniquement
   ============================================================ */

/* Par défaut (desktop) : bouton caché, formulaire toujours visible */
.contact-form-toggle { display: none; }
.contact-form-collapsible { /* desktop: rien à faire, le form s'affiche normalement */ }

/* Mobile / tablette : accordion */
@media (max-width: 820px) {
  .contact-form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.3rem;
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .contact-form-toggle:hover,
  .contact-form-toggle:focus-visible {
    background: var(--cream-light);
    border-color: var(--ochre);
    outline: none;
  }
  .contact-form-toggle-icon {
    display: inline-flex;
    transition: transform .25s ease;
    color: var(--olive-dark);
  }

  /* Collapsible : fermé par défaut sur mobile */
  .contact-form-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
  }
  .contact-form.is-open .contact-form-collapsible {
    max-height: 4000px; /* large enough pour le form CF7 complet */
    margin-top: 1rem;
  }
  .contact-form.is-open .contact-form-toggle-icon {
    transform: rotate(180deg);
  }
  .contact-form.is-open .contact-form-toggle {
    background: var(--cream-light);
  }

  /* Bloc "Nous joindre" — centrage + padding aéré */
  .contact-info {
    padding: 1.75rem 1.25rem !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .contact-grid {
    width: 100%;
    max-width: 100%;
  }
  /* Items en gros boutons tactiles avec espacement */
  .contact-item {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    min-height: 64px;
    margin-bottom: .8rem;
    transition: border-color .2s ease, transform .2s ease;
  }
  .contact-item:last-child { margin-bottom: 0; }
  /* Premier item : un peu d'espace après l'intro */
  .contact-info p + .contact-item { margin-top: .5rem; }
  .contact-item:has(a):active { transform: scale(0.98); }
  .contact-item:has(a:hover),
  .contact-item:has(a:focus-visible) {
    border-color: var(--ochre);
  }
  /* Couleurs de texte adaptées au fond blanc des cartes */
  .contact-item-label {
    color: var(--olive-dark) !important;
    font-size: .72rem;
    letter-spacing: .12em;
  }
  .contact-item-value,
  .contact-item-value a {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    /* Critique iOS Safari : casser les longs mots (email) pour éviter overflow horizontal */
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* Le wrapper texte du contact-item (PAS l'icône) doit pouvoir rétrécir */
  .contact-item > div:not(.contact-item-icon) { min-width: 0; flex: 1; }
  /* Icône : cercle compact à gauche, fond crème + glyphe terracotta */
  .contact-item-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 50% !important;
    background: var(--cream) !important;
    color: var(--terracotta) !important;
    display: grid !important;
    place-items: center !important;
  }
  .contact-item { gap: .85rem !important; align-items: center !important; }
  .contact-item-value a:hover { color: var(--terracotta) !important; }
  /* Icônes : adapter au fond blanc */
  .contact-item-icon {
    background: var(--cream) !important;
    color: var(--terracotta) !important;
  }
}
