/* ==========================================================================
   Amélie Dias — Ostéopathe animalier
   Feuille de styles du site
   Couleurs issues du logo : bleu marine #022752, beige #B19A83
   ========================================================================== */

/* ---------- Polices (hébergées avec le site, aucune requête externe) ---------- */
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/hedvig-letters-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/hind-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/hind-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/hind-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --marine: #022752;
  --marine-fonce: #011a3a;
  --encre: #1c2434;
  --encre-douce: #4a5468;
  --sable: #b19a83;
  --sable-fonce: #725e4b;
  --sable-clair: #efe8df;
  --lin: #f7f3ee;
  --blanc: #ffffff;
  --brume: #dfe6ee;
  --trait: rgba(2, 39, 82, 0.14);
  --trait-sable: #dcd1c4;

  --serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --sans: "Hind", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gouttiere: clamp(20px, 4.2vw, 48px);
  --largeur: 1240px;
  --rayon: 20px;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 900px) {
  body {
    font-size: 1.125rem;
  }
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  color: var(--marine);
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: inherit;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--marine);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--marine);
  color: var(--blanc);
}

/* ---------- Utilitaires ---------- */
.container {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.evitement {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--marine);
  color: var(--blanc);
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s;
}
.evitement:focus {
  top: 12px;
}
.lien {
  color: var(--marine);
  text-decoration: underline;
  text-decoration-color: var(--sable);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.25s;
}
.lien:hover {
  text-decoration-color: var(--marine);
}
.titre {
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  letter-spacing: -0.01em;
}
.sous-titre {
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
}
.intertitre {
  font-size: 1.375rem;
  line-height: 1.25;
}
.chapo {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: var(--encre);
  max-width: 44em;
}
.note {
  font-size: 0.95rem;
  color: var(--encre-douce);
}
.section {
  padding-block: clamp(72px, 9vw, 132px);
}
.section--lin {
  background: var(--lin);
}
.section--sable {
  background: var(--sable-clair);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.72em 1.55em 0.6em;
  border: 1.5px solid var(--marine);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn--plein {
  background: var(--marine);
  color: var(--blanc);
}
.btn--plein:hover {
  background: var(--marine-fonce);
  border-color: var(--marine-fonce);
}
.btn--contour {
  background: transparent;
  color: var(--marine);
}
.btn--contour:hover {
  background: var(--marine);
  color: var(--blanc);
}
.btn.est-inactif {
  border-color: var(--trait-sable);
  color: var(--sable-fonce);
  background: transparent;
  cursor: default;
}

/* ---------- Photos ---------- */
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--rayon);
  background: var(--sable-clair);
}
.photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--portrait {
  aspect-ratio: 4 / 5;
}
.photo--paysage {
  aspect-ratio: 3 / 2;
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
/* Le fond flouté est porté par un pseudo-élément : appliqué à l'en-tête lui-même,
   il empêcherait le menu mobile (position fixe) de couvrir l'écran. */
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
}
.entete.est-defile {
  border-bottom-color: var(--trait);
}
.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
  transition: height 0.3s var(--courbe);
}
.entete.est-defile .entete__barre {
  height: 72px;
}
.entete__logo {
  flex: none;
  display: block;
  border-radius: 8px;
}
.entete__logo img {
  width: auto;
  height: 70px;
  transition: height 0.3s var(--courbe);
}
.entete.est-defile .entete__logo img {
  height: 54px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}
