/* ==========================================================================
   Clinique Synergek — page « Physiothérapeute recherché »
   Couleurs et polices reprises du site (Montserrat / Open Sans, rouge #f4313e)
   ========================================================================== */

:root {
  --rouge: #f4313e;          /* rouge Synergek : grandes surfaces, cercles */
  --rouge-bouton: #e01f2d;   /* boutons : contraste AA avec le texte blanc */
  --rouge-texte: #d0182a;    /* liens et texte rouge sur fond clair */
  --rouge-pale: #fdecee;
  --encre: #23242a;
  --texte: #4a4c53;
  --doux: #6b6e76;
  --ligne: #e3e3e6;
  --champ: #c9cace;
  --fond: #f6f6f7;
  --pied: #222222;
  --ambre: #f5a623;

  --titre: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --corps: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --rayon: 8px;
  --largeur: 1180px;
  --entete-h-max: 76px;      /* barre du haut au chargement */
  --entete-h-min: 60px;      /* barre du haut compacte (au défilement) */
}
@media (min-width: 900px) {
  :root { --entete-h-max: 100px; --entete-h-min: 68px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h-min) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texte);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--entete-h-max);   /* place réservée sous la barre fixe */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge-texte); text-underline-offset: 3px; }
a:hover { color: var(--encre); }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--rouge-texte); outline-offset: 2px; }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

.enveloppe { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 20px; }

