/* ============ Neoconnex — feuille de style commune ============ */
:root{
  --bleu-nuit:#0c2d48;
  --bleu:#145da0;
  --bleu-clair:#2e8bc0;
  --cyan:#b1d4e0;
  --fond:#f6fafc;
  --blanc:#ffffff;
  --texte:#22303c;
  --texte-doux:#5a6b7a;
  --accent:#0aa5a5;
  --radius:14px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--texte);
  background:var(--blanc);
  line-height:1.65;
  font-size:16px;
}
h1,h2,h3{color:var(--bleu-nuit);line-height:1.25;}
h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;margin-bottom:.6rem;}
.sous-titre{color:var(--texte-doux);max-width:660px;margin-bottom:2.2rem;}
section{padding:4.5rem 1.5rem;}
.conteneur{max-width:1080px;margin:0 auto;}
a{color:var(--bleu);}

/* ---------- navigation ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #e4edf3;
}
.nav{
  max-width:1080px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;
  padding:.85rem 1.5rem;gap:1rem;
}
.logo{display:flex;align-items:center;gap:.55rem;text-decoration:none;}
.logo-badge{
  width:34px;height:34px;border-radius:9px;
  background:linear-gradient(135deg,var(--bleu),var(--accent));
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:1.05rem;
}
.logo-nom{font-weight:800;font-size:1.15rem;color:var(--bleu-nuit);letter-spacing:-.01em;}
.logo-nom span{color:var(--accent);}
nav ul{display:flex;gap:1.5rem;list-style:none;align-items:center;}
nav a{color:var(--texte);text-decoration:none;font-weight:500;font-size:.95rem;white-space:nowrap;}
nav a:hover{color:var(--bleu);}
nav a.actif{color:var(--bleu);font-weight:700;}
.btn{
  display:inline-block;
  background:var(--bleu);color:#fff !important;
  padding:.7rem 1.4rem;border-radius:999px;
  font-weight:600;text-decoration:none;font-size:.95rem;
  transition:background .2s;
}
.btn:hover{background:var(--bleu-nuit);}
.btn-secondaire{
  background:transparent;color:var(--bleu) !important;
  border:2px solid var(--bleu);
}
.btn-secondaire:hover{background:#eaf3f9;}
.nav-burger{display:none;}

/* ---------- héros ---------- */
.hero{
  background:linear-gradient(160deg,var(--bleu-nuit) 0%,var(--bleu) 60%,var(--bleu-clair) 100%);
  color:#fff;
  padding:5.5rem 1.5rem 5rem;
}
.hero .conteneur{
  display:grid;grid-template-columns:1.15fr .85fr;gap:3rem;align-items:center;
}
.hero h1{
  color:#fff;font-size:clamp(1.9rem,4.5vw,2.9rem);
  font-weight:800;letter-spacing:-.02em;margin-bottom:1.1rem;
}
.hero p{color:#dcebf5;font-size:1.08rem;max-width:520px;margin-bottom:1.8rem;}
.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap;}
.hero-actions .btn{background:#fff;color:var(--bleu-nuit) !important;}
.hero-actions .btn:hover{background:var(--cyan);}
.hero-actions .btn-secondaire{background:transparent;color:#fff !important;border-color:rgba(255,255,255,.6);}
.hero-actions .btn-secondaire:hover{background:rgba(255,255,255,.12);}
.hero-note{font-size:.85rem;color:#b9d5e8;margin-top:1.1rem;}
.hero-visuel{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:1.6rem;
}

/* héros interne (pages secondaires) */
.page-hero{
  background:linear-gradient(160deg,var(--bleu-nuit) 0%,var(--bleu) 80%);
  color:#fff;padding:3.6rem 1.5rem;
}
.page-hero h1{color:#fff;font-size:clamp(1.7rem,3.5vw,2.4rem);font-weight:800;margin-bottom:.7rem;}
.page-hero p{color:#dcebf5;max-width:640px;font-size:1.05rem;}

/* ---------- bandeau points forts ---------- */
.bandeau{
  background:var(--fond);
  border-bottom:1px solid #e4edf3;
  padding:1.6rem 1.5rem;
}
.bandeau .conteneur{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;}
.bandeau-item{flex:1;min-width:200px;text-align:center;}
.bandeau-item strong{display:block;color:var(--bleu-nuit);font-size:1.05rem;font-weight:700;}
.bandeau-item span{color:var(--texte-doux);font-size:.88rem;}

/* ---------- cartes ---------- */
.cartes{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;}
.cartes-4{grid-template-columns:repeat(4,1fr);}
.cartes-2{grid-template-columns:repeat(2,1fr);}
.carte{
  background:var(--fond);
  border:1px solid #e4edf3;
  border-radius:var(--radius);
  padding:1.6rem;
}
.carte.blanche{background:var(--blanc);}
.carte h3{font-size:1.05rem;margin:.9rem 0 .4rem;}
.carte p{color:var(--texte-doux);font-size:.93rem;}
.icone{
  width:46px;height:46px;border-radius:12px;
  background:linear-gradient(135deg,var(--bleu),var(--accent));
  display:flex;align-items:center;justify-content:center;
}
.icone svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- étapes numérotées ---------- */
.etapes{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;counter-reset:etape;}
.etape{
  background:var(--blanc);border:1px solid #e4edf3;border-radius:var(--radius);
  padding:1.5rem;position:relative;
}
.etape::before{
  counter-increment:etape;content:counter(etape);
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(135deg,var(--bleu),var(--accent));
  color:#fff;font-weight:700;margin-bottom:.9rem;
}
.etape h3{font-size:1rem;margin-bottom:.35rem;}
.etape p{color:var(--texte-doux);font-size:.9rem;}

/* ---------- listes à coches ---------- */
.liste-coches{list-style:none;}
.liste-coches li{padding:.45rem 0 .45rem 1.7rem;position:relative;font-size:.95rem;}
.liste-coches li::before{
  content:"";position:absolute;left:0;top:.72rem;
  width:16px;height:16px;border-radius:50%;
  background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- formules ---------- */
.grille-2{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;}
.formule{
  background:var(--blanc);
  border:1px solid #e4edf3;
  border-radius:var(--radius);
  padding:2rem;
  display:flex;flex-direction:column;
}
.formule-tag{
  align-self:flex-start;
  background:#e3f2f0;color:var(--accent);
  font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  padding:.3rem .8rem;border-radius:999px;margin-bottom:1rem;
}
.formule h3{font-size:1.3rem;margin-bottom:.5rem;}
.formule > p{color:var(--texte-doux);font-size:.95rem;margin-bottom:1.2rem;}
.formule ul{margin-bottom:1.6rem;flex:1;}
.formule .btn{align-self:flex-start;}

/* ---------- bloc sombre / appel à l'action ---------- */
.bloc-sombre{
  background:linear-gradient(150deg,var(--bleu-nuit),var(--bleu));
  color:#fff;border-radius:var(--radius);
  padding:2.6rem;
}
.bloc-sombre h2{color:#fff;}
.bloc-sombre p{color:#d5e7f2;font-size:.97rem;margin-bottom:1rem;}
.bloc-sombre .btn{background:#fff;color:var(--bleu-nuit) !important;margin-top:.6rem;}
.bloc-sombre .btn:hover{background:var(--cyan);}

/* ---------- schéma / illustrations ---------- */
.schema{
  background:var(--fond);border:1px solid #e4edf3;border-radius:var(--radius);
  padding:2rem;overflow-x:auto;
}
.schema svg{display:block;max-width:100%;height:auto;margin:0 auto;}
.legende{font-size:.85rem;color:var(--texte-doux);text-align:center;margin-top:.9rem;}

/* emplacement média (vidéo / photos à venir) */
.media-slot{
  border-radius:var(--radius);overflow:hidden;
  background:var(--bleu-nuit);
  position:relative;aspect-ratio:16/9;
  display:flex;align-items:center;justify-content:center;
}
.media-slot svg{max-width:100%;height:auto;}

/* ---------- FAQ ---------- */
.faq details{
  background:var(--fond);
  border:1px solid #e4edf3;
  border-radius:10px;
  margin-bottom:.8rem;
  padding:1rem 1.3rem;
}
.faq summary{
  cursor:pointer;font-weight:600;color:var(--bleu-nuit);
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";font-size:1.3rem;color:var(--bleu);flex:none;}
.faq details[open] summary::after{content:"–";}
.faq details p{margin-top:.7rem;color:var(--texte-doux);font-size:.94rem;}

/* ---------- contact ---------- */
.contact-infos p{color:var(--texte-doux);font-size:.96rem;margin-bottom:1.1rem;}
.contact-ligne{display:flex;align-items:center;gap:.7rem;margin-bottom:.8rem;font-size:.96rem;}
.contact-ligne .icone{width:38px;height:38px;border-radius:10px;flex:none;}
.contact-ligne .icone svg{width:19px;height:19px;}
form.contact-form{
  background:var(--blanc);
  border:1px solid #e4edf3;border-radius:var(--radius);
  padding:1.8rem;
}
form.contact-form label{display:block;font-size:.88rem;font-weight:600;margin:.9rem 0 .3rem;color:var(--bleu-nuit);}
form.contact-form input,form.contact-form select,form.contact-form textarea{
  width:100%;padding:.65rem .8rem;
  border:1px solid #cddce6;border-radius:8px;
  font:inherit;font-size:.94rem;background:#fbfdfe;
}
form.contact-form input:focus,form.contact-form select:focus,form.contact-form textarea:focus{outline:2px solid var(--bleu-clair);border-color:transparent;}
form.contact-form button{
  margin-top:1.3rem;width:100%;
  background:var(--bleu);color:#fff;border:none;
  padding:.85rem;border-radius:999px;font:inherit;font-weight:700;font-size:1rem;
  cursor:pointer;transition:background .2s;
}
form.contact-form button:hover{background:var(--bleu-nuit);}
.form-note{font-size:.8rem;color:var(--texte-doux);margin-top:.8rem;}

/* ---------- pied de page ---------- */
footer.site{
  background:var(--bleu-nuit);color:#b9d0e0;
  padding:2.5rem 1.5rem;font-size:.88rem;
}
footer.site .conteneur{
  display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;align-items:center;
}
footer.site a{color:#dcebf5;text-decoration:none;margin-left:1.4rem;}
footer.site a:hover{text-decoration:underline;}

/* fonds alternés */
.fond-doux{background:var(--fond);}

/* ---------- responsive ---------- */
@media (max-width:920px){
  nav ul{display:none;}
  .nav-burger{display:block;}
  .hero .conteneur,.grille-2{grid-template-columns:1fr;}
  .cartes,.cartes-4,.cartes-2{grid-template-columns:1fr;}
  .etapes{grid-template-columns:1fr 1fr;}
  section{padding:3.2rem 1.2rem;}
  footer.site .conteneur{flex-direction:column;align-items:flex-start;}
  footer.site a{margin-left:0;margin-right:1.4rem;}
}
@media (max-width:560px){
  .etapes{grid-template-columns:1fr;}
}