.nav__lien {
  position: relative;
  padding: 10px 0 8px;
  color: var(--marine);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav__lien::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1.5px;
  background: var(--sable);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--courbe);
}
.nav__lien:hover::after,
.nav__lien[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav__cta {
  min-height: 44px;
  margin-left: 6px;
  padding-inline: 1.25em;
}
.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--marine);
  cursor: pointer;
}
.burger__traits,
.burger__traits::before,
.burger__traits::after {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--courbe), opacity 0.2s;
}
.burger__traits {
  top: 23px;
}
.burger__traits::before,
.burger__traits::after {
  content: "";
  left: 0;
}
.burger__traits::before {
  top: -7px;
}
.burger__traits::after {
  top: 7px;
}
.burger[aria-expanded="true"] .burger__traits {
  background: transparent;
}
.burger[aria-expanded="true"] .burger__traits::before {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__traits::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .nav__cta {
    display: none;
  }
}
@media (max-width: 860px) {
  .entete__barre,
  .entete.est-defile .entete__barre {
    height: 68px;
  }
  .entete__logo img,
  .entete.est-defile .entete__logo img {
    height: 50px;
  }
  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 68px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gouttiere) 40px;
    overflow-y: auto;
    background: var(--blanc);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--courbe), visibility 0s 0.3s;
  }
  .nav.est-ouvert {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s, transform 0.3s var(--courbe), visibility 0s;
  }
  .nav__lien {
    padding: 18px 0 14px;
    border-bottom: 1px solid var(--trait);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    white-space: normal;
  }
  .nav__lien::after {
    display: none;
  }
  .nav__cta {
    display: inline-flex;
    align-self: flex-start;
    min-height: 52px;
    margin: 28px 0 0;
  }
  body.menu-ouvert {
    overflow: hidden;
  }
}

/* ==========================================================================
   Accueil — ouverture
   ========================================================================== */
