/* ====== FONTS ====== */
@font-face {
  font-family: 'Kinestone';
  src: url('fonts/Kinestone.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'LittleDinosaur';
  src: url('fonts/LittleDinosaur.ttf') format('truetype');
  font-display: swap;
}

/* ====== THEME ====== */
:root {
  --bleu-nuit: #263346;
  --terre-cuivree: #A4553D;
  --ivoire: #FAF7F0;
  --jaune-miel: #F9D570;
  --ambre: #C08541;
  --noir: #000000;
}

/* ====== RESET & GLOBAL ====== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  border-radius: 0;
}

body {
  font-family: 'LittleDinosaur', Arial, sans-serif;
  background: var(--ivoire);
  color: var(--noir);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Kinestone', serif;
  margin: 0 0 .5rem;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.5rem;
}

p, ul, li {
  font-family: 'LittleDinosaur', sans-serif;
  font-size: 1.8rem;
  line-height: 2.2;
  color: var(--noir);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ====== HEADER ====== */
.header {
  background: var(--bleu-nuit);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  animation: slideDown .5s ease-out;
}

.logo-container {
  max-width: 120px;
}

.logo-header {
  width: 1000%;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--ivoire);
  padding: .5rem 1rem;
  border-radius: 20px;
  transition: background-color .3s ease, transform .2s ease;
  font-family: 'LittleDinosaur', sans-serif;
  border: 2px solid transparent;
  white-space: nowrap;
  font-size: 1.5rem;
}

.nav a.active, .nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--jaune-miel);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Nouvelles règles pour le menu responsive */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .icon {
  width: 30px;
  height: 30px;
  position: relative;
  transition: transform .3s ease;
}

.menu-toggle .icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--ivoire);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all .3s ease;
}

.menu-toggle .icon span:nth-child(1) {
  top: 0;
}

.menu-toggle .icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle .icon span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active .icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== HERO ====== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--noir);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(38, 51, 70, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 1rem;
  animation: fadeIn .8s ease-out;
}

.hero h2 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  margin-bottom: .75rem;
}

.hero p {
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0;
  color: var(--ivoire);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.logo-hero {
  max-width: 450px;
  width: 100%;
  margin: 0 auto 1.5rem;
  animation: scaleIn .6s ease-out;
}

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-block;
  background: var(--terre-cuivree);
  color: #fff;
  padding: 1.2rem 1.5rem;
  font-size: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  transition: transform .15s ease, background .25s ease;
  border: none;
  cursor: pointer;
}

.call-to-action {
  text-align: center;
}

.btn-primary:hover {
  background: var(--ambre);
  transform: translateY(-2px) scale(1.02);
}

/* ====== SECTIONS ====== */
.section {
  padding: 4rem 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split .image {
  animation: fadeInRight .6s ease-out;
}

.split .image img {
  border-radius: 14px;
}

.split .text {
  animation: fadeInLeft .6s ease-out;
}

.split.reverse .image {
  animation: fadeInLeft .6s ease-out;
}

.split.reverse .text {
  animation: fadeInRight .6s ease-out;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--terre-cuivree);
}

/* Style des 3 blocs de singularité */
.singularite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.singularite-item {
  text-align: center;
}

.singularite-item img {
  width: 80px;
  height: auto;
  margin: 0 auto 1rem;
}

.singularite-item h4 {
  color: var(--terre-cuivree);
  margin-bottom: .5rem;
}

.valeurs .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.card h4 {
  color: var(--terre-cuivree);
  margin-bottom: .5rem;
  margin-top: 0;
}

.card-icon {
  width: 80px;
  height: auto;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card p {
  margin: 0;
  font-size: 1.7rem;
}


/* Bannière principale */
.page-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  margin-top: 0;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(38,51,70,.45), rgba(38,51,70,.45));
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeIn .8s ease-out;
}
.page-banner h2 {
  font-size: clamp(2.8rem, 3.5vw, 3.2rem);
}
.banner-subtitle {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* Images principales des sections */
.split .image img {
  border-radius: 14px;
}

/* Interligne pour la singularité */
.singularite-list li {
  line-height: 1.6;
}

/* Ajout pour la mise en page du titre de section avec une étoile */
.title-with-star {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-star-icon {
  width: 40px;
  height: auto;
  animation: rotateIn .8s ease-out;
}

/* ====== LISTS ====== */
ul.checks {
  list-style: none;
  padding-left: 0;
}

ul.checks li {
  margin: .35rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-family: 'LittleDinosaur', sans-serif;
  font-size: 1.8rem;
  opacity: 0;
  animation: slideInFromLeft .5s ease-out forwards;
}

ul.checks li:nth-child(2) {
  animation-delay: 0.2s;
}

ul.checks li:nth-child(3) {
  animation-delay: 0.4s;
}

ul.checks li:nth-child(4) {
  animation-delay: 0.6s;
}

ul.checks li:nth-child(5) {
  animation-delay: 0.8s;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--terre-cuivree);
}

/* Nouvelles animations pour le texte */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ====== CONTACT FORM & INFO ====== */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  font-family: 'LittleDinosaur', sans-serif;
  font-size: 1.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: 'LittleDinosaur', sans-serif;
  font-size: 1.7rem;
}

.contact-form button {
  justify-self: start;
}

