/* ------------------------------
   Base & typographie
------------------------------ */

:root {
  --color-bg: #0b1220;        /* Bleu nuit sobre */
  --color-bg-alt: #0f172a;
  --color-surface: #111827;
  --color-accent: #e11d48;    /* Accent framboise/rouge élégant */
  --color-text: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-border: #1f2937;

  --container-width: 1120px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0%, #020617 55%);
  color: var(--color-text);
  line-height: 1.6;
}

/* Liens & textes */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn:hover {
  text-decoration: none;
}
p {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: #f9fafb;
}

/* Containers & sections */

.nav-lang a {
  font-size: 0.85rem;
}

.nav-lang a.active {
  color: #f97373;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
}

.section-header p {
  font-size: 1rem;
}

/* ------------------------------
   Header & navigation
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.8)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.main-nav a:hover {
  color: #e5e7eb;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  border-radius: var(--radius-md);
  padding: 0.3rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

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

.hero-text {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1rem;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Stats */
.hero-aside {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(30, 64, 175, 0.25)
  );
  border-radius: 24px;
  padding: 1.8rem 1.8rem 2.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #f97373;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ------------------------------
   Chiffres clés
------------------------------ */

.section-metrics {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.metric {
  text-align: center;
}

.metric-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #f97373;
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ------------------------------
   Boutons
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease-out;
}

.btn.primary {
  background: var(--color-accent);
  border-color: rgba(248, 113, 113, 0.9);
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(248, 113, 113, 0.4);
}

.btn.primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(248, 113, 113, 0.55);
}

.btn.secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn.secondary:hover {
  border-color: rgba(248, 113, 113, 0.7);
  color: #f9fafb;
}

/* ------------------------------
   Grids & cartes
------------------------------ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.7rem 1.6rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.6);
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
}

.card ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.card li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.card .result {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* ------------------------------
   Réseau ELA
------------------------------ */

.section-network {
  background: #020617;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.network-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  background: #0b1120;
}

.network-caption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
}

/* ------------------------------
   Approche & Domaines
------------------------------ */

.section-approach {
  background: radial-gradient(circle at top left, #111827 0%, #020617 60%);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.bullets {
  display: grid;
  gap: 1.2rem;
}

.bullet {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.9);
}

.bullet h3 {
  font-size: 1rem;
}

/* ------------------------------
   Sections II 901 & Spatial
------------------------------ */

