/* ==========================================================
   Paulaure Burkina — surcharges du thème Cynic
   (les images du thème ont été récupérées dans assets/images/ ;
   la police d'icônes miniline est remplacée par Font Awesome)
   ========================================================== */

:root {
  --pb-dark: #172b43;
  --pb-text: #69798d;
  /* couleurs du template Cynic */
  --pb-sky: #e9a17b;
  --pb-blue: #ff7cb0;
  --pb-deep: #6245fe;
  --pb-cyan: #9a9fff;
  /* couleurs du logo */
  --logo-blue: #006fe3;
}

/* -- Corrections des ajouts en fin de main.css ------------- */

/* -- Logo : symbole + nom PAULAURE + slogan -------------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
}
.brand-logo:hover { text-decoration: none; }
.brand-mark {
  height: 5.2rem;
  width: auto;
  transition: all 0.5s;
}
.brand-mark-white { display: none; }
.brand-text {
  font-family: "Montserrat", "Fira Sans", sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--logo-blue);
}
.brand-text small {
  display: block;
  font-family: "Montserrat", "Hind Vadodara", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1a7ad9;
  margin-top: 0.5rem;
}
@media (min-width: 992px) {
  /* Témoignages : le texte reste dans la forme colorée */
  .case-study-slider { padding-right: 10rem; }
}

/* -- Héros de l'accueil ----------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-blue);
  margin-bottom: 1.5rem;
}
.banner-content .btn-outline { margin-left: 1.5rem; }
.btn-outline {
  color: var(--pb-dark) !important;
  background: #fff;
  box-shadow: inset 0 0 0 2px #f1f0ff;
}
.btn-outline:hover { color: var(--pb-blue) !important; }

/* -- Bandeau des pages internes --------------------------
   Le fondu d'origine (.page-wrapper::before) passe au-dessus du
   titre sur les écrans peu hauts : on utilise un bandeau autonome. */
