:root {
  --ink: #181715;
  --muted: #6d6962;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e7dfd4;
  --gold: #bd9152;
  --gold-dark: #8b6533;
  --sage: #55756f;
  --sage-soft: #e7efec;
  --leaf: #748f65;
  --petal: #e9d8cf;
  --rose: #b98f84;
  --shadow: 0 22px 60px rgba(31, 28, 22, 0.11);
  --radius: 8px;
  --max: 1180px;
  --topbar-height: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #141310;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 0;
}

.topbar a {
  color: #fff;
}

.contact-strip,
.social-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

.contact-strip {
  justify-content: flex-end;
}

.social-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.social-icon img,
.phone-link img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: invert(1);
}

.doctolib-icon {
  --doctolib-logo-width: 74px;
  display: inline-grid;
  width: 96px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(20, 19, 16, 0.18);
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 10px;
}

.footer-doctolib-link img,
.doctolib-icon img {
  display: block;
  width: var(--doctolib-logo-width);
  max-width: calc(100% - 2px);
  height: auto;
  filter: none;
  transform: none;
}

.phone-link,
.mail-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-weight: 700;
}

.topbar-separator {
  color: rgba(255, 255, 255, 0.38);
}

.site-header {
  position: sticky;
  top: var(--topbar-height);
  z-index: 20;
  border-bottom: 1px solid rgba(231, 223, 212, 0.92);
  background: rgba(251, 250, 247, 0.93);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  margin-top: 2px;
  color: var(--gold-dark);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  align-items: center;
  min-width: 0;
}

.nav-menu a {
  position: relative;
  padding: 9px 9px;
  color: #3d3934;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-dark);
}

