/* ==========================================================================
   Site Green Athletic — copie de greenathletic.ch (Joomla, thème « Favourite »)
   Les valeurs viennent des styles MESURÉS sur l'original le 10.11.2026.

   Note de fidélité : l'original déclare la police « DINPro-Regular » mais ne
   la charge jamais ; le navigateur se rabat donc sur sa police par défaut
   (Times New Roman). C'est ce que voient les visiteurs, et ce que reproduit
   --police-texte. Pour passer tout le texte courant en Open Sans, il suffit
   de changer cette seule variable.
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --vert: #2da953;
  --texte: #333333;
  --noir: #111111;
  --gris: #767171;
  --trait: #e7e7e7;
  --police-titres: "Open Sans", sans-serif;
  --police-texte: "Times New Roman", Times, serif;
  --police-bouton: Lato, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 16px;
  /* Valeur FIXE (et non 1.6) : comme l'original, les grands slogans en <p>
     héritent de 25,6 px, ce qui serre leurs lettres de 40 et 60 px. */
  line-height: 25.6px;
  color: var(--texte);
  background: #fff;
  text-align: justify;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

a { color: var(--vert); text-decoration: none; }
a:hover, a:focus { color: var(--noir); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--police-titres);
  font-weight: 600;
  color: var(--texte);
  line-height: 1.3;
  margin: 20px 0 10px;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; margin-bottom: 14px; }
h4 { font-size: 18px; }
p { margin: 0 0 1em; }
/* Les lignes de tarifs de Personal Training : la 1re en « table » (avec ses
   marges), les suivantes en « table-row » (sans marges, donc serrées). */
.divTable { display: table; }
.divTableRow { display: table-row; }
.accent { color: var(--vert); }
ul, ol { margin: 0 0 10px; padding-left: 40px; }
blockquote {
  margin: 0 0 20px;
  padding: 10px 20px;
  border-left: 5px solid var(--vert);
  font-size: 17.5px;
}
strong, b { font-weight: 700; }

.ico { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }
.visuel-cache {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ── Grille ─────────────────────────────────────────────────────────────── */
.conteneur { margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px)  { .conteneur { width: 750px; } }
@media (min-width: 992px)  { .conteneur { width: 970px; } }
@media (min-width: 1200px) { .conteneur { width: 1170px; } }

/* ── En-tête (ordinateur) ───────────────────────────────────────────────── */
.entete {
  position: relative;
  margin-top: 3px;
  border-bottom: 1px solid var(--trait);
}
.entete-rangee { display: flex; padding: 0; }
.entete-logo { flex: 0 0 25%; padding: 5px 15px 10px; }
.entete-logo a { display: inline-block; }
.entete-logo img { width: 100px; height: 119px; }
.entete-droite { flex: 0 0 75%; padding: 0 15px; }

.menu { display: flex; justify-content: flex-end; padding-top: 8px; }
.menu-liste { list-style: none; margin: 0; padding: 0; display: flex; }
.menu-liste > li { position: relative; margin: 0 14px; }
.menu-liste > li:last-child { margin-right: 14px; }
.menu-liste > li > a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 17px;
  font-family: var(--police-titres);
  font-size: 20px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 1px;
  color: var(--noir);
  white-space: nowrap;
  transition: color .3s ease-out;
}
/* Largeurs des icônes Font Awesome 4 de l'original, à 25 px. */
.menu-liste > li > a .ico { flex: none; color: var(--vert); height: 23px; width: 23px; margin-right: 6px; }
.menu-liste > li > a .ico-info { width: 9px; }
.menu-liste > li > a .ico-credit-card,
.menu-liste > li > a .ico-image { width: 27px; }
.menu-liste > li > a .ico-envelope { width: 25px; }
.menu-liste > li > a .ico.fleche { width: 14px; height: 15px; margin: 0 0 0 4px; }
.menu-liste > li.actif > a,
.menu-liste > li > a:hover,
.menu-liste > li > a:focus,
.menu-liste > li.a-sous-menu:hover > a { color: var(--vert); }

