/* ==========================================================================
   MOUNCAJ — feuille de style unique
   Charte : bleu marine #0B1F3A, orange #F5871F, fond clair dominant.
   Mobile d'abord : les media queries n'ajoutent que pour les grands ecrans.
   ========================================================================== */

/* --- 1. Jetons -------------------------------------------------------- */
:root {
  --marine:        #0B1F3A;
  --marine-fonce:  #071628;
  --marine-clair:  #16345C;
  --orange:        #F5871F;
  --orange-fonce:  #D9700F;
  --orange-pale:   #FEF1E2;

  /* Neutres legerement bleutes : un gris pur sonnerait accidentel. */
  --fond:          #F6F8FB;
  --surface:       #FFFFFF;
  --encre:         #101F33;
  --encre-douce:   #56687F;
  --trait:         #E3E9F1;

  --ombre-carte:   0 1px 2px rgba(11,31,58,.05), 0 8px 24px rgba(11,31,58,.06);
  --ombre-relief:  0 2px 6px rgba(11,31,58,.08), 0 18px 40px rgba(11,31,58,.10);

  --large:         1140px;
  --rayon:         14px;
  --rayon-sm:      9px;

  --titre: "Barlow Condensed", "Roboto Condensed", "Arial Narrow",
           ui-sans-serif, system-ui, sans-serif;
  --corps: "Barlow", ui-sans-serif, system-ui, -apple-system,
           "Segoe UI", Roboto, Arial, sans-serif;
  /* Lettrage de marque : geometrique arrondi, releve sur le macaron Mouncaj
     (casque et mention « Call center » retires pour l'usage groupe). */
  --marque: "Poppins", ui-rounded, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

/* --- 2. Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--marine); text-decoration-color: rgba(245,135,31,.55); text-underline-offset: 3px; }
a:hover { color: var(--orange-fonce); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.005em;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7.5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 5vw, 2.7rem); }
h3 { font-size: clamp(1.28rem, 3.2vw, 1.5rem); }
p  { margin: 0 0 1.05em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.conteneur { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .conteneur { padding-inline: 32px; } }

.section { padding-block: clamp(52px, 9vw, 96px); }
.section--serree { padding-block: clamp(38px, 6vw, 64px); }
.section--claire { background: var(--surface); }

.surtitre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 .7em;
}
.surtitre--sombre { color: var(--marine); }

.chapeau { font-size: 1.1rem; color: var(--encre-douce); }
.centre  { text-align: center; }
.centre p { margin-inline: auto; }

.saut { display: block; }

/* Lecteurs d'ecran uniquement */
.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;
}
.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--marine); color: #fff; padding: 10px 16px; border-radius: var(--rayon-sm);
  transition: top .18s ease;
}
.lien-evitement:focus { top: 12px; color: #fff; }

/* --- 3. Boutons ------------------------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--titre); font-weight: 600; font-size: 1.06rem;
  letter-spacing: .03em; text-transform: uppercase;
  padding: .82em 1.5em; border: 2px solid transparent; border-radius: var(--rayon-sm);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.bouton:hover { transform: translateY(-1px); }
.bouton--principal { background: var(--orange); color: #fff; }
.bouton--principal:hover { background: var(--orange-fonce); color: #fff; }
.bouton--marine { background: var(--marine); color: #fff; }
.bouton--marine:hover { background: var(--marine-clair); color: #fff; }
.bouton--contour { border-color: currentColor; color: var(--marine); }
.bouton--contour:hover { background: var(--marine); color: #fff; border-color: var(--marine); }
.bouton--clair { border-color: rgba(255,255,255,.5); color: #fff; }
.bouton--clair:hover { background: #fff; color: var(--marine); border-color: #fff; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- 4. En-tete ------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--trait);
}
.entete__interieur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}

.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--marine); }
.marque img { width: 42px; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__nom {
  font-family: var(--marque); font-weight: 600; font-size: 1.46rem;
  letter-spacing: -.015em; text-transform: none;
}
.marque__pole {
  font-family: var(--marque); font-weight: 500; font-size: .72rem;
  letter-spacing: .2em; text-transform: none; color: var(--orange); margin-top: 4px;
}

.bascule-nav {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none;
  border: 1px solid var(--trait); border-radius: var(--rayon-sm); cursor: pointer;
}
.bascule-nav span { display: block; width: 100%; height: 2px; background: var(--marine); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.bascule-nav[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bascule-nav[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bascule-nav[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }
.nav[data-ouvert="true"] {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--trait);
  box-shadow: var(--ombre-carte); padding: 8px 20px 20px;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: block; padding: 12px 4px; text-decoration: none; color: var(--marine);
  font-family: var(--titre); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--trait);
}
.nav li:last-child a { border-bottom: 0; }
.nav a[aria-current="page"] { color: var(--orange); }
.nav .bouton { margin-top: 12px; width: 100%; }

@media (min-width: 900px) {
  .bascule-nav { display: none; }
  .nav, .nav[data-ouvert="true"] {
    display: block; position: static; background: none; border: 0;
    box-shadow: none; padding: 0;
  }
  .nav ul { flex-direction: row; align-items: center; gap: 6px; }
  .nav a { border-bottom: 0; padding: 9px 13px; font-size: .96rem; border-radius: var(--rayon-sm); }
  .nav a:hover { background: var(--fond); }
  .nav a[aria-current="page"] { background: var(--orange-pale); color: var(--marine); }
  .nav .bouton { margin-top: 0; margin-left: 8px; width: auto; font-size: .93rem; padding: .62em 1.1em; }
}

/* --- 5. Heros --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--marine); color: #fff; }
.hero .conteneur { position: relative; z-index: 2; }
.hero__grille { padding-block: clamp(56px, 10vw, 104px); }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; }
.hero .surtitre { color: var(--orange); }

/* Accueil : la marque en grand, le groupe avant les poles. */
.hero--accueil { background: linear-gradient(160deg, #0D2545 0%, var(--marine) 46%, var(--marine-fonce) 100%); }
.hero--accueil .hero__grille { display: grid; gap: 34px; }
.hero__marque { width: 108px; }
@media (min-width: 900px) {
  .hero--accueil .hero__grille { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 56px; }
  .hero__marque { width: 168px; justify-self: center; }
}

/* Call Center : le macaron au centre d'ondes concentriques — le signal. */
.hero--centre .hero__grille { display: grid; gap: 36px; }
.hero__badge { width: 190px; justify-self: start; }
@media (min-width: 900px) {
  .hero--centre .hero__grille { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero__badge { width: 260px; justify-self: center; }
}

/* Call Center : ondes concentriques — le signal, l'appel qui porte. */
.hero--centre::after {
  content: ""; position: absolute; z-index: 1;
  right: -120px; top: 50%; width: 660px; height: 660px; transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 22%, rgba(245,135,31,.16) 22% 23%, transparent 23%),
    radial-gradient(circle, transparent 0 36%, rgba(255,255,255,.10) 36% 37%, transparent 37%),
    radial-gradient(circle, transparent 0 50%, rgba(245,135,31,.11) 50% 51%, transparent 51%),
    radial-gradient(circle, transparent 0 64%, rgba(255,255,255,.07) 64% 65%, transparent 65%);
  pointer-events: none;
}

.hero--placement .hero__grille { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .hero--placement .hero__grille { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
}

/* Placement : une diagonale orange — la rencontre de deux parties. */
.hero--placement { background: var(--marine); }
.hero--placement::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 0 52%, rgba(245,135,31,.92) 52% 100%);
  opacity: .16;
}
.hero--placement::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 50%; bottom: -120px; width: 340px; height: 340px;
  border: 2px solid rgba(245,135,31,.30); border-radius: 26px; transform: rotate(24deg);
}

/* Interieur de page : bandeau court. */
.hero--page .hero__grille { padding-block: clamp(44px, 7vw, 72px); }

/* --- 6. Poles (accueil) ----------------------------------------------- */
.poles { display: grid; gap: 22px; }
@media (min-width: 860px) { .poles { grid-template-columns: 1fr 1fr; gap: 26px; } }

.pole {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 30px 26px 28px; text-decoration: none; color: inherit;
  box-shadow: var(--ombre-carte);
  border-top: 5px solid var(--marine);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pole:hover { transform: translateY(-4px); box-shadow: var(--ombre-relief); color: inherit; }
.pole--placement { border-top-color: var(--orange); }
.pole__nom { font-family: var(--titre); font-weight: 700; font-size: 1.62rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 4px; }
.pole__accroche { font-family: var(--titre); font-weight: 600; font-size: 1.16rem; color: var(--orange); margin: 0 0 14px; }
.pole--callcenter .pole__accroche { color: var(--marine-clair); }
.pole__liste { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; }
.pole__liste li { position: relative; padding-left: 22px; color: var(--encre-douce); font-size: .99rem; }
.pole__liste li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
}
.pole--callcenter .pole__liste li::before { background: var(--marine); }
.pole__aller {
  margin-top: auto; font-family: var(--titre); font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--marine); display: inline-flex; align-items: center; gap: .5em;
}
.pole:hover .pole__aller { color: var(--orange-fonce); }
.pole__aller svg { transition: transform .2s ease; }
.pole:hover .pole__aller svg { transform: translateX(4px); }

