/* Styles spécifiques à l'accueil FR */

.hero {
  background-image: url('../img/header.png');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 1.25rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(125, 180, 108, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(74, 124, 89, 0.12) 0%, transparent 60%);
  animation: pulse-subtle 6s ease-in-out infinite;
}

@keyframes pulse-subtle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-content {
  max-width: 900px;
  display: grid;
  gap: 1.25rem;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-visual-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(74, 124, 89, 0.25), transparent 60%);
  pointer-events: none;
}

.hero-publications {
  position: relative;
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-books {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.book-card {
  background: #f5f7f2;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.book-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.6rem, 3vw + 1rem, 4rem);
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.3rem;
  margin: 0;
  opacity: 0.92;
  line-height: 1.6;
}

.subtitle {
  margin: 0;
  font-size: 1rem;
  opacity: 0.75;
  font-style: italic;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cta-primary,
.cta-secondary,
.cta-formation {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-primary {
  background: #ffffff;
  color: #1a3a2e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cta-secondary {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 10px;
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  opacity: 0.85;
  font-size: 0.95rem;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #1a3a2e;
  font-weight: 700;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #4a4a4a;
  margin: 0 auto 3rem;
  max-width: 780px;
  line-height: 1.7;
}

.section-compact {
  padding: 70px 0;
}

section {
  padding: 100px 0;
}

.cta-section {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-section h3 {
  color: #ffffff;
  font-size: 2rem;
  margin: 0 0 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem;
}

.why-clients {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.why-card {
  background: #ffffff;
  padding: 1.8rem 1.5rem;
  border-left: 3px solid #2c5530;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.why-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #1c4c3b;
}

.clients-early {
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 80px 0;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0 1rem;
}

.cac-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(44, 85, 48, 0.25);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 3rem 0;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll 10s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

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

.client-logo {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.2rem 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  color: #2c5530;
  white-space: nowrap;
}

.testimonials-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.testimonial {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1.6rem;
  border-left: 4px solid #2c5530;
  border-radius: 12px;
}

.testimonial-author {
  font-weight: 700;
  color: #2c5530;
}

.testimonial-role {
  color: #555;
  font-size: 0.9rem;
}

.problems-grid,
.services-grid,
.insights-grid,
.media-mentions,
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.insights-pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.insights-pagination button {
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #ffffff;
  color: #0f172a;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.insights-pagination button.active {
  background: #1a3a2e;
  color: #ffffff;
  border-color: #1a3a2e;
}

.insights-pagination button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.9);
}

.problem-card,
.service-card,
.insight-card,
.media-card,
.team-member,
.expertise-item,
.form-container {
  background: #ffffff;
  padding: 1.8rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.form-intro {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.data-note {
  margin-bottom: 1.5rem;
  max-width: 640px;
  font-size: 0.95rem;
  color: #2f3b33;
}

.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.checkbox-label input {
  margin: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
}

.checkbox-label span {
  display: inline-block;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.checkbox-group label {
  width: auto;
}

.consent-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.consent-row label {
  margin-bottom: 0;
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.insight-card-media {
  margin-bottom: 1rem;
}

.insight-card-media img {
  width: 100%;
  height: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 10px;
  padding: 0.25rem;
  background: #f7f7f7;
}

.insight-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.insight-card-body p {
  margin: 0;
}

.insight-ref {
  font-size: 0.9rem;
  color: #5c6d66;
  display: block;
}

.problem-card ul {
  list-style: disc;      /* points */
  padding-left: 2rem;    /* décale plus à droite */
  margin: 0;
}

.problem-card li {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;      /* points un peu plus gros */
}

.problem-card li::marker {
  font-size: 1.4rem;      /* taille du point */
  color: #2c5530;
}


.services {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/chemine.png") center/cover no-repeat;
  opacity: 0.1; /* 99% transparent */
  pointer-events: none;
  z-index: 0;
}

.services > * {
  position: relative;
  z-index: 1;
}




.service-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.differentiators {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.differentiators::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/bibli.png") center/cover no-repeat;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

.differentiators > * {
  position: relative;
  z-index: 1;
}


.diff-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.diff-tab {
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  border: 2px solid #2c5530;
  background: transparent;
  color: #2c5530;
  cursor: pointer;
  font-weight: 700;
}

.diff-tab.active,
.diff-tab:hover {
  background: #2c5530;
  color: #ffffff;
}

.diff-content {
  display: none;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.diff-content.active {
  display: block;
}

.role-solutions {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.equidistance-note {
  text-align: center;
  font-style: italic;
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.role-accordion {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.role-item {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
}

.role-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.role-item.active .role-content {
  max-height: 600px;
}

.role-content-inner {
  padding: 1.4rem;
  line-height: 1.7;
}

.role-benefits {
  margin-top: 0.8rem;
  font-weight: 700;
  color: #1a3a2e;
}

.formation-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.formation-header {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
  padding: 2.5rem;
  text-align: center;
}

.formation-badge {
  display: inline-block;
  background: #ffffff;
  color: #2c5530;
  padding: 0.4rem 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.formation-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.concepts-list,
.concept-list,
.form-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-box {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.price {
  font-size: 2rem;
  margin: 0;
}

.formation-specs {
  border: 1px solid #e8e8e8;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.formation-schedule {
  padding: 2rem;
  border-top: 1px solid #f0f0f0;
}

.schedule-section h4 {
  text-align: center;
  margin-top: 0;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.date-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
}

.formation-cta-container {
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
  padding: 2rem;
  text-align: center;
}

.cta-formation {
  background: #ffffff;
  color: #2c5530;
  margin-top: 0.8rem;
}

.insights {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.insight-badge {
  display: inline-block;
  background: #2c5530;
  color: #ffffff;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.insight-ref {
  font-weight: 700;
  color: #1a3a2e;
  margin-top: 0.8rem;
}

.media-card {
  border-left: 3px solid #2c5530;
}

.team {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.team::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("/assets/img/tableau.png") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.team > * {
  position: relative;
  z-index: 1;
}


.team-member h3 {
  margin-top: 0;
  color: #1a3a2e;
}

.qualifications ul {
  padding-left: 1rem;
}

.expertise {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

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

.contact-form-section {
  background: #ffffff;
}

.form-container {
  border-radius: 18px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-group label.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d0d0d0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
  color: #ffffff;
  border: none;
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form-section .btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.5);
  background-color: #fff;
}

.contact-form-section .robot-cta {
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  border-color: #0f172a;
  background-color: #fefefe;
  color: #06220f;
  box-shadow: 0 10px 20px rgba(6, 34, 15, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.contact-form-section .robot-cta i {
  font-size: 1.25rem;
}

.contact-form-section .robot-cta:hover,
.contact-form-section .robot-cta:focus-visible {
  background: linear-gradient(135deg, #3ddf78, #44c7a4);
  color: #04130c;
  border-color: #04130c;
  box-shadow: 0 16px 30px rgba(63, 221, 120, 0.45);
  transform: translateY(-2px) rotate(-0.5deg) scale(1.02);
  animation: robot-pulse 1.8s ease-in-out infinite;
}

.contact-form-section .robot-cta:focus-visible {
  outline: 3px solid rgba(63, 221, 120, 0.6);
  outline-offset: 2px;
}

.contact-form-section .robot-cta .fi-xtpuxl-robot {
  transition: transform 0.35s ease;
}

.contact-form-section .robot-cta:hover .fi-xtpuxl-robot {
  transform: scale(1.05) translateY(-1px);
}

@keyframes robot-pulse {
  0% {
    box-shadow: 0 12px 28px rgba(63, 221, 120, 0.3);
  }
  50% {
    box-shadow: 0 18px 32px rgba(63, 221, 120, 0.5);
    transform: translateY(-3px) scale(1.03);
  }
  100% {
    box-shadow: 0 12px 24px rgba(63, 221, 120, 0.4);
    transform: translateY(-2px) scale(1.01);
  }
}

.contact-direct {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
  .hero {
    padding: 1rem 0 3rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 520px);
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0.85rem 0 2.6rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

.hero-layout {
    display: flex;
    flex-direction: column;
  }

.hero-content {
    order: 1;
  }

.hero-visual {
    order: 2;
  }

  .cta-primary,
  .cta-secondary {
  text-align: center;
}

.section-title {
  font-size: 2rem;
}

  .why-grid,
  .testimonials-compact,
  .problems-grid,
  .services-grid,
  .insights-grid,
  .media-mentions,
  .team-grid,
  .expertise-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

.carousel-track {
  animation-duration: 80s;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 6, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 999;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-dialog {
  background: #0c1c13;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  max-width: 640px;
  width: min(90%, 640px);
  text-align: center;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
  width: 100%;
  height: auto;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
}
}
