/*
 * Variante A — Sobre & institutionnelle
 * Palette calme, espaces généreux et accent rouge Maison de santé.
 */

:root {
  --red: #a3122a;
  --red-dark: #760b1d;
  --red-soft: #fbf0f3;
  --ink: #2f3030;
  --text: #575756;
  --muted: #6d706f;
  --line: #dedfdf;
  --soft: #f5f6f6;
  --white: #ffffff;
  --footer: #313333;
  --axis-care: #d4304a;
  --axis-support: #8e3a8f;
  --axis-prevention: #4f9d3a;
  --axis-nutrition: #f07a1a;
  --axis-education: #2479b8;
  --axis-coordination: #a3236e;
  --shadow-sm: 0 8px 24px rgba(34, 38, 37, 0.06);
  --shadow-md: 0 18px 48px rgba(34, 38, 37, 0.08);
  --radius-sm: 0.65rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.15rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--red-dark);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

/* En-tête */
.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #ececec;
}

.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-link {
  flex: 0 0 auto;
  display: inline-flex;
}

.brand-link img {
  width: 8.8rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-link {
  display: none;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--red);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.phone-link:hover {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

/* Éléments de structure partagés */
.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 4.8vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-heading > p:last-child {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.btn {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.25;
}

.btn-primary-lavista {
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
}

.btn-primary-lavista:hover,
.btn-primary-lavista:focus-visible {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-primary-lavista:disabled {
  color: #f4f4f4;
  background: #8b8d8c;
  border-color: #8b8d8c;
  cursor: not-allowed;
  opacity: 1;
}

.btn-outline-lavista {
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfc1c0;
}

.btn-outline-lavista:hover,
.btn-outline-lavista:focus-visible {
  color: var(--red-dark);
  background: var(--red-soft);
  border-color: var(--red);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(163, 18, 42, 0.045), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border-bottom: 1px solid #ececec;
}

.hero::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 4rem;
  height: 3px;
  background: var(--red);
  transform: translateX(50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 76rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3.6rem;
  padding-bottom: 4.4rem;
  text-align: center;
}

.hero-logo {
  width: clamp(10rem, 28vw, 14.5rem);
  margin-bottom: 1.5rem;
}

.hero-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.8rem;
}

.hero-location .eyebrow {
  margin-bottom: 0;
}

.manosque-signature {
  margin: 0.05rem 0 0;
  color: var(--red);
  font-family: "Dancing Script", cursive;
  font-size: clamp(2rem, 6vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  transform: rotate(-2deg);
}

.hero h1 {
  max-width: 52rem;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 7.5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.05;
}

.hero-lead {
  max-width: 44rem;
  margin: 1.5rem auto 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  line-height: 1.6;
}

.hero-visual {
  width: 100%;
  margin: 2rem 0 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e0e1e1;
  border-radius: clamp(0.8rem, 2.4vw, 1.35rem);
  box-shadow: var(--shadow-md);
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  display: block;
}

.structure-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.structure-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: #444545;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(34, 38, 37, 0.035);
  font-size: 0.86rem;
  font-weight: 500;
}

.structure-list i {
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
  margin-top: 2rem;
}

/* Six axes du visuel officiel */
.axes-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.axes-section .section-heading {
  margin-bottom: 2rem;
}

.axes-grid {
  max-width: 70rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.75rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.axis {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.axis-dot {
  width: 4.4rem;
  height: 4.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--axis-color);
  border-radius: 50%;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--axis-color) 25%, transparent);
  font-size: 1.6rem;
}

.axis-care {
  --axis-color: var(--axis-care);
}

.axis-support {
  --axis-color: var(--axis-support);
}

.axis-prevention {
  --axis-color: var(--axis-prevention);
}

.axis-nutrition {
  --axis-color: var(--axis-nutrition);
}

.axis-education {
  --axis-color: var(--axis-education);
}

.axis-coordination {
  --axis-color: var(--axis-coordination);
}

/* Implantations multisites */
.sites-section {
  padding-bottom: 0;
}

.sites-grid {
  max-width: 74rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 auto;
}

.site-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid #e0e1e1;
  border-top: 3px solid var(--red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.site-card > div {
  min-width: 0;
}

.site-pin {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
  font-size: 1.25rem;
}

.site-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.site-card address,
.site-card p {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-style: normal;
  line-height: 1.55;
}

.site-card .text-link {
  overflow-wrap: anywhere;
}

.slogan-banner {
  margin-top: 4rem;
  padding: 1.35rem 0;
  color: var(--white);
  background: var(--red);
}

.slogan-banner p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.9rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-align: center;
  text-transform: uppercase;
}

.slogan-banner i {
  flex: 0 0 auto;
  width: 0.35rem;
  height: 0.35rem;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.9;
}

/* Informations utiles */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid #e4e5e5;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.icon-box {
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  font-size: 1.18rem;
}

.info-card h3,
.appointment-note h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}

