@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* =========================================================
   RECONSTRUCTION DU SITE DU CABINET
   Feuille de styles reconstruite à partir des notes disponibles.
   Les règles marquées "à confirmer" reposent sur une déduction
   lorsque les notes ne donnaient pas la valeur exacte.
   ========================================================= */

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
.body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #40210e;
  background: #f9f5f0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.heading,
h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: #40210e;
}

.heading {
  font-size: 32px;
  line-height: 36px;
}

p {
  margin-top: 0;
}

.main-container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 16px 20px;
  background: #3d2b1f;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.image {
  display: block;
  height: 20px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links {
  display: flex;
  width: auto;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: transparent;
}

.navbar-link {
  color: #f5f0e8;
  text-decoration: none;
}

.navbar-link-text {
  color: #f5f0e8;
  text-decoration: none;
  text-underline-offset: 8px;
}

.navbar-link-text:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.navbar-cta {
  width: auto;
  height: auto;
  background: transparent;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding: 10px 22px;
  border: 0;
  border-radius: 24px;
  background: #a8653c;
  color: #f5f0e8;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background: #754121;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  margin-top: 0;
  padding: 70px 20px;
  background-color: #3d2b1f;
  background-image: url(images/ks-accueil.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.anchor-offset {
  position: relative;
  top: -120px;
  height: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  display: block;
  width: auto;
  height: 150px;
  object-fit: contain;
  margin-bottom: 24px;
}

.hero-h1 {
  margin-bottom: 16px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
}

.hero-subtitle {
  margin-bottom: 20px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

/* ---------- À propos ---------- */
.about-section {
  padding: 60px 20px;
  background: #f5f0e8;
}

.main-container.about-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.about-text-col,
.about-images-col {
  min-width: 0;
  flex: 1 1 0;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-label-text {
  margin-bottom: 12px;
  color: #40210e;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  word-break: normal;
}

.text-block-3 {
  color: #40210e;
  font-size: 14px;
  line-height: 20px;
}

.about-images-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 16px;
}

.about-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
  border-radius: 16px;
  object-fit: cover;
}

.about-image.mobile-hidden {
  display: block;
}

/* ---------- Services ---------- */
.services-section {
  padding: 60px 20px;
  background: #3d2b1f;
}

.services-section .main-container {
  display: block;
}

.section-label-text.services-label-light,
.heading.services-h2-light {
  color: #f5f0e8;
}

.services-grid,
.services-grid.wf-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: start;
  gap: 24px;
}

.services-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: start;
  gap: 8px;
}

.services-card .image-2 {
  display: block;
  width: 100%;
  height: 180px;
  min-height: 180px;
  max-width: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: 50% 35%;
}

.heading-2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.heading-2.sevices-h2-card-light {
  color: #f5f0e8;
  font-size: 21px;
}

.text-block-4 {
  color: rgba(64, 33, 14, 0.7);
  font-size: 14px;
  line-height: 20px;
}

.text-block-4.text-services-card-light {
  color: rgba(245, 240, 232, 0.7);
}

/* ---------- Bénéfices ---------- */
.benefices-section {
  padding: 60px 20px;
  background: #f0e9e0;
}

.benefit-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.benefit-icon {
  display: block;
  flex: 0 0 85px;
  width: 85px;
  max-width: 85px;
  height: auto;
  object-fit: contain;
}

.benefit-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
}