/* Le menu actif se lit comme une surbrillance premium, sans aplat de fond. */
.nav-menu a::after {
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 10px 24px rgba(139, 101, 51, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.btn-ghost {
  color: var(--sage);
  background: transparent;
  border-color: rgba(85, 117, 111, 0.35);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  place-items: center;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.menu-button span::before {
  transform: translateY(-6px);
}

.menu-button span::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(233, 216, 207, 0.52), transparent 34%),
    linear-gradient(130deg, #fbfaf7 0%, #f4eee6 46%, #e7efec 100%);
}

/* Botanical accents are attached to sections/pages, not to the viewport, so each page keeps a distinct atmosphere. */
.hero::before,
.page-hero::before,
.section.tint::before,
.treatment-section::before,
.contact-panel::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: 5vw;
  bottom: 54px;
  width: 220px;
  height: 170px;
  border: 1px solid rgba(116, 143, 101, 0.18);
  border-radius: 78% 22% 72% 28% / 52% 48% 56% 44%;
  background: linear-gradient(135deg, rgba(116, 143, 101, 0.14), rgba(255, 255, 255, 0.2));
  transform: rotate(-24deg);
}

.hero::after {
  position: absolute;
  right: 18vw;
  bottom: 104px;
  width: 160px;
  height: 220px;
  border-right: 1px solid rgba(85, 117, 111, 0.2);
  border-radius: 0 78% 78% 0;
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
}

body.page-home .hero::after {
  box-shadow: 36px -36px 0 -30px rgba(116, 143, 101, 0.22), 70px -78px 0 -58px rgba(185, 143, 132, 0.22);
}

.hero > *,
.page-hero > *,
.section > *,
.treatment-section > * {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: start;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.45rem;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #4d4943;
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.proof-item {
  padding: 18px;
  border: 1px solid rgba(189, 145, 82, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 530px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: min(310px, 78%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(20, 19, 16, 0.84);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 1rem;
}

.hero-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.nature-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.88));
}

/* Le visuel floral est fondu par masque pour éviter l'effet image carrée en arrière-plan. */
.nature-band::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(620px, 50vw);
  background: url("assets/details-fleurs-ms-clinic.jpg") right center / cover no-repeat;
  content: "";
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 72% 50%, #000 0 36%, rgba(0, 0, 0, 0.78) 48%, transparent 76%);
  mask-image: radial-gradient(circle at 72% 50%, #000 0 36%, rgba(0, 0, 0, 0.78) 48%, transparent 76%);
}

.nature-band > .section-inner {
  position: relative;
  z-index: 1;
}

.section.compact {
  padding: 60px 0;
}

.section.tint {
  position: relative;
  overflow: hidden;
  background: #f2f6f4;
}

.section.tint::before {
  left: -76px;
  top: 64px;
  width: 210px;
  height: 150px;
  border: 1px solid rgba(116, 143, 101, 0.18);
  border-radius: 26% 74% 30% 70% / 48% 58% 42% 52%;
  background: linear-gradient(135deg, rgba(116, 143, 101, 0.13), rgba(255, 255, 255, 0.25));
  transform: rotate(22deg);
}

.section.tint::after {
  position: absolute;
  right: -82px;
  bottom: 46px;
  width: 260px;
  height: 160px;
  border-bottom: 1px solid rgba(85, 117, 111, 0.18);
  border-radius: 0 0 72% 72%;
  content: "";
  pointer-events: none;
  transform: rotate(-18deg);
}

body.page-care .section.tint::before {
  width: 250px;
  height: 170px;
  background: linear-gradient(135deg, rgba(116, 143, 101, 0.16), rgba(233, 216, 207, 0.18));
}

body.page-tarifs .section::after {
  position: absolute;
  right: -70px;
  top: 90px;
  width: 150px;
  height: 230px;
  border: 1px solid rgba(189, 145, 82, 0.16);
  border-radius: 74% 26% 70% 30% / 54% 46% 56% 44%;
  background: rgba(189, 145, 82, 0.06);
  content: "";
  pointer-events: none;
  transform: rotate(28deg);
}

.section.dark {
  background: #171613;
  color: #fff;
}

.section.dark .lead,
.section.dark p,
.section.dark .muted {
  color: rgba(255, 255, 255, 0.76);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
}

.section-head .eyebrow,
.contact-panel .eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(31, 28, 22, 0.06);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.card-body p,
.feature p,
.article-card p,
.price-card p {
  color: var(--muted);
}

.card strong,
.feature strong,
.article-card strong,
.price-card strong,
.proof-item span strong,
.laser-card strong {
  font-weight: inherit;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-media video {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.quote-box {
  padding: 30px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(31, 28, 22, 0.06);
}

.quote-box p {
  margin: 0;
  color: #3d3934;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1.35;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  background:
    radial-gradient(circle at 78% 12%, rgba(116, 143, 101, 0.20), transparent 30%),
    linear-gradient(135deg, #fbfaf7, #f1ede6);
}

.page-hero::before {
  right: -70px;
  top: 34px;
  width: 230px;
  height: 165px;
  border: 1px solid rgba(116, 143, 101, 0.18);
  border-radius: 76% 24% 70% 30% / 52% 48% 54% 46%;
  background: linear-gradient(135deg, rgba(116, 143, 101, 0.12), rgba(255, 255, 255, 0.2));
  box-shadow: -42px 54px 0 -34px rgba(116, 143, 101, 0.14);
  transform: rotate(-28deg);
}

.page-hero::after {
  position: absolute;
  left: -72px;
  bottom: -36px;
  width: 240px;
  height: 150px;
  border-top: 1px solid rgba(85, 117, 111, 0.14);
  border-radius: 72% 72% 0 0;
  content: "";
  pointer-events: none;
  transform: rotate(14deg);
}

body.page-centre .page-hero::before {
  border-radius: 28% 72% 34% 66% / 54% 46% 58% 42%;
  transform: rotate(20deg);
}

body.page-care .page-hero::before {
  right: 6vw;
  top: 22px;
  width: 190px;
  height: 220px;
  border-radius: 82% 18% 78% 22% / 58% 44% 56% 42%;
  background: linear-gradient(150deg, rgba(116, 143, 101, 0.14), rgba(233, 216, 207, 0.18));
  transform: rotate(32deg);
}

body.page-treatments .page-hero::before {
  right: 4vw;
  top: 42px;
  width: 260px;
  height: 120px;
  border-radius: 18% 82% 20% 80% / 48% 56% 44% 52%;
  background: linear-gradient(135deg, rgba(85, 117, 111, 0.11), rgba(255, 255, 255, 0.24));
  transform: rotate(-12deg);
}

body.page-tarifs .page-hero::before {
  border-color: rgba(189, 145, 82, 0.18);
  background: linear-gradient(135deg, rgba(189, 145, 82, 0.10), rgba(255, 255, 255, 0.22));
  transform: rotate(14deg);
}

body.page-contact .page-hero::before {
  right: -86px;
  width: 260px;
  height: 190px;
  border-radius: 80% 20% 72% 28% / 52% 48% 58% 42%;
}

body.page-news .page-hero::after,
body.page-article .page-hero::after {
  left: auto;
  right: 10vw;
  bottom: -58px;
  width: 180px;
  border-top-color: rgba(189, 145, 82, 0.16);
  transform: rotate(-12deg);
}

body.page-legal .page-hero::before {
  right: -40px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 143, 101, 0.10), rgba(255, 255, 255, 0.16));
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.breadcrumb {
  margin: 0 0 18px;
  color: var(--sage);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.treatment-section {
  position: relative;
  overflow: hidden;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.treatment-section::before {
  left: -64px;
  top: 50%;
  width: 150px;
  height: 110px;
  border: 1px solid rgba(85, 117, 111, 0.13);
  border-radius: 74% 26% 76% 24% / 52% 48% 56% 44%;
  background: rgba(116, 143, 101, 0.06);
  transform: translateY(-50%) rotate(-18deg);
}

.treatment-section:nth-of-type(even)::before {
  right: -70px;
  left: auto;
  border-radius: 26% 74% 24% 76% / 48% 52% 44% 56%;
  transform: translateY(-50%) rotate(24deg);
}

.treatment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.treatment-layout img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #4d4943;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--sage);
  content: "✓";
  font-weight: 900;
}

.prices {
  display: grid;
  gap: 16px;
}

.price-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price {
  color: var(--gold-dark);
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}

.offer-panel {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding: 11px 14px;
  border: 1px solid rgba(189, 145, 82, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(233, 216, 207, 0.45), rgba(231, 239, 236, 0.5));
  color: #4d4943;
  font-size: 0.9rem;
}

.offer-panel span {
  display: inline-block;
  margin-right: 7px;
  color: var(--gold-dark);
  font-weight: 800;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  margin-bottom: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-nav .btn + .btn,
.article-nav.is-right-only .btn {
  margin-left: auto;
}

.laser-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.laser-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(31, 28, 22, 0.06);
}

.laser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.laser-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.brochure-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(31, 28, 22, 0.05);
}

.article-card time {
  color: var(--sage);
  font-weight: 800;
  font-size: 0.85rem;
}

.article-card h3 {
  margin-top: 10px;
}

.article-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.article-card.is-hidden {
  display: none;
}

.article-more {
  justify-content: center;
}

.article-more[hidden] {
  display: none;
}

.article-hero-media {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  align-items: start;
}

.article-content {
  max-width: 780px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.article-content h3 {
  margin-top: 26px;
}

.article-content p,
.article-content li {
  color: #4d4943;
}

.article-content a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-aside {
  position: sticky;
  top: 118px;
  padding: 22px;
  border: 1px solid rgba(189, 145, 82, 0.26);
  border-radius: var(--radius);
  background: #fffaf2;
}

.article-aside h2 {
  font-size: 1.35rem;
}

.article-aside ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin-bottom: 0;
  color: #4d4943;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.contact-panel::before {
  left: -54px;
  top: 82px;
  width: 190px;
  height: 132px;
  border: 1px solid rgba(185, 143, 132, 0.14);
  border-radius: 34% 66% 28% 72% / 52% 48% 58% 42%;
  background: linear-gradient(135deg, rgba(233, 216, 207, 0.18), rgba(116, 143, 101, 0.1));
  transform: rotate(18deg);
}

.contact-panel::after {
  position: absolute;
  right: -42px;
  bottom: 64px;
  width: 170px;
  height: 230px;
  border-left: 1px solid rgba(85, 117, 111, 0.14);
  border-radius: 76% 0 0 76%;
  content: "";
  pointer-events: none;
  transform: rotate(-10deg);
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-visual {
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.form-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.status-shell {
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 244, 0.92));
}

.status-message {
  color: #4d4943;
  font-size: 1.08rem;
}

.status-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.status-steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.status-steps strong {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
}

.status-steps span {
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #3d3934;
  font-weight: 700;
  font-size: 0.93rem;
}

.hidden-field {
  display: none;
}

.conditional-field[hidden] {
  display: none;
}

.antispam-options {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(231, 239, 236, 0.5);
  box-shadow: inset 0 0 0 1px rgba(85, 117, 111, 0.22);
}

.antispam-question {
  margin: 0;
  color: #3d3934;
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.35;
}

.antispam-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(231, 223, 212, 0.95);
  border-radius: var(--radius);
  background: #fff;
  color: #4d4943;
  font-weight: 600;
}

.antispam-options input {
  width: auto;
  min-height: auto;
}

.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #4d4943;
  font-weight: 500;
}

.checkbox-label input {
  width: auto;
  min-height: auto;
  margin-top: 0.25em;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(85, 117, 111, 0.22);
  border-radius: var(--radius);
  background: var(--sage-soft);
  color: #36534e;
  font-size: 0.95rem;
}

.site-footer {
  background: #141310;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 54px 0;
}

.footer-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 16px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

/* Deux colonnes compactes pour garder toutes les grandes rubriques dans le footer. */
.footer-link-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.footer-socials .social-icon {
  width: 34px;
  height: 34px;
}

.footer-socials .doctolib-icon {
  --doctolib-logo-width: 82px;
  width: 100px;
  height: 34px;
}

.contact-item .footer-socials .social-icon {
  background: #141310;
  border-color: #141310;
}

.contact-item .footer-socials .doctolib-icon {
  border: 1px solid rgba(20, 19, 16, 0.22);
  background: #fff;
}

.footer-socials + .footer-links {
  margin-top: 16px;
}

.footer-doctolib-link {
  --doctolib-logo-width: 88px;
  display: inline-grid;
  width: 112px;
  height: 36px;
  margin-top: 6px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
}

.footer-doctolib-link img {
  width: var(--doctolib-logo-width);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 38px;
  font-size: 1.8rem;
}

@media (max-width: 1040px) {
  :root {
    --topbar-height: 46px;
  }

  .nav-inner {
    position: relative;
    grid-template-columns: auto auto;
    min-height: 76px;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    grid-column: auto;
    padding: 6px max(20px, calc((100vw - var(--max)) / 2)) 18px;
    border-bottom: 1px solid rgba(231, 223, 212, 0.92);
    background: rgba(251, 250, 247, 0.97);
    box-shadow: none;
    justify-content: start;
    flex-wrap: wrap;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .hero-inner,
  .split,
  .treatment-layout,
  .article-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .hero-media,
  .hero-media img {
    min-height: 460px;
  }

  .grid.four,
  .grid.three,
  .laser-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-bottom-inner,
  .section-head {
    display: block;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-strip {
    display: flex;
    flex: 1;
    gap: 8px;
    justify-content: flex-end;
    font-size: 0.78rem;
  }

  .contact-strip > span:first-child,
  .topbar-separator {
    display: none;
  }

  .social-strip {
    display: flex;
    gap: 7px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
  }

  .doctolib-icon {
    --doctolib-logo-width: 66px;
    width: 86px;
    height: 28px;
    padding: 0 9px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-tagline {
    font-size: 0.66rem;
  }

  .hero-inner {
    gap: 22px;
    min-height: auto;
    padding-top: 64px;
  }

  /* Sur mobile, l'image du hero remonte juste après l'introduction pour rassurer plus tôt. */
  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
    margin-bottom: -6px;
  }

  .hero-copy h1 {
    order: 2;
  }

  .hero-copy .lead {
    order: 3;
    margin-top: 8px;
  }

  .hero .hero-media {
    order: 4;
    margin-top: 12px;
  }

  .hero-copy .hero-actions {
    order: 5;
    margin-top: 4px;
  }

  .hero-copy .hero-proof {
    order: 6;
    margin-top: 2px;
  }

  .article-nav {
    display: grid;
  }

  .article-nav .btn,
  .article-nav .btn:last-child,
  .article-nav.is-right-only .btn {
    width: 100%;
    margin-left: 0;
  }

  .hero-proof,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-inner,
  .laser-showcase {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .hero-card {
    right: 12px;
    bottom: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .nature-band::after {
    inset: auto -28px -22px auto;
    width: min(360px, 94vw);
    height: min(360px, 94vw);
    background-position: right bottom;
    background-size: contain;
    opacity: 0.24;
    -webkit-mask-image: radial-gradient(circle at 70% 60%, #000 0 42%, rgba(0, 0, 0, 0.72) 55%, transparent 78%);
    mask-image: radial-gradient(circle at 70% 60%, #000 0 42%, rgba(0, 0, 0, 0.72) 55%, transparent 78%);
  }

  .section-head p {
    margin-top: 14px;
  }

  .price {
    justify-self: end;
    margin-top: 0;
  }

  .price-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

}
