/* ==========================================
   EXCCA — STYLES PAGE ACCUEIL
========================================== */

/* ---- HERO AMÉLIORÉ ---- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge { animation: fadeInUp 1s ease 0.2s both; }
.hero h1 { animation: fadeInUp 1s ease 0.4s both; }
.hero p { animation: fadeInUp 1s ease 0.6s both; }
.hero-btns { animation: fadeInUp 1s ease 0.8s both; }

/* ---- CHIFFRES CLÉS ---- */
.chiffres-grid { gap: 40px; }

.chiffre-item {
  position: relative;
  padding: 30px 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.chiffre-item:hover { transform: translateY(-5px); }

.chiffre-item:nth-child(odd)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--rouge);
  border-radius: 2px;
}

.chiffre-item:nth-child(even)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--vert);
  border-radius: 2px;
}

.chiffre-item .nombre { font-size: 56px; }

/* ---- SERVICES APERÇU ---- */
.services-apercu { background: var(--gris-clair); }
.services-grid { grid-template-columns: repeat(2, 1fr); }

.service-card { position: relative; overflow: hidden; }

.service-card .icone {
  width: 64px;
  height: 64px;
  background: rgba(200,16,46,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-card:hover .icone { background: rgba(200,16,46,0.15); }

/* ---- POURQUOI NOUS CHOISIR ---- */
.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.pourquoi-card {
  background: var(--blanc);
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid var(--gris-border);
  box-shadow: var(--ombre);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pourquoi-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pourquoi-card:nth-child(even)::before { background: var(--vert); }

.pourquoi-card:hover::before { transform: scaleX(1); }

.pourquoi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ombre-hover);
  border-color: transparent;
}

.pq-icone {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.pourquoi-card:hover .pq-icone { transform: scale(1.1) rotate(5deg); }

.pourquoi-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pourquoi-card p {
  font-size: 14px;
  color: var(--gris-texte);
  line-height: 1.8;
}

/* ---- CITATION DG ---- */
.citation-section {
  background: var(--noir);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.citation-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--vert), var(--rouge));
  background-size: 200%;
  animation: gradientSlide 3s linear infinite;
}

.citation-section::after {
  content: '"';
  position: absolute;
  right: 5%;
  bottom: -20px;
  font-family: 'Playfair Display', serif;
  font-size: 300px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.citation-section blockquote,
.citation-section strong,
.citation-section span {
  color: var(--blanc) !important;
}

.citation-inner {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.citation-guillemet {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
 color: var(--vert);
  line-height: 0.6;
  margin-bottom: 24px;
  opacity: 0.9;
}

.citation-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--blanc);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 40px;
  border-left: none;
  padding: 0;
}

.citation-auteur {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 14px 28px;
}

.citation-auteur-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--rouge);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.citation-auteur-texte strong {
  display: block;
  color: var(--blanc);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  text-align: left;
}

.citation-auteur-texte span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-align: left;
}

.citation-ligne {
  width: 40px;
  height: 2px;
  background: var(--rouge);
  flex-shrink: 0;
}

/* ---- SECTEURS TAGS ---- */
.secteurs-apercu { background: var(--gris-clair); }

.secteurs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.secteur-tag {
  background: var(--blanc);
  border: 2px solid var(--gris-border);
  color: var(--noir);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--ombre);
}

.secteur-tag:hover {
  background: var(--rouge);
  border-color: var(--rouge);
  color: var(--blanc);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.25);
}

.secteur-tag:nth-child(even):hover {
  background: var(--vert);
  border-color: var(--vert);
  box-shadow: 0 8px 24px rgba(45,106,79,0.25);
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--blanc);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(200,16,46,0.04);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: rgba(45,106,79,0.04);
  border-radius: 50%;
}

.cta-section h2,
.cta-section p,
.cta-section div {
  position: relative;
  z-index: 1;
}

/* ---- CAROUSEL ACCUEIL ---- */
.confiance-section { overflow: hidden; }

.carousel-wrapper-home {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  width: 100%;
}

.carousel-wrapper-home::before,
.carousel-wrapper-home::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper-home::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.carousel-wrapper-home::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.carousel-track-home {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  animation: scrollLogosHome 35s linear infinite;
  width: max-content;
}

.carousel-track-home:hover {
  animation-play-state: paused;
}

@keyframes scrollLogosHome {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item-home {
  flex: 0 0 160px;
  width: 160px;
  height: 90px;
  background: var(--blanc);
  border: 2px solid var(--gris-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--ombre);
}

.logo-item-home:hover {
  border-color: var(--rouge);
  box-shadow: 0 8px 24px rgba(200,16,46,0.15);
  transform: translateY(-5px);
}

.logo-item-home img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pourquoi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .chiffre-item .nombre { font-size: 42px; }
  .services-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .citation-inner blockquote { font-size: 18px; }
  .citation-guillemet { font-size: 60px; }
  .citation-auteur { flex-direction: column; text-align: center; border-radius: 16px; }
  .citation-auteur-texte strong,
  .citation-auteur-texte span { text-align: center; }
}