.benefit-title {
  margin-top: 0;
  margin-bottom: 4px;
  color: #40210e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

/* ---------- Équipe ---------- */
.team-section {
  padding: 60px 20px;
  background: #f9f5f0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.team-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  border-radius: 16px;
  background: #fff;
}

.team-card-image {
  display: block;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

.team-card-role {
  margin: 0;
  color: rgba(64, 33, 14, 0.7);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  text-transform: uppercase;
}

.team-card-name {
  margin-top: 4px;
  margin-bottom: 0;
  color: #40210e;
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

/* ---------- Localisation ---------- */
.location-section {
  padding: 60px 20px;
  background-color: #3d2b1f;
  background-image: url(images/localisation/AdobeStock_333418194.jpeg);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-container.location-container-mobile {
  align-items: stretch;
}

.location-info {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  padding: 20px 32px;
  gap: 18px;
  border-radius: 16px;
  background: #f9f5f0;
}

.location-title.heading {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 30px;
}

.location-address {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}

.location-subtitle {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  word-break: normal;
}

.transport-informations {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transport-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.transport-badge {
  display: flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #a8653c;
}

.transport-badge-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.transport-badge-bus-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.transport-badge-bus {
  display: flex;
  width: 35px;
  height: 30px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #a8653c;
}

.list {
  padding-right: 12px;
  padding-left: 12px;
}

.location-map {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
}

.link-block-3 {
  display: block;
  width: 100%;
  height: 100%;
}

.image-3 {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 60px 20px;
  background: #f9f5f0;
}

.contact-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 165px;
  object-fit: contain;
}

.contact-hours-title {
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.form-block {
  flex: 1 1 0;
  min-width: 0;
}

.contact-form-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  gap: 4px;
}

.field-label-3,
.field-label-6 {
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.text-field {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #40210e;
  border-radius: 8px;
  background: #fff;
  color: #40210e;
  font: inherit;
}

.form-note {
  font-size: 12px;
  line-height: 16px;
}

/* ---------- Pied de page ---------- */
.footer-section {
  display: flex;
  width: 100%;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #3d2b1f;
}

.footer-copyright {
  margin: 0;
  color: #f5f0e8;
}

a.footer-legal-link,
.footer-legal-link {
  color: #f5f0e8;
  text-decoration: none;
}

a.footer-legal-link:hover,
.footer-legal-link:hover {
  color: #a8653c;
}

/* ---------- Tablette ---------- */
@media screen and (max-width: 991px) {
  .navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    background: #3d2b1f;
  }

  .navbar-links {
    width: 100%;
    height: auto;
    padding: 16px 20px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: transparent;
    color: #333;
  }

  .navbar-cta {
    padding: 8px 20px 18px;
  }

  .main-container {
    gap: 32px;
  }

  .services-grid,
  .services-grid.wf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }

  .team-card-image {
    height: 200px;
  }

  .team-card-name {
    margin-top: auto;
  }

  .location-info {
    padding-top: 10px;
  }

  .image-3 {
    height: 280px;
    min-height: 280px;
  }
}

/* ---------- Petit écran / mobile ---------- */
@media screen and (max-width: 767px) {
  .main-container.location-container-mobile {
    padding-top: 20px;
    padding-bottom: 20px;
    flex-direction: column;
    gap: 24px;
  }

  .location-info,
  .location-map {
    width: 100%;
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 479px) {
  .heading {
    font-size: 28px;
    line-height: 34px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .image {
    height: 25px;
  }

  .navbar-cta {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .icon {
    color: #f5f0e8;
  }

  .hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-logo {
    height: 110px;
  }

  .hero-h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .main-container,
  .main-container.about-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .about-section,
  .team-section,
  .contact-section {
    padding: 40px 20px;
  }

  .about-images-col {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .about-image {
    height: 220px;
    min-height: 0;
  }

  .about-image.mobile-hidden {
    display: none;
  }

  .services-section {
    padding: 40px 20px;
  }

  .services-grid,
  .services-grid.wf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 18px 14px;
  }

  .services-card .image-2 {
    height: 140px;
    min-height: 140px;
  }

  .heading-2,
  .heading-2.sevices-h2-card-light {
    font-size: 18px;
  }

  .benefices-section {
    padding: 40px 20px;
  }

  .benefit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .benefit-icon {
    flex-basis: auto;
    width: 64px;
    max-width: 64px;
  }

  .benefit-title {
    font-size: 22px;
    line-height: 28px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    gap: 14px;
  }

  .team-card {
    padding: 10px;
    gap: 8px;
  }

  .team-card-image {
    height: 150px;
  }

  .team-card-name {
    margin-top: 0;
    font-size: 18px;
    line-height: 22px;
  }

  .location-section {
    padding: 40px 20px;
  }

  .main-container.location-container-mobile {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 18px;
  }

  .location-info {
    padding: 0 16px 16px;
    gap: 15px;
  }

  .location-title.heading,
  .contact-hours-title {
    font-size: 24px;
    line-height: 30px;
  }

  .location-address {
    font-size: 14px;
    line-height: 20px;
  }

  .image-3 {
    height: 200px;
    min-height: 200px;
  }

  .contact-logo {
    height: 130px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .footer-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}



/* =========================================================
   CORRECTIONS CONSOLIDÉES — ordinateur / tablette / mobile
   Base : CSS précédemment livré, sans empilement d'anciens patchs.
   ========================================================= */
:root { --content-width: 1100px; --gutter: 24px; }
.main-container { max-width: var(--content-width); width: 100%; margin-inline: auto; }
.navbar-container { max-width: var(--content-width); padding-inline: 12px; }

/* Les sections s'alignent sur un axe central, leur texte reste à gauche. */
.services-section .main-container,
.team-section .main-container,
.benefices-section .main-container { display: block; }
.services-section .heading,
.team-section .heading,
.benefices-section .heading { text-align: left; }

/* À propos : vraie colonne de texte et mosaïque à hauteur commune. */
.main-container.about-layout { gap: clamp(28px, 5vw, 70px); align-items: stretch; }
.about-text-col { flex: 0 1 39%; min-width: 0; justify-content: center; align-items: flex-start; }
.about-text-col .heading { max-width: 340px; }
.about-text-col .text-block-3 { max-width: 350px; line-height: 1.65; }
.about-images-col { flex: 1 1 61%; min-width: 0; display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
.about-images-col > :first-child { grid-column: 1; grid-row: 1 / 3; }
.about-images-col > :nth-child(2) { grid-column: 2; grid-row: 1; }
.about-images-col > :nth-child(3) { grid-column: 2; grid-row: 2; }
.about-images-col > * { min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px; }
.about-images-col .about-image { display: block; width: 100%; height: 100%; min-height: 0; max-width: 100%; object-fit: cover; border-radius: 14px; }
.about-images-col > :first-child .about-image,
.about-images-col > .about-image:first-child { object-position: center; }

/* Services : trois colonnes desktop, deux sur tablette et téléphone. */
.services-section .heading.services-h2-light { max-width: 650px; text-wrap: balance; }
.services-grid, .services-grid.wf-grid { width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)) !important; grid-auto-rows: auto; align-items: stretch; gap: 28px 24px; }
.services-card { min-width: 0; height: 100%; align-self: stretch; }
.services-card .image-2 { display: block; width: calc(100% - 15px); max-width: calc(100% - 15px); margin-inline: auto; height: 175px; min-height: 0; object-fit: cover; object-position: center 25%; }
.services-card:nth-child(1) .image-2 { object-position: center 12%; }
.services-card:nth-child(2) .image-2 { object-position: center 32%; }
.services-card:nth-child(3) .image-2 { object-position: center 28%; }
.services-card .button { margin-top: auto; align-self: flex-start; }

/* Équipe : grille réellement centrée dans le conteneur. */
.team-section .main-container { width: 100%; }
.team-grid { width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; grid-auto-rows: auto; gap: 24px; }
.team-card { height: 100%; }
.team-card-image { height: 250px; flex-shrink: 0; object-fit: cover; }
.team-card .button { margin-top: auto; }

/* Localisation : espace supérieur et inférieur équilibré, blocs moins hauts. */
.location-section { padding: 76px 24px 46px; }
.main-container.location-container-mobile { max-width: 1020px; align-items: stretch; gap: 22px; }
.location-info { flex: 1.08 1 0; gap: 12px; padding: 22px 28px; }
.location-map { flex: .92 1 0; min-height: 0; }
.location-map .link-block-3 { height: 100%; }
.location-map .image-3 { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }

/* Contact : espace entre les informations et champs. */
.contact-section { padding: 70px 24px; }
.contact-section .main-container { gap: clamp(38px, 6vw, 90px); align-items: center; }
.contact-logo { margin-bottom: 22px; }
.contact-hours-title { margin-top: 18px; margin-bottom: 10px; }
.form-block { width: 100%; max-width: 560px; }
.contact-form-title { margin-bottom: 24px; }
.form-block form { display: flex; flex-direction: column; gap: 15px; }
.form-block .form-row { gap: 16px; }
.form-block .form-field { gap: 7px; }
.form-block .text-field { margin-bottom: 0; }
.form-block textarea.text-field { min-height: 110px; }
.form-block .form-note { margin: 0; line-height: 1.5; }
.form-block .button { align-self: flex-start; margin-top: 8px; }
/* Les messages Webflow ne doivent pas apparaître avant une soumission. */
.form-block .w-form-done, .form-block .w-form-fail { display: none; }
.form-block .w-form-done.is-visible, .form-block .w-form-fail.is-visible { display: block; }

/* Footer : copyright à gauche, groupe des liens à droite. */
.footer-section { justify-content: space-between; flex-wrap: wrap; padding: 22px max(24px, calc((100% - 1100px)/2)); gap: 12px 24px; }
.footer-section > :last-child:not(:first-child) { margin-left: auto; }
.footer-section a { color: #f5f0e8; }

/* Tablette et mobile : Webflow ne fournit plus son comportement natif. */
@media screen and (max-width: 991px) {
  .main-container { max-width: 760px; }
  .navbar { padding: 12px 20px; }
  .navbar-container { position: relative; min-height: 44px; }
  .navbar-container .w-nav-brand { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .menu-button, .w-nav-button { display: flex !important; position: relative; z-index: 1003; align-items: center; justify-content: center; margin-left: auto; color: #f5f0e8; cursor: pointer; background: transparent; }
  .menu-button .icon, .w-nav-button .icon { color: #f5f0e8; }
  .nav-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 1002; display: none; flex-direction: column; align-items: center; width: 100%; padding: 18px 20px 24px; background: #3d2b1f; }
  .nav-menu.w--nav-menu-open, .nav-menu.w--open, .nav-menu.is-open { display: flex !important; }
  .navbar-links { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: auto; padding: 12px; gap: 18px; text-align: center; }
  .navbar-cta { margin-top: 14px; padding: 12px 20px 18px; }
  .main-container.about-layout { flex-direction: column; align-items: stretch; gap: 24px; }
  .about-text-col { flex: auto; }
  .about-text-col .text-block-3 { max-width: 100%; }
  .about-images-col { flex: auto; width: 100%; min-height: 0; }
  .services-grid, .services-grid.wf-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-template-rows: none !important; gap: 22px 16px; }
  .services-card .image-2 { width: 100%; max-width: 100%; height: 150px; }
  .team-grid, .team-grid.wf-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; grid-template-rows: none !important; gap: 18px; }
  .team-card-image { height: 210px; }
  .main-container.location-container-mobile { display: flex; flex-direction: column; gap: 20px; }
  .location-info, .location-map { display: block; flex: none; width: 100%; }
  .location-map { min-height: 250px; }
  .location-map .image-3 { height: 250px; min-height: 250px; }
  .contact-section .main-container { flex-direction: column; align-items: stretch; gap: 32px; }
  .form-block { max-width: 100%; }
}

@media screen and (max-width: 767px) {
  .about-section, .services-section, .benefices-section, .team-section { padding: 44px 20px; }
  .about-images-col { display: block; }
  .about-images-col > :not(:first-child), .about-image.mobile-hidden { display: none !important; }
  .about-images-col > :first-child { display: block; width: 100%; height: 190px; }
  .about-images-col .about-image { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center; }
  .services-card .image-2 { height: 135px; }
  .team-card-image { height: 180px; }
  .location-section { padding: 62px 20px 42px; }
  .location-info { padding: 20px; }
  .contact-section { padding: 48px 20px; }
  .footer-section { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .footer-section > :last-child:not(:first-child) { margin-left: 0; }
}

@media screen and (max-width: 479px) {
  .main-container { width: 100%; }
  .heading { font-size: 28px; line-height: 1.18; }
  .services-grid, .services-grid.wf-grid { gap: 20px 12px; }
  .services-card .image-2 { height: 118px; }
  .services-card .heading-2 { font-size: 17px; }
  .team-grid, .team-grid.wf-grid { gap: 14px; }
  .team-card { padding: 10px; }
  .team-card-image { height: 145px; }
  .form-row { flex-direction: column; }
  .form-block .form-row { gap: 15px; }
  .footer-section { align-items: center; }
}

/* Icône hamburger autonome si l'icône Webflow n'est pas chargée. */
@media screen and (max-width: 991px) {
  .menu-button, .w-nav-button { width: 44px; height: 44px; padding: 10px; }
  .menu-button::before, .w-nav-button::before,
  .menu-button::after, .w-nav-button::after {
    content: ""; position: absolute; left: 12px; right: 12px;
    height: 2px; background: #f5f0e8; transition: transform .2s, top .2s;
  }
  .menu-button::before, .w-nav-button::before { top: 15px; }
  .menu-button::after, .w-nav-button::after { top: 27px; }
  .menu-button .icon, .w-nav-button .icon { font-size: 0; width: 20px; height: 2px; background: #f5f0e8; }
  .menu-button.is-open::before, .w-nav-button.is-open::before { top: 21px; transform: rotate(45deg); }
  .menu-button.is-open::after, .w-nav-button.is-open::after { top: 21px; transform: rotate(-45deg); }
  .menu-button.is-open .icon, .w-nav-button.is-open .icon { background: transparent; }
}

/* =========================================================
   AJUSTEMENTS FINAUX 06/11 — depuis la version testée
   ========================================================= */
@media screen and (min-width: 992px) {
  /* Navigation : rapprocher légèrement le logo du groupe de liens. */
  .navbar-container { max-width: 1030px; padding-inline: 20px; }
  .nav-menu { gap: 22px; }
  .navbar-links { gap: 20px; }

  /* À propos : mosaïque moins haute, texte conservé en colonne. */
  .main-container.about-layout { align-items: center; }
  .about-images-col { height: 335px; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .about-images-col > * { min-height: 0; }
  .about-images-col .about-image { height: 100%; min-height: 0; }

  /* Rééducation vestibulaire : privilégier le bas de l'image. */
  .services-card:nth-child(3) .image-2 { object-position: center 73%; }

  /* Portraits : cadres légèrement plus hauts et cadrage moins agressif. */
  .team-card-image { height: 285px; object-position: center 22%; }

  /* Nous trouver : bloc infos un peu plus étroit, marges plus équilibrées. */
  .location-section { padding-top: 48px; padding-bottom: 46px; }
  .main-container.location-container-mobile { max-width: 950px; }
  .location-info { flex: .9 1 0; }
  .location-map { flex: 1.1 1 0; }

  /* Contact : deux colonnes équilibrées, formulaire décalé à droite. */
  .contact-section { padding-block: 76px; }
  .contact-section .main-container { max-width: 1030px; justify-content: space-between; gap: 90px; }
  .contact-section .main-container > :first-child { flex: 1 1 0; min-width: 0; }
  .contact-section .form-block { flex: 0 1 420px; width: 100%; max-width: 420px; margin-left: auto; }
  .contact-form-title { font-size: 32px; line-height: 1.2; }

  /* Pied de page : une ligne, textes légaux à droite. */
  .footer-section { flex-wrap: nowrap; white-space: nowrap; gap: 24px; }
  .footer-copyright { flex: 0 0 auto; }
  .footer-section > :not(.footer-copyright) { flex-shrink: 0; }
  .footer-section > :last-child { margin-left: auto; }
}

/* Contact : espace lisible entre logo, coordonnées, horaires et champs. */
.contact-logo { margin-bottom: 28px; }
.contact-hours-title { margin-top: 24px; margin-bottom: 14px; }
.form-block form { gap: 16px; }
.form-block .form-field { gap: 9px; }
.form-block .form-row { gap: 18px; }
.form-block .form-note { margin-top: -7px; }
.form-block .button { margin-top: 13px; }

@media screen and (max-width: 991px) {
  /* Même respiration verticale pour la section contact. */
  .contact-section { padding-top: 56px; padding-bottom: 56px; }
  .contact-section .main-container { gap: 38px; }
  .contact-section .form-block { margin: 0; width: 100%; }
  .services-card:nth-child(3) .image-2 { object-position: center 73%; }
}
@media screen and (max-width: 767px) {
  /* À propos : plus de hauteur pour laisser voir la salle. */
  .about-images-col > :first-child,
  .about-images-col .about-image { height: 245px; }
  .about-images-col .about-image { object-position: center 50%; }
  .contact-section { padding-top: 52px; padding-bottom: 52px; }
  .footer-section { flex-wrap: wrap; white-space: normal; align-items: center; text-align: center; }
  .footer-section > * { margin-inline: auto !important; }
}


/* ==============================================================
   AJUSTEMENT MAQUETTE — Frames 68 à 73 — 06 novembre 2026
   Alignement commun des sections, sans changer les textes ni images.
   ============================================================== */
:root { --maquette-content: 850px; }

@media screen and (min-width: 992px) {
  /* Frame 68 : navigation et sections sur les mêmes guides. */
  .navbar-container,
  .about-section > .main-container,
  .services-section > .main-container,
  .benefices-section > .main-container,
  .team-section > .main-container,
  .contact-section > .main-container {
    width: min(100%, var(--maquette-content));
    max-width: var(--maquette-content);
    margin-inline: auto;
  }
  .navbar-container { padding-inline: 0; gap: 24px; }
  .navbar-container .w-nav-brand { flex: 0 0 auto; }
  .navbar-container .nav-menu { margin-left: auto; gap: 16px; }
  .navbar-links { gap: clamp(12px, 1.45vw, 22px); }
  .navbar { padding-inline: 24px; }

  /* À propos : les images conservent la mosaïque, sans grand vide. */
  .main-container.about-layout { gap: 42px; }
  .about-text-col { flex: 0 0 40%; }
  .about-images-col { flex: 1 1 60%; }

  /* Frame 69 : une colonne lisible, descriptions sur deux lignes si nécessaire. */
  .benefices-section .main-container { display: block; }
  .benefit-row { width: 100%; }
  .benefit-text { max-width: 600px; }
  .benefit-text .text-block, .benefit-text p { max-width: 590px; }

  /* Frame 70 : portraits plus allongés, cartes de même hauteur. */
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .team-card { min-width: 0; padding: 15px; }
  .team-card-image { height: 305px; object-position: center 18%; }

  /* Frame 71 : deux cartes alignées, information un peu plus large que la carte. */
  .location-section { padding-block: 58px; }
  .main-container.location-container-mobile {
    width: min(100%, var(--maquette-content));
    max-width: var(--maquette-content);
    margin-inline: auto;
    gap: 46px;
    align-items: stretch;
  }
  .location-info { flex: 1.08 1 0; padding: 30px 32px; gap: 16px; }
  .location-map { flex: .92 1 0; }
  .location-map .image-3 { min-height: 0; }

  /* Contact : grille commune, titres cohérents et marges égales. */
  .contact-section { padding-block: 70px; }
  .contact-section .main-container { gap: 56px; align-items: center; }
  .contact-section .main-container > :first-child { flex: 1 1 0; }
  .contact-section .form-block { flex: 0 0 390px; max-width: 390px; margin-left: auto; }
  .contact-form-title { font-size: 32px; line-height: 36px; }

  /* Frame 72 : copyright gauche et mentions droite, sur une ligne. */
  .footer-section {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 22px;
    padding: 16px max(24px, calc((100% - var(--maquette-content)) / 2));
    white-space: nowrap;
  }
  .footer-section > :last-child:not(:first-child) { margin-left: auto; }
}

/* Frame 73 : le pied de page mobile est centré sur deux lignes. */
@media screen and (max-width: 767px) {
  .footer-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px 18px;
    padding: 18px 16px;
    text-align: center;
    white-space: normal;
  }
  .footer-copyright { flex: 0 0 100%; width: 100%; text-align: center; }
  .footer-section > * { margin-left: 0 !important; margin-right: 0 !important; }
  .footer-section a { display: inline-block; }
}


/* ==============================================================
   FINITIONS — Frame 74, pied de page, équipe et tablette
   Les règles ci-dessous remplacent les précédents breakpoints.
   ============================================================== */

/* Pied de page : on impose la grille indépendamment des anciennes
   règles flex Webflow. Les liens restent groupés à droite. */
.footer-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  grid-auto-flow: row;
  align-items: center !important;
  justify-content: initial !important;
  gap: 8px 22px !important;
  width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
}
.footer-section > * { min-width: 0; margin: 0 !important; }
.footer-section > :first-child { justify-self: start; }
.footer-section > :not(:first-child) { justify-self: end; }
.footer-section .footer-copyright { width: auto; flex: none; text-align: left; }
.footer-section .footer-legal-link { white-space: nowrap; }

/* Tablette et mobile : l'équipe reste à 3 colonnes jusqu'à 394 px.
   Les portraits affichent l'image entière pour ne pas couper les têtes. */
@media screen and (max-width: 991px) {
  .team-grid, .team-grid.wf-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: clamp(10px, 2vw, 20px) !important;
  }
  .team-card { min-width: 0; height: 100%; box-sizing: border-box; }
  .team-card-image {
    width: 100%;
    height: clamp(160px, 25vw, 275px);
    object-fit: contain;
    object-position: center top;
    background: #f1ebe6;
  }
  .location-section { padding-top: 34px; padding-bottom: 34px; }
  .main-container.location-container-mobile {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(100%, 850px);
    margin-inline: auto;
    padding-block: 0;
    align-items: stretch;
  }
  .location-info, .location-map { width: 100%; flex: none; box-sizing: border-box; }
  .location-info { padding: 25px 30px; gap: 14px; }
  .location-map { min-height: 240px; }
  .location-map .link-block-3 { display: block; height: 100%; }
  .location-map .image-3 { display: block; width: 100%; height: 260px; min-height: 260px; object-fit: cover; }
}

@media screen and (min-width: 394px) and (max-width: 767px) {
  .team-card { padding: 10px; gap: 10px; }
  .team-card-name { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
  .team-card-role { font-size: 10px; line-height: 1.4; }
}

/* À 393 px et moins seulement : 2 colonnes d'équipe. */
@media screen and (max-width: 393px) {
  .team-grid, .team-grid.wf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .team-card-image { height: 190px; }
}

/* Frame 74 : marges, carte et bloc infos alignés sur mobile. */
@media screen and (max-width: 767px) {
  .location-section { padding: 28px 20px 34px; }
  .main-container.location-container-mobile { gap: 18px; }
  .location-info { padding: 24px 30px; gap: 14px; border-radius: 16px; }
  .location-map { border-radius: 16px; overflow: hidden; }
  .location-map .image-3 { height: 230px; min-height: 230px; }

  /* Footer : copyright première ligne, liens deuxième ligne. */
  .footer-section {
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 7px 18px !important;
    padding: 17px 14px !important;
    text-align: center !important;
  }
  .footer-section > :first-child,
  .footer-section > .footer-copyright {
    grid-column: 1 / -1;
    justify-self: center !important;
    width: auto !important;
    text-align: center !important;
  }
  .footer-section > :not(:first-child) { justify-self: center !important; }
  .footer-section .footer-legal-link { font-size: 12px; }
}

@media screen and (max-width: 393px) {
  .location-info { padding: 22px 24px; }
  .footer-section { column-gap: 12px !important; }
  .footer-section .footer-legal-link { font-size: 11px; }
}

/* ============================================================
   FINITIONS CIBLEES — 320px, portraits, localisation, footer
   Ajouts a la version Frame 74. Ne modifie pas les autres sections.
   ============================================================ */

/* Portraits : remplir le cadre sans bande de couleur artificielle. */
.team-section .team-card-image {
  object-fit: cover !important;
  object-position: center 18% !important;
  background: transparent !important;
}
@media screen and (min-width: 394px) and (max-width: 991px) {
  .team-section .team-card-image { object-position: center 14% !important; }
}

/* La grille Webflow peut conserver des placements explicites : les neutraliser
   uniquement sur les tres petits ecrans. */
@media screen and (max-width: 393px) {
  .team-section .team-grid,
  .team-section .team-grid.wf-grid,
  .team-section .team-grid.w-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    column-gap: 12px !important;
    row-gap: 16px !important;
    width: 100% !important;
  }
  .team-section .team-grid > * {
    grid-column: auto !important;
    grid-row: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
  }
  .team-section .team-card { min-width: 0 !important; }
  .team-section .team-card-image { height: 190px !important; }
}

/* Frame 74 : 20px de marge externe, 18px entre les deux cartes.
   Pas de padding vertical parasite sur le conteneur. */
@media screen and (max-width: 767px) {
  .location-section {
    padding: 28px 20px 34px !important;
  }
  .location-section .main-container.location-container-mobile {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    gap: 18px !important;
  }
  .location-section .location-info,
  .location-section .location-map {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
  }
  .location-section .location-info {
    padding: 22px 30px 25px !important;
    gap: 13px !important;
  }
  .location-section .location-title.heading { margin: 0 !important; }
  .location-section .location-map { min-height: 0 !important; overflow: hidden !important; }
  .location-section .location-map .link-block-3 { display: block !important; width: 100% !important; height: auto !important; }
  .location-section .location-map .image-3 { display: block !important; width: 100% !important; height: 230px !important; min-height: 230px !important; object-fit: cover !important; }
}
@media screen and (max-width: 393px) {
  .location-section .location-info { padding-left: 30px !important; padding-right: 30px !important; }
}

/* Desktop : ne pas laisser d'ancienne regle Webflow limiter la largeur
   des enfants du footer. La structure HTML reste determinante. */
@media screen and (min-width: 992px) {
  footer.footer-section,
  .footer-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    white-space: nowrap !important;
  }
  .footer-section > * { flex: 0 0 auto !important; margin: 0 !important; }
  .footer-section > :first-child { margin-right: auto !important; }
  .footer-section .footer-copyright { white-space: nowrap !important; }
  .footer-section .footer-legal-link { white-space: nowrap !important; }
}


/* ================================================================
   FINITIONS VALIDÉES — sélecteurs vérifiés dans le HTML transmis
   Footer : .footer-bottom > copyright + legal-links
   Équipe : .team-grid > .team-card > .team-card-image
   ================================================================ */

/* Footer : c'est .footer-bottom, et non .footer-section, qui
   contient réellement les deux éléments à répartir. */
@media screen and (min-width: 768px) {
  .footer-section .main-container.footer-container {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin-inline: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .footer-section .footer-bottom {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
  }
  .footer-section .footer-copyright {
    flex: 0 1 auto !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .footer-section .footer-legal-links {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 26px !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }
}
@media screen and (max-width: 767px) {
  .footer-section .main-container.footer-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .footer-section .footer-bottom {
    display: flex !important;
    flex-flow: column nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: center !important;
  }
  .footer-section .footer-legal-links {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 22px !important;
    row-gap: 6px !important;
  }
  .footer-section .footer-copyright { text-align: center !important; }
}

/* Équipe : 3 colonnes desktop, 2 colonnes sur TOUTES les tailles
   tablette et mobile. Annule les anciens placements Webflow. */
@media screen and (max-width: 991px) {
  .team-section .team-grid.w-layout-grid.wf-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    gap: clamp(12px, 2.4vw, 22px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .team-section .team-grid.w-layout-grid.wf-grid > .team-card {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .team-section .team-card-image {
    display: block !important;
    width: 100% !important;
    height: clamp(175px, 35vw, 315px) !important;
    object-fit: cover !important;
    object-position: center 14% !important;
    background: transparent !important;
  }
}
@media screen and (max-width: 393px) {
  .team-section .team-grid.w-layout-grid.wf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 16px !important;
  }
  .team-section .team-card { padding: 10px !important; gap: 8px !important; }
  .team-section .team-card-image { height: 185px !important; }
  .team-section .team-card-name { font-size: 15px !important; line-height: 1.25 !important; overflow-wrap: anywhere; }
  .team-section .team-card-role { font-size: 10px !important; line-height: 1.35 !important; }
}

/* À propos : légère variation de hauteur selon le support. */
@media screen and (min-width: 992px) {
  .about-section .about-images-col { height: 355px !important; }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .about-section .about-images-col { height: 300px !important; }
}
@media screen and (max-width: 767px) {
  .about-section .about-images-col > :first-child,
  .about-section .about-images-col .about-image {
    height: 265px !important;
  }
  .about-section .about-images-col .about-image {
    object-fit: cover !important;
    object-position: center 48% !important;
  }
}

/* Nous trouver : reproduire l'air entre les groupes de la Frame 74,
   sans étirer artificiellement la carte ou les marges extérieures. */
@media screen and (max-width: 767px) {
  .location-section .location-info {
    padding: 24px 30px 30px !important;
    gap: 0 !important;
  }
  .location-section .location-title.heading { margin: 0 0 8px !important; }
  .location-section .location-address { margin: 0 0 20px !important; }
  .location-section .location-subtitle { margin: 0 0 12px !important; }
  .location-section .transport-informations { gap: 8px !important; margin: 0 0 20px !important; }
  .location-section .transport-item { gap: 10px !important; }
  .location-section .location-info .list { margin-top: 0 !important; margin-bottom: 0 !important; }
  .location-section .location-info > :last-child { margin-bottom: 0 !important; }
  .location-section .main-container.location-container-mobile { gap: 18px !important; }
}
@media screen and (max-width: 359px) {
  .location-section { padding-inline: 16px !important; }
  .location-section .location-info { padding-inline: 22px !important; }
}


/* Portraits carrés sur tablette et mobile */
@media screen and (max-width: 991px) {
  .team-section .team-grid .team-card-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    display: block;
  }
}

/* À PROPOS — Ordinateur */
@media screen and (min-width: 992px) {
  .about-images-col {
    min-height: 440px;
  }
}

/* À PROPOS — Tablette */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .about-images-col {
    min-height: 340px;
  }
}

/* À PROPOS — Mobile */
@media screen and (max-width: 767px) {
  .about-images-col .about-image:first-child {
    height: 220px;
    object-fit: cover;
    object-position: center;
  }
}

/* Boutons des cartes équipe — mobile */
@media screen and (max-width: 767px) {
  .team-section .team-card .button {
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
  }
}

/* Menu hamburger — tablette et mobile */
@media screen and (max-width: 991px) {
  .nav-menu.w-nav-menu.menu-ouvert {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: #3d2b1f;
  }

  .menu-button.w-nav-button {
    cursor: pointer;
  }
}

/* MENU MOBILE — pleine largeur et croix */
@media screen and (max-width: 991px) {

  /* Menu déroulant sur toute la largeur */
  .nav-menu.w-nav-menu.menu-ouvert {
    position: fixed !important;
    top: 60px;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    box-sizing: border-box;
    z-index: 1000;
  }

  /* Bouton hamburger */
  .menu-button.w-nav-button {
    position: relative;
    cursor: pointer;
  }

  /* Masquer l'icône d'origine quand le menu est ouvert */
  .menu-button.w-nav-button.w--open .w-icon-nav-menu {
    visibility: hidden;
  }

  /* Dessiner la croix directement sur le bouton */
  .menu-button.w-nav-button.w--open::before,
  .menu-button.w-nav-button.w--open::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    z-index: 2;
  }

  .menu-button.w-nav-button.w--open::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-button.w-nav-button.w--open::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* Formulaire — uniformiser les intitulés */
#email-form label {
  font-weight: 700;
}


/* ========================================
   PAGE MENTIONS LÉGALES
   ======================================== */

.legal-section {
  width: 100%;
  padding: 0;
}

.legal-section .legal-container {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* Lien retour à l'accueil */

.legal-section .legal-back-link {
  display: inline-block;
  margin-bottom: 24px;
}

/* Titre : Informations légales */

.legal-section .legal-title {
  font-family: "Playfair Display", serif;
  color: rgb(64, 33, 14);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 24px;
}

/* Sous-titres : Mentions légales,
   Politique de confidentialité */

.legal-section .legal-subtitle {
  margin: 0 0 16px;
}

/* Paragraphes */

.legal-section .paragraph {
  width: 100%;
  font-family: "Inter", sans-serif;
  color: rgb(64, 33, 14);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
  overflow-wrap: break-word;
}

/* Adaptation mobile */

@media screen and (max-width: 767px) {
  .legal-section .legal-container {
    padding: 40px 20px;
  }
}

/* Animation douce des cartes de l'équipe */

.team-section .team-card {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-section .team-card:not(.est-visible) {
  /* Les cartes restent visibles tant que JavaScript
     n'a pas activé les animations */
}

@media (prefers-reduced-motion: reduce) {
  .team-section .team-card {
    transition: none;
  }
}

/* Animation douce des boutons */

.button.w-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .button.w-button:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button.w-button {
    transition: none;
  }
}

/* Animation douce des cartes de prises en charge */

.services-section .services-card {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .services-section .services-card {
    transition: none;
  }
}

/* Saut de ligne uniquement sur mobile */
.mobile-only-break {
  display: none;
}

@media screen and (max-width: 767px) {
  .mobile-only-break {
    display: inline;
  }
}

/* Espacement du titre Accès à l'établissement — tablette et mobile */
@media screen and (max-width: 991px) {
  .location-section .access-info-title {
    margin-top: 24px !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .location-section .access-info-title {
    margin-bottom: 8px !important;
  }
}

/* Rétablir le gras des sous-titres de localisation */
.location-section .location-subtitle strong {
  font-weight: 700;
}

/* Messages du formulaire de contact */

.w-form-done {
  background-color: #eee8e1;
  color: #3b2418;
  border-radius: 12px;
  padding: 28px;
  line-height: 1.5;
}

.w-form-fail {
  background-color: #ffe0e0;
  color: #3b2418;
  border-radius: 12px;
  padding: 20px;
  line-height: 1.5;
}

/* Petite coche avant le message de succès */
.w-form-done .text-block-6 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.w-form-done .text-block-6::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #198263;
color: #ffffff;
  font-size: 19px;
  font-weight: 700;
}

/* Trois portraits par ligne sur tablette */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .team-section .team-grid.w-layout-grid.wf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
  }
}

/* Compteur de caractères du formulaire */
.message-counter {
    font-size: 12px;
    color: #666666;
    text-align: right;
    margin-top: -8px;
}

.contact-info {
    align-self: flex-start;
    padding-top: 40px;
}

.contact-form-info {
    font-size: 13px;
    line-height: 1.6;
    max-width: 340px;
    margin: 40px 0 0 0;
    text-align: left;
}

@media (max-width: 767px) {
    .contact-info {
        padding-top: 0;
        width: 100%;
    }

    .contact-form-info {
        max-width: 100%;
    }
}

/* Espacement du bouton d'envoi du formulaire */
.form-block input[type="submit"] {
    margin-top: 0;
}