/* ════════════════════════════════════════════════════════════════════
   DIRECTION « APPLE » — section témoin : les offres.
   Additive et réversible : tout est scopé sous .ap, rien n'est écrasé
   ailleurs. Pour revenir en arrière, retirer la classe « ap » sur la
   section dans index.html et la ligne <link> de cette feuille.

   Principes repris d'apple.com :
   - fond blanc pur, encre #1d1d1f, gris de soutien #6e6e73
   - composition centrée, très grands titres, interlettrage serré
   - pas de bordure : les blocs se détachent par un gris très clair
   - rayons larges (18 à 28 px), aucune ombre portée
   - boutons en gélule, lien texte suivi d'un chevron
   - la couleur ne sert qu'aux appels à l'action
   ════════════════════════════════════════════════════════════════════ */

.ap {
  /* Police système : rend San Francisco sur Mac et iPhone,
     DM Sans ailleurs. Aucune police à télécharger. */
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", "DM Sans", "DM Sans Repli", sans-serif;

  --ap-papier: #ffffff;
  --ap-gris: #f5f5f7;      /* le gris des cartes Apple */
  --ap-encre: #1d1d1f;     /* le noir Apple, jamais #000 sur fond clair */
  --ap-doux: #6e6e73;      /* gris de soutien, 4,6:1 sur blanc */
  --ap-filet: #d2d2d7;

  /* Vert HBT assombri pour passer 5,8:1 en blanc sur fond plein */
  --ap-accent: #10763c;
  --ap-accent-clair: #0e8a44;

  background: var(--ap-papier);
  color: var(--ap-encre);
  font-family: var(--ap-font);
  padding-block: clamp(72px, 10vw, 130px);
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════════════════════════════
   EN-TÊTE ASSAGI — même esprit : la couleur ne sert qu'à l'appel à
   l'action. Scopé sous .ap-nav, retirable en enlevant la classe sur
   <header>. Le logo lui-même n'est pas touché.
   ════════════════════════════════════════════════════════════════════ */
.ap-nav {
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", "DM Sans", "DM Sans Repli", sans-serif;
  --ap-accent: #10763c;
  --ap-accent-clair: #0e8a44;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* le mot-symbole perd son dégradé : une seule encre */
.ap-nav .brand-txt b,
.ap-nav .brand-txt b span {
  font-family: var(--ap-font);
  font-weight: 600;
  letter-spacing: -0.01em;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: #f5f5f7;
}

/* la signature : plus de capitales espacées en chasse fixe */
.ap-nav .brand-txt small {
  font-family: var(--ap-font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245, 245, 247, 0.62);
  margin-top: 3px;
}

/* les liens : plus de filet qui pousse, juste l'opacité */
.ap-nav .menu a {
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(245, 245, 247, 0.82);
  transition: color .2s ease;
}
.ap-nav .menu a::after { content: none; }
.ap-nav .menu a:hover { color: #ffffff; }

/* l'appel à l'action : gélule verte pleine, plus de dégradé */
.ap-nav .nav-cta .btn {
  border: 0;
  border-radius: 980px;
  background: var(--ap-accent);
  color: #ffffff;
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 9px 18px;
  transition: background .22s ease;
}
.ap-nav .nav-cta .btn::before,
.ap-nav .nav-cta .btn::after { content: none; }
.ap-nav .nav-cta .btn:hover { background: var(--ap-accent-clair); transform: none; }

/* la barre de progression : un filet uni, discret */
.ap-nav .progression { background: var(--ap-accent-clair); opacity: .9; }

/* ───────────────────────────── en-tête de section ───────────────── */
.ap .ap-tete { max-width: 760px; margin-inline: auto; text-align: center; }

.ap .ap-sur {
  margin: 0;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}
.ap .ap-sur::before { content: none; }   /* annule le filet de l'ancien eyebrow */

.ap h2 {
  margin: 8px 0 0;
  font-family: var(--ap-font);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ap-encre);
  text-wrap: balance;
}

.ap .ap-chapo {
  margin: 18px auto 0;
  max-width: 34em;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ap-doux);
  text-wrap: pretty;
}

/* ───────────────────────────── l'offre principale ───────────────── */
.ap .ap-offre {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  background: var(--ap-gris);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ap .ap-offre::before { content: none; }  /* pas de bandeau dégradé */

.ap .ap-etiquette {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}

.ap .ap-offre h3 {
  margin: 6px 0 0;
  font-family: var(--ap-font);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ap-encre);
}

/* la liste : pas de puces vertes, un simple chevron discret */
.ap .ap-offre ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.ap .ap-offre ul li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.47;
  color: var(--ap-encre);
}
.ap .ap-offre ul li::before,
.ap .ap-offre ul li::marker { content: none; }
.ap .ap-offre ul li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--ap-accent-clair);
  border-bottom: 2px solid var(--ap-accent-clair);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* ───────────────────────────── le prix ──────────────────────────── */