.section-ii901 {
  background: radial-gradient(circle at top right, #0f172a 0%, #020617 65%);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.ii901-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.7fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-ii901 h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section-ii901 p {
  font-size: 0.95rem;
}

/* ------------------------------
   Contact / Externalisation
------------------------------ */

.section-contact {
  background: #020617;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.contact-highlights {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.contact-highlights li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

/* Formulaire */

.contact-form {
  background: var(--color-surface);
  padding: 1.8rem 1.7rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.75);
}

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

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.6rem 0.75rem;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

/* ------------------------------
   Équipe
------------------------------ */

.section-team {
  background: #020617;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.team-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
  text-align: center;
}

.team-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.9rem;
  border: 2px solid rgba(248, 113, 113, 0.55);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.team-card .team-trigger {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.team-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

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

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

.team-modal-dialog {
  position: relative;
  max-width: 640px;
  margin: 5vh auto;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  z-index: 1001;
}

.team-modal-content {
  max-height: 80vh;      /* ou 100vh si plein écran */
  overflow-y: auto;
}


.team-modal-photo img {
  max-width: 160px;
  border-radius: 8px;
}

.team-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.team-bio-full {
  display: none;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.team-card.open .team-bio-full {
  display: block;
}

.team-card .team-more-btn {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.team-modal-text {
  white-space: pre-line; /* respecte les sauts de ligne \n */
}

/* Titre (nom) dans la modale équipe */
.team-modal-text h3#team-modal-name {
  color: #111827;     /* gris très foncé / presque noir */
  font-weight: 700;
  font-size: 1.2rem;       /* augmente un peu si besoin */
}

.team-modal-text .team-role {
  color: #111827;     /* gris très foncé / presque noir */
  font-weight: 500;
}

.team-modal-text .team-bio {
  color: #cbd5f5;          /* un peu plus clair que var(--color-text-muted) */
}

#team-modal-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

#team-modal-bio p {
  margin: 0 0 0.6rem;
}


/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 1.8rem 0 2.1rem;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  color: var(--color-text-muted);
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 900px) {
  .hero-inner,
  .cards-grid,
  .approach-grid,
  .ii901-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .cards-grid {
    gap: 1.3rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3.5rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .header-inner {
    padding: 0.7rem 0;
  }

  .contact-form {
    padding: 1.4rem 1.2rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Équipe */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .team-card {
    padding: 1.4rem 1.2rem 1.6rem;
  }

  .team-photo {
    width: 80px;
    height: 80px;
  }

  .team-card h3 {
    font-size: 0.95rem;
  }

  .team-role,
  .team-bio,
  .team-bio-full {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .team-modal {
    position: fixed;
    inset: 0;            /* top:0; right:0; bottom:0; left:0 */
    width: 100vw;
    height: 100vh;
  }

  .team-modal-content {
    max-height: calc(100vh - 80px); /* en laissant la place pour le header + bouton close */
    overflow-y: auto;
  }
}


@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .team-card {
    padding: 1.2rem 1rem 1.4rem;
    text-align: left;
  }

  .team-photo {
    margin: 0 0 0.8rem;
  }

  .team-card h3,
  .team-role,
  .team-bio,
  .team-bio-full {
    text-align: left;
  }

  .team-card .team-more-btn {
    width: 100%;
    text-align: center;
  }

  .team-modal-dialog {
    margin: 8vh 1rem;
    padding: 1.2rem;
  }

  .team-modal-content {
    flex-direction: column;
    align-items: center;
  }

  .team-modal-photo img {
    max-width: 120px;
    margin-bottom: 0.75rem;
  }
}

.no-scroll {
  overflow: hidden;
}

/* ============================================================
   NOUVELLES RÈGLES CSS - À AJOUTER À LA FIN DU FICHIER
   ============================================================ */

/* ------------------------------ Hero metrics (mini-icônes sous le hero) ------------------------------ */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1 1 200px;
}

.hero-metric-number {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f97373;
    display: block;
}

.hero-metric-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* ------------------------------ Card intro (intro bénéfice client) ------------------------------ */
.card-intro {
    font-size: 0.92rem;
    color: #fbbf24;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.9rem;
    background: rgba(251, 191, 36, 0.08);
    border-left: 3px solid #fbbf24;
    border-radius: 6px;
}

/* ------------------------------ Effet hover sur les cartes ------------------------------ */
.card {
    transition: all 0.2s ease-out;
}

.card:hover {
    border-color: rgba(248, 113, 113, 0.4);
    transform: translateY(-2px);
}

/* ------------------------------ Styling amélioré pour .result ------------------------------ */
.card .result {
    font-style: italic;
    padding: 0.6rem 0.8rem;
    background: rgba(15, 23, 42, 0.6);
    border-left: 2px solid #f97373;
    border-radius: 6px;
}

/* ------------------------------ Section CTA (fin de section) ------------------------------ */
.section-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

/* ------------------------------ Section trust (Ils nous font confiance) ------------------------------ */
.section-trust {
    margin-top: 3rem;
    padding: 1.8rem 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.15));
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-align: center;
}

.section-trust h3 {
    font-size: 1.3rem;
    color: #f9fafb;
    margin-bottom: 0.8rem;
}

.section-trust p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto;
}

/* ------------------------------ Contact reassurance ------------------------------ */
.contact-reassurance {
    font-size: 0.88rem;
    color: #fbbf24;
    font-weight: 500;
    margin: 0.4rem 0;
    padding-left: 0.5rem;
}

/* ------------------------------ Responsive pour les nouveaux éléments ------------------------------ */
@media (max-width: 900px) {
    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-metric {
        flex: 1 1 100%;
    }
}

@media (max-width: 640px) {
    .section-trust {
        padding: 1.4rem 1.2rem;
    }
    
    .section-trust h3 {
        font-size: 1.1rem;
    }
    
    .card-intro {
        font-size: 0.88rem;
        padding: 0.6rem 0.7rem;
    }
}

/* ============================================================
   CSS SUPPLÉMENTAIRE POUR AMÉLIORATION ACQUISITION CLIENT
   À AJOUTER À LA FIN DU FICHIER CSS
   ============================================================ */

/* ------------------------------ Audience selector ------------------------------ */
.audience-selector {
    margin: 3rem auto;
    text-align: center;
    max-width: 900px;
}

