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

/* Message d'erreur ou absence de données */
.no-data {
  text-align: center;
  padding: 2rem;
  margin: 2rem auto;
  background-color: #f8f9fa;
  border-radius: 8px;
  max-width: 600px;
}

.no-data p {
  color: #6c757d;
  font-size: 1.1rem;
}

/* Variables de couleur (adaptées à la palette CFIC) */
:root {
  --primary-color: #004225; /* Vert foncé */
  --secondary-color: #bfa06b; /* Doré */
  --accent-color: #29C089; /* Doré */
  --white: #ffffff;
  --transition-speed: 0.3s;
}

/* Corps */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: var(--white);
  padding-top: 70px; /* Compensation pour header fixe */
}

/* En-tête */
header {
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 0 0 10px 10px;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  max-height: 50px;
  border-radius: 4px;
}

/* Navigation */
nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.cta {
  border: 2px solid var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: var(--primary-color);
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8px 0 10px 0;
    cursor: pointer;
  }

/* Barres du menu */
.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
  }
  
  /* Placement initial des barres */
  .menu-toggle .bar:nth-child(1) {
    transform: translateY(-7px);
  }
  .menu-toggle .bar:nth-child(2) {
    transform: translateY(0);
  }
  .menu-toggle .bar:nth-child(3) {
    transform: translateY(7px);
  }
  
  /* Transformation en "X" */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

/* Section Héro */
.hero {
  height: 100vh;
  background: url("../images/banner1.png") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 66, 37, 0.5);
  animation: fadeIn 1s ease-out forwards;
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 800px;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-content a.cta {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color var(--transition-speed),
    color var(--transition-speed);
}

.hero-content a.cta:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Section Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1rem 1rem;
  background-color: var(--white);
  text-align: center;
}

.feature {
  flex: 1 1 300px;
  margin: 1rem;
  padding: 1rem;
  transition: transform var(--transition-speed);
}

.feature img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.feature h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 1rem;
}

.feature:hover {
  transform: translateY(-10px);
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* index - Section CTA */
.cta-section {
  padding: 2rem 1.5rem;
  margin: 2rem auto;
  text-align: center;
  max-width: 1000px;
}

.cta-container {
  border: 2px solid #BFA06B;
  padding: 2rem;
  border-radius: 12px;
  background-color: transparent;
  color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 66, 37, 0.05);
}

.cta-container h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.cta-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #BFA06B;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #e0c295;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem .5rem 0;
    margin: 0 1rem;
    text-align: center;
    max-width: 1000px;
  }
}

/* Section Héro Services */
.services-hero-bg{
  background: url("../images/nos_services1.png") no-repeat center center/cover;
}

.services-hero {
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 66, 37, 0.6);
  animation: fadeIn 1s ease-out forwards;
}

.services-hero .hero-content {
  position: relative;
  color: var(--white);
  max-width: 800px;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

.services-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.services-hero .hero-content p {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }
  .cta-section p {
    font-size: 1rem;
  }
}

/* Tunnel hero */
.tunnel-hero-bg{
  background: url("../images/welcome1.jpg") no-repeat center center/cover;
  height: 59vh;
}

/* Section Héro "À Propos" */
.about-hero {
    height: 50vh;
    background: url("../images/about1.png") no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 66, 37, 0.6);
    animation: fadeIn 1s ease-out forwards;
  }
  
  .about-hero .hero-content {
    position: relative;
    color: var(--white);
    max-width: 800px;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease-out 0.5s forwards;
  }
  
  .about-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .about-hero .hero-content p {
    font-size: 1.2rem;
  }
  
/* Section Valeurs dans A Propos*/
.values {
    width: 90%;
    max-width: 1200px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .value-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  /* Alterne l'ordre pour un effet zigzag */
  .value-section:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .value-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }
  
  .value-text {
    flex: 1;
  }
  
  .value-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .value-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }
  
  /* Responsive pour petits écrans */
  @media (max-width: 768px) {
    .value-section {
        flex-direction: column !important;
        text-align: center;
      }
      .value-image img {
        max-width: 100%;
      }
      .value-text h2 {
        font-size: 1.75rem;
      }
      .value-text p {
        font-size: 0.95rem;
      }
  }
  
