/* RESET rapide */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Déclaration de la police */
@font-face {
  font-family: 'NST55';
  src: url('/assets/fonts/newstandardregular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

/* Application globale */
body {
  font-family: 'NST55';
  font-size: 1.2rem;
}

html {
  scroll-behavior: smooth;
}

/* Ajuste le décalage pour compenser le header fixe (optionnel) */
section {
  scroll-margin-top: 100px; /* Ajustez selon la hauteur de votre header */
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.logo img {
  height: 120px;     /* taille verticale */
  width: auto;      /* garde les proportions */
  max-height: 120px; /* force à ne pas dépasser */
  display: block;   /* évite des marges fantômes */
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-right: 40px; /* tu ajustes la valeur selon ce que tu veux */
}

nav ul li a {
  text-decoration: none;
  padding: 8px 16px;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.2s;
}

nav ul li a:hover {
  background-color: #f2f2f2;
}

/* bouton actif (Accueil) */
nav ul li a.active {
  background-color: #ddd;
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .logo img {
    height: 70px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-right: 0;
  }

  nav ul li a {
    padding: 6px 10px;
    font-size: 0.95rem;
  }
}



/* HERO */
.hero {
  width: 100%;
  height: 80vh;
  background-image: url("/assets/paysage.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero .overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 4rem;
}
.hero-logo {
  height: 200px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.cta-button {
  padding: 2rem 2rem;
  background-color: #6b7456;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cta-button:hover {
  background-color: #5a6147;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }
  .hero-logo {
    max-width: 90%;
  }
  .hero .overlay {
    gap: 0rem;
  }
  .cta-button {
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 14px;
    text-align: center;
  }
}



.description {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem; 
  text-align: center;
  font-size: 1.3rem;
}

@media (max-width: 480px) {
  .description {
    padding: 2rem 1.5rem;
    font-size: 1.1rem;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}





.parcours-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
}

.parcours-image {
  flex: 0 0 300px;
}

.parcours-image img {
  width: 100%;
  height: auto;
}

.parcours-content {
  flex: 1;
  border-left: 1px solid #000;
  padding-left: 3rem;

  display: flex;              /* NEW */
  flex-direction: column;     /* NEW */
  gap: 2rem;                  /* NEW : espace entre titre et 1er bloc, et entre blocs */
}

.parcours-content h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Paragraphes : on rétablit un rythme lisible */
.parcours-content p,
.approche-content p {
  margin: 0 0 1rem 0;        /* espace régulier entre paragraphes */
  line-height: 1.6;
}

/* Si tu veux que le dernier paragraphe d’un bloc ne rajoute pas d’espace */
.parcours-content p:last-child,
.approche-content p:last-child {
  margin-bottom: 0;
}

.parcours-item {
  margin: 0;
  line-height: 1.6;
}

.parcours-item p {
  margin: 0 0 0.5rem 0;
}

.parcours-item p:last-child {
  margin-bottom: 0;
}

.institution {
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .parcours-section {
    flex-direction: column;
    gap: 2rem;
  }

  .parcours-image {
    flex: 0 0 auto;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .parcours-content {
    border-left: none;
    padding-left: 0;
  }

  .parcours-image {
    max-width: 150px;
  }
}







.approche-section {
  background-color: #6b7456;
  padding: 3rem 2rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approche-content {
  max-width: 1000px;
  text-align: right;
  color: white;
  border-right: 1px solid white;
  padding-right: 3rem;

  display: flex;              /* NEW */
  flex-direction: column;     /* NEW */
  gap: 1.5rem;                /* NEW : espace stable entre titre et paragraphes */
}

/* H2 à la place du H1 */
.approche-content h2 {
  margin: 0;                  /* important avec ton reset global */
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Les <p> n'ont plus besoin de margin-bottom : le gap gère */
.approche-content p {
  margin: 0;                  /* important avec ton reset global */
  line-height: 1.7;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .approche-content {
    text-align: left;
    border-right: none;
    border-left: 1px solid white;
    padding-right: 0;
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .approche-section {
    padding: 2.5rem 1.5rem;
  }

  .approche-content {
    padding-left: 1.5rem;
    gap: 1.2rem;              /* optionnel : un peu plus compact sur mobile */
  }

  .approche-content p {
    font-size: 1.05rem;
  }
}





.raisons-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  line-height: 1.7;
}

.raisons-section .note {
  font-style: italic;
  margin-bottom: 2rem;
}

.raisons-section .intro {
  margin-bottom: 2rem;
}

.raisons-section ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-top: 1rem;
}

.raisons-section li {

}

/* Responsive */
@media (max-width: 768px) {
  .raisons-section {
    padding: 1.5rem;
  }
  
  .raisons-section ul {
    padding-left: 1.5rem;
  }
}





.faq {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0.5rem;
}

.faq-question {
  width: 100%;
  padding: 1.2rem;
  background-color: transparent;
  border: none;
  text-align: left;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
  font-family: inherit;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
  color: #6b7456;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.2rem 1.2rem 1.2rem;
  line-height: 1.6;
  text-align: left;
}






.tarifs-horaires {
  background-color: #6b7456;
  color: white;
  padding: 4rem 0;
  width: 100%;
}

.tarifs-horaires-wrapper {
  display: flex;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: flex-start;
}

.tarifs-content {
  flex: 1;
  max-width: 600px;
  line-height: 1.7;
}

.horaires-content {
  flex: 0 0 400px;
  border: 2px solid white;
  padding: 3rem 2.5rem;
  line-height: 1.8;
}

.tarifs-horaires h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tarifs-horaires .icon {
  width: 28px;
  height: 28px;
}

.tarifs-content p {
  margin-bottom: 2rem;
  text-align: justify;
}

.tarifs-content .conditions {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.horaire-ligne {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
  .tarifs-horaires-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
  
  .horaires-content {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tarifs-horaires {
    padding: 3rem 0;
  }

  .horaires-content {
    padding: 2rem 1.5rem;
  }

  .horaire-ligne {
    font-size: 1.2rem;
  }
}



.acces-section {
  background-color: #f5f5f5;
  padding: 4rem 0;
  width: 100%;
}

.acces-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.acces-carte {
  flex: 1;
  height: 400px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #666;
}

.acces-info {
  flex: 0 0 500px;
  line-height: 1.8;
}

.acces-info h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

.acces-info .icon {
  width: 28px;
  height: 28px;
}

.acces-info p {
  font-size: 1.2rem;
  color: #666;
}

/* Responsive */
@media (max-width: 968px) {
  .acces-wrapper {
    flex-direction: column;
  }
  
  .acces-info {
    flex: 1;
    width: 100%;
  }
  
  .acces-carte {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .acces-section {
    padding: 3rem 0;
  }

  .acces-carte {
    height: 220px;
  }

  .acces-info p {
    font-size: 1.05rem;
  }
}


.contact-section {
  background-color: #6b7456;
  color: white;
  padding: 4rem 0;
  width: 100%;
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.contact-detail {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.rdv-text {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-photo {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.google-calendar-wrapper {
  padding-top: 1.5rem;
}

/* Agrandir le bouton Google Calendar */
.google-calendar-wrapper iframe {
  transform: scale(1.3); /* Agrandit de 30% */
  transform-origin: left center; /* Point d'ancrage à gauche */
  margin-bottom: 1rem;
}

/* Ou si c'est un bouton direct (pas iframe) */
.google-calendar-wrapper button,
.google-calendar-wrapper a {
  font-size: 1.2rem !important;
  padding: 1rem 2rem !important;
  min-width: 250px;
}

/* Responsive */
@media (max-width: 968px) {
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-photo {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .google-calendar-wrapper iframe {
    transform: none;
  }

  .google-calendar-wrapper button,
  .google-calendar-wrapper a {
    width: 100%;
    min-width: unset;
    font-size: 1rem !important;
  }

  .contact-detail {
    font-size: 1.2rem;
  }

  .contact-photo {
    height: 200px;
  }
}