.hero {
  padding-block: clamp(36px, 5.5vw, 84px) clamp(64px, 8vw, 116px);
  overflow: hidden;
}
.hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}
.hero__titre {
  font-size: clamp(2.85rem, 5.9vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -0.018em;
}
.hero__mot {
  display: block;
  overflow: hidden;
  /* marge de sécurité pour les accents et les jambages */
  margin-block: -0.08em;
  padding-block: 0.08em 0.14em;
}
.hero__mot > span {
  display: block;
}
.hero__chapo {
  max-width: 27em;
  margin: clamp(22px, 2.6vw, 34px) 0 0;
  font-size: clamp(1.15rem, 1.65vw, 1.4rem);
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: clamp(26px, 3vw, 38px);
}
.hero__note {
  max-width: 31em;
  margin: clamp(22px, 2.4vw, 30px) 0 0;
  font-size: 0.975rem;
  color: var(--encre-douce);
}
.hero__visuel {
  display: flex;
  justify-content: center;
}

/* Médaillon : la photo dans l'anneau du logo */
.medaillon {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1;
  padding: clamp(12px, 1.6vw, 18px);
}
.medaillon picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--sable-clair);
}
.medaillon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anneau {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.anneau path {
  fill: none;
  stroke: var(--sable);
  stroke-width: 0.3;
}
.medaillon--petit {
  width: min(100%, 380px);
  padding: 12px;
}
.medaillon--petit .anneau path {
  stroke-width: 0.42;
}

@media (max-width: 860px) {
  .hero__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__titre {
    font-size: min(11.6vw, 4.2rem);
  }
  .medaillon {
    width: min(100%, 440px);
  }
}

/* Séquence d'ouverture : les quatre verbes ferment l'anneau, quart par quart */
@media (prefers-reduced-motion: no-preference) {
  .hero__mot > span {
    transform: translateY(112%);
    animation: mot-monte 0.9s var(--courbe) forwards;
  }
  .hero__mot:nth-child(1) > span { animation-delay: 0.15s; }
  .hero__mot:nth-child(2) > span { animation-delay: 0.55s; }
  .hero__mot:nth-child(3) > span { animation-delay: 0.95s; }
  .hero__mot:nth-child(4) > span { animation-delay: 1.35s; }

  .hero .anneau path {
    stroke-dasharray: 1.02;
    stroke-dashoffset: 1.02;
    animation: trace 0.62s cubic-bezier(0.45, 0.05, 0.3, 1) forwards;
  }
  .hero .anneau path:nth-child(1) { animation-delay: 0.2s; }
  .hero .anneau path:nth-child(2) { animation-delay: 0.6s; }
  .hero .anneau path:nth-child(3) { animation-delay: 1s; }
  .hero .anneau path:nth-child(4) { animation-delay: 1.4s; }

  .hero .medaillon img {
    animation: photo-entre 2.2s var(--courbe) both;
  }
  .hero__chapo,
  .hero__actions,
  .hero__note {
    opacity: 0;
    animation: fondu 0.9s ease forwards;
  }
  .hero__chapo { animation-delay: 1.75s; }
  .hero__actions { animation-delay: 1.95s; }
  .hero__note { animation-delay: 2.15s; }
}
@keyframes mot-monte {
  to { transform: none; }
}
@keyframes trace {
  to { stroke-dashoffset: 0; }
}
@keyframes photo-entre {
  from { opacity: 0; transform: scale(1.09); }
  to { opacity: 1; transform: none; }
}
@keyframes fondu {
  to { opacity: 1; }
}

/* ==========================================================================
   Accueil — les quatre temps d'une séance
   ========================================================================== */
.demarche {
  padding-block: clamp(52px, 6vw, 84px);
  background: var(--lin);
}
.demarche__liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 60px);
  list-style: none;
}
.demarche__item h3 {
  margin: 16px 0 8px;
  font-size: 1.6rem;
}
.demarche__item p {
  margin: 0;
  font-size: 1.0125rem;
  line-height: 1.55;
  color: var(--encre-douce);
}
.quart {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}
.quart circle {
  fill: none;
  stroke-width: 1.6;
}
.quart__fond {
  stroke: var(--trait-sable);
}
.quart__arc {
  stroke: var(--marine);
  stroke-dasharray: var(--n) 4;
}
@media (prefers-reduced-motion: no-preference) {
  .js .demarche__liste .quart__arc {
    stroke-dasharray: 0 4;
    transition: stroke-dasharray 0.9s var(--courbe);
  }
  .js .demarche__liste.est-visible .quart__arc {
    stroke-dasharray: var(--n) 4;
  }
  .demarche__item:nth-child(2) .quart__arc { transition-delay: 0.18s; }
  .demarche__item:nth-child(3) .quart__arc { transition-delay: 0.36s; }
  .demarche__item:nth-child(4) .quart__arc { transition-delay: 0.54s; }
}
@media (max-width: 900px) {
  .demarche__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .demarche__liste {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .demarche__item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 18px;
  }
  .demarche__item .quart {
    grid-row: 1 / span 2;
    margin-top: 2px;
  }
  .demarche__item h3 {
    margin-top: 0;
  }
}

/* ==========================================================================
   Accueil — présentation
   ========================================================================== */
.presentation__grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(40px, 7vw, 108px);
}
.presentation__visuel {
  position: sticky;
  top: 108px;
  padding: 0 11% 13% 0;
}
.presentation__diplome {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 39%;
  border: 8px solid var(--blanc);
  border-radius: calc(var(--rayon) + 4px);
  aspect-ratio: 5 / 8;
}
.presentation__texte .titre {
  margin-bottom: 0.7em;
}
.presentation__texte p {
  max-width: 36em;
}
.signature {
  margin-top: 1.6em;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--marine);
}
.reperes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--trait);
}
.reperes > div {
  padding-top: 18px;
}
.reperes dt {
  font-size: 0.95rem;
  color: var(--sable-fonce);
}
.reperes dd {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--marine);
}
@media (max-width: 860px) {
  .presentation__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .presentation__visuel {
    position: relative;
    top: auto;
    max-width: 460px;
  }
}
@media (max-width: 560px) {
  .reperes {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }
  .reperes > div {
    padding-block: 14px;
    border-top: 1px solid var(--trait);
  }
}

/* ==========================================================================
   Accueil — avis Google
   ========================================================================== */