.ap .ap-prix { display: grid; gap: 16px; justify-items: start; }

.ap .ap-montant {
  margin: 0;
  font-family: var(--ap-font);
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ap-encre);
  font-variant-numeric: tabular-nums;
}
.ap .ap-montant .ap-apd {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-doux);
}
.ap .ap-montant sup { font-size: 0.4em; font-weight: 500; vertical-align: super; }

.ap .ap-detail {
  margin: 0;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.47;
  color: var(--ap-doux);
}

/* ───────────────────────────── boutons ──────────────────────────── */
.ap .ap-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 13px 24px;
  border: 0;
  border-radius: 980px;            /* la gélule Apple */
  background: var(--ap-accent);
  color: #ffffff;
  font-family: var(--ap-font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
  transition: background .22s ease, transform .22s ease;
}
.ap .ap-cta:hover { background: var(--ap-accent-clair); transform: none; }
.ap .ap-cta::after, .ap .ap-cta::before { content: none; }
.ap .ap-cta span { all: unset; }

/* lien texte suivi d'un chevron */
.ap .ap-lien {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  color: var(--ap-accent-clair);
  text-decoration: none;
}
.ap .ap-lien:hover { text-decoration: underline; }
.ap .ap-lien::after { content: "›"; font-size: 1.25em; line-height: 1; translate: 0 -1px; }

/* ───────────────────────────── tuiles « sur devis » ─────────────── */
.ap .ap-tuiles {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border: 0;
}
.ap .ap-tuiles li {
  display: grid;
  gap: 8px;
  align-content: start;
  margin: 0;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 32px);
  background: var(--ap-gris);
  border: 0;
  border-radius: 20px;
}
.ap .ap-tuiles b {
  font-family: var(--ap-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ap-encre);
}
.ap .ap-tuiles span {
  font-size: 15.5px;
  line-height: 1.47;
  color: var(--ap-doux);
}
.ap .ap-tuiles em {
  margin-top: 4px;
  font-style: normal;
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}

/* ───────────────────────────── mention légale ───────────────────── */
.ap .ap-mention {
  max-width: 760px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ap-doux);
}
.ap .ap-mention strong { color: var(--ap-encre); font-weight: 600; }
.ap .ap-mention a { color: var(--ap-accent-clair); text-decoration: none; }
.ap .ap-mention a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════
   EN-TÊTES DE SECTION — on habille les classes existantes du site
   (.eyebrow, .h-sec, .lead) plutôt que de réécrire le HTML : une seule
   classe « ap » à poser sur la section suffit.
   ════════════════════════════════════════════════════════════════════ */
.ap .eyebrow {
  display: block;
  font-family: var(--ap-font);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}
.ap .eyebrow::before, .ap .eyebrow::after { content: none; }

.ap .h-sec {
  font-family: var(--ap-font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.018em;
  color: var(--ap-encre);
  margin-top: 8px;
  text-wrap: balance;
}

.ap .lead {
  font-family: var(--ap-font);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ap-doux);
  margin-top: 18px;
  text-wrap: pretty;
}
.ap .lead--capitale::first-letter { all: unset; }   /* pas de lettrine */

/* intro centrée quand elle est en pleine largeur */
.ap > .wrap > .eyebrow,
.ap > .wrap > .h-sec,
.ap > .wrap > .lead {
  text-align: center;
  max-width: 34em;
  margin-inline: auto;
}
.ap > .wrap > .h-sec { max-width: 16em; }