.audience-selector h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.audience-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.2));
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.audience-card:hover {
    border-color: #f97373;
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(248, 113, 113, 0.4);
    text-decoration: none;
}

.audience-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.audience-card h4 {
    font-size: 1.2rem;
    color: #f9fafb;
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ------------------------------ Use cases ------------------------------ */
.section-use-cases {
    background: radial-gradient(circle at center, #111827 0%, #020617 70%);
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 1.8rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.6);
}

.section-use-cases h2 {
  text-align: center;
}

.use-case h3 {
    font-size: 1.1rem;
    color: #f97373;
    margin-bottom: 1rem;
}

.use-case-context {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.use-case-action {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.use-case-result {
    font-size: 0.9rem;
    color: #fbbf24;
    font-weight: 500;
    padding: 0.6rem 0.8rem;
    background: rgba(251, 191, 36, 0.08);
    border-left: 3px solid #fbbf24;
    border-radius: 6px;
    margin: 0;
}

/* ------------------------------ Trust stats améliorés ------------------------------ */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 1.5rem 0;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f97373;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.trust-sectors {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* ------------------------------ Pricing clarity ------------------------------ */
.pricing-clarity {
    max-width: var(--container-width);
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.pricing-clarity h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.pricing-card h4 {
    font-size: 1.1rem;
    color: #f97373;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.pricing-card li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.pricing-example {
    font-size: 0.85rem;
    color: #fbbf24;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* ------------------------------ Form promise ------------------------------ */
.form-promise {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-promise h4 {
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 0.8rem;
}

.form-promise ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-promise li {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    padding-left: 0;
}

/* ------------------------------ Why outsource comparison ------------------------------ */
.why-outsource {
    max-width: var(--container-width);
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.why-outsource h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.comparison-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th {
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    padding: 0.8rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #f97373;
}

.comparison-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--color-text-muted);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    color: var(--color-text);
    font-weight: 500;
}

.comparison-table strong {
    color: #fbbf24;
}


/* ------------------------------ Engagement timeline ------------------------------ */
.engagement-timeline {
    margin: 3rem 0;
}

.engagement-timeline h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, #f97373, rgba(148, 163, 184, 0.3));
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-day {
    display: inline-block;
    background: #f97373;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.timeline-step h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ------------------------------ CTA urgence différenciée ------------------------------ */
.btn.urgent {
    background: linear-gradient(135deg, #dc2626, #e11d48);
    animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        box-shadow: 0 14px 30px rgba(248, 113, 113, 0.4);
    }
    50% {
        box-shadow: 0 18px 45px rgba(248, 113, 113, 0.7);
    }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 900px) {
    .audience-cards,
    .use-case-grid,
    .pricing-grid,
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.4rem;
    }
}

@media (max-width: 640px) {
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .pricing-card,
    .form-promise,
    .why-outsource {
        padding: 1.2rem;
    }
}

.contact-left h2 {
  text-align: center;
}

.en-bref-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  padding: 1.8rem 1.6rem 1.9rem;
  max-width: 820px;
  margin: 0 auto;
}

.en-bref-card h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.en-bref-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
/* ============================================
   PILIERS EXPORT CONTROL - Intégration ELA
   ============================================ */

/* Section conteneur */
#pillars-ec {
  padding: 60px 5%;
  background: linear-gradient(180deg, 
    rgba(12, 18, 30, 0.95) 0%, 
    rgba(20, 28, 45, 0.98) 50%, 
    rgba(12, 18, 30, 0.95) 100%);
}

.pillars-ec-intro {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.pillars-ec-intro h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 15px;
}

.pillars-ec-intro p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  color: rgba(223, 255, 255, 0.7);
  line-height: 1.7;
}

/* Grille des 4 piliers */
.pillars-ec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pillars-ec-grid {
    grid-template-columns: 1fr;
  }
}

/* Carte pilier - style identique aux cartes "Domaines" */
.pillar-ec-card {
  background: rgba(33, 63, 116, 0.25);
  border: 1px solid rgba(33, 63, 116, 0.4);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.35s ease;
}

.pillar-ec-card:hover {
  background: rgba(33, 63, 116, 0.35);
  border-color: rgba(33, 63, 116, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}



/* Numéro du pilier */
.pillar-ec-card .pillar-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: rgba(186, 27, 22, 0.15);
  line-height: 1;
}

/* Titre du pilier */
.pillar-ec-card h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px 0;
  padding-right: 40px;
}

/* Liste des services */
.pillar-ec-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-ec-card li {
  font-family: 'IBM Plex Sans', sans-serif;
  color: rgba(223, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-ec-card li:last-child {
  border-bottom: none;
}

.pillar-ec-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 10px;
  color: rgb(186, 27, 22);
  font-weight: bold;
  font-size: 1.1rem;
}

.pillar-ec-card:hover li {
  color: rgba(223, 255, 255, 0.9);
}

.pillar-ec-card li strong {
  color: #ffffff;
}

/* Bouton CTA */
.pillars-ec-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   PILIERS DOUANE - Intégration ELA
   ============================================ */

#pillars-customs {
  padding: 60px 5%;
  background: linear-gradient(180deg, 
    rgba(12, 18, 30, 0.95) 0%, 
    rgba(20, 28, 45, 0.98) 50%, 
    rgba(12, 18, 30, 0.95) 100%);
}

.pillars-customs-intro {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.pillars-customs-intro h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 15px;
}

.pillars-customs-intro p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  color: rgba(223, 255, 255, 0.7);
  line-height: 1.7;
}

