/* ===========================
   VARIABLES GLOBALES
   =========================== */
:root {
  /* ==========================
     ALOMAYJOB COMPETENCES THEME
     (palette derivee du logo)
     ========================== */
  /* Couleurs marque (turquoise + orange) */
  --eureka-bleu: #2AA6A9;        /* turquoise principal */
  --eureka-bleu-fonce: #1F8F92;  /* turquoise profond */
  --eureka-bleu-ui: #2AA6A9;     /* accent UI */
  --eureka-dore: #F57C00;        /* orange marque */
  --eureka-dore-ui: #F57C00;     /* underline + accents */
  --texte-principal: #1f2933;
  --texte-muted: #4b5563;
  --fond-clair: #f9fafb;
  --fond-bleu-pastel: #ECF8F8;   /* fond doux teinte turquoise */
  --border: #e5e7eb;
  --border-soft: #d1d5db;

  --container-max: 1200px;

  --radius-lg: 18px;
  --radius-xl: 24px;

  --transition-base: 0.2s ease;
}

html { scroll-behavior: smooth; }

/* ===========================
   RESET SIMPLE
   =========================== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--texte-principal);
  background-color: #ffffff;
  line-height: 1.5;
}

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

/* Focus accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(42, 166, 169, 0.35);
  outline-offset: 2px;
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--eureka-bleu-fonce);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ===========================
   LAYOUT GÉNÉRAL
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   HEADER + NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Bande nav semi-transparente (logo/menu restent nets) */
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Header : logo + menu alignés sur la même ligne */
.header-inner,
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none; /* supprime tout soulignement */
}

.logo-img { height: 55px; width: auto; }

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--eureka-bleu-ui);
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b7280;
}

/* Nav desktop */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texte-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.main-nav a:hover { color: var(--eureka-bleu); }

.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: var(--eureka-bleu);
  border-color: var(--eureka-dore);
}

/* ===== MENU MOBILE (toggle + class .open) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--eureka-bleu-fonce);
  border-radius: 10px;
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  /* Le conteneur sert d'ancrage pour la carte */
  .header-inner { position: relative; }

  /* Menu mobile en "carte" arrondie (popover) */
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    width: min(340px, calc(100vw - 28px));

    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);

    padding: 10px;

    /* caché par défaut */
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(42, 166, 169, 0.10);
  }
}

/* ===========================
   HERO CANDIDAT
   =========================== */
.hero { padding: 40px 0 48px; }

.hero-candidat {
  background: radial-gradient(circle at top left, #E6F6F6, #ffffff);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--eureka-dore);
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 3rem);
  line-height: 1.2;
  color: var(--eureka-bleu-fonce);
  margin: 0 0 10px;
}

.hero-text {
  margin: 0 0 20px;
  font-size: 0.98rem;
  color: var(--texte-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Image hero */
.hero-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}


/* ===============
   MODAL
====================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.modal-dialog {
  position: relative;
  max-width: 520px;
  width: calc(100% - 2rem);
  margin: 6vh auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modal-title {
  margin: 0 0 0.25rem 0;
}

.modal-subtitle {
  margin: 0 0 1rem 0;
  opacity: 0.85;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.06);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.modal-link {
  text-decoration: underline;
}

.modal-error {
  margin-top: 0.75rem;
  color: #b42318;
  min-height: 1.2em;
}

/* Empêche le scroll derrière le modal */
body.modal-open {
  overflow: hidden;
}

/* Spinner du bouton login (reprend ton pattern) */
#login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

#login-btn .btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 1);
  border-radius: 999px;
  display: none;
  animation: spin 0.8s linear infinite;
}

#login-btn.is-loading .btn-spinner {
  display: inline-block;
}

#login-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ===========================
   BOUTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.btn-primary {
  /* CTA principal en orange (couleur du logo) */
  background-color: var(--eureka-dore-ui);
  color: #ffffff;
  border-color: var(--eureka-dore-ui);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.btn-primary:hover {
  background-color: #D96C00;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--eureka-bleu);
  border-color: var(--eureka-bleu);
}
.btn-outline:hover {
  background-color: var(--eureka-bleu);
  color: #ffffff;
}

/* ===========================
   SECTION TITRES (trait doré)
   =========================== */
.section-title {
  position: relative;
  padding-bottom: 8px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--eureka-dore-ui);
  border-radius: 3px;
}

/* ===========================
   SECTION OFFRES D'EMPLOI
   =========================== */
.section-offres {
  padding: 40px 0 56px;
  background-color: #ffffff;
}
.section-offres .section-header {
  max-width: 640px;
  margin-bottom: 24px;
}
.section-offres .section-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--eureka-bleu-fonce);
}
.section-offres .section-intro {
  margin: 0;
  font-size: 0.95rem;
  color: var(--texte-muted);
}

