@font-face {
    font-family: 'Agrandir';
    src: url('fonts/Agrandir\ regular.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'Telegraf';
    src: url('fonts/PP\ Telegraf\ Regular.otf') format('truetype');
    font-weight: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;800&display=swap');

:root {
    --orange: #DB5A23;
    --beige: #E9C7B1;
    --bleu-nuit: #0F1C3D;
    --gris-acier: #BAC4C6;
    --blanc: #FFFFFF;
    --noir: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Telegraf', sans-serif;
    background-color: #0F1C3D;
    color: var(--beige);
    margin: 0;
    /* Améliore le rendu des polices sur tous les navigateurs */
    /*-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;*/
}

/* Header Impact */
.header-index {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/fond-index.jpg') no-repeat center center/cover;
    /*linear-gradient(rgba(15, 28, 61, 0.7), rgba(15, 28, 61, 0.7)), 
                url('images/fond-index.jpg') no-repeat center center/cover;*/
    text-align: center;
    border-bottom: 8px solid var(--orange);
}

/* NAV */
/*.navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; 
    top: 0;
    z-index: 1000;
}*/
/* Style de base pour toutes les pages */
.navbar {
    height: 110px;
    position: absolute; /* Place le menu par-dessus le contenu suivant */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;      /* S'assure que le menu reste au premier plan */
    background-color: var(--blanc); /* Bleu foncé semi-transparent */
    min-height: 80px;
}

/* Style spécifique pour l'index */
.navbar.transparent {
    background-color: transparent;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px; /* Aligne le menu avec le reste de votre contenu */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Logo à gauche, Liens à droite */
    align-items: center; /* Centre verticalement */
    padding: 0 20px;
}

.nav-logo img {
    height: 120px; /* Ajustez la taille de votre logo */
    width: auto;
    position: relative;
    /*top: 10px;*/
}

.nav-links {
    list-style: none;
    display: flex; /* Met les liens à l'horizontale */
    gap: 30px; /* Espace entre chaque lien */
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0a1633; /* Le bleu de votre charte */
    font-weight: 100;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e65c2e; /* Passage à l'orange au survol */
}
/***************************/
/* BANDEAU */
.hero-banner-formules {
    /* On combine l'image et un dégradé sombre pour la lisibilité */
    background: url('images/etirementsJoggeur.jpg');
    /*linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), */
    background-size: cover;
    background-position: center;

    height: 540px; 
    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;
    color: var(--blanc);
    box-sizing: border-box;

    justify-content: flex-start; /* Ne centre plus verticalement */
    padding-top: 160px;
}
.hero-banner-lecoach {
    /* On combine l'image et un dégradé sombre pour la lisibilité */
    background: url('images/Yann-Buste.jpg');
    /*linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), */
    background-size: cover;
    background-position: center;

    height: 540px; 
    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;
    color: var(--blanc);
    box-sizing: border-box;
    
    justify-content: flex-start; /* Ne centre plus verticalement */
    padding-top: 160px;
}
.hero-banner-lestarifs {
    /* On combine l'image et un dégradé sombre pour la lisibilité */
    background: url('images/PoigneeDeMain.jpg');
    /*linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/PoigneeDeMain.jpg');*/
    background-size: cover;
    background-position: center;

    height: 540px; 
    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;
    color: var(--blanc);
    box-sizing: border-box;
    
    justify-content: flex-start; /* Ne centre plus verticalement */
    padding-top: 160px;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 400;
}
/* La petite barre blanche sous le titre */
.separator {
  width: 40px;
  height: 2px;
  background-color: white;
  margin: 0 auto 20px auto;
}
.hero-content p {
  font-size: 1.2rem;
}
/***************************/

h1 {
    font-size: 5vw;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--blanc);
    margin-bottom: 10px;
}

h2 {
    /*font-size: 2.8rem;*/
    /*font-weight: 800;*/
    font-family: 'Agrandir', sans-serif;
    font-size: 30px;
    margin-bottom: 60px;
    letter-spacing: -1px;
    /*text-transform: uppercase;*/
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

.subtitle {
    font-size: 1.1rem;
    letter-spacing: 6px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--orange); /* Prénom en Orange */
}

/* Bouton Wix Style revisité */
.btn-wix {
    margin-top: 40px;
    padding: 18px 45px;
    border: 2px solid var(--orange);
    background: var(--orange);
    color: var(--blanc);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: 0.3s ease;
    text-transform: uppercase;
}

.btn-wix:hover {
    background: transparent;
    color: var(--orange);
}

/* Sections */
section {
    /*padding: 100px 8%;*/
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
}

/* Grille de services */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    padding: 60px 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.card.boxe { background-color: var(--noir); border-top: 5px solid var(--orange); }
.card.pilates { background-color: var(--gris-acier); color: var(--bleu-nuit); border-top: 5px solid var(--bleu-nuit); }
.card.magistraux { background-color: var(--bleu-nuit); border: 1px solid var(--gris-acier); border-top: 5px solid var(--beige); }

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 800;
}