.info-card p,
.info-card address {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-style: normal;
  line-height: 1.55;
}

.text-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.info-phone {
  display: inline-block;
  color: var(--red-dark);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
}

.info-card-urgent {
  border-color: rgba(163, 18, 42, 0.22);
}

.emergency-numbers {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.emergency-numbers a {
  color: var(--red-dark);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.emergency-numbers span {
  color: var(--muted);
  font-size: 0.85rem;
}


.appointment-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: #eceeee;
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
}

.appointment-note p {
  margin: 0;
  font-size: 0.94rem;
}

.appointment-note .icon-box {
  background: var(--white);
}

/* Formulaire d'aiguillage */
.contact-section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}

.contact-container {
  max-width: 68rem;
}

.contact-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfe0e0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.emergency-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  color: #5f171a;
  background: var(--red-soft);
  border-bottom: 1px solid rgba(163, 18, 42, 0.17);
  font-size: 0.9rem;
}

.emergency-banner i {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.15rem;
}

.emergency-banner p {
  margin: 0;
}

.emergency-banner a {
  color: inherit;
  font-weight: 700;
}

#contactForm {
  padding: 1.4rem;
}

.routing-fieldset,
.message-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.routing-fieldset > legend,
.message-fields > legend {
  float: none;
  width: 100%;
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.4;
}

.step-label {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.32rem 0.55rem;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 0.38rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}

.routing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.routing-option label {
  min-height: 5.35rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d7d9d8;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.routing-option label:hover {
  background: #fdfafa;
  border-color: rgba(163, 18, 42, 0.56);
  transform: translateY(-1px);
}

.route-icon {
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 0.55rem;
  font-size: 1.08rem;
}

.routing-option input:checked + label {
  background: var(--red-soft);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.routing-option input:checked + label .route-icon {
  color: var(--white);
  background: var(--red);
}

.routing-option input:focus-visible + label {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.route-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.guidance-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.35rem;
  padding: 1.25rem;
  background: var(--soft);
  border: 1px solid #dfe0e0;
  border-radius: var(--radius-md);
}

.guidance-icon {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 1.15rem;
}

.guidance-card h3,
.practitioner-guidance h3,
.success-message h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.guidance-card p {
  margin: 0 0 1rem;
}

.practitioner-picker {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e3e4e4;
}

.form-label {
  margin-bottom: 0.42rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-label span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "\F282";
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--text);
  font-family: "bootstrap-icons";
  font-size: 0.82rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.form-control,
.form-select {
  min-height: 3.15rem;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid #bfc2c1;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.form-select {
  padding-right: 2.7rem;
  background-image: none;
}

textarea.form-control {
  min-height: 9rem;
  resize: vertical;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.22rem rgba(163, 18, 42, 0.14);
}

.practitioner-guidance {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
}

.practitioner-guidance-active {
  background: #f4f7f5;
  border: 1px solid #cbd8d0;
}

.practitioner-guidance-former {
  color: #572c2e;
  background: var(--red-soft);
  border: 1px solid rgba(163, 18, 42, 0.28);
}

.guidance-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.guidance-heading > i {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--red);
  font-size: 1.2rem;
}

.guidance-heading p,
.practitioner-guidance > p {
  margin: 0.25rem 0 0;
}

.direct-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.direct-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.8rem;
  color: var(--red-dark);
  background: var(--white);
  border: 1px solid #ccd2ce;
  border-radius: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.direct-contact:hover {
  color: var(--red-dark);
  border-color: var(--red);
}

.contact-pending {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.88rem;
}

.administrative-only,
.new-contact {
  margin-top: 0.9rem !important;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(87, 87, 86, 0.16);
  font-size: 0.9rem;
}

.message-fields {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid #e2e3e3;
}

.privacy-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0.8rem 0.9rem;
  color: #5f171a;
  background: var(--red-soft);
  border-radius: 0.48rem;
  font-size: 0.86rem;
}