/* Modifié : Règles pour les informations de contact au milieu de la page */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Modifié : pour les informations de contact au milieu de la page */
.contact-info .info-item p {
    color: var(--ambre);
}

.contact-info .info-icon {
  width: 40px;
  height: auto;
}

.social-links .social-icon {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-links .social-link:hover .social-icon {
  transform: scale(1.1);
}

.social-links .social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
}

.subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.8rem;
  color: var(--noir);
}


/* ====== STAR SECTION ====== */
.star-section {
  text-align: center;
  padding: 2rem 0;
}

.star-icon {
  max-width: 60px;
  animation: rotateIn .8s ease-out;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bleu-nuit);
  color: var(--ivoire);
  text-align: center;
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer a {
  color: var(--jaune-miel);
  text-decoration: none;
  font-family: 'LittleDinosaur', sans-serif;
}

.footer a:hover {
  text-decoration: underline;
}

.copyright {
  color: #fff;
  margin-top: 1.5rem;
}

.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-group {
    display: flex;
    gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-item p {
    color: #fff;
}

.info-icon {
  width: 25px;
  height: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
}
/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .header .container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    align-items: center;
    gap: .5rem;
    transition: opacity .4s ease-in-out;
  }
  
  .nav.open {
    display: flex;
  }
  
  .nav a {
    width: 100%;
    text-align: center;
    border-color: transparent;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header .logo-container {
    order: 1;
  }
  
  .menu-toggle {
    order: 2;
  }
  
  .nav {
    order: 3;
    flex-basis: 100%;
  }

  p, ul, li {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.8rem; }

  /* Nouvelle règle pour le texte du héros sur mobile */
  .hero p {
      font-size: 1.8rem;
      font-weight: bold;
      animation: fadeInUp 1s ease-out forwards;
      animation-delay: 0.5s;
  }

  .title-with-star {
      flex-direction: column;
      text-align: center;
  }
}

/* ====== KEYFRAMES ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-90deg) scale(0.5);
    opacity: 0;
  }
  to {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}
.nav a {
  color: var(--ivoire);
  padding: .5rem 1rem;
  border-radius: 20px;
  transition: background-color .3s ease, transform .2s ease;
  font-family: 'LittleDinosaur', sans-serif;
  border: 2px solid transparent;
  white-space: nowrap;
  font-size: 1.5rem;
}

/* Style pour les témoignages à côté des étoiles */
.testimonial-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.testimonial {
  max-width: 600px;
  text-align: left;
}

.testimonial p {
  margin: 0;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial .author {
  margin-top: 1rem;
  font-weight: bold;
  font-style: normal;
  font-size: 1.6rem;
  color: var(--terre-cuivree);
}

@media (max-width: 900px) {
  .testimonial-container {
    flex-direction: column;
    text-align: center;
  }
  .testimonial {
    text-align: center;
  }
}
/* Bannière principale - sans bords arrondis */
.page-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0;
  margin-top: 0;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(38,51,70,.45), rgba(38,51,70,.45));
}
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeIn .8s ease-out;
}
.page-banner h2 {
  font-size: clamp(2.8rem, 3.5vw, 3.2rem);
}
.banner-subtitle {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  margin-top: 1rem;
}
/* Style pour la section des collaborateurs */
.collaborateurs-image {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}
.collaborateurs-image img {
    width: 100%;
    height: auto;
    display: block;
}

.white-text {
  color: #fff;
}
/* Carrousel d'images */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel {
    display: flex;
    animation: slide-images 15s linear infinite;
}

.carousel-image {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 14px;
    margin-right: 1.5rem;
}

@keyframes slide-images {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Carrousel d'images */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.carousel {
    display: flex;
    justify-content: center;
    animation: slide-images 15s linear infinite;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-image {
    width: 400px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 1rem;
}

@keyframes slide-images {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Styles pour les liens de réseaux sociaux en ligne */
.social-links-inline {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.social-links-inline .social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}
.social-links-inline .social-link:hover {
    transform: translateY(-5px);
}
.social-links-inline .social-icon {
    width: 30px;
    height: auto;
}







/* ====== Nouveaux styles pour la section "À qui s'adresse cet accompagnement ?" ====== */

.target-audience-content {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.target-title {
  /* Taille ajustée pour être moins grosse, mais toujours visible */
  font-family: 'Kinestone', serif;
  color: var(--terre-cuivree);
  font-size: clamp(2rem, 3.5vw, 3.5rem); /* Légèrement plus petit que 4rem */
  line-height: 1.2;
  margin: 0;
  /* La balise <strong> sera appliquée directement dans le HTML */
}

.target-subtitle {
  /* Reste inchangé */
  font-family: 'LittleDinosaur', sans-serif;
  color: var(--noir);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  max-width: 800px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* Ajout d'une règle pour que le "gras" de Kinestone soit visible mais pas déformé */
.target-title strong {
    font-weight: normal; /* La police Kinestone n'a pas de vraie variante bold */
    /* On utilise la balise <strong> pour des raisons sémantiques.
       Si vous voulez un effet plus gras, il faudrait utiliser la propriété 'text-shadow' ou 'filter' */
}


@media (max-width: 900px) {
    .target-title {
        font-size: 2.5rem; /* Ajustement de la taille sur mobile */
    }
    .target-subtitle {
        font-size: 1.8rem;
    }
}