/* Grille des 4 piliers Douane */
.pillars-customs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pillars-customs-grid {
    grid-template-columns: 1fr;
  }
}

/* Carte pilier Douane */
.pillar-customs-card {
  background: rgba(33, 63, 116, 0.25);
  border: 1px solid rgba(33, 63, 116, 0.4);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.35s ease;
}

.pillar-customs-card:hover {
  background: rgba(33, 63, 116, 0.35);
  border-color: rgba(33, 63, 116, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.pillar-customs-card .pillar-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: rgba(186, 27, 22, 0.15);
  line-height: 1;
}

.pillar-customs-card h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px 0;
  padding-right: 40px;
}

.pillar-customs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-customs-card li {
  font-family: 'IBM Plex Sans', sans-serif;
  color: rgba(223, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-customs-card li:last-child {
  border-bottom: none;
}

.pillar-customs-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 10px;
  color: rgb(186, 27, 22);
  font-weight: bold;
  font-size: 1.1rem;
}

.pillar-customs-card:hover li {
  color: rgba(223, 255, 255, 0.9);
}

.pillar-customs-card li strong {
  color: #ffffff;
}

.pillars-customs-cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   NAVIGATION - Option B (compacte)
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 32px;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.main-nav > ul > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

/* Indicateur dropdown */
.main-nav > ul > li.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.2s ease;
}

.main-nav > ul > li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Sous-menu dropdown */
.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

/* Titres de catégorie dans dropdown */
.dropdown-menu .dropdown-title {
    display: block;
    padding: 0.5rem 1.2rem 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu .dropdown-title:not(:first-child) {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* Liens dans dropdown */
.dropdown-menu a {
    display: block;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.15s ease;
}

.dropdown-menu a:hover {
    color: #fff;
    background: rgba(225, 29, 72, 0.15);
    padding-left: 1.4rem;
    text-decoration: none;
}

/* Sélecteur de langue */
.nav-lang {
    display: flex;
    gap: 0.3rem;
    margin-left: 0.8rem;
    padding-left: 0.8rem;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-lang a {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-lang a:hover {
    color: #fff;
    text-decoration: none;
}

.nav-lang a.active {
    color: #fff;
    background: rgba(225, 29, 72, 0.25);
}

/* Mobile toggle */
/* Bouton de menu */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Desktop par défaut */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Mobile : menu flottant compact */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;           /* par rapport à la fenêtre */
    top: 60px;                 /* sous le header */
    right: 1rem;               /* décollé du bord droit */
    left: auto;                /* ne plus prendre toute la largeur */
    width: 260px;              /* largeur fixe compacte */
    max-width: 80vw;           /* borne sur très petits écrans */
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
  }

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

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 0;
  }

  .main-nav ul li {
    list-style: none;
  }

  .main-nav ul li a {
    display: block;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    background: transparent;
  }

  .main-nav ul li:last-child a {
    border-bottom: none;
  }

  .main-nav ul li a:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
  }

  .nav-lang {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem 0.3rem 1.2rem;
    margin-left: 0;
    border-left: none;
    border-bottom: none;
  }

  .nav-lang a {
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
  }

}