.privacy-warning i {
  color: var(--red);
  font-size: 1.05rem;
  line-height: 1.5;
}

.privacy-warning p {
  margin: 0;
  line-height: 1.55;
}

.privacy-warning a {
  color: var(--red-dark);
  font-weight: 700;
}

/* Champs obligatoires */
.required-note {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.req,
.required-note span {
  color: var(--red);
  font-weight: 700;
}

/* Piège anti-robots : hors écran, invisible pour les humains */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mention d'information RGPD sous le bouton */
.form-actions .rgpd-notice {
  max-width: none;
  line-height: 1.55;
}

.rgpd-notice a {
  color: var(--red);
}

.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.form-check-label {
  color: var(--text);
  font-size: 0.88rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.success-message {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding: 1.2rem;
  color: #2e543a;
  background: #eef7f1;
  border: 1px solid #bdd9c5;
  border-radius: var(--radius-sm);
}

.success-message > i {
  flex: 0 0 auto;
  color: #39794d;
  font-size: 1.25rem;
}

.success-message p {
  margin: 0;
}

/* Pied de page */
.site-footer {
  padding: 3.2rem 0 1.2rem;
  color: #e6e7e7;
  background: var(--footer);
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  width: 10.5rem;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-bottom p {
  margin: 0;
  color: #cfd0d0;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-links a {
  color: #f0f0f0;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid #656767;
  border-radius: 50%;
  font-size: 1.05rem;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #555757;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-bottom p {
  margin: 0;
}

/* Crédit « Site réalisé par Isckaa Informatique » */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #d4d4d2;
  font-size: .82rem;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  opacity: 1;
  color: #fff;
}

.footer-credit img {
  width: auto;
  height: 34px;
}

/* Tablettes */
@media (min-width: 576px) {
  .contact-link {
    display: inline;
  }

  .phone-link {
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    max-width: none;
    flex-direction: row;
    justify-content: center;
  }

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

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

  .routing-option-wide {
    grid-column: 1 / -1;
  }

  #contactForm {
    padding: 2rem;
  }

  .form-actions {
    gap: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .social-links {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
}

/* Ordinateurs */
@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
  }

  .brand-link img {
    width: 9.8rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .sites-section {
    padding-bottom: 0;
  }

  .hero-inner {
    padding-top: 5.2rem;
    padding-bottom: 5.8rem;
  }

  .structure-list {
    gap: 0.8rem;
  }

  .structure-list li {
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
  }

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

  .site-card {
    padding: 1.55rem;
  }

  .contact-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .contact-panel {
    border-radius: 1.35rem;
  }

  .emergency-banner {
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  #contactForm {
    padding: 2.5rem;
  }

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

  .routing-option {
    grid-column: span 3;
  }

  .routing-option-wide {
    grid-column: 2 / span 4;
  }

  .routing-option label {
    min-height: 6.15rem;
    padding: 1.2rem;
    font-size: 0.96rem;
  }

  .guidance-card,
  .practitioner-guidance {
    padding: 1.4rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }

  .footer-links {
    grid-column: 2;
    flex-direction: row;
    gap: 1.5rem;
  }

  .social-links {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (min-width: 992px) {
  .axes-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .info-card {
    padding: 1.55rem;
  }
}

/* Respect du réglage système de réduction des animations. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Page mentions légales */
.legal-page {
  padding: 3.5rem 0 4.5rem;
  min-height: 60vh;
}

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

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  color: var(--red, #b02025);
  font-weight: 500;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
  text-decoration: underline;
}

.legal-page h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
}

.legal-address {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 500;
}

.legal-updated {
  color: #6b6b6a;
  font-size: .9rem;
  margin-bottom: 2.5rem;
}

.legal-section {
  padding-top: 1.8rem;
  margin-top: 1.8rem;
  border-top: 1px solid #ececec;
}

.legal-section h2 {
  margin-bottom: 1rem;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 600;
}

.legal-section p {
  line-height: 1.7;
}

.legal-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem 1.5rem;
  margin: 1rem 0 1.25rem;
  padding: 1.1rem 1.25rem;
  background: #f7f7f6;
  border-radius: .75rem;
}

.legal-list dt {
  font-weight: 600;
  color: #313333;
}

.legal-list dd {
  margin-bottom: .6rem;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .legal-list {
    grid-template-columns: 13rem 1fr;
  }

  .legal-list dd {
    margin-bottom: .35rem;
  }
}

/* Pied de page : coordonnées et mentions vie privée */
.footer-brand a {
  color: inherit;
  text-decoration: none;
}

.footer-brand a:hover,
.footer-brand a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  flex-wrap: wrap;
}

.footer-links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

.footer-legal p + p {
  margin-top: .35rem;
}

.footer-privacy {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-privacy i {
  color: #8fd19e;
}

.legal-section h3 {
  margin: 1.4rem 0 .6rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-section ul {
  padding-left: 1.2rem;
  line-height: 1.7;
}

.legal-table {
  margin: 1rem 0 1.25rem;
  border-radius: .75rem;
  border: 1px solid #ececec;
}

.legal-table .table {
  margin: 0;
  font-size: .92rem;
}

.legal-table th {
  background: #f7f7f6;
  font-weight: 600;
}

.legal-table th,
.legal-table td {
  padding: .75rem 1rem;
  vertical-align: top;
}

/* Encart Dr Aye-Baratier : placé juste au-dessus du formulaire, très visible */
.doctor-notice {
  display: flex;
  gap: 1rem;
  margin: 0 0 1.6rem;
  padding: 1.2rem 1.25rem;
  background: #fff8e6;
  border: 1px solid #f1d38a;
  border-left: 6px solid #d99a00;
  border-radius: .75rem;
  color: #3d3200;
}

.doctor-notice-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: #fff;
  background: #c98a00;
  border-radius: 50%;
  font-size: 1.2rem;
}

.doctor-notice h3 {
  margin: .2rem 0 .5rem;
  color: #2b2400;
  font-size: 1.1rem;
  font-weight: 700;
}

.doctor-notice p {
  margin-bottom: .8rem;
  font-size: .92rem;
  line-height: 1.6;
}

.doctor-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .9rem;
}

.doctor-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--red);
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 600;
}