.avis {
  padding-bottom: clamp(72px, 9vw, 132px);
}
.avis__cadre {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(28px, 4.5vw, 60px);
  border: 1px solid var(--trait-sable);
  border-radius: calc(var(--rayon) + 8px);
}
.avis__cadre .sous-titre {
  margin-bottom: 0.5em;
}
.avis__invite {
  margin-bottom: 1.3em;
}
.avis__bientot {
  margin-top: 0.9em;
}
.avis__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(32px, 4vw, 52px);
  list-style: none;
}
.avis__carte {
  padding-top: 22px;
  border-top: 1px solid var(--trait);
}
.avis__etoiles {
  color: var(--sable-fonce);
  letter-spacing: 0.12em;
}
.avis__texte {
  margin: 0.6em 0 0.9em;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--marine);
}
.avis__auteur {
  font-size: 0.95rem;
  color: var(--encre-douce);
}
@media (max-width: 860px) {
  .avis__cadre,
  .avis__liste {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   L'ostéopathie animale
   ========================================================================== */
.citation {
  padding-block: clamp(72px, 10vw, 148px);
  background: var(--marine);
  color: var(--blanc);
}
.citation__grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
}
.citation .titre {
  color: var(--blanc);
}
.citation blockquote {
  margin: 0;
}
.citation blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.6vw, 3.05rem);
  line-height: 1.22;
  letter-spacing: -0.008em;
  text-wrap: balance;
}
.citation footer {
  margin-top: 1.5em;
  font-size: 1.05rem;
  color: #cdbba8;
}
.citation cite {
  font-style: normal;
  font-weight: 500;
  color: var(--blanc);
}
@media (max-width: 860px) {
  .citation__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

.osteo__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(40px, 7vw, 104px);
}
.osteo__intro .chapo {
  margin-bottom: clamp(32px, 4vw, 52px);
}
.principe + .principe {
  margin-top: clamp(28px, 3.4vw, 44px);
}
.principe h3 {
  margin-bottom: 0.5em;
}
.principe p {
  max-width: 34em;
}
.osteo__photo {
  position: sticky;
  top: 108px;
}

.apports {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  margin-top: clamp(64px, 8vw, 116px);
}
.apports h3 {
  margin-bottom: 0.9em;
}
.puces {
  list-style: none;
}
.puces li {
  position: relative;
  padding: 0.62em 0 0.55em 30px;
  border-top: 1px solid var(--trait);
}
.puces li:last-child {
  border-bottom: 1px solid var(--trait);
}
.puces li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.1em;
  width: 11px;
  height: 11px;
  border: 1.75px solid var(--sable);
  border-radius: 50%;
}
.apports__but {
  margin-top: 1.4em;
}
.osteo__resume {
  max-width: 21em;
  margin: clamp(64px, 8vw, 116px) auto 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.3;
  color: var(--marine);
  text-align: center;
  text-wrap: balance;
}
@media (max-width: 860px) {
  .osteo__intro,
  .apports {
    grid-template-columns: minmax(0, 1fr);
  }
  .osteo__photo {
    position: static;
    max-width: 460px;
  }
}

