/* =====================================================================
   HELP 38 - feuille de style
   ---------------------------------------------------------------------
   Identite propre au site, sans reprise de zone-help : palette ardoise
   et ambre, coins peu arrondis, mise en page aeree. Le nom s'affiche en
   toutes lettres tant qu'il n'y a pas de logo ; le jour ou il arrive,
   seule la regle .marque-texte sera a remplacer par une image.
   ===================================================================== */

/* ---------- Polices hebergees localement (aucune dependance externe) --- */
@font-face{
  font-family:'Manrope'; font-style:normal; font-weight:700;
  src:url('../fonts/manrope-latin-700-normal.woff2') format('woff2');
  font-display:swap;
}
@font-face{
  font-family:'Manrope'; font-style:normal; font-weight:800;
  src:url('../fonts/manrope-latin-800-normal.woff2') format('woff2');
  font-display:swap;
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:400;
  src:url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-display:swap;
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:500;
  src:url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  font-display:swap;
}

:root{
  /* Ardoise : la couleur de fond des blocs sombres et des titres */
  --ardoise:#243447;
  --ardoise-clair:#35495f;
  --ardoise-nuit:#1a2634;

  /* Ambre : l'accent. A doser, il ne doit jamais couvrir de grandes surfaces */
  --ambre:#c9780f;
  --ambre-clair:#f0a33a;

  --encre:#1f2733;
  --encre-2:#5d6a79;
  --trait:#e3e7ec;
  --blanc:#ffffff;
  --gris:#f6f8fa;
  --gris-bleu:#eef2f6;

  --maxw:1140px;
  --rayon:8px;
  --ombre:0 1px 3px rgba(36,52,71,.06), 0 8px 26px rgba(36,52,71,.07);
  --ombre-forte:0 12px 38px rgba(36,52,71,.16);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  font-size:1rem; line-height:1.7; color:var(--encre); background:var(--blanc);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Manrope','Segoe UI',sans-serif;
  color:var(--ardoise); line-height:1.22; margin:0 0 .6em;
  font-weight:800; letter-spacing:-.015em;
}
h1{ font-size:clamp(1.85rem,4.2vw,2.9rem); }
h2{ font-size:clamp(1.45rem,2.8vw,2rem); }
h3{ font-size:1.15rem; font-weight:700; }
h4{ font-size:1rem; font-weight:700; }
p{ margin:0 0 1.1em; }
a{ color:var(--ambre); text-decoration:none; }
a:hover{ color:#a86209; text-decoration:underline; }
img{ max-width:100%; height:auto; display:block; }
strong{ font-weight:600; color:var(--ardoise); }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 22px; }
.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;
}

/* =====================================================================
   MARQUEUR DES INFORMATIONS MANQUANTES
   Volontairement voyant : impossible de mettre en ligne une page
   incomplete sans le remarquer. A retirer du CSS quand tout est rempli.
   ===================================================================== */
.a-completer{
  background:#fff3cd; color:#7a5a00; border:1px dashed #d9a300;
  padding:1px 7px; border-radius:4px; font-size:.86em; font-weight:600;
  font-family:'Inter',sans-serif;
  /* Pas de white-space:nowrap : un marqueur long forcerait sa carte a
     s'elargir et ferait deborder la page vers la droite. */
  display:inline-block; max-width:100%; overflow-wrap:break-word;
}

/* =====================================================================
   ENTETE
   ===================================================================== */
.entete{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.95);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--trait);
}
.entete .wrap{ display:flex; align-items:center; gap:18px; min-height:78px; }

/* Nom du site, en attendant le logo. Quand le logo arrivera, remplacer
   ce bloc par <img> : rien d'autre ne bougera. */
.marque{ display:flex; align-items:baseline; gap:9px; text-decoration:none; margin-right:auto; }
.marque:hover{ text-decoration:none; }
.marque-texte{
  font-family:'Manrope',sans-serif; font-weight:800; font-size:1.45rem;
  color:var(--ardoise); letter-spacing:-.02em; line-height:1;
}
.marque-texte span{ color:var(--ambre); }
.marque-baseline{
  font-size:.76rem; color:var(--encre-2); font-weight:500;
  border-left:1px solid var(--trait); padding-left:9px;
}

.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  position:relative; font-family:'Manrope',sans-serif; font-weight:700;
  font-size:.92rem; color:#2b3644; padding:18px 14px; line-height:22px;
  text-decoration:none; white-space:nowrap; transition:color .2s ease;
}
.nav a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:9px; height:2px;
  background:var(--ambre); border-radius:2px;
  transform:scaleX(0); transform-origin:left;
  transition:transform .28s cubic-bezier(.4,0,.2,1);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after{ transform:scaleX(1); }
.nav a:hover,.nav a[aria-current="page"]{ color:var(--ardoise); }