/* ───────────────────────── tuiles : constat, services, inclus ───── */
.ap .pain-grid,
.ap .svc-grid,
.ap .incl-list {
  display: grid;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.ap .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap .svc-grid,
.ap .incl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ap .pain,
.ap .svc,
.ap .incl-list li {
  display: block;
  margin: 0;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.8vw, 36px);
  background: var(--ap-gris);
  border: 0;
  border-radius: 20px;
  transition: none;
}
.ap .svc::before, .ap .pain::before { content: none; }  /* plus de filet dégradé */
.ap .svc:hover, .ap .pain:hover { transform: none; background: var(--ap-gris); }

.ap .pain .num,
.ap .svc .idx {
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}

.ap .pain h3,
.ap .svc h3,
.ap .incl-list li span {
  font-family: var(--ap-font);
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ap-encre);
  margin-top: 12px;
}
.ap .pain p,
.ap .svc p,
.ap .incl-list li small {
  font-family: var(--ap-font);
  font-size: 16px;
  line-height: 1.47;
  color: var(--ap-doux);
  margin-top: 10px;
}

/* les étiquettes rondes des services */
.ap .svc ul { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.ap .svc ul li {
  font-family: var(--ap-font);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-doux);
  background: #ffffff;
  border: 0;
  border-radius: 980px;
  padding: 6px 14px;
}

/* ───────────────────────────── méthode : les étapes ─────────────── */
.ap .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.ap .step {
  display: block;
  padding: clamp(26px, 2.8vw, 36px) clamp(22px, 2.4vw, 30px);
  background: var(--ap-gris);
  border-radius: 20px;
}
.ap .step::before, .ap .step::after { content: none; }  /* plus de filet ni de pastille */
.ap .step .n {
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}
.ap .step h3 {
  font-family: var(--ap-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ap-encre);
  margin-top: 10px;
}
.ap .step p {
  font-family: var(--ap-font);
  font-size: 16px;
  line-height: 1.47;
  color: var(--ap-doux);
  margin-top: 8px;
}
.ap .step .when {
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
  margin-top: 16px;
  padding-top: 0;
}

/* ───────────────────────────── FAQ ──────────────────────────────── */
.ap .faq { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--ap-filet); max-width: 860px; margin-inline: auto; }
.ap .faq details { border-bottom: 1px solid var(--ap-filet); }
.ap .faq summary {
  font-family: var(--ap-font);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ap-encre);
  padding: 22px 44px 22px 0;
}
.ap .faq summary:hover { color: var(--ap-accent-clair); }
.ap .faq summary::after {
  background: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--ap-doux);
  border-bottom: 2px solid var(--ap-doux);
  transform: rotate(45deg);
  margin-top: -10px;
  transition: transform .25s ease;
}
.ap .faq details[open] summary::after { transform: rotate(-135deg); margin-top: -4px; }
.ap .faq .answer {
  font-family: var(--ap-font);
  font-size: 17px;
  line-height: 1.52;
  color: var(--ap-doux);
  padding-bottom: 26px;
}

/* ───────────────────────── boutons et filets internes ───────────── */
.ap .btn.btn--primary {
  border: 0;
  border-radius: 980px;
  background: var(--ap-accent);
  color: #ffffff;
  font-family: var(--ap-font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 13px 24px;
}
.ap .btn.btn--primary::before, .ap .btn.btn--primary::after { content: none; }
.ap .btn.btn--primary:hover { background: var(--ap-accent-clair); transform: none; }
.ap .rule { background: var(--ap-filet); height: 1px; }
.ap .rule::before, .ap .rule::after { content: none; }

/* ───────────────────────────── contact : le formulaire ──────────── */
.ap .contact-lines > a,
.ap .contact-lines > span {
  border-bottom: 1px solid var(--ap-filet);
  font-family: var(--ap-font);
  font-size: 17px;
  color: var(--ap-encre);
}
.ap .contact-lines .lbl {
  font-family: var(--ap-font);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-doux);
}
.ap .field label {
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-encre);
}
.ap .field input,
.ap .field select,
.ap .field textarea {
  font-family: var(--ap-font);
  font-size: 17px;
  color: var(--ap-encre);
  background: #ffffff;
  border: 1px solid var(--ap-filet);
  border-radius: 12px;
  padding: 14px 16px;
}
.ap .field input:focus,
.ap .field select:focus,
.ap .field textarea:focus {
  border-color: var(--ap-accent-clair);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 138, 68, 0.16);
}
.ap .consent { font-family: var(--ap-font); font-size: 14px; color: var(--ap-doux); }
.ap .form-note { font-family: var(--ap-font); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ap-doux); }