/* Quand me consulter ? */
.motifs__tete {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: clamp(16px, 5vw, 72px);
  margin-bottom: clamp(32px, 4.5vw, 60px);
}
.motifs__tete p {
  max-width: 30em;
}
.motifs__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 88px);
}
.motif {
  padding: 22px 0 24px;
  border-top: 1px solid var(--trait);
}
.motif dt {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.25;
  color: var(--marine);
}
.motif dd {
  margin-top: 6px;
  max-width: 34em;
  font-size: 1.0125rem;
  line-height: 1.55;
  color: var(--encre-douce);
}
@media (max-width: 760px) {
  .motifs__tete,
  .motifs__liste {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Techniques + réglementation */
.techniques {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}
.techniques h3 {
  margin-bottom: 0.6em;
}
.techniques__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 1.5em 0 1.4em;
  list-style: none;
}
.techniques__liste li {
  padding: 0.66em 0 0.5em;
  border-top: 1px solid var(--trait);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--marine);
}
.techniques__liste li span {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--encre-douce);
}
.techniques__liste .large {
  grid-column: 1 / -1;
}
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}
.duo .photo:last-child {
  margin-top: 18%;
}
.cadre-reglement {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  margin-top: clamp(64px, 8vw, 116px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: calc(var(--rayon) + 8px);
  background: var(--lin);
}
.cadre-reglement h3 {
  margin-bottom: 0.6em;
}
.cadre-reglement p {
  max-width: 40em;
}
.matricule {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--trait-sable);
}
.matricule__etiquette {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sable-fonce);
}
.matricule__numero {
  margin: 2px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.1;
  color: var(--marine);
}
@media (max-width: 860px) {
  .techniques,
  .cadre-reglement {
    grid-template-columns: minmax(0, 1fr);
  }
  .matricule {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--trait-sable);
  }
}
@media (max-width: 480px) {
  .techniques__liste {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Tarifs
   ========================================================================== */
.tarifs__tete {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.tarifs__grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.grille-prix h3 {
  margin-bottom: 0.7em;
  font-size: 1.5rem;
  line-height: 1.2;
}
.prix {
  list-style: none;
}
.prix li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 0.62em 0 0.5em;
  border-top: 1px solid var(--trait);
}
.prix li:last-child {
  border-bottom: 1px solid var(--trait);
}
.prix__nom {
  font-weight: 500;
}
.prix__montant {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--marine);
  white-space: nowrap;
}
.grille-prix .note {
  margin-top: 1.1em;
}
.grille-prix--phare {
  padding: clamp(26px, 3vw, 38px);
  border-radius: calc(var(--rayon) + 4px);
  background: var(--marine);
  color: var(--blanc);
}
.grille-prix--phare h3 {
  color: var(--blanc);
}
.grille-prix--phare .prix li {
  border-color: rgba(255, 255, 255, 0.2);
}
.grille-prix--phare .prix__montant {
  font-size: 1.7rem;
  color: var(--blanc);
}
.tarifs__suivis > p {
  max-width: 38em;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.tarifs__colonnes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}
.tarifs__colonnes h3 {
  min-height: 2.4em;
}
.infos-pratiques {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--trait-sable);
}
.infos-pratiques h3 {
  margin-bottom: 0.45em;
}
.infos-pratiques p {
  font-size: 1.0125rem;
  line-height: 1.55;
}
@media (max-width: 960px) {
  .tarifs__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .grille-prix--phare {
    max-width: 520px;
  }
}
@media (max-width: 680px) {
  .tarifs__colonnes,
  .infos-pratiques {
    grid-template-columns: minmax(0, 1fr);
  }
  .tarifs__colonnes h3 {
    min-height: 0;
  }
}

/* ==========================================================================
   Secteur
   ========================================================================== */