.inner-page::before,
.page-wrapper::before { display: none; }
.inner-page-banner {
  padding: 20rem 0 10rem;
  margin-bottom: 8rem;
  text-align: center;
  overflow: hidden;
  background-image: linear-gradient(45deg, var(--pb-sky), var(--pb-blue));
  border-bottom-left-radius: 50% 6rem;
  border-bottom-right-radius: 50% 6rem;
}
.body-bg-style-3 .inner-page-banner { background-image: linear-gradient(45deg, var(--pb-cyan), var(--pb-deep)); }
.inner-page-banner::before {
  content: "";
  position: absolute;
  width: 60rem;
  height: 60rem;
  border-radius: 50%;
  right: -18rem;
  top: -26rem;
  background: rgba(255, 255, 255, 0.12);
}
.inner-page-banner::after { bottom: 5rem; }
.inner-page-banner .container { position: relative; z-index: 1; }
.inner-page-banner p { max-width: 80rem; margin-left: auto; margin-right: auto; }
.inner-page-banner .breadcrumb-line { font-size: 1.6rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 1rem; }
.inner-page-banner .breadcrumb-line a { color: #fff; }

/* -- Témoignages ------------------------------------------ */
.case-study-slider .item h2 { font-size: 3.2rem; }
.case-study-slider .item h2 span {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.6rem;
}
.case-study-slider .item p { font-size: 2rem; line-height: 3.4rem; }

/* -- Icônes Font Awesome dans les cartes ----------------- */
.icon-container i {
  font-size: 4.4rem;
  transform: rotate(-150deg);
  transition: all 0.5s;
}
.icon-container .txt-icon-cd { color: var(--pb-blue); }
.icon-container .txt-icon-ef { color: var(--pb-deep); }
.icon-container .txt-icon-ab { color: #2f4fd6; }
.content-block:hover .icon-container i { color: #fff; }
.service-box h5 { text-align: center; }
.service-box .more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--pb-deep);
}

/* -- Titres de section ------------------------------------ */
.section-title {
  text-align: center;
  max-width: 76rem;
  margin: 0 auto 5rem;
}
.section-title p { font-size: 2rem; }

/* -- Chiffres clés ---------------------------------------- */
.stats { padding: 8rem 0 5rem; }
.stat-box { text-align: center; margin-bottom: 3rem; }
.stat-box .counter-block {
  display: block;
  background: linear-gradient(45deg, var(--pb-sky), var(--pb-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-box span.label {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  color: var(--pb-dark);
}

/* -- Étapes ----------------------------------------------- */
.process-step { padding: 4rem 3rem 3rem; }
.process-step .step-num {
  font-family: "Fira Sans", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--pb-cyan), var(--pb-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-step h5 { margin-bottom: 1rem; }

/* -- Listes à puces cochées ------------------------------- */
.common-list-items li i {
  position: absolute;
  top: 0.7rem;
  line-height: 1;
  left: -35px;
  color: var(--pb-blue);
}

/* -- Visuels en dégradé ----------------------------------- */
.visual {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
}
.visual i { font-size: 7rem; opacity: 0.95; position: relative; z-index: 1; }
.visual::before,
.visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.visual::before { width: 70%; height: 110%; right: -20%; top: -30%; }
.visual::after { width: 40%; height: 65%; left: -10%; bottom: -25%; }

/* -- Page Services : accès rapide et sections ------------- */
.service-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.service-links .custom-btn { margin: 0; }
.service-section { padding: 5rem 0 2rem; scroll-margin-top: 10rem; }
.service-section + .service-section { border-top: 2px solid #edf7ff; }
.anchor-target { scroll-margin-top: 10rem; }

/* -- Tarifs ----------------------------------------------- */
.pricing-block { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pricing-block .price small { font-size: 1.8rem; font-weight: 700; }
.pricing-block .price-note { font-size: 1.5rem; margin-top: -0.6rem; }
.pricing-block.featured::before { box-shadow: 0 10px 60px rgba(0, 111, 227, 0.35); }
.pricing-block .badge-popular {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background-image: linear-gradient(45deg, var(--pb-sky), var(--pb-blue));
}
.pricing-block .custom-btn { background-image: linear-gradient(45deg, var(--pb-cyan), var(--pb-deep)); }
.pricing-footnote { text-align: center; font-size: 1.6rem; max-width: 80rem; margin: 0 auto 8rem; }

/* -- Contact ---------------------------------------------- */
.contact-card { padding: 4rem 3rem 3rem; text-align: center; }
.contact-card .icon-container { margin-bottom: 3rem; }
.contact-card a { color: var(--pb-deep); font-weight: 500; }
.contact-form select {
  width: 100%;
  font-size: 1.8rem;
  line-height: 3rem;
  padding: 1.5rem 2rem;
  color: var(--pb-text);
  background: #fff;
  border: 2px solid #f1f0ff;
  border-radius: 5px;
  margin-bottom: 3rem;
  appearance: none;
}
.contact-form select:focus { outline: none; border-color: var(--pb-blue); }
.form-status { display: none; margin-top: 2rem; font-size: 1.6rem; color: #519718; }
.form-status.show { display: block; }
.map-embed {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(166, 209, 237, 0.2);
  margin-bottom: 8rem;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* -- FAQ -------------------------------------------------- */
.faq details {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(166, 209, 237, 0.2);
  padding: 2.2rem 3rem;
  margin-bottom: 2rem;
}
.faq summary {
  font-family: "Fira Sans", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pb-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.2rem;
  font-size: 2.6rem;
  color: var(--pb-blue);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 1.5rem 0 0; }

/* -- Bandeau d'appel à l'action --------------------------- */
.cta-band {
  border-radius: 20px;
  padding: 6rem 5rem;
  margin: 2rem 0 8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h3,
.cta-band p { color: #fff; }
.cta-band .custom-btn { background: #fff; color: var(--pb-dark); }
.cta-band .custom-btn:hover { color: var(--pb-blue); }

/* -- Pages légales ---------------------------------------- */
.legal { max-width: 90rem; margin: 0 auto 8rem; }
.legal h2 { font-size: 3.6rem; margin: 5rem 0 1rem; }
.legal h3 { font-size: 2.6rem; margin: 3.5rem 0 1.4rem; }

/* -- 404 -------------------------------------------------- */
.error-code {
  font-family: "Fira Sans", sans-serif;
  font-size: 16rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

/* -- Bouton WhatsApp flottant ----------------------------- */
.whatsapp-float {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* -- Ajustements mobiles ---------------------------------- */
@media (max-width: 767px) {
  .brand-text { font-size: 2.2rem; }
  .brand-text small { font-size: 1rem; }
  .brand-mark { height: 4.2rem; }
  .banner-content .btn-outline { margin-left: 0; margin-top: 1rem; }
  .inner-page-banner { padding: 14rem 0 8rem; margin-bottom: 5rem; }
  .inner-page-banner p { font-size: 1.8rem; line-height: 1.6; }
  .cta-band { padding: 4rem 2.5rem; }
  .error-code { font-size: 9rem; }
  .map-embed iframe { height: 300px; }
}

/* -- Titres h1 : capitales (sans ombre) ------------------- */
:root { --primary: #006fe3; }
h1 {
  text-transform: uppercase;
}

/* ==========================================================
   MODÈLES FOURNIS
   - Barre du haut  : vitrine RMS (layouts/vitrine.blade.php)
   - Boutons, cartes + détail, chiffres, pied de page, retour
     en haut : accueil Kamiz (TMS, welcome.blade.php)
   - Titre du héros : police de l'accueil Africallia (Lora)
   ========================================================== */
@font-face { font-family: "Bebas Neue"; src: url(../fonts/BebasNeue-Regular.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --jakarta: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --bebas: "Bebas Neue", Impact, sans-serif;
  /* Couleurs des modèles, alignées sur la page (template + logo) */
  --nuit: #002f77;              /* « noir » de la page : titres, typo-color-a du template */
  --nuit-survol: #22395a;
  --texte-doux: #69798d;        /* texte secondaire du template */
  --bordure: #dde4ed;
  --fond-survol: #eef3f9;
  --k-marque: var(--primary);   /* bleu du logo, sur fond clair */
  --k-marque-clair: #38a3ff;    /* bleu du logo éclairci, sur fond sombre */
  --zinc-900: var(--nuit);
  --zinc-800: var(--nuit-survol);
  --zinc-500: var(--texte-doux);
  --zinc-300: var(--bordure);
  --zinc-100: var(--fond-survol);
  --r-nuit: var(--nuit);
  --r-marque: var(--primary);
  --r-marque-clair: #1a84f0;
  --r-fond: #ffffff;
  --r-encre: var(--nuit);
  --r-doux: var(--texte-doux);
  --r-trait: rgba(23, 43, 67, .15);
}

/* ---------- Carte Kamiz : bordure + ombre noire ---------- */
.carte {
  border: 4px solid #fff;
  box-shadow: 0 1px 2px rgba(23, 43, 67, .06), 0 22px 44px -20px rgba(23, 43, 67, .45);
}

/* ==========================================================
   BARRE DU HAUT (RMS)
   ========================================================== */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 22px 0;
  background: var(--r-nuit);
}
.topbar__inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1400px;
  padding: 0 40px;
}
.topbar__brand { flex-shrink: 0; text-decoration: none; }
.topbar__brand .brand-mark { display: none; }
.topbar__brand .brand-mark-white { display: inline-block; height: 4.4rem; }
.topbar__brand .brand-text,
.topbar__brand .brand-text small { color: #fff; }

.topbar__nav ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.topbar__nav li { position: relative; }
.lien-nav {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-family: var(--bebas);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color .25s ease;
}
.lien-nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--k-marque-clair);
  transition: width .3s ease;
}
.lien-nav:hover,
.lien-nav:focus-visible,
.lien-nav.active { color: var(--k-marque-clair); text-decoration: none; }
.lien-nav:hover::after,
.lien-nav:focus-visible::after,
.lien-nav.active::after { width: 100%; }

/* sous-menu Services */
.topbar__sous-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  min-width: 270px;
  padding: 10px 0;
  list-style: none;
  background: var(--r-nuit);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
}
.topbar__nav li:hover > .topbar__sous-menu,
.topbar__nav li:focus-within > .topbar__sous-menu { opacity: 1; visibility: visible; transform: none; }
.topbar__sous-menu a {
  display: block;
  padding: 8px 18px;
  font-family: var(--jakarta);
  font-size: 14px;
  color: #b9bec4;
  text-decoration: none;
}
.topbar__sous-menu a:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar__rond {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: color .25s, border-color .25s;
}
.topbar__rond:hover { border-color: var(--k-marque-clair); color: var(--k-marque-clair); }
.bouton-rms {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 0;
  border-radius: 4px;
  background: var(--r-marque);
  color: #fff;
  font-family: var(--bebas);
  font-size: 17px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.bouton-rms:hover { background: var(--r-marque-clair); color: #fff; transform: translateY(-2px); text-decoration: none; }
.topbar__points {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 4px;
  padding: 4px;
  border: 0;
  background: none;
  cursor: pointer;
}
.topbar__points i { width: 4px; height: 4px; border-radius: 1px; background: #fff; }

/* recherche */
.recherche { position: absolute; inset: 100% 0 auto 0; padding: 12px 40px 0; }
.recherche[hidden] { display: none; }
.recherche__boite { position: relative; max-width: 1400px; margin: 0 auto; }
.recherche__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(23, 43, 67, .97);
  backdrop-filter: blur(8px);
}
.recherche__form svg { flex: none; color: rgba(255, 255, 255, .5); }
.recherche__form input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--jakarta);
  font-size: 16px;
  outline: none;
}
.recherche__form input::placeholder { color: rgba(255, 255, 255, .4) !important; }
.recherche__fermer { flex: none; border: 0; background: none; color: rgba(255, 255, 255, .6); cursor: pointer; padding: 4px; border-radius: 50%; }
.recherche__fermer:hover { color: var(--k-marque-clair); }
.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  margin-top: 8px;
  padding: 0;
  list-style: none;
  border-radius: 8px;
  border: 1px solid var(--r-trait);
  background: var(--r-fond);
  box-shadow: 0 30px 70px rgba(14, 19, 23, .16);
  max-height: 50dvh;
  overflow-y: auto;
}
.suggestions[hidden] { display: none; }
.suggestions li + li { border-top: 1px solid var(--r-trait); }
.suggestions a { display: block; padding: 12px 18px; text-decoration: none; font-family: var(--jakarta); }
.suggestions a:hover,
.suggestions li.actif > a { background: rgba(14, 19, 23, .05); }
.suggestions .rubrique { display: block; font-family: var(--bebas); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--r-marque); }
.suggestions .titre { display: block; margin-top: 2px; font-size: 15.5px; color: var(--r-encre); }
.suggestions .extrait { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--r-doux); }
.suggestions .vide { padding: 14px 18px; font-family: var(--jakarta); font-size: 14px; color: var(--r-doux); }

/* tiroir (menu latéral droit) */
.voile { position: fixed; inset: 0; z-index: 1001; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.voile.ouvert { opacity: 1; pointer-events: auto; }
.tiroir {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  width: min(380px, 88vw);
  height: 100%;
  background: var(--r-nuit);
  color: #fff;
  box-shadow: -30px 0 70px rgba(0, 0, 0, .5);
  transform: translateX(100%);
  visibility: hidden;          /* sinon son ombre déborde sur le bord droit quand il est fermé */
  transition: transform .34s cubic-bezier(.22, .8, .28, 1), visibility .34s;
}
.tiroir.ouvert { transform: none; visibility: visible; }
.tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tiroir__tete span { font-family: var(--bebas); font-size: 18px; letter-spacing: .1em; color: #b9bec4; }
.tiroir__liens { flex: 1; overflow-y: auto; margin: 0; padding: 16px 28px; list-style: none; }
.tiroir__liens a { display: block; padding: 10px 0; font-family: var(--bebas); font-size: 24px; letter-spacing: .06em; color: #fff; text-decoration: none; }
.tiroir__liens a:hover { color: var(--k-marque-clair); }
.tiroir__liens .sous a { padding: 6px 0 6px 14px; font-family: var(--jakarta); font-size: 14px; letter-spacing: 0; color: #b9bec4; }
.tiroir__pied { padding: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--jakarta); font-size: 14px; color: #b9bec4; }
.tiroir__pied a { color: #fff; }

@media (max-width: 1240px) { .topbar__nav ul { gap: 22px; } }
@media (max-width: 1080px) { .topbar__nav { display: none; } }
@media (max-width: 900px) {
  .topbar__inner { padding: 0 22px; }
  .recherche { padding: 12px 22px 0; }
  .topbar__actions .bouton-rms { display: none; }
}

/* ==========================================================
   BOUTONS (Kamiz) : pilule + pastille fléchée
   ========================================================== */
.pilule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border: 0;
  border-radius: 9999px;
  font-family: var(--jakarta);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease;
}
.pilule:hover { text-decoration: none; }
.pilule__pastille {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: transform .3s ease;
}
.pilule:hover .pilule__pastille { transform: rotate(45deg); }
.pilule--sombre { background: var(--zinc-900); color: #fff; }
.pilule--sombre:hover { background: var(--zinc-800); color: #fff; }
.pilule--sombre .pilule__pastille { background: var(--k-marque); }
.pilule--clair { background: #fff; color: var(--zinc-900); }
.pilule--clair:hover { background: var(--zinc-100); color: var(--zinc-900); }
.pilule--clair .pilule__pastille { background: var(--zinc-900); }
.pilules { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.banner-content .pilule { margin-top: 2rem; }
.pricing-block .pilule { margin-top: auto; }
.cta-band .pilule { margin-top: 0; }

/* ==========================================================
   SECTION DES CARTES (Kamiz « Modules »)
   ========================================================== */
.modules { background: transparent; padding: 64px 0; font-family: var(--jakarta); color: var(--zinc-900); }
.modules__tete { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.modules__tete h2 {
  max-width: 672px;
  margin: 0;
  font-family: var(--jakarta);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--zinc-900);
}
.modules__tete p { max-width: 384px; margin: 0; font-family: var(--jakarta); font-size: 15px; line-height: 1.625; color: var(--zinc-500); }

/* soulignement tracé à la main */
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.souligne > span { position: relative; z-index: 1; }
.souligne svg { position: absolute; bottom: -0.2em; left: -3%; width: 106%; height: 0.38em; pointer-events: none; color: var(--k-marque); }
.js .souligne path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1) .25s; }
.js .souligne path + path { transition-delay: .7s; }
.js .souligne.trace path { stroke-dashoffset: 0; }

.modules__grille { display: grid; gap: 20px; margin-top: 40px; }
.module {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 224px;
  padding: 20px;
  border-color: var(--zinc-300);
  border-radius: 24px;
  background: #fff;
  color: var(--zinc-900);
  cursor: pointer;
  outline: none;
  transition: background-color .3s, color .3s;
}
.module.actif { background: var(--zinc-900); color: #fff; }
.module__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--zinc-900);
  color: #fff;
  font-size: 16px;
  transition: background-color .3s, color .3s;
}
.module.actif .module__icone { background: var(--k-marque-clair); color: var(--zinc-900); }
.module h3 { margin: 0; font-family: var(--jakarta); font-size: 16px; font-weight: 600; line-height: 1.5; color: inherit; }
.module p { margin: 6px 0 0; font-family: var(--jakarta); font-size: 13px; line-height: 1.625; color: var(--zinc-500); transition: color .3s; }
.module.actif p { color: rgba(255, 255, 255, .65); }

.module-detail {
  grid-column: 1 / -1;
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  background: var(--zinc-900);
  color: #fff;
  animation: pb-fondu .3s ease;
}
.module-detail[hidden] { display: none; }
@keyframes pb-fondu { from { opacity: 0; } to { opacity: 1; } }
.module-detail img { width: 100%; height: 144px; object-fit: cover; }
.module-detail__corps { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px; }
.module-detail__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.module-detail h3 { margin: 0; font-family: var(--jakarta); font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -0.025em; color: var(--k-marque-clair); }
.module-detail__fermer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: background .2s;
}
.module-detail__fermer:hover { background: rgba(255, 255, 255, .2); }
.module-detail p { margin: 0; font-family: var(--jakarta); font-size: 14px; line-height: 1.43; color: rgba(255, 255, 255, .7); }
.module-detail ul { display: grid; gap: 6px 24px; margin: 0; padding: 0; list-style: none; font-family: var(--jakarta); font-size: 13px; line-height: 1.625; color: rgba(255, 255, 255, .85); }
.module-detail li { display: flex; gap: 8px; }
.module-detail li span:first-child { color: var(--k-marque-clair); }

@media (min-width: 640px) {
  .modules__grille { grid-template-columns: repeat(2, 1fr); }
  .module-detail ul { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .modules { padding: 64px 0; }
  .modules__tete { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .modules__tete h2 { font-size: 44px; }
  .module { height: 240px; }
  .module-detail { height: 200px; grid-template-columns: 240px 1fr; }
  .module-detail img { height: 100%; }
  .module-detail__corps { padding: 24px 40px; }
  .module-detail h3 { font-size: 24px; line-height: 1.33; }
}
@media (min-width: 1024px) { .modules__grille { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================
   CHIFFRES CLÉS (Kamiz)
   ========================================================== */
.chiffres { background: transparent; padding: 24px 0 64px; font-family: var(--jakarta); }
.chiffres dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 32px;
  margin: 0;
  padding: 32px 24px;
  border-radius: 28px;
  background: var(--zinc-900);
  color: #fff;
}
.chiffres dd { margin: 0; }
.chiffres .valeur { font-size: 36px; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; color: var(--k-marque-clair); }
.chiffres .libelle { max-width: 180px; margin-top: 8px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
@media (min-width: 768px) {
  .chiffres { padding: 32px 0 64px; }
  .chiffres dl { height: 200px; grid-template-columns: repeat(4, 1fr); align-content: center; padding: 0 40px; }
  .chiffres dl > div + div { border-left: 1px solid rgba(255, 255, 255, .1); padding-left: 32px; }
  .chiffres .valeur { font-size: 60px; line-height: 1; }
}

/* ==========================================================
   PIED DE PAGE (Kamiz)
   ========================================================== */
.pied { margin-top: 24px; background: var(--nuit); color: #fff; font-family: var(--jakarta); }
.pied__feuille { margin: 0 auto; width: calc(100% - 16px); max-width: 1240px; padding: 56px 16px 32px; }
.pied__grille { display: grid; gap: 40px; }
.pied__intro p { max-width: 300px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.625; color: #fff; }
.pied__intro .pilule { margin-top: 24px; }
.pied h3 { margin: 0; font-family: var(--jakarta); font-size: 14px; font-weight: 600; line-height: 1.43; color: #fff; text-transform: none; text-shadow: none; }
.pied ul { margin: 16px 0 0; padding: 0; list-style: none; }
.pied li + li { margin-top: 10px; }
.pied li a { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .6); text-decoration: none; transition: color .2s; }
.pied li a:hover { color: #fff; }
.pied__logotype {
  display: flex;
  align-items: center;
  gap: 2vw;
  margin-top: 56px;
  padding-top: 48px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.pied__logotype img { flex-shrink: 0; width: clamp(52px, 10vw, 150px); aspect-ratio: 1; object-fit: contain; }
.pied__nom { display: flex; min-width: 0; flex-direction: column; }
.pied__nom-principal {
  white-space: nowrap;
  background: linear-gradient(to right, #fff, #c9d4e2, #69798d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(60px, 13vw, 200px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -0.05em;
}
.pied__nom-complement {
  margin-top: 1vw;
  padding-left: .6vw;
  white-space: nowrap;
  font-size: clamp(11px, 1.9vw, 28px);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.pied__copyright { margin: 32px 0 0; font-size: 12px; line-height: 1.33; color: rgba(255, 255, 255, .4); }
@media (min-width: 640px) {
  .pied__feuille { width: calc(100% - 24px); padding-left: 32px; padding-right: 32px; }
  .pied__grille { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pied__feuille { width: calc(100% - 200px); padding-left: 48px; padding-right: 48px; }
  .pied__grille { grid-template-columns: repeat(4, 1fr); }
  .pied__intro { grid-column: span 2; }
}

/* retour en haut (Kamiz) */
.haut {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--zinc-900);
  color: var(--k-marque-clair);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.haut.visible { opacity: 1; visibility: visible; transform: none; }
.haut.visible:hover { transform: translateY(-2px); }
@media (min-width: 640px) { .haut { right: 24px; bottom: 24px; } }
/* le bouton WhatsApp se place au-dessus du retour en haut */
.whatsapp-float { bottom: 9rem; }

/* ==========================================================
   TITRE DU HÉROS : modèle du h1 de l'accueil Africallia
   (Lora semi-gras, 2,75rem -> 5,25rem, interligne 1,02, 15ch,
   dernière ligne en couleur d'accent avec trait tracé à la main).
   Remplace, pour ce titre seulement, la règle capitales + duplicata.
   ========================================================== */
.hero-accroche {
  margin: 0;
  font-family: "Lora", ui-serif, Georgia, serif;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--texte-doux);
  animation: hero-fondu 1.2s ease-out both;
}
.banner-content h1.hero-titre {
  max-width: 15ch;
  margin: 2.4rem 0 0;
  font-family: "Lora", ui-serif, Georgia, serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  color: var(--nuit);
  animation: hero-monte .9s cubic-bezier(.22, .61, .36, 1) .12s both;
}
.hero-titre__accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--primary);
}
.hero-titre__accent svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.4rem;
  width: 100%;
  height: 1.2rem;
  color: rgba(56, 163, 255, .6);
}
.hero-titre__accent path {
  stroke-dasharray: 340;
  animation: hero-trait 1.1s ease-out .7s both;
}
.banner-content .pilule { margin-top: 4.8rem; }
@keyframes hero-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-monte { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes hero-trait { from { stroke-dashoffset: 340; } to { stroke-dashoffset: 0; } }
@media (min-width: 640px) { .banner-content h1.hero-titre { font-size: 6rem; } }
@media (min-width: 1024px) { .banner-content h1.hero-titre { margin-top: 3.2rem; font-size: 7.2rem; } }
@media (min-width: 1280px) { .banner-content h1.hero-titre { font-size: 8.4rem; } }
@media (prefers-reduced-motion: reduce) {
  .hero-accroche, .banner-content h1.hero-titre, .hero-titre__accent path { animation: none; stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .souligne path { transition: none; stroke-dashoffset: 0; }
  .module-detail { animation: none; }
}

/* ==========================================================
   COMPOSANTS DU THÈME DE L'ACCUEIL, réutilisés sur toutes les pages
   (modèle Kamiz, couleurs de la page)
   ========================================================== */
.k-section { padding: 48px 0; font-family: var(--jakarta); color: var(--nuit); }
.k-section h3 { text-transform: none; text-shadow: none; }

/* titre de section : à gauche, texte à droite */
.k-tete { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.k-tete h2,
.k-duo__texte h2 {
  max-width: 672px;
  margin: 0;
  font-family: var(--jakarta);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--nuit);
}
.k-tete p { max-width: 384px; margin: 0; font-family: var(--jakarta); font-size: 15px; line-height: 1.625; color: var(--texte-doux); }

/* grilles de cartes */
.k-grille { display: grid; gap: 20px; margin-top: 40px; }
.kcarte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 210px;
  padding: 20px;
  border-color: var(--zinc-300);
  border-radius: 24px;
  background: #fff;
  color: var(--nuit);
  transition: background-color .3s, color .3s;
}
.kcarte:hover { background: var(--nuit); color: #fff; }
.kcarte:hover .module__icone { background: var(--k-marque-clair); color: var(--nuit); }
.kcarte h3 { margin: 0; font-family: var(--jakarta); font-size: 16px; font-weight: 600; line-height: 1.5; color: inherit; }
.kcarte h3 a { color: inherit; text-decoration: none; }
.kcarte p { margin: 6px 0 0; font-family: var(--jakarta); font-size: 13px; line-height: 1.625; color: var(--texte-doux); transition: color .3s; }
.kcarte p a { color: var(--primary); font-weight: 600; text-decoration: none; }
.kcarte:hover p { color: rgba(255, 255, 255, .65); }
.kcarte:hover p a { color: var(--k-marque-clair); }

/* photo encadrée */
.k-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--zinc-300); }
.k-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* méthode (« Démarrage ») : photo + étapes en accordéon */
.k-demarrage { display: grid; gap: 24px; margin-top: 40px; }
.k-etapes { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.k-etape { border-radius: 16px; background: #fff; transition: background-color .3s; }
.k-etape.ouvert { background: var(--fond-survol); }
.k-etape__tete {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.k-etape__titre { display: flex; align-items: baseline; gap: 12px; font-family: var(--jakarta); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--nuit); }
.k-etape__num { font-family: var(--jakarta); font-size: 12px; font-weight: 600; color: var(--primary); }
.k-etape__fleche { display: flex; flex-shrink: 0; color: var(--texte-doux); }
.k-etape.ouvert .k-etape__fleche { display: none; }
.k-etape__corps { display: none; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 20px 20px; animation: pb-fondu .3s ease; }
.k-etape.ouvert .k-etape__corps { display: flex; }
.k-etape__corps p { max-width: 448px; margin: 0; font-family: var(--jakarta); font-size: 14px; line-height: 1.625; color: var(--texte-doux); }
.k-rond {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nuit);
  color: #fff;
  transition: transform .3s;
}
.k-rond:hover { color: #fff; transform: rotate(45deg); }
.k-faq { margin-top: 40px; }

/* liste numérotée statique (engagements) */
.k-lignes { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.k-ligne { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border-radius: 16px; background: #fff; }
.k-ligne h3 { margin: 0; font-family: var(--jakarta); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--nuit); }
.k-ligne p { margin: 4px 0 0; font-family: var(--jakarta); font-size: 14px; line-height: 1.6; color: var(--texte-doux); }

/* texte + photo */
.k-duo { display: grid; gap: 32px; align-items: center; }
.k-duo__texte > p { font-family: var(--jakarta); font-size: 15px; line-height: 1.7; color: var(--texte-doux); }
.k-duo__texte h2 { margin-bottom: 20px; }
.k-duo .pilules { margin-top: 24px; }
.k-etiquette { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-family: var(--jakarta); font-size: 13px; font-weight: 600; color: var(--nuit); }
.k-coches { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; font-family: var(--jakarta); font-size: 14px; line-height: 1.6; color: var(--nuit); }
.k-coches li { display: flex; gap: 8px; }
.k-coches li span:first-child { color: var(--primary); }
.k-raccourcis { justify-content: flex-start; padding-top: 8px; }

/* tarifs */
.kprix {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-color: var(--zinc-300);
  border-radius: 28px;
  background: #fff;
  color: var(--nuit);
  font-family: var(--jakarta);
}
.kprix__tete { display: flex; align-items: center; gap: 12px; }
.kprix__tete h3 { margin: 0; font-family: var(--jakarta); font-size: 18px; font-weight: 600; color: inherit; }
.kprix__prix { margin: 24px 0 0; font-family: var(--jakarta); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: inherit; }
.kprix__prix span { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--primary); }
.kprix__note { margin: 8px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--zinc-300); font-family: var(--jakarta); font-size: 13px; color: var(--texte-doux); }
.kprix .k-coches { margin-bottom: 28px; }
.kprix .pilule { margin-top: auto; align-self: flex-start; }
.kprix__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--k-marque-clair);
  color: var(--nuit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kprix--avant { background: var(--nuit); color: #fff; border-color: #fff; }
.kprix--avant .module__icone { background: var(--k-marque-clair); color: var(--nuit); }
.kprix--avant .kprix__prix span,
.kprix--avant .k-coches li span:first-child { color: var(--k-marque-clair); }
.kprix--avant .kprix__note { color: rgba(255, 255, 255, .65); border-color: rgba(255, 255, 255, .12); }
.kprix--avant .k-coches { color: rgba(255, 255, 255, .85); }

/* formulaire */
.k-formulaire { margin-top: 40px; padding: 24px; border-color: var(--zinc-300); border-radius: 28px; background: #fff; }
.k-form__grille { display: grid; gap: 16px; margin-bottom: 24px; }
.k-form label { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.k-form label span { font-family: var(--jakarta); font-size: 13px; font-weight: 600; color: var(--nuit); }
.k-form input,
.k-form select,
.k-form textarea {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--zinc-300);
  border-radius: 12px;
  background: #fff;
  color: var(--nuit);
  font-family: var(--jakarta);
  font-size: 15px !important;
  line-height: 1.5;
  appearance: none;
  transition: border-color .2s;
}
.k-form input:focus,
.k-form select:focus,
.k-form textarea:focus { outline: none; border-color: var(--primary); }
.k-form .form-status { font-family: var(--jakarta); font-size: 14px; }

/* plan */
.k-carte-plan { overflow: hidden; border-radius: 28px; }
.k-carte-plan iframe { display: block; width: 100%; height: 420px; border: 0; }

/* texte long (mentions légales) */
.k-texte { padding: 24px; border-color: var(--zinc-300); border-radius: 28px; background: #fff; font-family: var(--jakarta); }
.k-texte h2 { margin: 32px 0 8px; font-family: var(--jakarta); font-size: 28px; font-weight: 500; letter-spacing: -0.025em; color: var(--nuit); text-transform: none; text-shadow: none; }
.k-texte h2:first-of-type { margin-top: 0; }
.k-texte h3 { margin: 24px 0 8px; font-family: var(--jakarta); font-size: 16px; font-weight: 600; color: var(--nuit); }
.k-texte p { font-family: var(--jakarta); font-size: 15px; line-height: 1.7; color: var(--texte-doux); }
.k-texte a { color: var(--primary); }

/* en-tête des pages internes : même titre que le héros de l'accueil */
.page-hero { position: relative; padding: 170px 0 24px; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__fil { margin: 0 0 16px; font-family: var(--jakarta); font-size: 13px; color: var(--texte-doux); }
.page-hero__fil a { color: var(--primary); text-decoration: none; }
.page-hero__fil span { margin: 0 6px; }
.page-hero h1.hero-titre {
  max-width: 15ch;
  margin: 2.4rem 0 0;
  font-family: "Lora", ui-serif, Georgia, serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  color: var(--nuit);
  animation: hero-monte .9s cubic-bezier(.22, .61, .36, 1) .12s both;
}
.page-hero__texte { max-width: 52ch; margin: 28px 0 0; font-family: var(--jakarta); font-size: 16px; line-height: 1.7; color: var(--texte-doux); }
.page-hero + .container .pilules { margin-top: 8px; }

@media (min-width: 640px) {
  .k-grille { grid-template-columns: repeat(2, 1fr); }
  .k-form__grille { grid-template-columns: repeat(2, 1fr); }
  .k-form__large { grid-column: 1 / -1; }
  .page-hero h1.hero-titre { font-size: 6rem; }
}
@media (min-width: 768px) {
  .k-section { padding: 64px 0; }
  .k-tete { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .k-tete h2, .k-duo__texte h2 { font-size: 44px; }
  .k-etape__tete { padding: 20px; }
  .k-etape__titre { font-size: 18px; }
  .k-formulaire, .k-texte { padding: 40px; }
  .kprix { padding: 28px; }
}
@media (min-width: 1024px) {
  .k-grille--3 { grid-template-columns: repeat(3, 1fr); }
  .k-grille--4 { grid-template-columns: repeat(4, 1fr); }
  .k-demarrage { grid-template-columns: 1fr 1fr; gap: 32px; }
  .k-demarrage .k-photo { aspect-ratio: auto; min-height: 380px; }
  .k-duo { grid-template-columns: 1fr 1fr; gap: 56px; }
  .k-duo--inverse .k-duo__texte { order: 2; }
  .page-hero { padding-top: 190px; }
  .page-hero h1.hero-titre { font-size: 7.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero h1.hero-titre, .k-etape__corps { animation: none; }
}

/* pilule claire posée sur une carte blanche : contour pour rester visible */
.k-formulaire .pilule--clair,
.k-texte .pilule--clair { box-shadow: inset 0 0 0 1px var(--zinc-300); }

/* les ancres (#service, #sites, #seo) ne passent pas sous la barre du haut fixe */
.k-section[id], .anchor-target { scroll-margin-top: 90px; }

/* ==========================================================
   AJUSTEMENTS DE MISE EN PAGE
   ========================================================== */
/* Page plus large (alignée sur la barre du haut, 1400 px) */
.container { max-width: 1400px; }
.pied__feuille { max-width: 1400px; }

/* Tuiles plus grandes */
.module,
.kcarte { padding: 28px; gap: 48px; }
.module { height: 280px; }
.kcarte { min-height: 260px; }
.module__icone { width: 48px; height: 48px; font-size: 19px; }
.module h3,
.kcarte h3 { font-size: 18px; }
.module p,
.kcarte p { margin-top: 8px; font-size: 14px; }
.modules__grille,
.k-grille { gap: 24px; }
@media (min-width: 768px) { .module { height: 300px; } }

/* Cartes de module : angles droits + ombre zinc-600 */
.module {
  border-radius: 0;
  box-shadow: 0 10px 15px -3px rgba(82, 82, 91, .5), 0 4px 6px -4px rgba(82, 82, 91, .5);
}

/* Chiffres clés : bande pleine largeur, sans marge ni bordure,
   textes centrés dans un conteneur max-w-7xl (1280 px) */
.chiffres { padding: 32px 0 64px; }
.chiffres > .container { max-width: none; padding: 0; }
.chiffres dl {
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 48px 16px;
}
.chiffres dl > div { text-align: center; }
.chiffres .libelle { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .chiffres dl {
    height: auto;
    padding: 56px max(16px, calc((100% - 1280px) / 2));
  }
  .chiffres dl > div + div { padding-left: 0; }
}

/* ==========================================================
   MODÈLE RMS (documentation, section « Démarrer »)
   - en-tête des pages internes : sur-titre + titre
   - sections texte + CTA, panneaux « terminal » et « réponse »
   Couleurs alignées sur la page : nuit = bleu nuit, accents = bleu du logo.
   ========================================================== */
.rms-surtitre {
  margin: 0 0 16px;
  font-family: var(--bebas);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

/* en-tête de page */
.rms-tete { padding: 170px 0 24px; }
.rms-tete h1 {
  margin: 0;
  font-family: var(--bebas);
  font-size: clamp(44px, 5.2vw, 90px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .012em;
  text-transform: uppercase;
  color: var(--nuit);
}
@media (max-width: 900px) { .rms-tete { padding: 130px 0 16px; } }

/* section texte + panneaux */
.rms-section { padding: 80px 0 110px; }
.rms-duo { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 54px; }
.rms-duo > div { min-width: 0; }
.rms-duo__texte h2 {
  margin: 0;
  font-family: var(--bebas);
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .012em;
  text-transform: uppercase;
  color: var(--nuit);
}
.rms-duo__texte p:not(.rms-surtitre) {
  max-width: 48ch;
  margin: 20px 0 0;
  font-family: "Fira Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  color: var(--texte-doux);
}
.rms-duo__texte p:not(.rms-surtitre) + p { margin-top: 16px; }
.rms-duo__texte .bouton-rms { margin-top: 32px; }

.rms-terminal,
.rms-reponse { overflow: hidden; border-radius: 10px; }
.rms-terminal { border: 1px solid rgba(255, 255, 255, .1); background: var(--nuit); }
.rms-terminal__tete {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rms-terminal__tete span { width: 10px; height: 10px; border-radius: 50%; }
.rms-terminal__tete em {
  margin-left: 8px;
  font-family: var(--bebas);
  font-size: 13px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.rms-terminal pre,
.rms-reponse pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.85;
}
.rms-terminal pre { color: #c9d4e2; }
.rms-com { color: rgba(255, 255, 255, .4); }
.rms-ok { color: var(--k-marque-clair); }
.rms-reponse { margin-top: 20px; border: 1px solid var(--r-trait); background: rgba(23, 43, 67, .05); }
.rms-reponse > p {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--r-trait);
  font-family: var(--bebas);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.rms-reponse pre { color: var(--nuit); }

.rms-section[id] { scroll-margin-top: 90px; }
@media (max-width: 900px) {
  .rms-section { padding: 48px 0 80px; }
  .rms-duo { grid-template-columns: 1fr; }
}
.rms-l { display: block; padding-left: 4ch; text-indent: -2ch; }

/* ==========================================================
   Barre du haut transparente, fond bleu nuit au défilement
   ========================================================== */
.topbar { background: transparent; transition: background-color .3s ease, box-shadow .3s ease; }
.topbar.scrolled { background: var(--nuit); box-shadow: 0 10px 30px -18px rgba(23, 43, 67, .6); }

/* Accueil : barre transparente sur le fond clair du héros -> logo et liens foncés */
.home .topbar:not(.scrolled) .brand-mark { display: inline-block; height: 4.4rem; }
.home .topbar:not(.scrolled) .brand-mark-white { display: none; }
.home .topbar:not(.scrolled) .brand-text { color: var(--logo-blue); }
.home .topbar:not(.scrolled) .brand-text small { color: #1a7ad9; }
.home .topbar:not(.scrolled) .lien-nav { color: var(--nuit); }
.home .topbar:not(.scrolled) .lien-nav:hover,
.home .topbar:not(.scrolled) .lien-nav.active { color: var(--primary); }
.home .topbar:not(.scrolled) .lien-nav::after { background: var(--primary); }
.home .topbar:not(.scrolled) .topbar__rond { color: var(--nuit); border-color: rgba(23, 43, 67, .25); background: rgba(23, 43, 67, .05); }
.home .topbar:not(.scrolled) .topbar__points i { background: var(--nuit); }

/* Pages internes : barre transparente sur l'en-tête bleu primaire */
.page .topbar:not(.scrolled) .lien-nav:hover,
.page .topbar:not(.scrolled) .lien-nav.active { color: #fff; }
.page .topbar:not(.scrolled) .lien-nav::after { background: #fff; }
.page .topbar:not(.scrolled) .topbar__rond:hover { color: #fff; border-color: #fff; }
.page .topbar:not(.scrolled) .bouton-rms { background: #fff; color: var(--primary); }

/* ==========================================================
   En-tête des pages internes : fond primaire, texte centré
   ========================================================== */
.rms-tete { padding: 190px 0 110px; background: var(--primary); text-align: center; }
.rms-tete h1 { color: #fff; }
@media (max-width: 900px) { .rms-tete { padding: 140px 0 72px; } }
/* les raccourcis (Services) et les boutons (404) qui suivent l'en-tête respirent */
.rms-tete + .container { padding-top: 32px; }
