/* ============================================================
   PORTFOLIO — AYMERIC MILLIET
   style.css — Feuille de styles principale (toutes les pages)
   ============================================================ */


/* ── POLICES (hébergées sur le site : aucune requête vers Google) ── */

/* Polices variables : un seul fichier couvre toutes les graisses */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/syne-latin.woff2') format('woff2');
}


/* ── RESET & VARIABLES ────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:          #12122a;
  --navy-mid:      #2a2a50;
  --accent:        #6c63ff;
  --accent-light:  #8b85ff;
  --white:         #ffffff;
  --off-white:     #f7f7f4;
  --text-main:     #1a1a2e;
  --text-muted:    #5a5a7a;
  --text-light:    #9090b0;
  --border:        #e2e2ee;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --shadow-sm:     0 2px 8px rgba(18,18,42,0.07);
  --shadow-md:     0 6px 24px rgba(18,18,42,0.11);
  --shadow-lg:     0 12px 40px rgba(18,18,42,0.15);
  --transition:    0.2s ease;
  --font-display:  'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Contour visible uniquement à la navigation clavier */
:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

/* Lien d'évitement : visible seulement quand il reçoit le focus clavier */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus { top: 10px; }


/* ── ANIMATION FADE-IN (partagée par toutes les pages) ───── */

/* Classe "js" posée par main.js : sans JavaScript, le contenu reste visible */
.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Délais échelonnés pour les sections successives */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Visiteurs ayant demandé moins d'animations (réglage du système) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}


/* ── NAVIGATION ───────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 58px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

/* Logo de la barre de navigation */
.navbar__logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: cover;
}

.navbar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.navbar__links {
  display: flex;
  height: 58px;
}

.navbar__links li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--transition), background var(--transition);
  position: relative;
  white-space: nowrap;
}

/* Indicateur actif / survol sous les liens nav */
.navbar__links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent-light);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px 2px 0 0;
}

.navbar__links li a:hover,
.navbar__links li a.active {
  color: white;
}

.navbar__links li a:hover::after,
.navbar__links li a.active::after {
  transform: scaleX(1);
}

.navbar__links li a.active {
  background: rgba(255,255,255,0.06);
}

/* Bouton hamburger (mobile) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Animation croix sur ouverture du menu */
.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── HERO — PAGE D'ACCUEIL ────────────────────────────────── */

.hero {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 3.5rem;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero__name {
  font-family: var(--font-display);
  color: white;
  line-height: 1;
}

.hero__name .first { font-size: 54px; font-weight: 400; display: block; }
.hero__name .last  { font-size: 54px; font-weight: 800; display: block; }

.hero__sep {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.5rem 0;
}

.hero__sub {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.hero__right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}


/* ── PAGE HERO — ENTÊTE DES SOUS-PAGES ───────────────────── */

.page-hero {
  background: var(--navy);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Lueur décorative en arrière-plan */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(108,99,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  position: relative;
}

.page-hero__sep {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 1.25rem;
}


/* ── MAIN WRAPPER ─────────────────────────────────────────── */

.main-wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}


/* ── SECTIONS ─────────────────────────────────────────────── */

.section {
  margin-bottom: 4rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

.section__subtitle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.section__text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 720px;
}

/* Liens dans les paragraphes de texte */
.section__text a {
  color: var(--accent);
  font-weight: 600;
}

/* Emphase dans les paragraphes de texte */
.section__text strong {
  color: var(--navy);
}

/* Listes dans les paragraphes de texte */
.section__text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.section__text ul li {
  margin-bottom: 0.4rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── BOUTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: white; }

/* Bouton pleine largeur (page contact) */
.btn--full {
  width: 100%;
  justify-content: center;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}


/* ── CARDS GÉNÉRIQUES ─────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__img-wrap {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  display: inline-block;
  transition: color var(--transition);
}

.card__link:hover { color: var(--navy); }

/* Grille de cards certifications */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}


/* ── PROJET CARD (grande fiche) ───────────────────────────── */

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-card__tag {
  display: inline-block;
  background: rgba(108,99,255,0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.project-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.project-card__list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.project-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.project-card__files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 1rem;
}

.project-card__file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}

.project-card__file:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.project-card__file svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}


/* ── DOC CARD ─────────────────────────────────────────────── */

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.doc-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

/* Document non publié (documentation interne d'entreprise) : pas de lien */
.doc-card--static { cursor: default; }