.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--rayon);
}
.evitement:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font-family: var(--titre); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--rayon);
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--plein { background: var(--rouge-bouton); color: #fff; }
.btn--plein:hover { background: #b8121f; color: #fff; }
.btn--contour { background: #fff; color: var(--encre); border-color: var(--champ); }
.btn--contour:hover { border-color: var(--rouge-texte); color: var(--rouge-texte); }
.btn--blanc { background: #fff; color: var(--rouge-texte); }
.btn--blanc:hover { background: var(--encre); color: #fff; }
.btn--contour-blanc { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--contour-blanc:hover { background: #fff; color: var(--rouge-texte); }
.btn--large { font-size: 1.125rem; min-height: 56px; padding: .9rem 1.6rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- En-tête : barre fixe, se compacte au défilement ---------- */
.entete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--ligne);
  transition: box-shadow .2s ease;
}
.entete--compacte { box-shadow: 0 6px 18px -10px rgba(35,36,42,.4); }
.entete__int {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--entete-h-max); transition: min-height .2s ease;
}
.entete--compacte .entete__int { min-height: var(--entete-h-min); }

.entete__logo { min-width: 0; flex-shrink: 1; }
.entete__logo img {
  height: 38px; width: auto; max-width: 40vw; object-fit: contain; object-position: left center;
  transition: height .2s ease;
}
.entete--compacte .entete__logo img { height: 32px; }

.entete__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

.entete__tel {
  display: flex; align-items: center; gap: 10px;
  color: var(--encre); text-decoration: none; border-radius: var(--rayon); padding: 4px 2px;
}
.entete__tel:hover { color: var(--rouge-texte); }
.entete__tel-ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rouge-bouton); color: #fff;
  transition: width .2s ease, height .2s ease;
}
.entete__tel-ico .ico { width: 20px; height: 20px; }
.entete__tel-texte { display: grid; line-height: 1.12; }
.entete__tel-libelle {
  font-size: .78rem; font-weight: 600; color: var(--doux);
  max-height: 1.4em; overflow: hidden; transition: max-height .2s ease, opacity .2s ease;
}
.entete__tel-plus { display: none; }
.entete__tel-numero {
  font-family: var(--titre); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em;
  white-space: nowrap; transition: font-size .2s ease;
}
.entete--compacte .entete__tel-libelle { max-height: 0; opacity: 0; }
.entete--compacte .entete__tel-numero { font-size: 1.15rem; }
.entete--compacte .entete__tel-ico { width: 34px; height: 34px; }

.entete__cta { display: none; }

@media (min-width: 900px) {
  .entete__logo img { height: 54px; }
  .entete--compacte .entete__logo img { height: 42px; }
  .entete__actions { gap: 28px; }
  .entete__tel { gap: 12px; }
  .entete__tel-ico { width: 50px; height: 50px; }
  .entete__tel-ico .ico { width: 24px; height: 24px; }
  .entete--compacte .entete__tel-ico { width: 40px; height: 40px; }
  .entete__tel-libelle { font-size: .875rem; }
  .entete__tel-plus { display: inline; }
  .entete__tel-numero { font-size: 2rem; }
  .entete--compacte .entete__tel-numero { font-size: 1.4rem; }
  .entete__cta { display: inline-flex; }
}
@media (max-width: 380px) {
  .entete__logo img, .entete--compacte .entete__logo img { height: 28px; }
  .entete__tel { gap: 8px; }
  .entete__tel-ico, .entete--compacte .entete__tel-ico { width: 32px; height: 32px; }
  .entete__tel-ico .ico { width: 17px; height: 17px; }
  .entete__tel-numero { font-size: 1.15rem; }
  .entete--compacte .entete__tel-numero { font-size: 1.05rem; }
}
@media (max-width: 340px) {
  .entete__tel-ico { display: none; }
}

/* ---------- Héros ---------- */
.heros { position: relative; overflow-x: clip; padding: 32px 0 48px; }
.heros__grille { display: grid; gap: 28px; }

.heros__titre {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.015em;
  max-width: 15ch;
}
.heros__intro { margin-top: 16px; font-size: 1.125rem; line-height: 1.55; max-width: 33em; }

.preuves { display: grid; gap: 12px; margin-top: 24px; }
.preuves li { display: flex; align-items: flex-start; gap: 12px; }
.preuves strong { color: var(--encre); }
.preuves__ico {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rouge-pale); color: var(--rouge-texte);
}
.preuves__ico--etoiles { width: auto; height: auto; padding: 4px 0; background: none; border-radius: 0; display: inline-flex; color: var(--ambre); }
.preuves__ico--etoiles .ico { width: 15px; height: 15px; }

.equipe-apercu { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.equipe-apercu__photos { display: flex; flex-shrink: 0; }
.equipe-apercu__photos img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 30%;
  border: 3px solid #fff; margin-left: -12px; background: var(--fond);
}
.equipe-apercu__photos img:first-child { margin-left: 0; }
.equipe-apercu p { font-size: .95rem; line-height: 1.4; }
.equipe-apercu strong { color: var(--encre); }

.heros__formulaire { position: relative; }
.heros__cercle {
  position: absolute; z-index: 0; border-radius: 50%; background: var(--rouge);
  width: 420px; height: 420px; top: -60px; right: -230px;
}
.heros__photo { display: none; }

/* Sur mobile, le formulaire passe juste sous le titre et l'introduction */
@media (max-width: 899px) {
  .heros__texte { display: contents; }
  .heros__grille > * { min-width: 0; }
  .heros__titre { order: 1; }
  .heros__intro { order: 2; margin-top: -12px; font-size: 1.05rem; }
  .heros__formulaire { order: 3; }
  .preuves { order: 4; margin-top: 4px; }
  .equipe-apercu { order: 5; margin-top: 0; }
}

@media (min-width: 900px) {
  .heros { padding: 40px 0 80px; }
  .heros__grille { grid-template-columns: minmax(0, 1fr) 470px; gap: 64px; align-items: start; }
  .heros__texte { padding-top: 48px; }
  .heros__cercle { width: 600px; height: 600px; top: -110px; right: -250px; }
  .heros__photo {
    display: block; position: absolute; z-index: 0;
    width: 220px; height: 220px; left: -120px; bottom: -36px;
    border-radius: 50%; object-fit: cover; border: 8px solid #fff;
    box-shadow: 0 12px 30px -12px rgba(35,36,42,.35);
  }
}

/* ---------- Carte du formulaire ---------- */
.carte-form {
  position: relative; z-index: 1;
  background: #fff; border-radius: 14px; padding: 24px 20px;
  box-shadow: 0 26px 60px -24px rgba(35,36,42,.45), 0 2px 8px rgba(35,36,42,.06);
}
.carte-form:focus { outline: none; }
.carte-form { scroll-margin-top: calc(var(--entete-h-min) + 16px); }
@media (min-width: 480px) { .carte-form { padding: 30px 30px 26px; } }

.carte-form__titre { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.45rem); font-weight: 700; }
.insecable { white-space: nowrap; }
.carte-form__sous { color: var(--doux); margin-top: 2px; }

.alerte {
  margin-top: 16px; padding: 10px 14px;
  background: var(--rouge-pale); border-left: 4px solid var(--rouge-bouton); border-radius: 6px;
  color: #8a0f19; font-size: .95rem;
}
.alerte a { color: #8a0f19; font-weight: 700; }

.form { display: grid; gap: 14px; margin-top: 18px; }
.form__rangee { display: grid; gap: 14px; }
.form__rangee--toujours { grid-template-columns: 1fr 1fr; }
@media (min-width: 520px) { .form__rangee { grid-template-columns: 1fr 1fr; } }

.champ { display: grid; gap: 5px; min-width: 0; align-content: start; }
.champ label, .champ legend { font-weight: 600; font-size: .95rem; color: var(--encre); }
.facultatif { font-weight: 400; color: var(--doux); }

.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1.5px solid var(--champ); border-radius: var(--rayon);
  transition: border-color .15s, box-shadow .15s;
}
.champ input, .champ select { height: 48px; padding: 0 14px; }
.champ textarea { padding: 11px 14px; min-height: 76px; resize: vertical; line-height: 1.45; }
.champ select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323242a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 22px;
}
.champ input::placeholder, .champ textarea::placeholder { color: #9a9ca3; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--rouge-bouton); box-shadow: 0 0 0 3px rgba(224,31,45,.18);
}
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: #c2121f; }
.champ__erreur { color: #b3121f; font-size: .875rem; font-weight: 600; }
.champ__aide { color: var(--doux); font-size: .82rem; line-height: 1.4; }

.choix { border: 0; padding: 0; margin: 0; }
.choix legend { padding: 0; margin-bottom: 5px; }
.choix__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix__option { position: relative; display: block; cursor: pointer; }
.choix__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix__option span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border: 1.5px solid var(--champ); border-radius: var(--rayon);
  font-weight: 600; color: var(--texte); transition: border-color .15s, background-color .15s, color .15s;
}
.choix__option input:checked + span { border-color: var(--rouge-bouton); background: var(--rouge-pale); color: var(--rouge-texte); }
.choix__options--3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choix__options--3 .choix__option span { font-size: .9rem; padding-inline: 6px; text-align: center; line-height: 1.15; }
@media (max-width: 359px) { .choix__options--3 { grid-template-columns: 1fr; } }
.choix__option input:focus-visible + span { outline: 3px solid var(--rouge-texte); outline-offset: 2px; }