/* Le sous-menu de Tarifs : il s'ouvre au survol, avec sa petite flèche verte. */
.sous-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 242px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--trait);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
  text-align: left;
}
.sous-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 16px;
  border-right: 7px solid transparent;
  border-bottom: 7px solid var(--vert);
  border-left: 7px solid transparent;
}
.a-sous-menu:hover > .sous-menu,
.a-sous-menu:focus-within > .sous-menu { display: block; }
.sous-menu a {
  display: block;
  padding: 15px 17px;
  border-bottom: 1px solid var(--trait);
  font-family: var(--police-titres);
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  color: var(--noir);
}
.sous-menu li:last-child a { border-bottom: 0; }
.sous-menu li.actif a, .sous-menu a:hover, .sous-menu a:focus { color: var(--vert); }

.entete-texte { padding: 1px 0 0; }
.entete-titre { font-size: 30px; line-height: 25.6px; padding-top: 1px; }
.entete-sous-titre { padding-top: 5px; }

/* ── Barre du téléphone ─────────────────────────────────────────────────── */
.barre-mobile { display: none; }

/* ── Diaporama de l'accueil ─────────────────────────────────────────────── */
.diapo-zone { padding: 53px 0 0; }
.diapo { position: relative; container-type: inline-size; }
/* Comme l'original : l'image (1100 × 500) s'étire sur toute la largeur. */
.diapo-vues { position: relative; height: calc(100cqw * 500 / 1100); overflow: hidden; }
.diapo-vue {
  position: absolute; inset: 0;
  visibility: hidden; opacity: 0;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.diapo-vue.active { visibility: visible; opacity: 1; transition: opacity .6s ease; z-index: 1; }
.diapo-image { height: 100%; text-align: center; }
.diapo-image img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transform: translateX(-40px); opacity: 0;
  transition: transform .9s ease .2s, opacity .9s ease .2s;
}
.diapo-vue.active .diapo-image img { transform: none; opacity: 1; }
.diapo-video, .diapo-video iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.diapo-legende {
  position: absolute; left: 0; right: 0; bottom: 0;
  transform: translateY(20px);
  padding: 21px 50px;
  background: rgba(255, 255, 255, .8);
  text-align: center;
  opacity: 0;
  transition: opacity .6s ease 1.1s, transform .6s ease 1.1s;
}
.diapo-vue.active .diapo-legende { opacity: 1; transform: none; }
.diapo-titre {
  margin: 0 0 14px;
  font-family: "Open Sans";
  font-size: 35px;
  font-weight: 700;
  line-height: 1.8em;
  color: var(--vert);
  text-transform: uppercase;
  text-align: center;
}
.diapo-fleche {
  position: absolute; top: 50%; z-index: 2;
  width: 40px; height: 40px; margin-top: -25px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 0;
  background: var(--vert); color: #fff; cursor: pointer;
}
.diapo-fleche .ico { width: 15px; height: 28px; }
.diapo-fleche.precedente { left: 0; }
.diapo-fleche.suivante { right: 0; }
.diapo-points { display: flex; justify-content: center; list-style: none; margin: 23px 0 0; padding: 0; }
.diapo-points li { margin: 0 2px; }
.diapo-points button {
  display: block; width: 12px; height: 12px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--noir); cursor: pointer;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .1);
}
.diapo-points button.active { background: var(--vert); }
@media (max-width: 767px) {
  .diapo-legende { padding: 10px 20px; }
  .diapo-titre { font-size: 20px; margin: 0; }
}
@media (max-width: 460px) { .diapo-legende { display: none; } }