/* --- 7. Piliers de service ------------------------------------------- */
.piliers { display: grid; gap: 20px; }
@media (min-width: 640px) { .piliers { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1040px) { .piliers { grid-template-columns: repeat(4, 1fr); } }

.pilier {
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 28px 24px; box-shadow: var(--ombre-carte);
}
.pilier h3 { margin-bottom: .4em; }
.pilier p { font-size: .99rem; color: var(--encre-douce); margin: 0; }

/* Picto dans un rond bleu marine, comme sur les bannieres de marque. */
.picto {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--marine); color: #fff;
  display: grid; place-items: center; margin-bottom: 18px;
}
.picto svg { width: 30px; height: 30px; }
.picto--orange { background: var(--orange); }

/* --- 8. Arguments (liste a pictos) ------------------------------------ */
.atouts { display: grid; gap: 26px; }
@media (min-width: 780px) { .atouts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.atout__titre { font-family: var(--titre); font-weight: 700; font-size: 1.24rem; margin: 0 0 .35em; }
.atout p { font-size: .99rem; color: var(--encre-douce); margin: 0; }

/* --- 9. Bloc texte + encadre ------------------------------------------ */
.duo { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .duo { grid-template-columns: 1.15fr .85fr; gap: 52px; } }

.encadre {
  background: var(--marine); color: #fff; border-radius: var(--rayon); padding: 30px 28px;
}
.encadre h3 { color: #fff; }
.encadre p { color: rgba(255,255,255,.84); }
.encadre--orange { background: var(--orange); }
.encadre--orange p { color: rgba(255,255,255,.94); }
.encadre__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.encadre__liste li { display: flex; gap: 13px; align-items: flex-start; }
.encadre__liste strong { font-family: var(--titre); font-weight: 700; font-size: 1.12rem; display: block; }
.encadre__liste span { color: rgba(255,255,255,.82); font-size: .97rem; }
.puce {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.16); display: grid; place-items: center; margin-top: 2px;
}
.puce svg { width: 16px; height: 16px; }

/* --- 10. Bandeau de conversion ---------------------------------------- */
.bandeau { background: var(--marine); color: #fff; }
.bandeau--orange { background: var(--orange); }
.bandeau__interieur {
  display: grid; gap: 22px; padding-block: clamp(40px, 6vw, 62px); align-items: center;
}
@media (min-width: 880px) { .bandeau__interieur { grid-template-columns: 1fr auto; gap: 40px; } }
.bandeau h2 { color: #fff; margin: 0; }
.bandeau p { color: rgba(255,255,255,.86); margin: .5em 0 0; }

/* --- 11. Contact ------------------------------------------------------ */
.cartes-contact { display: grid; gap: 20px; }
@media (min-width: 780px) { .cartes-contact { grid-template-columns: 1fr 1fr; gap: 24px; } }

.carte-contact {
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 28px 26px; box-shadow: var(--ombre-carte); border-left: 5px solid var(--marine);
}
.carte-contact--placement { border-left-color: var(--orange); }
.carte-contact h3 { margin-bottom: .55em; }
.carte-contact dl { margin: 0; display: grid; gap: 13px; }
.carte-contact dt {
  font-family: var(--titre); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: 2px;
}
.carte-contact dd { margin: 0; }
.carte-contact dd a { font-weight: 600; text-decoration: none; }
.carte-contact dd a:hover { text-decoration: underline; }
.note-domaine { font-size: .87rem; color: var(--encre-douce); font-style: italic; margin-top: 4px; }

/* --- 12. Formulaire --------------------------------------------------- */
.formulaire { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-family: var(--titre); font-weight: 600; font-size: 1rem; letter-spacing: .03em; }
.champ .obligatoire { color: var(--orange-fonce); }
.champ input, .champ select, .champ textarea {
  font-family: var(--corps); font-size: 1rem; color: var(--encre);
  padding: 12px 14px; background: var(--surface);
  border: 1px solid var(--trait); border-radius: var(--rayon-sm); width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.champ textarea { min-height: 158px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,135,31,.18);
}
.champ__aide { font-size: .88rem; color: var(--encre-douce); }
@media (min-width: 700px) { .formulaire__paire { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }

.message-formulaire {
  border-radius: var(--rayon-sm); padding: 14px 16px; font-size: .97rem;
  border: 1px solid var(--trait); background: var(--fond);
}
.message-formulaire[data-etat="succes"] { border-color: #B7DFC2; background: #EEF9F1; color: #14532D; }
.message-formulaire[data-etat="erreur"]  { border-color: #F0C0BC; background: #FDF0EE; color: #7F1D1D; }
.message-formulaire[data-etat="info"]    { border-color: #F2CE9E; background: var(--orange-pale); color: #6B3B06; }
.message-formulaire[hidden] { display: none; }

/* Piege a robots : invisible pour l'humain, rempli par les automates. */
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- 13. Pied de page ------------------------------------------------- */
.pied { background: var(--marine-fonce); color: rgba(255,255,255,.78); }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: var(--orange); text-decoration: underline; }
.pied__haut { display: grid; gap: 32px; padding-block: clamp(42px, 6vw, 62px); }
@media (min-width: 860px) { .pied__haut { grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; } }
.pied .marque { color: #fff; }
.pied .marque__pole { color: var(--orange); }
.pied h4 {
  font-family: var(--titre); font-weight: 600; font-size: .84rem; color: #fff;
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px;
}
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .97rem; }
.pied p { font-size: .97rem; }
.pied__bas {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between; font-size: .87rem; color: rgba(255,255,255,.58);
}
.signature-sottye { font-size: .87rem; color: rgba(255,255,255,.58); }

/* --- 14. Utilitaires -------------------------------------------------- */
.entete-section { margin-bottom: clamp(30px, 5vw, 48px); }
.entete-section h2 { margin-bottom: .3em; }
.espace-haut { margin-top: clamp(28px, 4vw, 44px); }

/* --- 15. Correctifs de rendu ------------------------------------------ */
/* Sans taille explicite, un SVG inline se deploie a la largeur du parent :
   la fleche des cartes occupait la moitie de la carte. */
.pole__aller svg { width: 19px; height: 19px; flex: 0 0 auto; }
.pole__aller { white-space: nowrap; }

/* --- 16. Lisibilite sur aplat orange ---------------------------------- */
/* Le blanc sur #F5871F plafonne a 2,3:1 : sous le seuil WCAG (4,5:1), et
   franchement penible au soleil sur un ecran de telephone. Le marine sur
   ce meme orange monte a ~6:1 et reste dans la charte. */
.encadre--orange { color: var(--marine); }
.encadre--orange h3,
.encadre--orange strong { color: var(--marine); }
.encadre--orange p,
.encadre--orange span { color: rgba(11,31,58,.86); }
.encadre--orange .puce { background: rgba(11,31,58,.14); color: var(--marine); }

.bandeau--orange h2 { color: var(--marine); }
.bandeau--orange p  { color: rgba(11,31,58,.82); }

/* Depuis que l'embleme porte l'orange, la diagonale a .26 virait au brun sale
   et lui faisait concurrence. Elle redevient une simple facette du fond. */
.hero--placement::after { opacity: .10; }