.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__envoyer { width: 100%; margin-top: 4px; }
.form__note { font-size: .8rem; line-height: 1.45; color: var(--doux); }
.form__note a { color: var(--doux); }

/* ---------- Sections ---------- */
.titre-section { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
.intro-section { margin-top: 10px; font-size: 1.05rem; max-width: 40em; }

.avantages, .offre, .collegues, .emplacement { padding: 56px 0; }
.offre { background: var(--fond); }
@media (min-width: 900px) {
  .avantages, .offre, .collegues, .emplacement { padding: 80px 0; }
}

/* Avantages + photos des locaux */
.avantages__grille { display: grid; gap: 36px; }
.avantages__liste { display: grid; gap: 22px; margin-top: 28px; }
.avantages__liste li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; }
.avantages__ico {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--rouge-pale); color: var(--rouge-texte);
}
.avantages__ico .ico { width: 24px; height: 24px; }
.avantages__liste h3 { font-size: 1.1rem; padding-top: 3px; }
.avantages__liste p { margin-top: 4px; font-size: .98rem; }

.locaux__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.locaux__photos li:first-child { grid-column: 1 / -1; }
.locaux__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--fond); }
.locaux__photos li:first-child img { aspect-ratio: 16 / 10; border-radius: 14px; }
.locaux__visite { margin-top: 16px; }
@media (min-width: 900px) {
  .avantages__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .locaux { padding-top: 8px; }
  .locaux__photos { gap: 14px; }
}

/* Formules + conditions */
.offre__grille { display: grid; gap: 32px; }
.formules { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.formules li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 16px; background: #fff; border-radius: 999px;
  font-family: var(--titre); font-weight: 600; font-size: 1.1rem; color: var(--encre);
}
.formules .ico { width: 22px; height: 22px; color: var(--rouge-texte); }
.offre__note { margin-top: 20px; font-weight: 600; color: var(--encre); }
.offre__conditions {
  background: #fff; border-radius: 14px; padding: 26px 24px;
  border-top: 4px solid var(--rouge);
}
.offre__conditions h3 { font-size: 1.2rem; }
.offre__conditions ul { display: grid; gap: 14px; margin-top: 16px; }
.offre__conditions li { display: flex; gap: 12px; align-items: flex-start; }
.offre__conditions .ico { width: 22px; height: 22px; color: var(--rouge-texte); margin-top: 1px; }
@media (min-width: 900px) {
  .offre__grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
  .offre__conditions { padding: 32px; }
}