/* ── Contenu ────────────────────────────────────────────────────────────── */
.principal { padding-top: 7px; }
.page-contact .principal { padding-top: 43px; }
.page-entete { display: flow-root; padding-bottom: 1px; }
.principal::after { content: ""; display: table; clear: both; }
.accueil { padding-top: 53px; }
.page-index .principal { padding-top: 0; }
.page-titre {
  margin: 20px 0 14px;
  font-size: 24px;
  text-transform: uppercase;
  text-align: left;
}
.article h3 {
  color: var(--vert);
  text-transform: uppercase;
  text-align: left;
}
.article a { color: var(--noir); }
.article a:hover, .article a:focus { color: var(--vert); }

/* Flottant, comme l'original : la ligne vide qui suit se glisse à côté et
   la suite du texte démarre juste sous le flyer. */
.accueil-flyer { float: left; width: calc(100% - 30px); margin: 0 30px 7px 0; }
.accueil-flyer img {
  width: 100%;
  padding: 7px;
  background: #ddd;
  border: 1px solid #ddd;
}

/* Les photos des pages Tarifs, posées à droite (ou à gauche) du texte. */
.article-image { margin: 0 0 16px; }
.article-image img {
  padding: 7px;
  margin: 0 5px;
  background: rgba(17, 17, 17, .1);
}
.article-image.droite img { float: right; }
.article-image.gauche img { float: left; }
.article h3 { clear: none; }