/* Desktop > 1024px : menu horizontal normal */
@media (min-width: 1025px) {
  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border-bottom: none;
  }

  .main-nav ul {
    display: flex;
  }
}



/* ============================================
   PILIERS FISCALITÉ & FLUX - Intégration ELA
   ============================================ */

#pillars-tax {
  padding: 60px 5%;
  background: linear-gradient(180deg, 
    rgba(12, 18, 30, 0.95) 0%, 
    rgba(20, 28, 45, 0.98) 50%, 
    rgba(12, 18, 30, 0.95) 100%);
}

.pillars-tax-intro {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.pillars-tax-intro h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 15px;
}

.pillars-tax-intro p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  color: rgba(223, 255, 255, 0.7);
  line-height: 1.7;
}

.pillars-tax-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pillars-tax-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-tax-card {
  background: rgba(33, 63, 116, 0.25);
  border: 1px solid rgba(33, 63, 116, 0.4);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.35s ease;
}

.pillar-tax-card:hover {
  background: rgba(33, 63, 116, 0.35);
  border-color: rgba(33, 63, 116, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.pillar-tax-card .pillar-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: rgba(186, 27, 22, 0.15);
  line-height: 1;
}

.pillar-tax-card h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 18px 0;
  padding-right: 40px;
}

.pillar-tax-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-tax-card li {
  font-family: 'IBM Plex Sans', sans-serif;
  color: rgba(223, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-tax-card li:last-child {
  border-bottom: none;
}

.pillar-tax-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 10px;
  color: rgb(186, 27, 22);
  font-weight: bold;
  font-size: 1.1rem;
}

.pillar-tax-card:hover li {
  color: rgba(223, 255, 255, 0.9);
}

.pillar-tax-card li strong {
  color: #ffffff;
}

.pillars-tax-cta {
  text-align: center;
  margin-top: 40px;
}

/* Empêcher le scroll quand le menu mobile est ouvert */
body.menu-open {
    overflow: hidden;    
}

/* =========================
   NAVIGATION (desktop + mobile)
   ========================= */

/* Desktop par défaut */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.main-nav a:hover {
  color: #e5e7eb;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Mobile : menu + sous-menus Domaines */
@media (max-width: 1024px) {
  /* Bouton hamburger visible en mobile */
  .nav-toggle {
    display: inline-flex;
  }

  /* Panneau mobile attaché au header, compact */
  .main-nav {
    position: absolute;
    top: 100%;              /* juste sous le header */
    right: 1rem;
    left: auto;
    width: 260px;
    max-width: 80vw;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
  }

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

  /* Liste verticale des entrées principales */
  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 0;
  }

  .main-nav ul > li {
    list-style: none;
    display: block;
  }

  .main-nav ul > li > a {
    display: block;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    background: transparent;
  }

  .main-nav ul > li:last-child > a {
    border-bottom: none;
  }

  .main-nav ul > li > a:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
  }

  /* Sous-menu Domaines : fermé par défaut, ouvert avec .is-sub-open */
  .main-nav .dropdown-menu {
    display: none;
    padding: 0.2rem 0 0.4rem 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }

  .main-nav .has-dropdown.is-sub-open .dropdown-menu {
    display: block;
  }

  .main-nav .dropdown-menu .dropdown-title {
    display: block;
    padding: 0.4rem 1.8rem 0.2rem 1.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(15, 23, 42, 1);
  }

  .main-nav .dropdown-menu a {
    display: block;
    padding: 0.6rem 2.1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.9);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 1);
  }

  .main-nav .dropdown-menu a:last-child {
    border-bottom: none;
  }

  /* Nav-lang dans le panneau mobile */
  .nav-lang {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem 0.3rem 1.2rem;
    margin-left: 0;
    border-left: none;
    border-bottom: none;
  }

  .nav-lang a {
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
  }
}


/* Desktop > 1024px : rétablir le menu horizontal */
@media (min-width: 1025px) {
  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    border-bottom: none;
  }

  .main-nav ul {
    display: flex;
  }
}

/* Boutons CTA des sections piliers - utilise .btn.primary */
.pillars-ec-cta .btn,
.pillars-customs-cta .btn,
.pillars-tax-cta .btn {
  text-decoration: none;
}

.pillars-ec-cta .btn:hover,
.pillars-customs-cta .btn:hover,
.pillars-tax-cta .btn:hover {
  text-decoration: none;
}