.doc-card--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.doc-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(108,99,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.doc-card__icon svg {
  width: 20px;
  height: 20px;
}

.doc-card__info {
  flex: 1;
  min-width: 0;
}

.doc-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-card__subtitle {
  font-size: 12px;
  color: var(--text-light);
}

.doc-card__badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--off-white);
  color: var(--text-muted);
  flex-shrink: 0;
}

.doc-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* ── TAGS DE COMPÉTENCES ──────────────────────────────────── */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.75rem;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tag--accent {
  background: rgba(108,99,255,0.1);
  color: var(--accent);
  border-color: rgba(108,99,255,0.2);
}

/* Badges article / vidéo (page veille) */
.badge--article {
  background: rgba(108,99,255,0.1);
  color: var(--accent);
}

.badge--video {
  background: rgba(220,80,60,0.1);
  color: #dc503c;
}


/* ── OUTILS DE VEILLE ─────────────────────────────────────── */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.tool-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.tool-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}


/* ── INFO BANNER ──────────────────────────────────────────── */

.info-banner {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.info-banner p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ── FOOTER ───────────────────────────────────────────────── */

.footer {
  background: var(--navy);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  transition: color var(--transition);
}

.footer__links a:hover { color: white; }


/* ── PAGE : MA FORMATION ──────────────────────────────────── */

/* Grille SLAM / SISR */
.specialite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.specialite-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.specialite-card--active {
  background: rgba(108,99,255,0.06);
  border-color: rgba(108,99,255,0.35);
}

.specialite-card__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.specialite-card--active .specialite-card__badge {
  background: var(--accent);
  color: white;
}

.specialite-card:not(.specialite-card--active) .specialite-card__badge {
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.specialite-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.specialite-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}


/* ── PAGE : MON ENTREPRISE ────────────────────────────────── */

/* Titre COMUTEX + bannière côte à côte */
.comutex-title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.comutex-title-row .section__title {
  margin-bottom: 0;
}

.comutex-banner-img {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Grille des entités du groupe */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.entity-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.entity-card--active {
  border-color: rgba(108,99,255,0.4);
  background: rgba(108,99,255,0.04);
}

.entity-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.entity-card__me {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.entity-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.entity-card__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Grille des mini-cartes projets */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.project-mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.project-mini-card__img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  display: block;
  background: var(--off-white);
  padding: 1rem;
}

.project-mini-card__body { padding: 1rem 1.25rem; }

.project-mini-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.project-mini-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Carte Google Maps */
.map-wrap {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ── PAGE : MA VEILLE ─────────────────────────────────────── */

/* Liste des articles et vidéos */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0.5rem;
}

.article-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.article-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.article-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-item__body  { flex: 1; min-width: 0; }

.article-item__source {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}

.article-item__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.article-item:hover .article-item__title { color: var(--accent); }


/* ── PAGE : CONTACT ───────────────────────────────────────── */

/* Mise en page deux colonnes formulaire / infos */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.1);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* Champ piège à robots : invisible pour les visiteurs, rempli par les robots */
.form-honeypot { display: none; }

/* Mention d'information RGPD sous le bouton d'envoi */
.form-note {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.55;
  margin-top: 0.9rem;
}

.form-note a { color: var(--accent); }

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-info-item__icon {
  width: 38px;
  height: 38px;
  background: rgba(108,99,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-info-item__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* Liens dans les valeurs de contact */
.contact-info-item__value a { color: var(--accent); }


/* ── BOUTON DE LANGUE ─────────────────────────────────────── */

/* Affiché dans la navbar entre les liens et le hamburger */
.lang-btn {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.lang-btn:hover {
  color: white;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {

  /* Navigation mobile */
  .navbar { padding: 0 1.25rem; }

  .navbar__links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    height: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .navbar__links.is-open { display: flex; }

  .navbar__links li a {
    height: 48px;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .navbar__links li a::after { display: none; }

  .navbar__hamburger { display: flex; }

  /* Hero accueil */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .hero__left { padding: 2.5rem 1.5rem 2rem; }
  .hero__name .first,
  .hero__name .last { font-size: 40px; }

  /* Page hero sous-pages */
  .page-hero { padding: 2.5rem 1.5rem; }
  .page-hero__title { font-size: 28px; }

  .main-wrapper { padding: 2.5rem 1.25rem 4rem; }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 600px) {
  /* Formation : une seule colonne pour SLAM/SISR */
  .specialite-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  /* Contact : empilé sur mobile */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