/* ── La vitrine de la page Tarifs ───────────────────────────────────────── */
.vitrine { padding: 28px 0 21px; }
.vitrine-carte { display: flow-root; margin: 21px 0; padding-top: 1px; }
.vitrine-image { width: 40%; margin-bottom: 10px; padding-top: 1px; }
.vitrine-carte.gauche .vitrine-image { float: left; margin-right: 3%; }
.vitrine-carte.droite .vitrine-image { float: right; margin-left: 3%; }
.vitrine-image img {
  display: block; width: 100%;
  padding: 7px; background: #f2f2f2; border: 1px solid #e2e2e2;
}
.vitrine-titre {
  margin: 4% 0 1%;
  font-family: var(--police-titres);
  font-size: 28px; font-weight: 400; line-height: 1.3;
  color: var(--vert); text-transform: uppercase; text-align: left;
}
.vitrine-titre a, .vitrine-titre a:hover { color: var(--vert); }
.vitrine-description {
  padding-top: 1px;
  font-family: var(--police-titres);
  font-size: 18px; line-height: 1.44em;
  color: #444; text-align: justify;
}
.vitrine-suite { margin-top: 27px; text-align: left; }
.vitrine-bouton {
  display: inline-flex; align-items: center;
  padding: 13px 21px 11px;
  border: 1px solid transparent;
  font-family: var(--police-titres);
  font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 1px;
  color: #fff; background: var(--vert);
  text-transform: uppercase;
  transition: background-color .3s ease-out;
}
.vitrine-bouton:hover, .vitrine-bouton:focus { color: #fff; background: #222; }
.vitrine-bouton .ico { width: 9px; height: 16px; margin-left: 14px; }
/* Glisse en place à l'arrivée dans l'écran (posé par site.js, seulement si
   le navigateur sait l'observer : sans script, les cartes sont visibles). */
.vitrine-carte.a-reveler { opacity: 0; transform: translateX(-60px); transition: opacity .8s ease, transform .8s ease; }
.vitrine-carte.droite.a-reveler { transform: translateX(60px); }
.vitrine-carte.a-reveler.visible { opacity: 1; transform: none; }

/* ── Les blocs du haut (pastilles du Contact, Galerie photos) ───────────── */
.module-haut { padding-top: 27px; }
.module-titre {
  margin: 20px 0 14px;
  font-size: 24px;
  color: var(--noir);
  text-transform: uppercase;
  text-align: left;
}
.photos-texte { color: var(--noir); padding-top: 1px; }
.pastilles { display: flex; flex-wrap: wrap; margin: 30px -15px 0; }
.pastille-boite { flex: 0 0 16.6667%; padding: 0 15px; text-align: center; }
.pastille {
  display: flex; align-items: center; justify-content: center;
  width: 96%; aspect-ratio: 1 / 1; margin: 0 auto;
  border: 2px solid; border-radius: 50%;
  color: #fff;
  animation: apparaitre .8s ease both;
  transition: transform .3s ease;
}
.pastille:hover, .pastille:focus { color: #fff; transform: scale(1.06); }
.pastille .ico { width: 48px; height: 48px; }
.pastille-email     { background: #2DA953; border-color: #2DA953; }
.pastille-telephone { background: #EF5350; border-color: #EF9A9A; }
.pastille-adresse   { background: #42A5F5; border-color: #90CAF9; }
.pastille-instagram { background: #8A3AB9; border-color: #8A3AB9; }
.pastille-facebook  { background: #3B5998; border-color: #3B5998; }
.pastille-youtube   { background: #FF0000; border-color: #FF0000; }
.pastille-titre {
  margin: 22px 0 21px;
  font-family: "Open Sans";
  font-size: 16px;
  color: #444;
  text-align: center;
}
@keyframes apparaitre { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pastille, .diapo-vue, .diapo-image img, .diapo-legende { animation: none; transition: none; }
}

/* ── Formulaire de contact ──────────────────────────────────────────────── */
.formulaire {
  margin: 7px 0 20px;
  padding: 19px;
  background: #f5f5f5;
  border: 1px solid #e3e3e3;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
.formulaire fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.formulaire legend {
  display: block; width: 100%; padding: 0;
  margin: 20px 0 14px;
  font-family: var(--police-titres);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--texte);
}
.groupe { display: flex; align-items: flex-start; margin-bottom: 22px; }
.groupe-requis { margin: 26px 0 26px; }
.etiquette { flex: 0 0 180px; padding-right: 20px; padding-top: 4px; text-align: right; }
.etiquette label { display: inline-block; font-size: 14px; line-height: 20px; font-weight: 700; }
.requis { font-size: 14px; line-height: 20px; font-style: italic; }
.groupe-requis .etiquette { padding-top: 0; }
.champ { flex: 1; min-width: 0; }
.groupe > .champ:only-child { margin-left: 180px; }
.formulaire input[type=text], .formulaire input[type=email], .formulaire textarea {
  max-width: 100%;
  padding: 7px 14px;
  font: 13px/20px var(--police-texte);
  color: #555;
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.formulaire input[type=text], .formulaire input[type=email] { width: 267px; height: 36px; }
.formulaire input.large { width: 476px; }
.formulaire textarea { width: 395px; height: 272px; line-height: 25.6px; color: var(--texte); }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--vert); }
.bouton-envoyer {
  margin: 14px 0 10px;
  padding: 15px 24px 14px;
  font: 700 15px/21.4px var(--police-bouton);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--vert);
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .17);
  cursor: pointer;
}
.bouton-envoyer:hover, .bouton-envoyer:focus { background: var(--noir); }
.bouton-envoyer[disabled] { opacity: .6; cursor: not-allowed; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alerte { margin: 20px 0; padding: 8px 35px 8px 14px; border: 1px solid; border-radius: 4px; font-size: 16px; }
.alerte-succes { color: #468847; background: #dff0d8; border-color: #d6e9c6; }
.alerte-erreur { color: #b94a48; background: #f2dede; border-color: #eed3d7; }

/* ── Page en construction ───────────────────────────────────────────────── */
.en-construction { padding: 10px 0 40px; }

/* ── Pied de page ───────────────────────────────────────────────────────── */
.pied { padding: 24px 0; background: #fff; clear: both; }
.pied-rangee { display: flex; align-items: center; justify-content: space-between; }
.pied-copie { margin: 14px 0; font-size: 14px; line-height: 21px; }
.reseaux { display: flex; list-style: none; margin: 0; padding: 0; }
.reseaux li { margin: 0 5px; }
.reseaux li:last-child { margin-right: 5px; }
.reseau {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; color: #fff;
}
.reseau:hover, .reseau:focus { color: #fff; opacity: .85; }
.reseau .ico { width: 21px; height: 21px; }
.reseau.instagram { background: #8A3AB9; }
.reseau.facebook { background: #3B5998; }
.reseau.youtube { background: #FF0000; }

.haut-de-page {
  position: fixed; right: 3em; bottom: 3em; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 6px 12px;
  color: #fff; background: var(--vert);
  box-shadow: 0 5px 11px rgba(0, 0, 0, .18), 0 4px 15px rgba(0, 0, 0, .15);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.haut-de-page.visible { opacity: 1; visibility: visible; }
.haut-de-page:hover, .haut-de-page:focus { color: #fff; background: var(--noir); }
.haut-de-page .ico { width: 10px; height: 15px; }

/* ── Tablette ───────────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1199px) {
  .entete-rangee { flex-wrap: wrap; }
  .entete-logo { flex-basis: 100%; text-align: center; }
  .entete-droite { flex-basis: 100%; }
  .menu { justify-content: center; }
  .menu-liste > li { margin: 0 2px; }
  .menu-liste > li > a { padding: 15px 10px; font-size: 18px; }
  .pastille-boite { flex-basis: 33.3333%; }
}

/* ── Téléphone ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .entete { display: none; }
  .barre-mobile {
    display: block;
    margin-top: 2px;
    background: #f8f8f8;
    border-bottom: 1px solid var(--trait);
  }
  .barre-mobile-haut { position: relative; display: flex; align-items: flex-start; min-height: 144px; padding-top: 15px; }
  .logo-mobile { display: inline-block; background: #fff; }
  .logo-mobile img { width: 100px; height: 119px; }
  .texte-menu { margin: 0 14px 0 auto; font-size: 16px; color: #333; }
  .bouton-menu {
    width: 44px; height: 34px; padding: 9px 10px;
    background: transparent; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;
  }
  .bouton-menu:hover, .bouton-menu:focus { background: #ddd; }
  .bouton-menu .barre { display: block; height: 2px; background: #888; border-radius: 1px; }
  .bouton-menu .barre + .barre { margin-top: 4px; }
  .menu-mobile { padding: 0 15px 10px; border-top: 1px solid var(--trait); }
  .menu-mobile .menu-liste { display: block; }
  .menu-mobile .menu-liste > li { margin: 0; }
  .menu-mobile .menu-liste > li > a { padding: 13px 10px; font-size: 18px; line-height: 20px; }
  .menu-mobile .sous-menu {
    display: block; position: static; width: auto;
    border: 0; box-shadow: none; background: transparent; padding-left: 30px;
  }
  .menu-mobile .sous-menu::before { display: none; }
  .menu-mobile .sous-menu a { padding: 8px 10px; font-size: 16px; line-height: 20px; border: 0; }
  .diapo-zone { padding-top: 36px; }
  .accueil { padding-top: 53px; }
  .pastille-boite { flex-basis: 50%; }
  .groupe { display: block; margin-bottom: 14px; }
  .etiquette { text-align: left; padding: 0 0 4px; }
  .groupe > .champ:only-child { margin-left: 0; }
  .formulaire input[type=text], .formulaire input[type=email], .formulaire input.large,
  .formulaire textarea { width: 100%; }
  .pied-rangee { flex-direction: column; }
  .pied-copie { text-align: center; }
  .article-image img { float: none !important; display: block; margin: 0 auto; }
  .vitrine-carte .vitrine-image { float: none !important; width: 100%; margin: 0 0 10px !important; }
  .vitrine-titre { margin: 14px 0 8px; }
  .vitrine-bouton { white-space: normal; }
}