.nav-tel{
  margin-left:12px; background:var(--ardoise); color:#fff !important;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:.9rem;
  padding:11px 18px; border-radius:var(--rayon); white-space:nowrap;
  display:inline-flex; align-items:center; gap:8px;
  transition:background .2s ease, transform .2s ease;
}
.nav-tel:hover{ background:var(--ardoise-nuit); color:#fff !important; text-decoration:none; transform:translateY(-1px); }
.nav-tel svg{ width:15px; height:15px; flex:none; }

.burger{
  display:none; margin-left:auto; background:none; border:none; cursor:pointer;
  color:var(--ardoise); padding:8px; border-radius:6px; line-height:0;
}
.burger:hover{ background:var(--gris-bleu); }

.nav-mobile{ display:none; border-top:1px solid var(--trait); background:#fff; padding:8px 0 16px; }
.nav-mobile.ouvert{ display:block; }
.nav-mobile a{
  display:block; padding:13px 22px; font-family:'Manrope',sans-serif;
  font-weight:700; color:#2b3644; text-decoration:none; border-bottom:1px solid var(--trait);
}
.nav-mobile a:last-child{ border-bottom:none; }
.nav-mobile a:hover{ background:var(--gris-bleu); color:var(--ardoise); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section{ padding:74px 0; }
.section-gris{ background:var(--gris); }
.section-bleu{ background:var(--gris-bleu); }
.section-sombre{ background:var(--ardoise-nuit); color:#d6dee8; }
.section-sombre h2,.section-sombre h3,.section-sombre h4{ color:#fff; }
.section-sombre strong{ color:#fff; }

.titre-section{ max-width:720px; margin-bottom:42px; }
.titre-section.centre{ margin-left:auto; margin-right:auto; text-align:center; }
.titre-section p{ color:var(--encre-2); font-size:1.05rem; margin:0; }
.section-sombre .titre-section p{ color:#b8c5d4; }

.surtitre{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:.74rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--ambre); margin-bottom:13px;
}
.surtitre::before{ content:""; width:24px; height:2px; background:var(--ambre); border-radius:2px; }
.section-sombre .surtitre{ color:var(--ambre-clair); }
.section-sombre .surtitre::before{ background:var(--ambre-clair); }

/* =====================================================================
   BANDEAU DE TITRE
   ===================================================================== */
.bandeau{
  background:linear-gradient(155deg,var(--ardoise-nuit),var(--ardoise) 60%,var(--ardoise-clair));
  color:#d6dee8; padding:58px 0 54px;
}
.bandeau h1{ color:#fff; margin-bottom:12px; }
.bandeau p{ color:#b8c5d4; max-width:620px; margin:0; font-size:1.03rem; }
.fil{ font-size:.82rem; color:#93a4b8; margin-bottom:14px; }
.fil a{ color:#c3cfdd; }
.fil a:hover{ color:#fff; }

/* =====================================================================
   BOUTONS
   ===================================================================== */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:.94rem;
  padding:13px 24px; border-radius:var(--rayon); border:2px solid transparent;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.btn:hover{ text-decoration:none; transform:translateY(-1px); }
.btn-ambre{ background:#a86209; color:#fff; border-color:#a86209; }
.btn-ambre:hover{ background:#8d5207; border-color:#8d5207; color:#fff; }
.btn-sombre{ background:var(--ardoise); color:#fff; border-color:var(--ardoise); }
.btn-sombre:hover{ background:var(--ardoise-nuit); color:#fff; }
.btn-clair{ background:transparent; color:#fff; border-color:rgba(255,255,255,.42); }
.btn-clair:hover{ background:rgba(255,255,255,.1); color:#fff; border-color:#fff; }
.btn-ligne{ background:transparent; color:var(--ardoise); border-color:var(--trait); }
.btn-ligne:hover{ background:var(--gris-bleu); border-color:var(--ardoise-clair); color:var(--ardoise); }

/* =====================================================================
   GRILLES ET CARTES
   ===================================================================== */
.grille{ display:grid; gap:24px; }
.g2{ grid-template-columns:repeat(2,1fr); }
.g3{ grid-template-columns:repeat(3,1fr); }
.g4{ grid-template-columns:repeat(4,1fr); }

.carte{
  background:#fff; border:1px solid var(--trait); border-radius:var(--rayon);
  padding:28px 26px; box-shadow:var(--ombre);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.carte:hover{ transform:translateY(-3px); box-shadow:var(--ombre-forte); border-color:#cfd7e0; }
.carte h3{ margin-bottom:.5em; }
.carte p:last-child{ margin-bottom:0; }
.carte-num{ position:relative; }
.carte-num .num{
  position:absolute; top:20px; right:22px;
  font-family:'Manrope',sans-serif; font-weight:800; font-size:2rem;
  color:var(--gris-bleu); line-height:1;
}
.carte-num h3,.carte-num h4{ padding-right:52px; }

.lien-fleche{
  display:inline-flex; align-items:center; gap:7px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:.87rem;
  color:var(--ambre); margin-top:13px;
}
.lien-fleche .f{ transition:transform .22s ease; }
.lien-fleche:hover{ text-decoration:none; color:#a86209; }
.lien-fleche:hover .f{ transform:translateX(4px); }

/* =====================================================================
   LISTES, ENCADRES, ARTICLES
   ===================================================================== */
.liste-check{ list-style:none; padding:0; margin:0 0 1.2em; }
.liste-check li{ position:relative; padding-left:30px; margin-bottom:12px; }
.liste-check li::before{
  content:""; position:absolute; left:0; top:9px; width:15px; height:8px;
  border-left:2.5px solid var(--ambre); border-bottom:2.5px solid var(--ambre);
  transform:rotate(-45deg); border-radius:1px;
}
.section-sombre .liste-check li::before{ border-color:var(--ambre-clair); }

.encadre{
  border-left:3px solid var(--ambre); background:var(--gris);
  padding:22px 26px; border-radius:0 var(--rayon) var(--rayon) 0; margin:28px 0;
}
.encadre p:last-child{ margin-bottom:0; }

.article{ max-width:760px; }
.article h2{ margin-top:1.8em; }
.article h2:first-child{ margin-top:0; }
.article h3{ margin-top:1.5em; }
.article ul{ padding-left:22px; margin:0 0 1.2em; }
.article li{ margin-bottom:8px; }
.chapo{ font-size:1.08rem; color:var(--encre-2); }

/* =====================================================================
   APPEL A L'ACTION
   ===================================================================== */
.cta{
  background:linear-gradient(140deg,var(--ardoise),var(--ardoise-nuit));
  border-radius:var(--rayon); padding:48px 44px; color:#d6dee8;
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cta h2{ color:#fff; margin-bottom:8px; }
.cta p{ margin:0; color:#b8c5d4; }

/* =====================================================================
   FORMULAIRE
   ===================================================================== */
.champ{ margin-bottom:19px; }
.champ label{
  display:block; font-family:'Manrope',sans-serif; font-weight:700;
  font-size:.87rem; color:var(--ardoise); margin-bottom:7px;
}
.champ input,.champ select,.champ textarea{
  width:100%; font-family:inherit; font-size:1rem; color:var(--encre);
  padding:12px 14px; border:1px solid var(--trait); border-radius:var(--rayon);
  background:#fff; transition:border-color .2s ease,box-shadow .2s ease;
}
.champ input:focus,.champ select:focus,.champ textarea:focus{
  outline:none; border-color:var(--ambre);
  box-shadow:0 0 0 3px rgba(201,120,15,.13);
}
.champ textarea{ resize:vertical; min-height:130px; }
.champ .aide{ font-size:.81rem; color:var(--encre-2); margin-top:6px; }
.ligne-2{ display:grid; grid-template-columns:1fr 1fr; gap:19px; }
.piege{ position:absolute; left:-9999px; }
.note-form{ font-size:.84rem; color:var(--encre-2); }
.alerte{
  background:#fdf2f2; border:1px solid #f3c9c9; color:#8f2b2b;
  padding:13px 17px; border-radius:var(--rayon); margin-bottom:20px; font-size:.92rem;
}

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.pied{ background:var(--ardoise-nuit); color:#9fb0c4; padding:58px 0 0; font-size:.93rem; }
.pied-grille{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:38px; }
.pied h4{ color:#fff; font-size:.88rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:15px; }
.pied a{ color:#9fb0c4; }
.pied a:hover{ color:#fff; text-decoration:none; }
.pied ul{ list-style:none; padding:0; margin:0; }
.pied li{ margin-bottom:9px; }
.pied .marque-texte{ color:#fff; font-size:1.3rem; }
.pied .marque-texte span{ color:var(--ambre-clair); }
.pied-coord p{ margin:0 0 9px; }
.pied-coord .tel{ font-family:'Manrope',sans-serif; font-weight:700; color:#fff; font-size:1.05rem; }
.pied-legal{
  margin-top:46px; border-top:1px solid rgba(255,255,255,.12);
  padding:18px 0 24px; display:flex; justify-content:space-between;
  gap:16px; flex-wrap:wrap; font-size:.84rem; color:#8296ad;
}
.pied-legal a{ color:#8296ad; }
.pied-version{
  display:inline-block; margin-left:10px; padding:1px 7px;
  border:1px solid rgba(255,255,255,.16); border-radius:20px;
  font-size:.72rem; letter-spacing:.03em; opacity:.75;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1000px){
  .nav{ display:none; }
  .burger{ display:block; }
  .g4{ grid-template-columns:repeat(2,1fr); }
  .pied-grille{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:760px){
  .section{ padding:52px 0; }
  .g2,.g3,.g4{ grid-template-columns:1fr; }
  .cta{ padding:34px 24px; flex-direction:column; align-items:flex-start; }
  .ligne-2{ grid-template-columns:1fr; gap:0; }
  .pied-grille{ grid-template-columns:1fr; }
  .marque-baseline{ display:none; }
  .entete .wrap{ min-height:66px; }
}

/* Respect du reglage systeme « moins d'animations » */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
}