/* Filtres */
.offres-filtres {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1.5fr) auto;
  gap: 0.75rem;
  align-items: flex-end;
  padding: 16px;
  margin: 24px 0 16px;
  background-color: #f3f4f6;
  border-radius: 16px;
}

.filtre-champ {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filtre-champ label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.filtre-champ input,
.filtre-champ select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  outline: none;
  background-color: #ffffff;
}

.filtre-champ input:focus,
.filtre-champ select:focus {
  border-color: var(--eureka-bleu-ui);
  box-shadow: 0 0 0 2px rgba(15, 95, 255, 0.15);
}

.filtre-actions {
  display: flex;
  justify-content: flex-end;
}

/* Tags secteurs */
.secteurs-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.secteurs-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.secteurs-liste {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.secteur-tag {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 4px 12px;
  font-size: 0.8rem;
  background-color: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.secteur-tag:hover {
  border-color: var(--eureka-bleu-ui);
  color: var(--eureka-bleu-ui);
}

.secteur-tag-actif {
  background-color: var(--eureka-bleu-ui);
  border-color: var(--eureka-bleu-ui);
  color: #ffffff;
}

/* Grille des cartes */
.offres-liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Carte offre */
.offre-carte {
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.offre-carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

.offre-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.offre-titre {
  font-size: 1rem;
  margin: 0;
  color: var(--eureka-bleu-fonce);
}

.offre-localisation {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.offre-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--texte-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.offre-extrait {
  margin: 6px 0 12px;
  font-size: 0.9rem;
  color: var(--texte-muted);
}

.offre-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.offre-reference { font-size: 0.8rem; color: #9ca3af; }

.btn-offre {
  padding-inline: 14px;
  font-size: 0.85rem;
}

/* Badge secteur */
.offre-secteur-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Couleurs secteurs */
.secteur-btp { background-color: #fee2e2; color: #b91c1c; }
.secteur-admin { background-color: #dbeafe; color: #1d4ed8; }
.secteur-logistique { background-color: #dcfce7; color: #047857; }
.secteur-proprete { background-color: #f3e8ff; color: #6d28d9; }
.secteur-restauration { background-color: #fff7ed; color: #c2410c; }
.secteur-sante { background-color: #f0f9ff; color: #0369a1; }

/* Responsive offres */
@media (max-width: 1024px) {
  .offres-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offres-filtres {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  }
  .filtre-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .section-offres { padding: 32px 0 44px; }
  .offres-filtres { grid-template-columns: minmax(0, 1fr); }
  .offres-liste { grid-template-columns: minmax(0, 1fr); }
  .filtre-actions .btn { width: 100%; }
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination-btn,
.page-number {
  border: 1px solid var(--border-soft);
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.15s ease;
}

.pagination-btn:hover:not([disabled]),
.page-number:hover {
  border-color: var(--eureka-bleu-ui);
  color: var(--eureka-bleu-ui);
}

.pagination-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.pagination-pages { display: flex; gap: 6px; }

.page-number {
  padding: 6px 10px;
  min-width: 36px;
  text-align: center;
}

.page-number.active {
  background: var(--eureka-bleu-ui);
  border-color: var(--eureka-bleu-ui);
  color: #fff;
}

/* ===========================
   SECTION DÉPOSER MON CV
   =========================== */
.section-candidature {
  padding: 40px 0 56px;
  background-color: var(--fond-bleu-pastel);
  border-top: 1px solid #d4dce4;
}

.candidature-form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-bloc {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.form-bloc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--eureka-bleu-fonce);
  padding: 0 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
}

.form-field input[type="file"] {
  padding: 8px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  font-size: 0.9rem;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--eureka-bleu-ui);
  box-shadow: 0 0 0 2px rgba(15, 95, 255, 0.12);
}

.form-hint { font-size: 0.8rem; color: #6b7280; }

.form-consent {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #374151;
}
.checkbox input { margin-top: 3px; }

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.form-note { font-size: 0.8rem; color: #6b7280; margin: 0; }

@media (max-width: 768px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

/* Input file moderne */
.file-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-input-label {
  background: var(--eureka-dore-ui);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--eureka-dore-ui);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.file-input-label:hover {
  background: #ffffff;
  color: var(--eureka-dore-ui);
  border-color: var(--eureka-dore-ui);
}

.file-input-text { font-size: 0.85rem; color: var(--texte-muted); }

@media (max-width: 600px) {
  .file-input-wrapper { flex-direction: column; align-items: flex-start; }
}


/* Spinner dans le bouton */
#submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

#submit-btn .btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 1);
  border-radius: 999px;
  display: none;
  animation: spin 0.8s linear infinite;
}

#submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

#submit-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none; /* empêche double clic */
}

.candidature-form[aria-busy="true"] {
  opacity: 0.6;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===========================
   SECTION SERVICES
   =========================== */
.section-services {
  padding: 60px 0 70px;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img { transform: scale(1.08); }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--eureka-bleu-fonce);
  margin: 14px 16px 6px;
}

.service-text {
  font-size: 0.93rem;
  color: var(--texte-muted);
  line-height: 1.45;
  margin: 0 16px 20px;
}

/* Reveal on scroll */
.reveal-soft {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-soft.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-soft {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===========================
   SECTION TÉMOIGNAGES
   =========================== */
.section-temoignages {
  padding: 40px 0 56px;
  background-color: var(--fond-bleu-pastel);
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.temoignage-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.temoignage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.temoignage-text {
  margin: 0;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.55;
}

.temoignage-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.temoignage-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background-color: var(--eureka-bleu-ui);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.temoignage-nom {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--eureka-bleu-fonce);
}

.temoignage-poste {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #6b7280;
}

@media (max-width: 1024px) {
  .temoignages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .temoignages-grid { grid-template-columns: minmax(0, 1fr); }
  .section-temoignages { padding: 32px 0 44px; }
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: #0F1113;
  color: #F9FAFB;
  padding-top: 60px;
  padding-bottom: 20px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo { width: 120px; margin-bottom: 10px; }

.footer-brand p { color: rgba(249, 250, 251, 0.78); line-height: 1.6; }

.footer-nav h3,
.footer-contact h3 {
  color: var(--eureka-bleu);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li,
.footer-contact ul li { margin: 6px 0; }

.footer-nav a,
.footer-contact a {
  color: rgba(249, 250, 251, 0.92);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--eureka-dore-ui); }

.site-footer .social-links li a { color: rgba(249, 250, 251, 0.92); }
.site-footer .social-links li a:hover { color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  color: rgba(249, 250, 251, 0.72);
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a { color: var(--eureka-bleu); text-decoration: none; }
.footer-bottom a:hover { color: var(--eureka-dore-ui); }

.social-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-inline {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Taille fixe icônes sociales */
.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* =========================
   FOOTER – Liens : gras + animation
   ========================= */

.site-footer a{
  font-weight: 600;                 /* texte en gras */
  transition: 
    color .25s ease,
    transform .25s ease;
}

/* Effet au survol */
.site-footer a:hover{
  transform: translateX(4px);       /* petit déplacement */
  color: #ffffff;
}

/* ===========================
   BREAKPOINTS GÉNÉRAUX
   =========================== */
@media (min-width: 1440px) {
  .hero { padding: 56px 0 64px; }
  .hero-text { font-size: 1.05rem; }
}

@media (max-width: 1024px) {
  .hero-inner { gap: 24px; }
  .header-inner { gap: 16px; }
  .main-nav ul { gap: 18px; }
}

@media (max-width: 768px) {
  .hero { padding: 28px 0 36px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-image { order: -1; }
  .hero-actions { gap: 10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-text { font-size: 0.92rem; }
  .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   FOOTER - Mobile (1 colonne)
===================================================== */
@media (max-width: 768px) {

  .footer-grid{
    grid-template-columns: 1fr; /* plus de colonnes */
    gap: 24px;
    text-align: left;
  }

  /* ordre : brand/logo -> nav -> contact */
  .footer-brand{ order: 1; }
  .footer-nav{ order: 2; }
  .footer-contact{ order: 3; }

  /* optionnel : limiter la largeur, meilleur confort */
  .site-footer{
    padding-top: 40px;
    padding-bottom: 18px;
  }

  /* réseaux sociaux : rester sur une ligne */
  .social-inline{
    flex-wrap: wrap; /* si manque de place, passe à la ligne proprement */
    gap: 10px;
  }
}

/* =====================================================
   HERO – MOBILE : IMAGE EN BACKGROUND + TEXTE AU-DESSUS
===================================================== */
@media (max-width: 768px){

  /* Le conteneur devient le "repère" de l'image en absolute */
  .hero-inner{
    position: relative;
    grid-template-columns: 1fr;
    overflow: hidden;
    min-height: 520px; /* ajuste si besoin */
    border-radius: 18px; /* si ton hero est arrondi */
  }

  /* Image en arrière-plan */
  .hero-image{
    position: absolute;
    inset: 0;
    z-index: 0;
    order: 0 !important;      /* IMPORTANT: annule order:-1 */
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .hero-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.45);
  }

  /* Texte au-dessus */
  .hero-content{
    position: relative;
    z-index: 1;
    padding: 28px 18px;
  }

  /* Texte blanc (ce que tu voulais) */
  .hero-content,
  .hero-content h1,
  .hero-content h2,
  .hero-content p,
  .hero-content li{
    color: #ffffff !important;
  }
}