/* ════════════════════════════════════════════════════════════════════
   VARIANTE SOMBRE — pour la ou les sections « vitrine ».
   S'utilise avec la classe « nuit » du site, qui fournit déjà le jeu
   de variables foncées.
   ════════════════════════════════════════════════════════════════════ */
.ap.ap-sombre {
  background: #000000;
  color: #f5f5f7;
  --ap-encre: #f5f5f7;
  --ap-doux: #a1a1a6;
  --ap-gris: #1d1d1f;
  --ap-filet: #38383d;
  --ap-accent-clair: #4ade80;   /* vert clair : 8,1:1 sur noir */
}
.ap.ap-sombre .h-sec,
.ap.ap-sombre .pain h3,
.ap.ap-sombre .svc h3,
.ap.ap-sombre .step h3,
.ap.ap-sombre .faq summary { color: #f5f5f7; }
.ap.ap-sombre .svc ul li { background: #2c2c2e; color: #a1a1a6; }
.ap.ap-sombre .rea-cadre,
.ap.ap-sombre .rea-ecran { border-radius: 18px; border-color: var(--ap-filet); }

/* ════════════════════════════════════════════════════════════════════
   FONDU SOMBRE → CLAIR — la jonction entre le hero nocturne et la
   première section blanche. Le dégradé est posé dans le hero, qui est
   déjà en position: relative et overflow: hidden, donc il ne déborde
   pas. Le contenu est remonté au-dessus par z-index.
   ════════════════════════════════════════════════════════════════════ */
.ap-fondu { position: relative; }

.ap-fondu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;                      /* mange le liseré d'arrondi */
  height: clamp(140px, 22vh, 300px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 34%,
    rgba(255, 255, 255, 0.28) 62%,
    rgba(255, 255, 255, 0.78) 84%,
    #ffffff 100%
  );
}

/* le contenu du hero passe devant le fondu */
.ap-fondu > .wrap,
.ap-fondu > .hero-grid { position: relative; z-index: 3; }

/* Les écrans qui préfèrent moins d'effets gardent une coupe nette :
   un fondu long est un mouvement visuel comme un autre. */
@media (prefers-reduced-motion: reduce) {
  .ap-fondu::after { height: 80px; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO CLAIR — le gris Apple #f5f5f7, qui distingue l'ouverture des
   sections blanches sans repasser au noir. Le film d'intro reste
   sombre au-dessus : un fondu court assure la jonction.
   ════════════════════════════════════════════════════════════════════ */
.ap-hero {
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", "DM Sans", "DM Sans Repli", sans-serif;
  --ap-encre: #1d1d1f;
  --ap-doux: #6e6e73;
  --ap-accent: #10763c;
  --ap-accent-clair: #0e8a44;
  --ap-filet: #d2d2d7;

  position: relative;
  background: #f5f5f7;
  color: var(--ap-encre);
  font-family: var(--ap-font);
  /* la marge haute laisse le fondu respirer sans mordre sur le texte */
  padding-top: clamp(150px, 20vh, 240px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

/* jonction film noir → hero gris */
.ap-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: clamp(110px, 15vh, 190px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #0b1410 0%,
    rgba(11, 20, 16, 0.62) 30%,
    rgba(11, 20, 16, 0.20) 62%,
    rgba(245, 245, 247, 0) 100%
  );
}
.ap-hero > .wrap { position: relative; z-index: 2; }

/* les halos et éclats étaient dessinés pour le fond noir */
.ap-hero .hero-bg { display: none; }

/* Le « H » sur fond clair.
   La vidéo de repli ET le rendu 3D ont tous deux un fond noir incrusté :
   ils dessinaient un carré noir sur le gris. Le moteur a été repassé en
   canevas transparent (sources/logo-3d/moteur.js), sans effet à ce jour.
   En attendant, le hero clair affiche le logo plat, qui est net, léger
   et sans dépendance à WebGL. Le modèle 3D reste en place pour les fonds
   sombres : il suffit de retirer ces trois règles pour le réactiver. */
/* ════════════════════════════════════════════════════════════════════
   HERO SOMBRE HARMONISÉ (.ap-hero-nuit)
   Le hero reste noir : le « H » 3D y est éclairé pour ce fond, et son
   canevas peint un noir opaque qu'on n'a pas réussi à rendre
   transparent (voir le journal plus bas). Seule la typographie est
   alignée sur le reste du site. Le bloc du logo n'est pas touché.
   ════════════════════════════════════════════════════════════════════ */
.ap-hero-nuit {
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
             "Helvetica Neue", "DM Sans", "DM Sans Repli", sans-serif;
  --ap-clair: #f5f5f7;
  --ap-doux-nuit: #a1a1a6;
  --ap-vert: #4ade80;          /* 8,1:1 sur noir */
  font-family: var(--ap-font);
}
.ap-hero-nuit .eyebrow {
  font-family: var(--ap-font);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600; letter-spacing: 0; text-transform: none;
  color: var(--ap-vert);
}
.ap-hero-nuit .eyebrow::before, .ap-hero-nuit .eyebrow::after { content: none; }
.ap-hero-nuit h1 {
  font-family: var(--ap-font);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.022em;
  color: var(--ap-clair);
}
.ap-hero-nuit h1 .grad-text {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: var(--ap-vert);
}
.ap-hero-nuit h1 em.grad-text::after { content: none; }
.ap-hero-nuit .lead {
  font-family: var(--ap-font);
  font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; letter-spacing: 0;
  color: var(--ap-doux-nuit);
}
.ap-hero-nuit .trust li,
.ap-hero-nuit .t-nom {
  font-family: var(--ap-font);
  font-size: 14.5px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--ap-doux-nuit);
}
.ap-hero-nuit .trust li::before { background: var(--ap-vert); box-shadow: none; }
.ap-hero-nuit .t-prix {
  font-family: var(--ap-font); font-weight: 600; letter-spacing: -0.015em;
  background: none; -webkit-text-fill-color: currentColor; color: var(--ap-clair);
}
.ap-hero-nuit .btn.btn--primary {
  border: 0; border-radius: 980px; background: #10763c; color: #ffffff;
  font-family: var(--ap-font); font-size: 17px; font-weight: 500; letter-spacing: 0;
  padding: 13px 24px;
}
.ap-hero-nuit .btn.btn--primary::before,
.ap-hero-nuit .btn.btn--primary::after { content: none; animation: none; }
.ap-hero-nuit .btn.btn--primary:hover { background: #0e8a44; transform: none; }
.ap-hero-nuit .btn.btn--ghost {
  border: 1px solid rgba(245,245,247,0.28); border-radius: 980px;
  background: transparent; color: var(--ap-clair);
  font-family: var(--ap-font); font-size: 17px; font-weight: 500; letter-spacing: 0;
  padding: 13px 24px;
}
.ap-hero-nuit .btn.btn--ghost:hover { border-color: var(--ap-clair); background: transparent; transform: none; }

/* Le canevas est désormais transparent (moteur reconstruit avec
   alpha), donc plus besoin du « screen » hérité du fond noir : sur un
   fond clair, screen effaçait le logo. */
.ap-hero .hero-art {
  position: relative;
  mix-blend-mode: normal;
  min-height: clamp(300px, 34vw, 460px);
}

/* Sans WebGL, c'est la vidéo à fond noir qui s'affiche : on lui donne
   alors une carte sombre arrondie, pour qu'elle ait l'air voulue. */
.ap-hero .hero-art:has(.logo-stage:not(.h3d-pret)) {
  background: #0b1410;
  border-radius: 28px;
  overflow: hidden;
}

.ap-hero .eyebrow {
  font-family: var(--ap-font);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-accent-clair);
}
.ap-hero .eyebrow::before, .ap-hero .eyebrow::after { content: none; }

.ap-hero h1 {
  font-family: var(--ap-font);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ap-encre);
}
/* le mot en dégradé passe en vert plein */
.ap-hero h1 .grad-text,
.ap-hero .grad-text {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--ap-accent-clair);
}
.ap-hero h1 em.grad-text::after { content: none; }

.ap-hero .lead {
  font-family: var(--ap-font);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ap-doux);
  border-left: 0;
  padding-left: 0;
}