.secteur__tete {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.secteur__tete .titre {
  margin-bottom: 0.5em;
}
.secteur__grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 5.5vw, 80px);
}
.carte {
  margin: 0;
}
.carte__svg {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.carte figcaption {
  margin-top: 12px;
}

/* Carte : couches */
.c-terre { fill: #f3eee7; }
.c-eau { fill: var(--brume); }
.c-hors {
  fill: var(--sable);
  opacity: 0;
  transition: opacity 0.4s;
}
.c-route {
  fill: none;
  stroke: #cdbfae;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.c-route--fine {
  stroke: #ddd3c6;
  stroke-width: 1.5;
}
.c-route-nom rect {
  fill: #fbf8f4;
  stroke: #cdbfae;
  stroke-width: 1;
}
.c-route-nom text {
  fill: var(--sable-fonce);
  font: 500 12px var(--sans);
}
.c-region {
  fill: #a8977f;
  font: 500 15px var(--sans);
  letter-spacing: 0.24em;
}
.c-ocean {
  fill: #8194ad;
  font: 400 15px var(--serif);
  letter-spacing: 0.06em;
}
.c-zone__aire {
  fill: var(--blanc);
  fill-opacity: 0.6;
  transition: fill 0.4s, fill-opacity 0.4s;
}
.c-zone__trait {
  fill: none;
  stroke: var(--marine);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-width 0.3s;
}
.c-ville circle {
  fill: var(--blanc);
  stroke: var(--marine);
  stroke-width: 1.6;
}
.c-ville text {
  fill: var(--encre);
  font: 400 14.5px var(--sans);
  paint-order: stroke;
  stroke: rgba(247, 243, 238, 0.85);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
.c-ville--majeure circle {
  fill: var(--marine);
}
.c-ville--majeure text {
  font-weight: 600;
  font-size: 16px;
}
.c-centre__halo {
  fill: var(--blanc);
}
.c-centre__disque {
  fill: var(--marine);
}
.c-patte {
  fill: var(--blanc);
}
.c-centre__nom {
  fill: var(--marine);
  font: 600 18px var(--sans);
  paint-order: stroke;
  stroke: rgba(247, 243, 238, 0.9);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.c-rayon rect {
  fill: var(--marine);
}
.c-rayon text {
  fill: var(--blanc);
  font: 600 14px var(--sans);
}
.c-echelle path {
  fill: none;
  stroke: var(--encre-douce);
  stroke-width: 1.4;
}
.c-echelle text {
  fill: var(--encre-douce);
  font: 500 12.5px var(--sans);
}

/* Carte : lisibilité sur petit écran (moins d'étiquettes, plus grandes) */
@media (max-width: 640px) {
  .c-ville--secondaire text,
  .c-route-nom {
    display: none;
  }
  .c-ville text {
    font-size: 25px;
  }
  .c-ville--majeure text {
    font-size: 26px;
  }
  .c-ville circle {
    stroke-width: 3.2;
  }
  .c-region {
    font-size: 21px;
  }
  .c-ocean {
    font-size: 23px;
  }
  .c-echelle text {
    font-size: 21px;
  }
  .c-centre__in,
  .c-rayon__in {
    transform-box: fill-box;
    transform-origin: center;
    scale: 1.5;
  }
  .c-zone__trait {
    stroke-width: 3;
  }
}

/* Carte : entrée en scène */
@media (prefers-reduced-motion: no-preference) {
  .c-zone__trait {
    transition: stroke-dashoffset 1.7s cubic-bezier(0.45, 0, 0.2, 1), stroke-width 0.3s;
  }
  .c-zone__aire {
    transition: fill 0.4s, fill-opacity 0.4s, opacity 1s 0.7s;
  }
  .c-centre__in,
  .c-rayon__in {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.7s var(--courbe), opacity 0.5s;
  }
  .c-zone[data-zone="garein"] .c-zone__trait { transition-delay: 0.35s, 0s; }
  .c-zone[data-zone="garein"] .c-zone__aire { transition-delay: 0s, 0s, 1.05s; }
  .c-centre[data-zone="garein"] .c-centre__in { transition-delay: 0.35s; }
  .c-rayon[data-zone="biscarrosse"] .c-rayon__in { transition-delay: 1.3s; }
  .c-rayon[data-zone="garein"] .c-rayon__in { transition-delay: 1.65s; }

  .js .carte:not(.est-visible) .c-zone__trait { stroke-dashoffset: 1; }
  .js .carte:not(.est-visible) .c-zone__aire { opacity: 0; }
  .js .carte:not(.est-visible) .c-centre__in,
  .js .carte:not(.est-visible) .c-rayon__in {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Carte : mise en avant d'une zone depuis la liste */
.carte[data-actif="biscarrosse"] .c-zone[data-zone="biscarrosse"] .c-zone__aire,
.carte[data-actif="garein"] .c-zone[data-zone="garein"] .c-zone__aire {
  fill: var(--marine);
  fill-opacity: 0.16;
}
.carte[data-actif="biscarrosse"] .c-zone[data-zone="biscarrosse"] .c-zone__trait,
.carte[data-actif="garein"] .c-zone[data-zone="garein"] .c-zone__trait {
  stroke-width: 3;
}
.carte[data-actif="biscarrosse"] .c-zone[data-zone="garein"] .c-zone__aire,
.carte[data-actif="garein"] .c-zone[data-zone="biscarrosse"] .c-zone__aire {
  fill-opacity: 0.3;
}
.carte[data-actif="hors"] .c-hors {
  opacity: 0.34;
}
.carte[data-actif="hors"] .c-zone__aire {
  fill-opacity: 0.7;
}

/* Liste des zones */
.zones {
  list-style: none;
}
.zone {
  display: block;
  width: 100%;
  padding: 22px 16px 20px 0;
  border: 0;
  border-top: 1px solid var(--trait);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: padding-left 0.35s var(--courbe);
}
.zones li:last-child .zone {
  border-bottom: 1px solid var(--trait);
}
.zone__depart {
  display: block;
  font-size: 0.95rem;
  color: var(--sable-fonce);
}
.zone__valeur {
  display: block;
  margin: 2px 0 2px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.12;
  color: var(--marine);
}
.zone__frais {
  display: block;
  font-weight: 500;
}
.zone:hover,
.zone:focus-visible,
.zone.est-actif {
  padding-left: 14px;
}
.zones__note {
  margin-top: 1.4em;
}
.zones__note p {
  margin-bottom: 0.4em;
}
@media (max-width: 900px) {
  .secteur__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* À domicile */
.domicile {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(36px, 6.5vw, 96px);
  margin-top: clamp(72px, 9vw, 128px);
}
.domicile .sous-titre {
  margin-bottom: 0.9em;
}
.atouts {
  list-style: none;
}
.atouts li {
  padding: 18px 0 20px;
  border-top: 1px solid var(--trait);
}
.atouts li:last-child {
  border-bottom: 1px solid var(--trait);
}
.atouts h4 {
  margin-bottom: 4px;
  font-size: 1.3rem;
  line-height: 1.25;
}
.atouts p {
  font-size: 1.0125rem;
  line-height: 1.55;
  color: var(--encre-douce);
}
.sensibles {
  max-width: 40em;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 2px solid var(--sable);
}
.sensibles h3 {
  margin-bottom: 0.5em;
}
@media (max-width: 860px) {
  .domicile {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.contact__grille .titre {
  margin-bottom: 0.45em;
}
.contact__grille .chapo {
  max-width: 30em;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.coordonnees {
  list-style: none;
}
.coordonnees > li {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 20px;
  padding: 18px 0 16px;
  border-top: 1px solid var(--trait);
}
.coordonnees > li:last-child {
  border-bottom: 1px solid var(--trait);
}
.coordonnees__nom {
  font-size: 0.95rem;
  color: var(--sable-fonce);
}
.coordonnees__valeur {
  min-width: 0;
}
.courriel {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.3;
  color: var(--marine);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--sable);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.25s;
}
.courriel:hover {
  text-decoration-color: var(--marine);
}
.copier {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--sable-fonce);
  font: 500 0.95rem/1.3 var(--sans);
  cursor: pointer;
}
.copier svg {
  width: 17px;
  height: 17px;
}
.copier:hover {
  color: var(--marine);
}
.telephone {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  color: var(--marine);
  text-decoration: none;
}
.a-venir {
  color: var(--encre-douce);
}
.reseaux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.reseau {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--marine);
  border-radius: 50%;
  color: var(--marine);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.reseau svg {
  width: 22px;
  height: 22px;
}
.reseau:hover {
  background: var(--marine);
  color: var(--blanc);
}
.reseau.est-inactif {
  border-color: var(--trait-sable);
  color: var(--sable);
  cursor: default;
}
.reseau.est-inactif:hover {
  background: transparent;
  color: var(--sable);
}
.reseaux__note {
  font-size: 0.95rem;
  color: var(--encre-douce);
}
.contact__visuel {
  display: flex;
  justify-content: center;
}
@media (max-width: 860px) {
  .contact__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact__visuel {
    order: -1;
    justify-content: flex-start;
  }
  .contact__visuel .medaillon--petit {
    width: min(64%, 260px);
  }
}
@media (max-width: 560px) {
  .coordonnees > li {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied {
  padding-block: clamp(52px, 6vw, 84px) 28px;
  background: var(--marine);
  color: #dfe5ee;
  font-size: 1rem;
}
.pied a {
  text-decoration: none;
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: clamp(28px, 4vw, 60px);
}
.pied__marque img {
  width: auto;
  height: 72px;
  margin: -4px 0 18px -4px;
}
.pied__marque p {
  max-width: 21em;
  line-height: 1.55;
}
.pied__titre {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: #cdbba8;
}
.pied__liste {
  list-style: none;
}
.pied__liste li + li {
  margin-top: 6px;
}
.pied__lien {
  color: var(--blanc);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.25s;
}
.pied .pied__lien {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}
.pied .pied__lien:hover {
  text-decoration-color: var(--blanc);
}
.pied .reseaux {
  margin-top: 14px;
}
.pied .reseau {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--blanc);
}
.pied .reseau:hover {
  background: var(--blanc);
  color: var(--marine);
}
.pied .reseau.est-inactif,
.pied .reseau.est-inactif:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
}
.pied .a-venir {
  color: #b9c4d4;
}
.pied__bas {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.925rem;
  color: #b9c4d4;
}
@media (max-width: 900px) {
  .pied__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pied__marque {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .pied__grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Pages annexes (CGV, mentions légales, page introuvable)
   ========================================================================== */
.page {
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px);
}
.page__corps {
  width: min(100% - 2 * var(--gouttiere), 760px);
  margin-inline: auto;
}
.page__corps .titre {
  margin-bottom: 0.5em;
}
.page__corps h2 {
  margin: 2em 0 0.55em;
  font-size: 1.6rem;
}
.page__corps ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.page__corps li + li {
  margin-top: 0.3em;
}
.page__retour {
  display: inline-block;
  margin-bottom: 2em;
  font-size: 1rem;
}
.encart {
  margin: 1.6em 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--rayon);
  background: var(--lin);
}
.a-completer {
  padding: 0.1em 0.45em 0;
  border-radius: 6px;
  background: #fbeecd;
  color: #5c4508;
  font-size: 0.95em;
}
.fiche {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 0 20px;
}
.fiche dt,
.fiche dd {
  padding: 0.6em 0 0.5em;
  border-top: 1px solid var(--trait);
}
.fiche dt {
  color: var(--sable-fonce);
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .fiche {
    grid-template-columns: minmax(0, 1fr);
  }
  .fiche dd {
    padding-top: 0;
    border-top: 0;
  }
}
.introuvable {
  min-height: 56vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
}

/* ==========================================================================
   Dévoilement des photos au défilement
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revele] picture {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.15s var(--courbe);
  }
  .js [data-revele] img {
    transform: scale(1.12);
    transition: transform 1.7s var(--courbe);
  }
  .js [data-revele].est-visible picture {
    clip-path: inset(0 0 0 0);
  }
  .js [data-revele].est-visible img {
    transform: none;
  }
  .js .contact__visuel .anneau path {
    stroke-dasharray: 1.02;
    stroke-dashoffset: 1.02;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.45, 0.05, 0.3, 1);
  }
  .js .contact__visuel.est-visible .anneau path {
    stroke-dashoffset: 0;
  }
}

/* ---------- Impression ---------- */
@media print {
  .js [data-revele] picture {
    clip-path: none !important;
  }
  .js [data-revele] img {
    transform: none !important;
  }
  .entete,
  .burger,
  .hero__actions,
  .copier {
    display: none;
  }
  body {
    font-size: 11pt;
  }
}
