/* Unidus Consulting — sobre, élégant, cubes du logo en accents */
:root {
  --rouge: #d4311e;
  --bleu: #1455b4;
  --vert: #6fb011;
  --encre: #1d1f24;
  --gris: #5c6470;
  --fond: #f7f8fa;
  --carte: #ffffff;
  --trait: #e3e6ea;
  --rayon: 10px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--encre);
  background: var(--fond);
  line-height: 1.65;
  font-size: 17px;
}
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--bleu); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- entête ---- */
.haut {
  background: var(--carte);
  border-bottom: 1px solid var(--trait);
  position: sticky; top: 0; z-index: 10;
}
.barre { height:80px;display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.marque { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.marque:hover { text-decoration: none; }
.marque img { display: block; height: 180px; width: auto; }
.devise { font-style: italic; color: var(--gris); font-size: 1.1rem; white-space: nowrap; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--encre); font-weight: 500; }
.nav a:hover { color: var(--bleu); text-decoration: none; }
.nav a.actif { color: var(--bleu); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--encre); margin: 5px 0; }

/* ---- héros ---- */
.heros { background: var(--carte); border-bottom: 1px solid var(--trait); }
.heros .conteneur {
  display: flex; align-items: center; gap: 48px;
  padding-top: 72px; padding-bottom: 72px;
}
.heros-texte { flex: 1.2; }
.heros-visuel { flex: 0.8; text-align: center; }
.heros-visuel img { max-width: 320px; width: 100%; height: auto; }
h1 { font-size: 2.4rem; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 18px; }
.sous-titre { color: var(--gris); font-size: 1.15rem; margin-bottom: 28px; max-width: 34em; }
.accent-rouge { color: var(--rouge); }
.accent-bleu { color: var(--bleu); }
.accent-vert { color: var(--vert); }

/* ---- boutons ---- */
.bouton {
  display: inline-block; padding: 13px 28px; border-radius: var(--rayon);
  background: var(--bleu); color: #fff; font-weight: 600; border: 0; cursor: pointer;
  font-size: 1rem;
}
.bouton:hover { background: #0f4694; text-decoration: none; }
.bouton-secondaire { background: transparent; color: var(--bleu); border: 2px solid var(--bleu); padding: 11px 26px; }
.bouton-secondaire:hover { background: #eef3fb; }
.bouton-vert { background: var(--vert); }
.bouton-vert:hover { background: #5e9710; }

/* ---- sections / cartes ---- */
section { padding: 64px 0; }
h2 { font-size: 1.7rem; margin-bottom: 12px; letter-spacing: -0.3px; }
.intro-section { color: var(--gris); max-width: 40em; margin-bottom: 36px; }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte {
  background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 28px; border-top: 4px solid var(--trait);
}
.carte h3 { margin-bottom: 10px; font-size: 1.15rem; }
.carte p { color: var(--gris); font-size: 0.97rem; }
.carte-rouge { border-top-color: var(--rouge); }
.carte-bleu { border-top-color: var(--bleu); }
.carte-vert { border-top-color: var(--vert); }

/* ---- forfaits ---- */
.forfaits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.forfait {
  background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 32px 28px;
}
.forfait.vedette { border: 2px solid var(--vert); position: relative; }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--vert); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 3px 14px; border-radius: 99px; white-space: nowrap;
}
.forfait h3 { font-size: 1.2rem; }
.prix { font-size: 1.9rem; font-weight: 700; margin: 10px 0 2px; }
.prix small { font-size: 0.95rem; font-weight: 400; color: var(--gris); }
.forfait ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.forfait li { padding: 7px 0 7px 26px; position: relative; font-size: 0.95rem; color: var(--gris); border-bottom: 1px solid var(--fond); }
.forfait li::before { content: "▪"; position: absolute; left: 4px; }
.forfait-essentiel li::before { color: var(--bleu); }
.forfait-serenite li::before { color: var(--vert); }
.forfait-premium li::before { color: var(--rouge); }

/* ---- formulaires ---- */
form { max-width: 560px; }
label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 0.95rem; }
input, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--trait); border-radius: 8px;
  font: inherit; background: var(--carte); color: var(--encre);
}
input:focus, textarea:focus { outline: 2px solid var(--bleu); border-color: var(--bleu); }
textarea { min-height: 120px; resize: vertical; }
.champ-cache { position: absolute; left: -9999px; }
form .bouton { margin-top: 26px; }
.note-formulaire { font-size: 0.85rem; color: var(--gris); margin-top: 14px; }

/* ---- étapes ---- */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etape { counter-increment: etape; background: var(--carte); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 26px; }
.etape::before {
  content: counter(etape); display: inline-block; width: 34px; height: 34px;
  background: var(--encre); color: #fff; border-radius: 8px; text-align: center;
  line-height: 34px; font-weight: 700; margin-bottom: 14px;
}
.etape h3 { font-size: 1.05rem; margin-bottom: 8px; }
.etape p { color: var(--gris); font-size: 0.95rem; }

/* ---- bandeau CTA ---- */
.bandeau { background: var(--encre); color: #fff; text-align: center; }
.bandeau h2 { color: #fff; }
.bandeau p { color: #b8bdc6; margin-bottom: 26px; }

/* ---- pied ---- */
.pied { background: var(--carte); border-top: 1px solid var(--trait); padding: 32px 0; font-size: 0.88rem; color: var(--gris); }
.pied .conteneur { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- divers ---- */
.tableau-conditions { font-size: 0.92rem; color: var(--gris); }
.page-titre { padding: 56px 0 8px; }
.merci { text-align: center; padding: 96px 24px; }

@media (max-width: 820px) {
  .cartes, .forfaits, .etapes { grid-template-columns: 1fr; }
  .heros .conteneur { flex-direction: column-reverse; text-align: center; padding-top: 48px; padding-bottom: 48px; }
  .sous-titre { margin-left: auto; margin-right: auto; }
  h1 { font-size: 1.9rem; }
  .burger { display: block; }
  .marque img { height: 96px; }
  .devise { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--carte); border-bottom: 1px solid var(--trait);
    flex-direction: column; padding: 18px 24px; gap: 16px;
  }
  .nav.ouvert { display: flex; }
}
.espace-haut { margin-top: 28px; }
.langue { font-size: 0.85rem; color: var(--gris); align-self: center; }
.nav a.langue:first-of-type { margin-left: 10px; padding-left: 18px; border-left: 1px solid var(--trait); }