/* Collègues */
.collegues__sous-titre { margin-top: 36px; font-size: 1.1rem; }
.collegues__grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: 18px; }
@media (min-width: 640px) { .collegues__grille { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .collegues__grille { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.membre img { width: 100%; aspect-ratio: 459 / 400; object-fit: cover; object-position: center 25%; border-radius: 10px; background: var(--fond); }
.membre__nom { margin-top: 10px; font-family: var(--titre); font-weight: 600; color: var(--encre); line-height: 1.3; }
.membre__role { font-size: .9rem; color: var(--doux); line-height: 1.4; }

/* Emplacement */
.emplacement__grille { display: grid; gap: 28px; }
.infos { display: grid; gap: 14px; margin-top: 22px; }
.infos li { display: flex; gap: 12px; align-items: flex-start; }
.infos .ico { width: 22px; height: 22px; color: var(--rouge-texte); margin-top: 2px; }
.infos strong { color: var(--encre); }
.emplacement__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.emplacement__carte { min-height: 320px; border-radius: 12px; overflow: hidden; background: var(--fond); }
.emplacement__carte iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 900px) {
  .emplacement__grille { grid-template-columns: 400px 1fr; gap: 48px; }
  .emplacement__carte, .emplacement__carte iframe { min-height: 420px; }
}

/* Appel à l'action final */
.cta-final { position: relative; overflow: hidden; background: var(--rouge-bouton); color: #fff; padding: 64px 0; text-align: center; }
.cta-final::before, .cta-final::after {
  content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); pointer-events: none;
}
.cta-final::before { width: 520px; height: 520px; left: -220px; top: -260px; }
.cta-final::after { width: 380px; height: 380px; right: -140px; bottom: -220px; }
.cta-final__int { position: relative; }
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 700; }
.cta-final p { margin: 10px auto 0; font-size: 1.15rem; max-width: 36em; }
.cta-final__photo {
  width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%;
  object-fit: cover; object-position: center 30%; border: 4px solid rgba(255,255,255,.9); background: #fff;
}
.cta-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.cta-final :focus-visible { outline-color: #fff; }

/* Pied de page */
.pied { background: var(--pied); color: #cfcfd3; font-size: .95rem; padding-top: 48px; }
.pied a { color: #fff; }
.pied a:hover { color: #ffb3b8; }
.pied__int { display: grid; gap: 28px; padding-bottom: 36px; }
.pied__marque img { height: 52px; width: auto; }
.pied__marque p { margin-top: 12px; max-width: 26em; }
.pied__titre { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.pied__int p + p { margin-top: 8px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #3a3a3a; font-size: .85rem; }
.pied__bas p { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (min-width: 900px) { .pied__int { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Barre fixe mobile */
.barre-mobile { display: none; }
@media (max-width: 899px) {
  .page-lp { padding-bottom: 76px; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -6px 20px rgba(35,36,42,.12);
    transform: translateY(0); transition: transform .2s ease;
  }
  .barre-mobile.cachee { transform: translateY(115%); }
  .barre-mobile .btn { padding-inline: .6rem; }
}

/* ---------- Page Merci ---------- */
.merci { background: var(--fond); padding: 48px 0 64px; }
.merci__int { display: grid; place-items: center; }
.merci__carte {
  width: 100%; max-width: 640px; background: #fff; border-radius: 16px; padding: 36px 22px; text-align: center;
  box-shadow: 0 22px 50px -26px rgba(35,36,42,.35);
}
@media (min-width: 560px) { .merci__carte { padding: 44px 48px; } }
.merci__pastille {
  display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--rouge); color: #fff; margin-bottom: 20px;
}
.merci__pastille .ico { width: 44px; height: 44px; }
.merci__titre { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 700; }
.merci__texte { margin-top: 12px; font-size: 1.125rem; }
.merci__ref { margin-top: 10px; color: var(--doux); font-size: .92rem; }
.merci__urgent { margin-top: 28px; padding: 24px 20px; background: var(--rouge-pale); border-radius: 12px; }
.merci__urgent h2 { font-size: 1.25rem; }
.merci__urgent p { margin-top: 4px; }
.merci__urgent .btn { margin-top: 16px; }
.merci__etape {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  margin-top: 26px; padding: 18px 20px; text-align: left;
  border: 1.5px solid var(--ligne); border-radius: 12px;
}
.merci__etape-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rouge-pale); color: var(--rouge-texte); }
.merci__etape-ico .ico { width: 22px; height: 22px; }
.merci__etape h2 { font-size: 1.05rem; }
.merci__etape p { margin-top: 2px; font-size: .98rem; }
.merci__liens { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