.doctor-btn:hover,
.doctor-btn:focus-visible {
  color: #fff;
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.doctor-btn-outline {
  color: var(--red);
  background: #fff;
}

.doctor-btn-outline:hover,
.doctor-btn-outline:focus-visible {
  color: #fff;
}

.doctor-notice .doctor-notice-foot {
  display: flex;
  gap: .45rem;
  margin: 0;
  padding-top: .75rem;
  border-top: 1px dashed #e4c56f;
  font-size: .86rem;
}

@media (max-width: 575.98px) {
  .doctor-notice {
    flex-direction: column;
    gap: .6rem;
  }

  .doctor-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Anti-spam ALTCHA */
.altcha-wrap {
  margin-top: 1.2rem;
  --altcha-max-width: 320px;
  --altcha-border-radius: .5rem;
  --altcha-color-border: #d9dada;
  --altcha-color-border-focus: var(--red);
  --altcha-color-text: var(--text);
  --altcha-color-base: #fff;
  --altcha-color-error-text: var(--red-dark);
}

/* Message d'erreur d'envoi */
.form-error {
  margin-top: 1rem;
  padding: .85rem 1rem;
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid #efc6cf;
  border-radius: .5rem;
  font-size: .9rem;
  font-weight: 500;
}

.form-error a {
  color: inherit;
  font-weight: 700;
}