/* Responsive Design */
@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero {
    height: 40vh; /* Réduction de la hauteur sur mobile */
    background-attachment: scroll; /* Désactivation du parallax si présent */
    padding: 2rem 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* services - Section Services */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 1rem 4rem;
  background-color: var(--white);
}

.service-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 1rem;
  padding: 2rem;
  width: calc(33% - 2rem);
  max-width: 350px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed),
  box-shadow var(--transition-speed);
  text-align: center;
  cursor: pointer;
}

.service-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.service-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .footer-content {
    justify-content: space-between;
    text-align: center;
  }
}

.footer-logo img {
  width: 130px;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.footer-logo p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  flex: 1;
}

.footer-offices h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #BFA06B;
  margin-bottom: 0.5rem;
}

.footer-offices p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-newsletter {
  border-top: 1px solid #BFA06B;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-newsletter input[type="email"] {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: none;
  width: 250px;
  color: var(--primary-color);
}

.footer-newsletter button {
  background-color: #BFA06B;
  color: var(--primary-color);
  font-weight: bold;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background-color: #e0c295;
}

.footer-copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #BFA06B;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: nowrap;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px;
    right: 0;
    background-color: var(--primary-color);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 999;
    padding: 0 30px;
  }

  .nav-links.open {
    display: flex;
    max-height: 500px; /* ajustable selon le nombre de liens */
    opacity: 1;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .menu-toggle {
    display: flex;
    margin-right: 10px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
  }

  .services-hero .hero-content h1 {
    font-size: 2rem;
  }

  .services-hero .hero-content p {
    font-size: 1rem;
  }

  .service-card {
    width: calc(50% - 2rem);
  }

  .about-hero {
    height: 50vh;
    background: url("../images/about1.png") no-repeat center 28% / cover;
  }
}

@media (max-width: 768px) {
  .service-card {
    width: calc(50% - 2rem);
  }
}

@media (max-width: 480px) {
  .service-card {
    width: 100%;
    margin: 1rem 0;
  }
}

/* Section Héro Formations */
.formations-hero {
  height: 50vh;
  background: url("../images/formations1.png") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Section Héro pour Contact */
.contact-hero {
  height: 50vh;
  background: url("../images/contact2.png") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 66, 37, 0.5);
  animation: fadeIn 1s ease-out forwards;
}

.contact-hero .hero-content {
  position: relative;
  color: var(--white);
  z-index: 1;
  animation: slideUp 1s ease-out 0.5s forwards;
}

.contact-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-hero .hero-content p {
  font-size: 1.2rem;
}

/* Section Contact */
.contact-section {
  padding: 4rem 1rem;
  background-color: var(--white);
  color: #333;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info,
.contact-form {
  flex: 1;
  padding: 1rem;
}

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  padding: 0.75rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.contact-form button:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-locations {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location {
  background-color: var(--white);
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.location h3 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.location p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.location a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.location a:hover {
  color: var(--secondary-color);
}

/* Pour les petits écrans, le contenu reste vertical par défaut */
@media (max-width: 768px) {
  .location h3 {
    font-size: 1.5rem;
  }
  .location p {
    font-size: 0.95rem;
  }
}

/* Responsive Design pour Contact */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  /* Section Contact */
  .contact-section {
    padding: 1rem 1rem;
  }
}

/* Section Carte Map */
.contact-map {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
}

.contact-map h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 8px;
}

/* Pour les petits écrans, on peut réduire la hauteur de la carte */
@media (max-width: 768px) {
  .contact-map iframe {
    height: 400px;
  }
}

/* Section Héro Service (Conformité Réglementaire et Agréments) */
.service-hero {
  position: relative;
  height: 50vh;
  background: url("../images/audit_conformite1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.audit-hero{
  padding-top: 2.5rem;
}

.audit-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 66, 37, 0.5);
  animation: fadeIn 1s ease-out forwards;
}