/* les garanties : plus de capitales en chasse fixe */
.ap-hero .trust { border-top: 1px solid var(--ap-filet); }
.ap-hero .trust li {
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ap-doux);
}
.ap-hero .trust li::before { background: var(--ap-accent-clair); box-shadow: none; }

/* le bandeau de tarifs du hero */
.ap-hero .tarifs-hero { border-color: var(--ap-filet); }
.ap-hero .t-nom {
  font-family: var(--ap-font);
  font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--ap-doux);
}
.ap-hero .t-prix {
  font-family: var(--ap-font);
  font-weight: 600; letter-spacing: -0.015em;
  background: none; -webkit-text-fill-color: currentColor;
  color: var(--ap-encre);
}

/* boutons du hero */
.ap-hero .btn.btn--primary {
  border: 0; border-radius: 980px;
  background: var(--ap-accent); color: #ffffff;
  font-family: var(--ap-font); font-size: 17px; font-weight: 500; letter-spacing: 0;
  padding: 13px 24px;
}
.ap-hero .btn.btn--primary::before,
.ap-hero .btn.btn--primary::after { content: none; animation: none; }
.ap-hero .btn.btn--primary:hover { background: var(--ap-accent-clair); transform: none; }

.ap-hero .btn.btn--ghost {
  border: 1px solid var(--ap-filet); border-radius: 980px;
  background: #ffffff; color: var(--ap-encre);
  font-family: var(--ap-font); font-size: 17px; font-weight: 500; letter-spacing: 0;
  padding: 13px 24px;
}
.ap-hero .btn.btn--ghost:hover { background: #ffffff; border-color: var(--ap-encre); color: var(--ap-encre); transform: none; }

/* ───────────────────── bandeau des métiers, en clair ────────────── */
.ap-ticker {
  background: #ffffff;
  border-block: 1px solid #d2d2d7;
}
.ap-ticker::before { background: linear-gradient(90deg, #ffffff, transparent); }
.ap-ticker::after  { background: linear-gradient(270deg, #ffffff, transparent); }
.ap-ticker .ticker-track span {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #6e6e73;
}
.ap-ticker .ticker-track span::after { background: #0e8a44; }

/* ───────────────────────── pied de page, en clair ───────────────── */
.ap-foot {
  background: #f5f5f7;
  border-top: 1px solid #d2d2d7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", sans-serif;
  color: #6e6e73;
}
.ap-foot .brand-txt b,
.ap-foot .brand-txt b span {
  font-family: inherit; font-weight: 600; letter-spacing: -0.01em;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: #1d1d1f;
}
.ap-foot .brand-txt small {
  font-family: inherit; font-size: 12px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: #6e6e73;
}
.ap-foot h4 {
  font-family: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: #1d1d1f;
}
.ap-foot p, .ap-foot li, .ap-foot a { font-family: inherit; font-size: 14.5px; color: #6e6e73; }
.ap-foot a:hover { color: #0e8a44; }
.ap-foot .foot-bot { border-top: 1px solid #d2d2d7; font-size: 13px; }

/* ──────────────── appels à l'action flottants, assagis ──────────── */
.ap-sobre .btn.btn--primary,
.ap-sobre.bulle-chat,
.ap-sobre .bulle-chat {
  background: #10763c;
  border-radius: 980px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}
.ap-sobre .btn.btn--primary::before,
.ap-sobre .btn.btn--primary::after { content: none; animation: none; }
.ap-sobre .btn.btn--ghost {
  border-radius: 980px;
  background: #ffffff;
  border: 1px solid #d2d2d7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", sans-serif;
  font-weight: 500;
}

/* ───────────────────────────── téléphone ────────────────────────── */
@media (max-width: 900px) {
  .ap-hero { padding-top: clamp(120px, 16vh, 180px); }
  .ap .ap-offre { grid-template-columns: 1fr; border-radius: 22px; }
  .ap .ap-tuiles { grid-template-columns: 1fr; }
  .ap .ap-prix { justify-items: start; }
  .ap .pain-grid,
  .ap .svc-grid,
  .ap .incl-list,
  .ap .steps { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .ap .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────────────────────────── accessibilité ────────────────────── */
.ap :focus-visible { outline: 2px solid var(--ap-accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .ap .ap-cta { transition: none; }
}
