/* ------------------------------
   Hero Accueil
------------------------------- */
.home-hero {
  background: url('../img/image9.png') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 120px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}


.home-hero h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.home-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/* ------------------------------
   Section Intro
------------------------------- */
.home-intro {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

.home-intro h2 {
  font-size: 2em;
  color: #222;
  margin-bottom: 20px;
}

.home-intro p {
  font-size: 1.1em;
  max-width: 800px;
  margin: auto;
}

/* ------------------------------
   Services Accueil
------------------------------- */
.home-services {
  background-color: #f0f4f4;
  padding: 60px 20px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: white;
  border-left: 5px solid #007B8A;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s;
}

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

.card h3 {
  margin-bottom: 10px;
  font-size: 1.3em;
}

.card p {
  margin-bottom: 15px;
}

.card a {
  text-decoration: none;
  color: #007B8A;
  font-weight: bold;
}

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

/* Base */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.logo-wrapper {
  background-color: white;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  /* ajuste selon la taille du logo */
  width: 180px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: -120px;
}

.logo {
  height: 130px;
  margin-left: -10px;

  width: auto;
  display: block;
}

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


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

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px 0;
}

/* Header */
/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 0;
  background: transparent;
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

nav a {
  color: white;
  font-weight: bold;
  transition: color 0.2s;
}




/* Bouton CTA blanc */
.cta {
  background-color: white;
  color: #222;
  padding: 10px 22px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
  box-shadow: none;
}


.cta:hover {
  background-color: #eee;
  color: #000;
}



/* Hero Section */
.hero {
  background: linear-gradient(135deg, #007B8A, #00A8A3);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.cta {
  background-color: white;
  color: #222;
  padding: 10px 22px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
}

.cta:hover {
  background-color: #eee;
  color: #000;
}


/* Sections */
section {
  padding: 60px 0;
  background-color: white;
  margin-top: 0;
}


/* Section Notre Mission */
.mission {
  background-color: #353c54;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.mission h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
}

.mission p {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #eaeaea;
}

/* Boutons sous la mission */
.mission-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.mission-buttons a {
  background-color: white;
  color: #353c54;
  padding: 14px 28px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.mission-buttons a:hover {
  background-color: #f0f0f0;
  color: #1f1f1f;
  transform: translateY(-2px);
}



.avantages ul {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 30px auto;
}

.avantages li {
  background: #eaf7f9;
  padding: 12px 15px;
  margin: 10px 0;
  border-left: 5px solid #007B8A;
}

/* CTA Zone */
.cta-zone {
  background-color: #007B8A;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.cta-zone p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #353c54;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}


/*---------------------------entreprise css----------------------------------------------*/
.entreprise-hero-bg {
  background: url('../img/image1entreprise.png') no-repeat center/cover;
  position: relative;
  color: white;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}



.entreprise-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}


.entreprise-hero-bg .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}


.why ul,
.types ul {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.why li,
.types li {
  background: #eaf7f9;
  margin: 10px 0;
  padding: 12px;
  border-left: 5px solid #007B8A;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 20px;
  border: 1px solid #ccc;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border-left: 5px solid #007B8A;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.grille {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.temoignage {
  background-color: #f9f9f9;
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 5px solid #00A8A3;
}

.why-pyramid {
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
}

.why-pyramid h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #222;
}

.why-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.why-card {
  background-color: white;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 280px;
  flex: 1;
  transition: transform 0.2s ease;
}

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

.why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
  color: #007B8A;
}

.why-card p {
  font-size: 1.05em;
  color: #333;
  line-height: 1.4;
}

/* Responsive ajusté */
@media (max-width: 768px) {
  .why-row {
    flex-direction: column;
    align-items: center;
  }
}

.why-icon {
  display: block;
  margin: 0 auto 15px;
  width: 48px;
  height: 48px;
}

.solutions {
  background-color: #303c54;
  color: white;
  padding: 80px 20px;
}

.solutions-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 60px;
  color: white;
}

/* Applique bien le blanc dans les blocs */
.solution-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  color: white;
}

.solution-block.reverse {
  flex-direction: row-reverse;
}

