/* ExcelPros — site vitrine. HTML statique, aucune dépendance.
   Couleurs tirées du logo (mêmes valeurs que la console) ; polices hébergées ici (Lexend, Atkinson Hyperlegible). */

@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-display: swap; src: url('../fonts/atkinson-400.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-display: swap; src: url('../fonts/atkinson-700.woff2') format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 100 900; font-display: swap; src: url('../fonts/lexend.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --nuit: #0f2430;
  --nuit-2: #1b3846;
  --nuit-3: #2a4b5c;
  --sur-nuit: #cfdae1;
  --fond: #f4f6f7;
  --blanc: #ffffff;
  --texte: #14232c;
  --discret: #4d5f6a;
  --trait: #d9e1e6;
  --orange: #f26a1b;
  --orange-texte: #b4500f;
  --vert: #12795a;
  --vert-clair: #19b58c;
  --bleu: #1a5fb4;
  --fond-pied: #eef2f4;

  --police-titre: 'Lexend', 'Segoe UI', system-ui, sans-serif;
  --police-texte: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;

  --gouttiere: clamp(1rem, 4.5vw, 2.25rem);
  --largeur: 72rem;
  --rayon: 1.25rem;
  --rayon-petit: 0.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-size-adjust: from-font;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 3px; }
.sur-nuit :focus-visible, .bandeau-vert :focus-visible { outline-color: #fff; }
.appel :focus-visible { outline-color: var(--nuit); }

.lien-evitement {
  position: absolute; left: var(--gouttiere); top: -4rem; z-index: 100;
  background: var(--blanc); color: var(--nuit); padding: 0.7rem 1rem; border-radius: var(--rayon-petit); font-weight: 700;
}
.lien-evitement:focus { top: 0.75rem; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }

/* ---------- Titres ---------- */
h1, h2, h3 { font-family: var(--police-titre); color: inherit; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.6vw, 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.65rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.chapeau { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.5; max-width: 38rem; }
.texte-court { max-width: 38rem; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block; font-family: var(--police-titre); font-weight: 600; font-size: 1rem; line-height: 1.2;
  background: var(--orange); color: var(--nuit); text-decoration: none;
  padding: 0.95rem 1.5rem; border-radius: var(--rayon-petit); border: 0; cursor: pointer;
  transition: background-color 0.15s;
}
.bouton:hover { background: #ff8238; }
.bouton:active { background: #dc5a10; }
.bouton-petit { padding: 0.6rem 1rem; font-size: 0.95rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
.bouton-sombre { background: var(--nuit); color: #fff; }
.bouton-sombre:hover { background: var(--nuit-3); }
.lien-fort { font-family: var(--police-titre); font-weight: 600; color: inherit; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.lien-fort:hover { text-decoration-color: currentColor; }

/* ---------- En-tête : fond blanc, pour que la roue dentée du logo (bleu nuit) se détache ---------- */
.entete { background: var(--blanc); color: var(--texte); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 4.75rem; }
.marque { display: flex; align-items: center; gap: 0.7rem; color: var(--nuit); text-decoration: none; margin-right: auto; }
.marque img { width: 3rem; height: 3rem; }
.marque-nom { font-family: var(--police-titre); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1; }
.marque-sous { font-size: 0.8rem; color: var(--discret); letter-spacing: 0.04em; display: none; }
.marque-textes { display: grid; gap: 0.15rem; }
.menu { display: none; }
.menu a:not(.bouton) { color: var(--texte); text-decoration: none; font-size: 0.97rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.menu a:not(.bouton):hover { border-bottom-color: var(--orange); }
.menu a[aria-current='page'] { border-bottom-color: var(--orange); }
.menu .menu-tel { font-family: var(--police-titre); font-weight: 600; white-space: nowrap; }
.menu-bouton {
  font: inherit; font-family: var(--police-titre); font-weight: 600; font-size: 0.95rem; color: var(--nuit);
  background: transparent; border: 2px solid var(--trait); border-radius: var(--rayon-petit); padding: 0.5rem 0.9rem; cursor: pointer; min-height: 2.75rem;
}
.menu-bouton:hover { border-color: var(--nuit); }
.appel-tete { white-space: nowrap; }

@media (max-width: 63.99rem) {
  .menu.ouvert {
    display: grid; position: absolute; inset: 100% 0 auto 0; background: var(--blanc); padding: 0.5rem var(--gouttiere) 1.5rem; gap: 0.25rem;
    border-bottom: 1px solid var(--trait); box-shadow: 0 1.5rem 2rem rgb(15 36 48 / 0.12);
  }
  .menu.ouvert a:not(.bouton) { padding: 0.75rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--trait); }
  .menu.ouvert .bouton { margin-top: 0.75rem; justify-content: center; }
}
@media (min-width: 64rem) {
  .menu-bouton, .appel-tete { display: none; }
  .menu { display: flex; align-items: center; gap: 1.5rem; }
  .marque img { width: 3.5rem; height: 3.5rem; }
  .marque-sous { display: block; }
}

/* ---------- Accueil : le premier écran ---------- */
.sur-nuit { background: var(--nuit); color: #fff; }
.sur-nuit a:not(.bouton) { color: #fff; }
.heros { position: relative; overflow: clip; background: var(--blanc); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.heros .conteneur { position: relative; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.heros-texte { max-width: 36rem; }
.heros h1 { margin-bottom: 1.25rem; color: var(--nuit); }
.heros .chapeau { color: var(--discret); margin-bottom: 2rem; }
.heros-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

.tablette {
  position: relative; z-index: 1; margin: 0; background: #0a171e; padding: 0.7rem; border-radius: 1.6rem;
  box-shadow: 0 2rem 4rem rgb(0 0 0 / 0.45), 0 0 0 1px #2a4b5c;
}
.tablette img { border-radius: 1rem; width: 100%; background: #fff; }
.tablette figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 62rem) {
  .heros .conteneur { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .heros h1 { font-size: clamp(2.5rem, 1rem + 2.8vw, 3.6rem); }
  .tablette { margin-right: calc(-1 * clamp(0rem, 7vw, 6rem)); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-titre { margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 40rem; }
.section-titre p { color: var(--discret); font-size: 1.15rem; margin-top: 1rem; margin-bottom: 0; }
.section-claire { background: var(--blanc); }

/* Deux façons de travailler ensemble */
.deux { display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .deux { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.volet { border-radius: var(--rayon); padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: 1.25rem; }
.volet h3 { margin-bottom: -0.25rem; }
.volet p { margin: 0; }
.volet-clair { background: var(--blanc); border: 1px solid var(--trait); }
/* Ancien volet sombre : désormais une carte claire bordée de vert. */
.volet-nuit { background: var(--blanc); border: 1px solid var(--trait); border-left: 6px solid var(--vert); }
.volet-nuit p { color: var(--discret); }
.liste-trait { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.liste-trait li { padding-left: 1.5rem; position: relative; }
.liste-trait li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 0.7rem; height: 3px; background: var(--orange); border-radius: 2px; }
.volet-image { margin: auto 0 0; border-radius: 0.9rem; overflow: clip; border: 1px solid var(--trait); }

/* La démarche : une vraie suite d'étapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: etape; }
.etapes li { counter-increment: etape; border-top: 3px solid var(--nuit); padding-top: 1rem; }
.etapes li::before { content: counter(etape); display: block; font-family: var(--police-titre); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--orange-texte); margin-bottom: 0.75rem; }
.etapes h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.etapes p { margin: 0; color: var(--discret); }
@media (min-width: 40rem) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .etapes { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* Les services autour : lignes séparées par des filets */
.lignes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait); }
.lignes li { display: grid; gap: 0.5rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--trait); align-items: baseline; }
.lignes h3 { font-size: 1.25rem; }
.lignes p { margin: 0; color: var(--discret); }
@media (min-width: 52rem) { .lignes li { grid-template-columns: 1fr 1.6fr auto; } }

/* Johanna */
.presentation { display: grid; gap: 2rem; align-items: center; }
.presentation blockquote { margin: 0; font-family: var(--police-titre); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; border-left: 6px solid var(--orange); padding-left: 1.25rem; }
@media (min-width: 56rem) { .presentation { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

/* Bandeau vert : texte blanc (contraste 5,4:1). Pas de bouton orange dessus. */
.bandeau-vert { background: var(--vert); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bandeau-vert h2, .bandeau-vert h3 { color: #fff; }
.bandeau-vert p { color: #e6f4ee; }
.bandeau-vert a:not(.bouton) { color: #fff; text-decoration-color: currentColor; }
.bandeau-vert .benefices li { border-top-color: rgb(255 255 255 / 0.55); }
.bandeau-vert .benefices p { color: #e6f4ee; }

/* Appel à l'action de fin de page : bandeau orange, texte bleu nuit (le blanc ne passe pas sur cet orange) */
.appel { background: var(--orange); color: var(--nuit); padding-block: clamp(3rem, 7vw, 5rem); }
.appel .conteneur { display: grid; gap: 1.5rem; justify-items: start; }
.appel p { color: var(--nuit); max-width: 34rem; margin: 0; font-size: 1.15rem; }
.appel .bouton { background: var(--nuit); color: #fff; }
.appel .bouton:hover { background: var(--nuit-3); }
.appel a:not(.bouton) { color: var(--nuit); }
.appel .lien-fort { text-decoration-color: var(--nuit); }

/* ---------- Pages intérieures : titre sur fond blanc, souligné d'un trait orange ---------- */
.page-titre { background: var(--blanc); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--trait); }
.page-titre h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.5rem); max-width: 22ch; margin-bottom: 1rem; color: var(--nuit); }
.page-titre h1::after { content: ''; display: block; width: 4rem; height: 5px; margin-top: 1rem; background: var(--orange); border-radius: 3px; }
.page-titre .chapeau { color: var(--discret); margin: 0; }
.prose { max-width: 40rem; }
.prose h2 { margin-block: 2.5rem 1rem; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.15rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.25rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--orange-texte); }
.prose strong { font-weight: 700; }
.a-propos-mise { display: grid; gap: 3rem; }
@media (min-width: 62rem) { .a-propos-mise { grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: 5rem; align-items: start; } }
.fiche { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.75rem; display: grid; gap: 1rem; }
.fiche img { width: 7rem; }
.fiche p { margin: 0; color: var(--discret); }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 46rem; }
.faq details { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-petit); }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-family: var(--police-titre); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--orange-texte); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--discret); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Colonnes de preuves / bénéfices */
.benefices { display: grid; gap: 2rem 3rem; margin: 0; padding: 0; list-style: none; }
.benefices li { border-top: 3px solid var(--vert-clair); padding-top: 1rem; }
.benefices h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.benefices p { margin: 0; color: var(--discret); }
@media (min-width: 44rem) { .benefices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .benefices.trois, .benefices.cinq { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 75rem) { .benefices.cinq { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.75rem; } }
/* Le parcours en étapes numérotées (Trouver, Vendre, Réaliser…) */
.parcours { counter-reset: etape; }
.parcours li { counter-increment: etape; }
.parcours h3::before { content: counter(etape) '. '; opacity: 0.75; }

/* Détail d'un produit : texte + capture, en alternance */
.detail { display: grid; gap: 1.5rem; align-items: center; padding-block: 2rem; }
.detail + .detail { border-top: 1px solid var(--trait); }
.detail figure { margin: 0; border-radius: 0.9rem; overflow: clip; border: 1px solid var(--trait); box-shadow: 0 1rem 2rem rgb(15 36 48 / 0.1); }
.detail p { color: var(--discret); max-width: 34rem; }
@media (min-width: 56rem) {
  .detail { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .detail.inverse figure { order: -1; }
}

/* Exemple de site client : l'écran d'ordinateur, et le téléphone posé devant */
.exemple-site { display: grid; gap: 1.25rem; align-items: end; }
.exemple-site figure { margin: 0; overflow: clip; box-shadow: 0 1.5rem 3rem rgb(15 36 48 / 0.15); }
.exemple-ecran { border-radius: 0.9rem; border: 1px solid var(--trait); border-top: 1.6rem solid #e4e9ed; }
.exemple-telephone { width: min(15rem, 70%); justify-self: center; border-radius: 1.8rem; border: 0.55rem solid var(--nuit); }
@media (min-width: 56rem) {
  .exemple-site { grid-template-columns: minmax(0, 1fr) 13rem; gap: 0; }
  .exemple-telephone { width: auto; margin-left: -4rem; margin-bottom: -1.5rem; position: relative; }
}

/* Une liste mise en carte, à la place d'une capture (étape sans écran à montrer) */
.carte-liste { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem 1.75rem; margin: 0; }

/* Trois choix d'adresse */
.choix { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.choix li { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.choix .exemple { font-family: var(--police-titre); font-weight: 500; font-size: 0.95rem; color: var(--vert); overflow-wrap: anywhere; }
.choix p { margin: 0; color: var(--discret); }
@media (min-width: 52rem) { .choix { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Formulaire de contact ---------- */
.formulaire { display: grid; gap: 1.25rem; max-width: 40rem; }
.champ { display: grid; gap: 0.4rem; align-content: start; }
.champ label, .champ legend { font-weight: 700; font-size: 0.98rem; }
.aide { color: var(--discret); font-size: 0.92rem; }
.formulaire > p { margin: 0; }
#coordonnees-aide { margin-top: -0.75rem; }
.champ input, .champ select, .champ textarea {
  font: inherit; color: var(--texte); background: var(--blanc); border: 2px solid #66798a; border-radius: var(--rayon-petit);
  padding: 0.75rem 0.9rem; width: 100%;
}
.champ textarea { min-height: 9rem; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--nuit-3); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--bleu); outline-offset: 1px; border-color: var(--bleu); }
.champ input:user-invalid, .champ select:user-invalid, .champ textarea:user-invalid { border-color: #b3261e; background: #fdf1ef; }
.erreur { display: none; color: #9d1c14; font-weight: 700; font-size: 0.95rem; }
.champ input:user-invalid ~ .erreur, .champ select:user-invalid ~ .erreur, .champ textarea:user-invalid ~ .erreur, .champ .erreur.visible { display: block; }
.deux-champs { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .deux-champs { grid-template-columns: 1fr 1fr; } }
.consentement { display: flex; gap: 0.75rem; align-items: start; }
.consentement input { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--nuit); flex: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut-envoi { padding: 1rem 1.25rem; border-radius: var(--rayon-petit); font-weight: 700; display: none; }
.statut-envoi.visible { display: block; }
.statut-envoi.echec { background: #fdf1ef; color: #9d1c14; border: 2px solid #b3261e; }
.statut-envoi.succes { background: #e6f4ee; color: #0b5a43; border: 2px solid var(--vert); }
.coordonnees { display: grid; gap: 1.25rem; align-content: start; }
.coordonnees p { margin: 0; color: var(--discret); }
.contact-mise { display: grid; gap: 3rem; }
@media (max-width: 59.99rem) { .contact-mise .coordonnees { order: -1; } }
@media (min-width: 60rem) { .contact-mise { grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); gap: 5rem; } }
.a-completer { background: #ffe8a3; color: #3b2a00; padding: 0 0.25em; border-radius: 3px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--fond-pied); color: var(--discret); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; font-size: 0.97rem; border-top: 1px solid var(--trait); }
.pied a { color: var(--nuit); }
.pied strong { color: var(--nuit); }
.pied .pied-tel { font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; }
.pied .conteneur { display: grid; gap: 2.5rem; }
.pied-colonnes { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .pied-colonnes { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }
.pied h2 { font-size: 1rem; color: var(--nuit); margin-bottom: 0.75rem; font-weight: 600; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.pied p { margin: 0 0 0.6rem; }
.pied-marque { display: grid; gap: 0.8rem; }
.pied-bas { border-top: 1px solid var(--trait); padding-top: 1.25rem; font-size: 0.9rem; }

/* ---------- Petites variantes (à la place des styles écrits dans les pages, interdits par la politique de sécurité) ---------- */
.actions-page { margin-top: 2rem; }
.sans-marge { padding-block: 0; }
.volet-etroit { max-width: 52rem; }
.titre-moyen { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.titre-petit { font-size: 1.3rem; }
.section-sans-haut { padding-top: 0; }
.champ .texte-normal, .texte-normal { font-weight: 400; }