footer {
    padding: 40px;
    background: var(--noir);
    color: var(--gris-acier);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
}


/* Section Formules / Services */
.section-formules {
    background-color: var(--beige); /* Ton Beige */
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-formules h2 {
    color: var(--bleu-nuit); /* Ton Orange pour le titre */
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-formules .intro-text {
    margin: 0 auto 50px auto;
    color: var(--bleu-nuit);
}

/* Grille de 5 colonnes */
.grid-formules {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes égales */
    gap: 15px;
    /*max-width: 1400px;*/
    margin: 0 auto;
}

.card-formule {
    background-color: var(--bleu-nuit); /* Ton Bleu Nuit */
    /*color: #FFFFFF;*/
    padding: 40px 20px;
    /*min-height: 290px;*/
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    border-radius: 4px; /* Légère courbure comme sur l'image */
    transition: transform 0.3s ease;
    padding: 30px;
    height: 100%;
    text-align: center;
}

.card-formule:hover {
    transform: translateY(-5px);
}

.card-formule h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0;          /* Supprime la marge par défaut qui peut varier */
    margin-bottom: 20px;    /* Espace fixe sous le titre */
    height: 50px;           /* OPTIONNEL : Force une hauteur fixe pour le titre */
    display: flex;
    align-items: center;    /* Centre le texte du titre dans ses 50px */
    justify-content: center;
}

.card-formule p {
    /*
    font-size: 0.85rem;
    font-weight: 200;
    */
    font-size: 0.85rem;
    margin-top: auto;       /* Optionnel : pousse le texte vers le bas */
    /* OU */
    margin-top: 0;          /* Pour que le texte commence juste après le titre */
}

.card-formule a {
    color: var(--beige) !important;
    padding: 0 !important;
    /*font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;*/
}



/* Section Orange : Réserver ma séance */
.section-reservation {
    background-color: var(--orange); /* Ton Orange */
    color: var(--beige);
    padding-top: 10px;
    padding-bottom: 30px;
    text-align: center;
}

.icon-dumbbell {
    width: 150px;
    margin-top: -20px;
    /*margin-bottom: 20px;*/
}

.section-reservation h2 {
    /*font-family: 'Agrandir', sans-serif;*/
    /*font-size: 2.2rem;
    font-weight: 400;*/
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-reservation p {
    /*font-family: 'Telegraf', sans-serif;*/
    /*max-width: 800px;*/
    margin: 0 auto;
    /*line-height: 1.6;
    font-size: 1rem;*/
}

/* Section Grise : À Propos */
.section-propos {
    background-color: var(--gris-acier); /* Ton Gris Acier */
    color: var(--bleu-nuit); /* Ton Bleu Nuit */
    /*padding: 100px 10%;*/
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    align-items: center;/* new */
    gap: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.propos-content {
    flex: 1;
    text-align: left;
}

.badge-propos {
    background-color: var(--orange);
    color: var(--bleu-nuit);
    display: inline-block;
    padding: 2px 8px;
    /*font-family: 'Agrandir', sans-serif;*/
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.section-propos h2 {
    /*font-family: 'Agrandir', sans-serif;*/
    /*font-size: 2.5rem;*/
    line-height: 1.1;
    margin-bottom: 40px;
}

.section-propos p {
    /*font-family: 'Telegraf', sans-serif;*/
    /*font-size: 1rem;
    line-height: 1.6;*/
    margin-bottom: 30px;
}

.btn-bleu {
    background-color: var(--bleu-nuit);
    color: var(--blanc);
    padding: 15px 35px;
    text-decoration: none;
    font-family: 'Agrandir', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-block;
}

/* Emplacement Image Coach */
.propos-image {
    flex: 1;
    display: flex; /* new */
    max-width: 500px;
    position: relative;
}

.propos-image img {
    width: 70%;
    display: block;
    margin-left: auto !important;
    margin-right: 0;
    /* On prévoit l'emplacement même sans fichier */
    /*background-color: #99a5a7; */
    /*min-height: 500px;*/
}

.section-contact{
    background-color: var(--beige);
    color: var(--blanc);
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-temoignages {
    background-color: var(--bleu-nuit); /* Le bleu foncé de votre image */
    color: var(--gris-acier);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}

.temoignages-container {
  max-width: 800px;
  overflow: hidden; /* Cache les textes qui dépassent */
}

.temoignages-slider {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Animation fluide */
}

.temoignages-item {
  min-width: 100%; /* Chaque témoignage prend toute la largeur */
  text-align: center;
  padding: 0 40px;
}

.line {
  width: 50px;
  height: 2px;
  background-color: var(--blanc);
  margin: 20px auto;
}

.arrow {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  z-index: 10;
}

.left { left: 20px; }
.right { right: 20px; }







/************ FORMULES *********/ 
/* Section Boxe Coaching */
/* On s'assure que la section est propre et alignée à gauche */
.boxe-coaching-section {
    padding: 80px 10%;
    background-color: #ffffff; /* Fond blanc pour trancher avec le bleu du haut */
    text-align: left; /* Annule le centrage du hero-banner */
}

.boxe-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.boxe-content {
    flex: 0 0 60%; 
    text-align: left; /* On force l'alignement à gauche */
}

.boxe-content h2 {
    font-size: 2.2rem;
    color: #000;
    margin: 15px 0;
}

.boxe-content h3 {
    color: #e67e22; /* Orange pour les titres de rubriques */
    margin-top: 30px;
    font-size: 1.3rem;
}

.boxe-list {
    list-style: none;
    padding: 0;
}

.boxe-list li {
    padding-left: 25px;
    margin-bottom: 8px;
    position: relative;
}

/* On recrée la petite coche orange */
.boxe-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e67e22;
    font-weight: bold;
}

/* Gestion de l'image */
.boxe-image-wrapper {
    flex: 0 0 20%;
}

.boxe-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 200px; /* Vous pouvez réduire ce chiffre (ex: 150px) pour rapetisser encore la photo */
    border-radius: 5px;
    object-fit: cover;
}
.boxe-img{
    width: 100%;
}

/***********************************/



/* Responsive */
@media (max-width: 768px) {
    .section-propos {
        flex-direction: column;
        text-align: center;
    }
    .propos-content { text-align: center; }
    .propos-image img { width: 100%; }
    .icon-dumbbell { 
        width: 50%; 
    }

    .boxe-container {
        flex-direction: column;
    }
    .boxe-content, .boxe-image-wrapper {
        flex: 0 0 100%;
    }
}
/* Responsive */
@media (max-width: 900px) {
    .boxe-container { flex-direction: column; }
    .boxe-content h2 { font-size: 1.6rem; }
}
/* Adaptation Mobile (1 colonne si l'écran est petit) */
@media (max-width: 1024px) {
    .grid-formules {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}