/* =========================
   ALOALO — style.css (refactor)
   Mobile-first • sans répétitions
========================= */

/* ---------- Variables ---------- */
:root{
  --blue-night: #0b1020;
  --blue-header: rgba(11, 30, 60, 0.92);
  --blue-header-solid: rgba(11, 30, 60, 0.95);

  --text: #101526;
  --white: #ffffff;

  --gold: #d9b24c;
  --gold2: #caa23f;
  --accent: #F2C94C;

  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1160px;

  --header-h: 80px;
  --t-fast: 0.2s ease;
  --t: 0.3s ease;
}

/* ---------- Reset / Base ---------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  padding-top: var(--header-h); /* header fixed */
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container{
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section{ padding: 64px 0; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background: var(--accent);
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* =========================
   Header / Nav
========================= */
.site-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--blue-header);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


.site-header {
  background: rgba(10,14,28,0.65);
  backdrop-filter: blur(10px);
}


/* optionnel si tu ajoutes/uses la classe au scroll */
site-header.scrolled{
  background: var(--blue-header-solid);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-height: 54px;
}

.brand-logo{
  height: 56px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
}

/* --- Nav base --- */
.nav{ position: relative; }

.nav-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 14px;
}

/* Liens nav (1 seule définition) */
.nav-menu a{
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-menu a:hover{
  color: var(--accent);
  background: rgba(255,255,255,.08);
}

/* Actif = même effet que hover */
.nav-menu a.active{
  color: var(--accent);
}

/* Soulignement (sans dépendre d’un <span>) */
.nav-menu a::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after{
  transform: scaleX(1);
}

/* Bouton du menu (Contact) : pas de soulignement */
.nav-menu a.btn::after{ content: none; }

/* --- Toggle mobile --- */
.nav-toggle{
  display:inline-flex; /* mobile-first : visible */
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}

.nav-toggle-lines{
  display:inline-block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 22px;
  height:2px;
  background: var(--white);
}
.nav-toggle-lines::before{ top:-7px; }
.nav-toggle-lines::after{ top:7px; }

/* Menu mobile (par défaut caché) */
.nav-menu{
  position:absolute;
  right: 0;
  top: 56px;
  width: min(90vw, 340px);
  display:none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(10, 14, 28, 0.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

.nav-menu.is-open{ display:flex; }


/* Garder le soulignement quand le lien est focus (clic clavier / tap) */
.nav-menu a:focus-visible::after,
.nav-menu a:active::after{
  transform: scaleX(1);
}

/* Lien actif = même rendu que hover */
.nav-menu a.active::after{
  transform: scaleX(1);
}

.nav-menu a.active{
  /* optionnel : léger boost visuel */
  color: rgba(255,255,255,.95);
}

section[id]{
  scroll-margin-top: 90px; /* ajuste si ton header est plus haut/bas */
}

/* Desktop : on revient à un menu horizontal et on cache le toggle */
@media (min-width: 861px){
  .nav-toggle{ display:none; }

  .nav-menu{
    position: static;
    width: auto;
    display:flex;
    flex-direction: row;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 18px;
  }
}

/* =========================
   Buttons (base + variantes)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform var(--t-fast), filter var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.btn--primary{
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111;
  box-shadow: 0 12px 30px rgba(217,178,76,.25);
}
.btn--primary:hover{ filter: brightness(1.02); transform: translateY(-1px); }
.btn--primary:active{ transform: translateY(0); }

.btn--small{ padding: 10px 14px; }

.btn--ghost{
  background: rgba(255,255,255,.10);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

/* Compat avec tes classes existantes */
.btn-primary{ /* bouton du hero */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 28px;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: rgba(11,30,60,1);
  font-weight: 700;
  border: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.btn-primary:hover{
  background: #e6bc3f;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* =========================
   HERO
========================= */
.hero{
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(
    to right,
    rgba(8, 25, 64, 0.80) 0%,
    rgba(8, 25, 64, 0.55) 45%,
    rgba(8, 25, 64, 0.20) 70%,
    rgba(8, 25, 64, 0) 100%
  );
}

.hero-content{
  position: relative;
  z-index:2;
  max-width: 720px;
  padding: clamp(24px, 6vw, 64px);
}

.hero-content h1{
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem 0;
}
.hero-content p{
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 40ch;
  margin: 0;
}

/* Mobile: overlay vertical plus lisible */
@media (max-width: 640px){
  .hero-overlay{
    background: linear-gradient(
      to bottom,
      rgba(8, 25, 64, 0.88) 0%,
      rgba(8, 25, 64, 0.55) 60%,
      rgba(8, 25, 64, 0.12) 100%
    );
  }
}

/* =========================
   About cards
========================= */
.about-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-card{
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  border: 1px solid rgba(11,30,60,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transition:
    transform var(--t),
    box-shadow var(--t);
}

.about-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.about-icon{
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-card h3{
  margin: 0 0 10px;
  color: var(--blue-night);
  font-size: 1.2rem;
}

.about-card p{
  margin: 0;
  color: rgba(16,21,38,0.85);
  line-height: 1.6;
}

/* Desktop */
@media (min-width: 768px){
  .about-cards{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   About stats
========================= */
.about-stats{
  margin-top: 32px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(11, 30, 60, 0.08);
  border: 1px solid rgba(11,30,60,0.10);

  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat{
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px;
  border: 1px solid rgba(11,30,60,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.stat-number{
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: var(--blue-night);
  letter-spacing: 0.2px;
}

.stat-number::after{
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 8px;
  opacity: 0.95;
}

.stat-label{
  margin-top: 10px;
  color: rgba(16,21,38,0.85);
  font-weight: 600;
  line-height: 1.4;
}

/* Tablette / Desktop */
@media (min-width: 768px){
  .about-stats{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* =========================
   Section title
========================= */
.section-title{
  color: var(--blue-night);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

/* petit trait en dessous */
.section-title::after{
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  background: var(--accent);
  border-radius: 999px;
}

.section-intro{
  margin: 12px 0 22px;
  max-width: 70ch;
  color: rgba(16,21,38,0.85);
}

.formations-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.chip{
  border: 1px solid rgba(11,30,60,0.14);
  background: rgba(11,30,60,0.06);
  color: var(--blue-night);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.chip:hover{ transform: translateY(-1px); }
.chip.is-active{
  background: rgba(242,201,76,0.22);
  border-color: rgba(242,201,76,0.55);
}

.formations-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.formation-card{
  background: #fff;
  border-radius: var(--radius);
 
  border: 1px solid rgba(11,30,60,0.10);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
   position: relative;
  border-top: 4px solid var(--accent);
  overflow: hidden; /* important pour arrondis */
  padding: 0;       /* on met le padding dans .formation-body */
  overflow: hidden;
}



.formation-card[data-tags*="softskills"]{
  border-top-color: #3fa9f5; /* bleu plus vif */
}

.formation-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.formation-card[data-tags*="softskills"] .formation-badge{
  background: rgba(63,169,245,0.25);
}

.formation-badge{
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(242,201,76,0.35);
  color: var(--blue-night);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.formation-body{
  padding: 20px 22px 22px;
}

.badge-soft{
  background: rgba(11,30,60,0.10);
}

.formation-card h3{
  margin: 0 0 10px;
  color: var(--blue-night);
  font-size: 1.2rem;
}

.formation-card p{
  margin: 0 0 16px;
  color: rgba(16,21,38,0.85);
}

.formation-meta{
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  color: rgba(16,21,38,0.85);
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.formation-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.link{
  color: var(--blue-night);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.formations-cta{
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(11,30,60,0.06);
  border: 1px solid rgba(11,30,60,0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formations{
  background: linear-gradient(
    to bottom,
    rgba(11, 30, 60, 0.06) 0%,
    rgba(11, 30, 60, 0.04) 100%
  );
}

.formation-media{
  position: relative;
  aspect-ratio: 16/9;         /* bande image uniforme */
  background: rgba(11,30,60,0.06);
}

.formation-media img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .45s ease;
  will-change: transform;
}

/* Petit dégradé pour lisibilité du badge */
.formation-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(11,16,32,.60) 0%,
    rgba(11,16,32,.18) 45%,
    rgba(11,16,32,.05) 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.formation-card:hover .formation-media img,
.formation-card:focus-within .formation-media img{
  transform: scale(1.06);
}

.formation-card:hover .formation-media::after,
.formation-card:focus-within .formation-media::after{
  opacity: 1;
}

/* Mobile */
@media (max-width: 480px){
  .formation-media img{
    height: 200px;
  }
}
@media (max-width: 640px){
  .formation-media{ aspect-ratio: 4/3; }
}

/* Tablette */
@media (min-width: 768px){
  .formations-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .formations-cta{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 1024px){
  .formations-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   Méthodes
========================= */
/* .methodes{
  background: linear-gradient(
    to bottom,
    rgba(11, 30, 60, 0.04) 0%,
    rgba(11, 30, 60, 0.08) 100%
  );
} */

.methodes-header{
  margin-bottom: 26px;
}

.methodes-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 18px;
}

.methode-card{
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11,30,60,0.10);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--accent);
}

.methode-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.methode-icon{
  font-size: 2rem;
  margin-bottom: 10px;
}

.methode-card h3{
  margin: 0 0 10px;
  color: var(--blue-night);
  font-size: 1.2rem;
}

.methode-card p{
  margin: 0 0 14px;
  color: rgba(16,21,38,0.85);
}

.methode-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(16,21,38,0.85);
  display: grid;
  gap: 6px;
}

.methodes-process{
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(11,30,60,0.06);
  border: 1px solid rgba(11,30,60,0.10);
}

.methodes-process-title{
  margin: 0 0 16px;
  color: var(--blue-night);
  font-size: 1.35rem;
  font-weight: 900;
}

.process-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.process-step{
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(11,30,60,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  padding: 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.step-num{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: rgba(11,30,60,1);
  background: rgba(242,201,76,0.35);
  border: 1px solid rgba(242,201,76,0.55);
}

.step-content h4{
  margin: 0 0 6px;
  color: var(--blue-night);
  font-size: 1.05rem;
  font-weight: 900;
}

.step-content p{
  margin: 0;
  color: rgba(16,21,38,0.85);
}

.methodes-cta{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(11,30,60,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.methodes-header{
  position: static;
  top: auto;
  background: transparent;
  backdrop-filter: none;
}


/* Responsive */
@media (min-width: 768px){
  .methodes-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .methodes-cta{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =========================
   Publics
========================= */

.publics{
  background: linear-gradient(
    to bottom,
    rgba(11, 30, 60, 0.06) 0%,
    rgba(11, 30, 60, 0.10) 100%
  );
}


.publics-header{
  margin-bottom: 26px;
}

.publics-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 18px;
}

.public-card{
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11,30,60,0.10);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--accent);
}

.public-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.public-icon{
  font-size: 2rem;
  margin-bottom: 10px;
}

.public-card h3{
  margin: 0 0 10px;
  color: var(--blue-night);
  font-size: 1.2rem;
}

.public-card p{
  margin: 0 0 14px;
  color: rgba(16,21,38,0.85);
}

.public-list{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(16,21,38,0.85);
  display: grid;
  gap: 6px;
}

.public-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--blue-night);
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 2px solid rgba(242,201,76,0.55);
}
.public-link:hover{
  border-bottom-color: rgba(242,201,76,1);
}

.publics-cta{
  margin-top: 26px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(11,30,60,0.06);
  border: 1px solid rgba(11,30,60,0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.publics-cta-text h3{
  margin: 0 0 6px;
  color: var(--blue-night);
  font-weight: 900;
}

.publics-cta-text p{
  margin: 0;
  color: rgba(16,21,38,0.85);
}

@media (min-width: 768px){
  .publics-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .publics-cta{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px){
  .publics-grid{
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================
   Contact – style ALOALO
========================= */
.contact{
  background: linear-gradient(
    to bottom,
    rgba(11, 30, 60, 0.06) 0%,
    rgba(11, 30, 60, 0.10) 100%
  );
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Colonne formulaire = carte */
.contact-form-wrap{
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11,30,60,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.07);
  padding: 22px;
}

.contact-intro{
  margin: 8px 0 18px;
  color: rgba(16,21,38,0.85);
}

/* Form */
.contact-form{
  display: grid;
  gap: 14px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-field label{
  display: inline-block;
  font-weight: 800;
  color: var(--blue-night);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(11,30,60,0.16);
  background: rgba(11,30,60,0.03);
  padding: 12px 12px;
  font: inherit;
  color: rgba(16,21,38,0.95);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder{
  color: rgba(16,21,38,0.55);
}

.form-field input:focus,
.form-field textarea:focus{
  outline: none;
  border-color: rgba(242,201,76,0.9);
  box-shadow: 0 0 0 4px rgba(242,201,76,0.25);
  background: #fff;
}

/* Honeypot invisible */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consent */
.form-consent{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11,30,60,0.04);
  border: 1px solid rgba(11,30,60,0.10);
}

.checkbox{
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: rgba(16,21,38,0.85);
  font-size: 0.98rem;
}

.checkbox input{
  margin-top: 3px;
}

/* Actions */
.form-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
}

.form-note{
  margin: 0;
  color: rgba(16,21,38,0.65);
  font-size: 0.95rem;
}

/* Status message */
.form-status{
  margin: 0;
  min-height: 1.3em;
  font-weight: 800;
  color: var(--blue-night);
}

/* Map = carte */
.contact-map{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11,30,60,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.07);
  min-height: 360px;
  background: rgba(11,30,60,0.05);
}

.contact-map iframe{
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}


.contact-header{
  position: static;
  top: auto;
  background: transparent;
  backdrop-filter: none;
}


.methodes header,
.contact header,
.methodes-header,
.contact-header{
  position: static !important;
  top: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* État actif pour le bouton Contact (pas de trait) */
.nav-menu a.btn.active{
  background: rgba(242,201,76,0.22);
  border: 1px solid rgba(242,201,76,0.55);
  color: var(--accent);
}

/* Responsive */
@media (min-width: 768px){
  .form-row{
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px){
  .contact-grid{
    grid-template-columns: 1.15fr 0.85fr;
  }
  .contact-map{
    min-height: 100%;
  }
}

/*=======================
    14) Mentions légales
=========================
/* ===== Accordéons légaux (premium) ===== */
.legal-accordion{
  padding-block: 64px;
  border-top: 1px solid #eee;
  background: #f7f3ef;
}

.legal-head{ margin-bottom: 18px; }
.legal-intro{
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 70ch;
}

.legal-panels{
  display: grid;
  gap: 14px;
  max-width: 95ch;
}

.legal-panel{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  overflow: hidden;
}

/* Summary */
.legal-summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 850;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.legal-panel summary::-webkit-details-marker{ display:none; }

.legal-summary:focus-visible{
  outline: 2px solid #f0cfa3;
  outline-offset: 3px;
  border-radius: 10px;
}

/* Chevron */
.chevron{
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--brand);
  transition: transform .2s ease;
}

.legal-panel[open] .chevron{
  transform: rotate(180deg);
}

/* Body */
.legal-panel-body{
  padding: 0 18px 18px;
  color: var(--text);
}

.legal-panel-body h3{
  margin: 18px 0 8px;
  font-size: 1.02rem;
}

.legal-panel-body p{ margin: 0 0 12px; }

.legal-panel-body a{
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list{
  margin: 0 0 12px 1.15rem;
}

.legal-note{
  color: var(--muted);
  font-size: .92rem;
  margin-top: -6px;
}

/* Section légale cachée par défaut */
.legal-accordion{
  display: none;
}

/* Quand activée */
.legal-accordion.is-visible{
  display: block;
}

.legal-actions{
  margin-top: 24px;
  display: flex;
  justify-content: flex-start; /* ← aligné à gauche */
}

/* =========================
   Footer – style ALOALO
========================= */
.site-footer{
  background: #0b1020;                 /* bleu nuit (cohérent site) */
  color: rgba(255,255,255,.78);
  padding-top: 56px;
  padding-bottom: 0;
  font-size: .95rem;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Grille */
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 22px;
}

/* Logo / brand */
.footer-logo{
  width: min(220px, 85%);
  margin-bottom: 12px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

.footer-brand p{
  color: rgba(255,255,255,.74);
  line-height: 1.7;
  margin: 0 0 10px;
  max-width: 60ch;
}

/* Titres colonnes */
.footer-nav h3,
.footer-contact h3{
  color: rgba(255,255,255,.92);
  font-size: 1.05rem;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .01em;
}

/* Listes */
.footer-nav ul,
.footer-contact ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

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

/* Liens */
.footer-nav a,
.footer-contact a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 700;
  width: fit-content;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(217,178,76,.90); /* doré */
}

/* Réseaux sociaux (si tu gardes .social-links) */
/* =========================
   Footer – Réseaux sociaux
========================= */
.footer-social{
  margin-top: 14px;
}

.social-icons a:hover{
  background: rgba(217,178,76,.20);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transform: translateY(-2px);
}

.social-icons img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
}


/* Forcer les 2 logos sur UNE seule ligne */
.social-icons{
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;   /* empêche le retour à la ligne */
  align-items: center;
  gap: 14px;

  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.social-icons li{
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;           /* évite que le li prenne toute la ligne */
}

.social-icons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}


/* Ligne du bas */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.68);
  text-align: center;
  font-size: .9rem;
  padding: 16px 0;
}

.footer-bottom a{
  color: rgba(255,255,255,.72);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-bottom a:hover{
  color: rgba(255,255,255,.95);
  border-bottom-color: rgba(217,178,76,.90);
}

/* Responsive */
@media (min-width: 860px){
  .footer-grid{
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 40px;
    margin-bottom: 28px;
  }
}