.audit-hero .hero-content {
  position: relative;
  color: var(--white);
  max-width: 800px;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

.audit-hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.audit-hero .hero-content p {
  font-size: 1.2rem;
}

/* Section Détails du Service */
.service-details {
  padding: 1rem 1rem;
  background-color: var(--white);
  color: #333;
}

.service-details .container {
  max-width: 800px;
  margin: 1rem auto;
}

.service-details h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.service-details p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.service-payment {
  text-align: center;
  margin-top: 2rem;
}

.service-payment .cta {
  display: inline-block;
  text-decoration: none;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.service-payment .cta:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .audit-hero .hero-content h1 {
    font-size: 2.5rem;
  }
  .audit-hero .hero-content p {
    font-size: 1rem;
  }
  .service-details h2 {
    font-size: 1.75rem;
  }
  .service-details p {
    font-size: 0.95rem;
  }

  .service-details {
    padding: 2rem 1rem 0;
  }
}

/* require marks */
.required {
  color: #c00;
  font-weight: bold;
  font-size: 0.85em;
  vertical-align: baseline;
  margin-left: 2px;
}

/* Section Héro Service (Pilotage et reporting) */
.pilotage-hero {
  position: relative;
  height: 50vh;
  background: url("../images/conseil2.jpeg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Section Héro Service (Comptabilite et audit financier) */
.comptabilite-audit {
  position: relative;
  height: 50vh;
  background: url("../images/expert_comptable1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Section Héro creation-structuration-societe */
.creation-structuration-societe {
  position: relative;
  height: 50vh;
  background: url("../images/creation_entreprise1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Section Héro finance-inclusive-td */
.finance-inclusive-td {
  position: relative;
  height: 50vh;
  background: url("../images/transformation_digitale1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.financement-structure{
  position: relative;
  height: 50vh;
  background: url("../images/levee_de_fond1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* slide-in-title */
.slide-in-title {
  text-align: center;
  padding: .5rem 1rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.slide-in-title h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color); /* Vert foncé */
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
}

.slide-in-title h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 4px;
  background: var(--secondary-color); /* Doré doux */
  margin: 0.5rem auto 0;
  border-radius: 2px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 50%;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .slide-in-title h2 {
    font-size: 2.5rem;
  }
}

.partenaires-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.partenaires-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.logo-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.logo-carousel::-webkit-scrollbar {
  display: none;
}
.logo-carousel {
  scrollbar-width: none;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  padding: 1rem 0;
  animation: scrollLogos 20s linear infinite;
}

.carousel-track img {
  height: 150px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: filter 0.3s ease;
}

.carousel-track img:hover {
  filter: none;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.honorary-step-number {
  font-size: 2.5rem;
  color: #00664b;
  background-color: #e6f2ee;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 1rem auto;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 102, 75, 0.15);
}

/* ==============================================
   NOTIFICATION MODAL STYLES
   ============================================== */
.notification-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.notification-modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 95%;
  max-height: 85vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem 1.25rem 1rem;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.modal-header.success {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-bottom-color: #a5d6a7;
}

.modal-header.error {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  border-bottom-color: #ef9a9a;
}

.modal-header.warning {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-bottom-color: #ffcc80;
}

.modal-icon {
  display: none; /* Pas d'emoji */
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.modal-body {
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  flex: 1;
  line-height: 1.6;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

.modal-body .info-box,
.modal-body .warning-list,
.modal-body .contact-info {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid var(--secondary-color);
}

.modal-body ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid #eee;
}

.modal-close-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #BFA06B;
  color: #fff;
  font-weight: 600;
  transition: background 0.3s ease;
}

.modal-close-btn:hover {
  background-color: #004225;
  color: #fff;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    max-width: 95%;
    max-height: 90vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  .modal-title {
    font-size: 1.1rem;
  }
}