.solution-text {
  flex: 1;
  color: white;
  /* ← très important ici */
}

.solution-text h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: white;
}

.solution-text p {
  font-size: 1em;
  line-height: 1.6;
  color: white;
}

.image-wrapper {
  flex: 1;
  position: relative;
  max-width: 500px;
}

.image-wrapper img {
  width: 100%;
  display: block;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.image-background {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 100%;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}





.accompagnement {
  background-color: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.accompagnement h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #222;
}

.accompagnement .intro {
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.accompagnement-escalier {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.accompagnement-item {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px 15px;
  width: 200px;
  text-align: center;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.2s;
  position: relative;
}

.accompagnement-item:hover {
  transform: translateY(-5px);
}

.accompagnement-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

/* Escalier visuel */
.level-1 {
  height: 190px;
  margin-top: 100px;
}

.level-2 {
  height: 220px;
  margin-top: 80px;
}

.level-3 {
  height: 260px;
  margin-top: 60px;
}

.level-4 {
  height: 300px;
  margin-top: 40px;
}

.level-5 {
  height: 340px;
  margin-top: 20px;
}

.accompagnement-item h3 {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.accompagnement-item p {
  font-size: 0.95em;
  line-height: 1.4;
}










.cas {
  background-color: #303c54;
  padding: 80px 20px;
  text-align: center;
}

.cas h2 {
  color: white;
  margin-bottom: 50px;
  font-size: 2em;
}

.temoignage {
  background-color: #38445e;
  color: white;
  margin: 20px auto;
  padding: 25px 30px;
  border-left: 5px solid #00A8A3;
  max-width: 800px;
  text-align: left;
  border-radius: 8px;
}

.temoignage h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.temoignage p {
  line-height: 1.6;
  font-size: 1em;
}


/*------------------------------------
  CSS pour la page "Expert"
-------------------------------------*/
.expert-libre {
  background-color: #f7f7f7;
  padding: 60px 20px;
}

.expert-hero-bg {
  background: url('../img/image8.png') no-repeat center/cover;
  position: relative;
  color: white;
  text-align: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.quote-block {
  flex: 1;
  max-width: 400px;
  text-align: left;
}

.quote-block blockquote {
  font-size: 1.3em;
  font-style: italic;
  color: #007B8A;
  border-left: 4px solid #007B8A;
  padding-left: 15px;
  margin-top: 20px;
}

.text-block {
  flex: 1;
  max-width: 600px;
  text-align: left;
  font-size: 1.05em;
  line-height: 1.6;
}



.section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

.section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
  line-height: 1.6;
}

.benefits ul {
  list-style: none;
  max-width: 700px;
  margin: 30px auto;
  padding: 0;
  text-align: center;
}

.benefits li {
  background: #eaf7f9;
  margin: 10px 0;
  padding: 12px;
  border-left: 5px solid #007B8A;
  font-size: 1.05em;
}

.solutions-expert {
  background-color: #303c54;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.solutions-expert h2 {
  color: white;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  color: #333;
  padding: 20px;
  border: 1px solid #ccc;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  border-left: 5px solid #007B8A;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

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

.cta-zone {
  background-color: #007B8A;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.cta-zone {
  background-color: #353c54;
  color: white;
  text-align: center;
  padding: 40px 20px;
}


.cta {
  background-color: white;
  color: #353c54;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.cta:hover {
  background-color: #2b3146;
  color: white;
}



@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

/*QUI SOMME NOUS*/
/* Bandeau principal */
.who-hero {
  background: url('../img/image10.png') no-repeat center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.who-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.who-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.who-hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.who-hero p {
  font-size: 1.3em;
}

/* Intro avec image + texte */
.who-intro {
  background-color: #f4f4f4;
  padding: 80px 20px;
}

.who-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.who-text {
  flex: 1;
}

.who-text h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #222;
}

.who-text p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333;
}

.who-image {
  flex: 1;
  text-align: center;
}

.who-image img {
  max-width: 100%;
  border-radius: 10px;
}

/* Vision */
.who-vision {
  background-color: #303c54;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.who-vision h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.vision-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.vision-card {
  background: white;
  color: #333;
  padding: 30px 20px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vision-card img {
  height: 60px;
  margin-bottom: 15px;
}

.vision-card h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.vision-card p {
  font-size: 1em;
  line-height: 1.5;
}

/* Call to action */
.who-call {
  background: #007B8A;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.who-call h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.who-call p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.who-call .cta {
  background-color: white;
  color: #007B8A;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s;
}

.who-call .cta:hover {
  background-color: #e0f7f9;
}

/* Responsive */
@media (max-width: 768px) {
  .who-grid {
    flex-direction: column;
  }

  .vision-cards {
    flex-direction: column;
    align-items: center;
  }
}

/*                  contact                            */

/* Hero Contact */
.contact-hero {
  background: linear-gradient(135deg, #303c54, #007B8A);
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
}

.contact-hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.contact-hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: auto;
}

/* Section principale en plein écran */
.contact-main {
  background-color: #f4f7fa;
  padding: 80px 20px;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

.contact-form h2 {
  color: #303c54;
  font-size: 1.6em;
  margin-bottom: 30px;
  text-align: center;
}

/* Formulaire */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007B8A;
  outline: none;
}

/* Bouton */
.contact-form .cta {
  background-color: #353c54;
  color: white;
  font-weight: bold;
  padding: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form .cta:hover {
  background-color: #007B8A;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form {
    padding: 30px 20px;
  }
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-infos {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  flex: 1;
}

.contact-infos h2 {
  color: #303c54;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.contact-infos p {
  font-size: 1.05em;
  margin-bottom: 12px;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 0 15px;
  }

  .contact-infos,
  .contact-form {
    max-width: 100%;
  }
}

.contact-main.contact-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 80px 5%;
  background-color: #f4f7fa;
}

.contact-infos-side.left {
  background-color: #353c54;
  color: white;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 300px;
  flex-shrink: 0;
}

.contact-infos-side.left h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.contact-infos-side.left p {
  font-size: 1em;
  line-height: 1.6;
}

/* Formulaire */
.ligne-resultat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  font-size: 1em;
  color: #333;
}

.label {
  flex: 1;
  text-align: left;
}

.value {
  flex: 0 0 120px;
  text-align: right;
  font-weight: bold;
  font-family: 'Courier New', monospace;
}

.ligne-resultat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  font-size: 1em;
  color: #333;
}

.label {
  flex: 1;
  text-align: left;
}

.value {
  flex: 0 0 120px;
  text-align: right;
  font-weight: bold;
  font-family: 'Courier New', monospace;
}

.contact-hero h1 {
  margin-top: 40px;
}

.contact-form-wide {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
}

.contact-form-wide form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wide input,
.contact-form-wide textarea {
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background-color: #fff;
  transition: border 0.3s;
}

.contact-form-wide input:focus,
.contact-form-wide textarea:focus {
  border-color: #007B8A;
  outline: none;
}

.contact-form-wide .cta {
  background-color: #353c54;
  color: white;
  font-weight: bold;
  padding: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form-wide .cta:hover {
  background-color: #007B8A;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-main.contact-flex {
    flex-direction: column;
    padding: 60px 20px;
  }

  .contact-infos-side.left,
  .contact-form-wide {
    width: 100%;
    max-width: 100%;
  }
}

/*simulateur!!!*/
.simulateur-page {
  background-color: #303c54;
  color: white;
}

.simulateur-hero {
  background: linear-gradient(135deg, #303c54, #007B8A);
  color: white;
  padding: 100px 20px 60px;
  text-align: center;
  font-size: 1.5em;
}

.simulateur-main {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.simulateur-hero h1 {
  margin-top: 90px;
}


.double-form {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.form-bloc {
  background-color: white;
  color: #222;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
}

.form-bloc h2 {
  margin-bottom: 20px;
  color: #303c54;
}

.form-bloc form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-bloc input {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.form-bloc .cta {
  background-color: #007B8A;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-bloc .cta:hover {
  background-color: #005f66;
}

.resultat-box {
  background-color: #f0f0f0;
  padding: 20px;
  margin-top: 25px;
  border-radius: 8px;
  color: #000;
  display: none;
}

.resultat-box.visible {
  display: block;
}