/* Leads by Harvey : feuille de style unique (aucune dépendance) */

:root {
  --papier: #F3EFE6;
  --papier-2: #EAE4D7;
  --encre: #141311;
  --encre-2: #46443E;
  --ligne: #D6CFBF;
  --nuit: #11100E;
  --nuit-2: #1C1B18;
  --nuit-ligne: #2E2C27;
  --clair: #F3EFE6;
  --clair-2: #B9B2A3;
  --accent: #FF5A1F;
  --accent-fonce: #E9470E;
  --sur-accent: #141311;
  --whatsapp: #1FA855;

  --police-titre: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --police-texte: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rayon: 14px;
  --rayon-grand: 24px;
  --courbe: cubic-bezier(.2, .7, .2, 1);
  --largeur: 1180px;
  --section: clamp(72px, 10vw, 136px);
  --entete: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 17px/1.6 var(--police-texte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 4.6vw + 1.2rem, 5.3rem); line-height: .98; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 2.6vw + 1.2rem, 3.35rem); line-height: 1.04; font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--sur-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { display: none; }
.icone { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.conteneur { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 32px, 820px); }
.section { padding-block: var(--section); }

.evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--encre); color: var(--clair); border-radius: 8px;
}
.evitement:focus { top: 12px; }

/* ---------------------------------------------------------------- éléments communs */

.surtitre {
  display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.5;
  margin-bottom: 20px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-2);
}
.surtitre--clair { color: var(--clair-2); }
.pastille { flex: none; width: 9px; height: 9px; margin-top: .45em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  background: var(--accent); color: var(--sur-accent);
  border: 2px solid var(--accent); border-radius: 999px;
  font: 700 1rem/1.2 var(--police-texte); text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--courbe), border-color .2s var(--courbe), transform .2s var(--courbe), box-shadow .2s var(--courbe);
}
.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(233, 71, 14, .8); }
.bouton:active { transform: translateY(0); }
.bouton .icone { transition: transform .2s var(--courbe); }
.bouton:hover .icone { transform: translateX(3px); }
.bouton--petit { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.bouton--sombre { background: var(--encre); border-color: var(--encre); color: var(--clair); }
.bouton--sombre:hover { background: #000; border-color: #000; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); }
.bouton--contour { background: transparent; border-color: var(--encre); color: var(--encre); }
.bouton--contour:hover { background: var(--encre); border-color: var(--encre); color: var(--clair); box-shadow: none; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: var(--accent);
}
.lien-fleche .icone { transition: transform .2s var(--courbe); }
.lien-fleche:hover .icone { transform: translateX(4px); }
.lien-fleche--clair { color: var(--clair); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------------------------------------------------------------- en-tête */

.entete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 239, 230, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--courbe);
}
.entete.defile { border-bottom-color: var(--ligne); }
.entete__rang { display: flex; align-items: center; gap: 24px; min-height: var(--entete); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__marque { width: 34px; height: 34px; }
.logo__marque rect { fill: var(--encre); }
.logo__marque path { fill: var(--accent); }
.logo__texte { font-family: var(--police-titre); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.logo__texte strong { font-weight: 800; }
.nav { display: none; gap: 28px; }
.nav a { font-weight: 600; font-size: .97rem; text-decoration: none; padding-block: 10px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--courbe); }
.nav a:hover { background-size: 100% 2px; }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------------------------------------------------------------- hero */

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__grille { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero__grille { grid-template-columns: .95fr 1.05fr; gap: 48px; } }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 3.4vw + 1.25rem, 4.6rem); }
.surligne {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__intro { font-size: clamp(1.08rem, .4vw + 1rem, 1.25rem); color: var(--encre-2); max-width: 36ch; margin-bottom: 32px; }
.preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-weight: 600; font-size: .95rem; }
.preuves li { display: inline-flex; align-items: center; gap: 8px; }
.preuves .icone { color: var(--accent-fonce); stroke-width: 3; }

/* présentation avec photo */
.presentation {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  padding: 5px 16px 5px 5px; border-radius: 999px; background: #FBF9F4; border: 1px solid var(--ligne);
  font-size: .95rem; color: var(--encre-2);
}
.presentation img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.presentation strong { color: var(--encre); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* vitrine : un site réalisé + le téléphone qui reçoit les demandes */
.vitrine { position: relative; margin: 0; padding: 0 16% 46% 0; }
.vitrine::before {
  content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; left: -8%; top: 14%;
  background: var(--accent); border-radius: 50%;
}
.vitrine__ecran { transform: rotate(-1.5deg); }
.vitrine__legende {
  position: absolute; left: 0; bottom: -30px; max-width: 58%; padding: 6px 10px; border-radius: 8px;
  background: var(--papier); font-size: .8rem; line-height: 1.4; color: var(--encre-2);
}
.vitrine .telephone { position: absolute; right: 0; bottom: 0; width: 250px; margin: 0; transform-origin: 100% 100%; transform: scale(var(--echelle-tel, .62)); }
@media (min-width: 560px) { .vitrine .telephone { --echelle-tel: .8; } }
@media (min-width: 960px) { .vitrine { padding-bottom: 34%; } .vitrine .telephone { --echelle-tel: .92; } }
.telephone__coque {
  background: var(--nuit); border-radius: 42px; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(20, 19, 17, .75), inset 0 0 0 2px #2b2a26;
  transform: rotate(4deg);
}
.telephone__ecran {
  border-radius: 33px; padding: 12px 12px 18px;
  background: radial-gradient(120% 70% at 50% 0%, #2c4a3a 0%, #13241b 55%, #0c1712 100%);
  color: #fff; overflow: hidden;
}
.telephone__statut { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; padding: 2px 10px 0; }
.telephone__encoche { width: 86px; height: 24px; background: #000; border-radius: 20px; }
.telephone__jour { margin: 20px 6px 12px; font-family: var(--police-titre); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.notifs { display: grid; gap: 8px; }
.notif:nth-child(n+4) { display: none; }
.notif {
  display: grid; gap: 2px; padding: 10px 12px;
  background: rgba(255, 255, 255, .95); color: var(--encre); border-radius: 16px;
  font-size: .8rem; line-height: 1.3;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-14px) scale(.97);
  animation: arrivee .7s var(--courbe) forwards;
}
.notif:nth-child(1) { animation-delay: .5s; }
.notif:nth-child(2) { animation-delay: 1.5s; }
.notif:nth-child(3) { animation-delay: 2.5s; }
.notif:nth-child(4) { animation-delay: 3.5s; }
.notif strong { font-size: .84rem; }
.notif > span:last-child { color: var(--encre-2); }
.notif__app { display: flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-2); }
.notif__logo { width: 14px; height: 14px; border-radius: 4px; background: var(--whatsapp); }
@keyframes arrivee { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- fuites */

.fuites { border-top: 1px solid var(--ligne); }
.fuites h2 { max-width: 22ch; }
.attenue { color: #7A766C; }
.fuites__liste { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 820px) { .fuites__liste { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.fuites__liste li { border-top: 2px solid var(--encre); padding-top: 22px; }
.fuites__num { display: inline-block; font-family: var(--police-titre); font-weight: 800; font-size: 1rem; padding: 2px 10px; border-radius: 999px; background: var(--accent); margin-bottom: 16px; }
.fuites__liste h3 { margin-bottom: 8px; }
.fuites__liste p { color: var(--encre-2); }

/* ---------------------------------------------------------------- réalisations (fond sombre) */

.sombre { background: var(--nuit); color: var(--clair); }
.sombre h2 { max-width: 18ch; }
.accent { color: var(--accent); }
.projet { display: grid; gap: 40px; align-items: center; margin-top: 72px; }
.projet + .projet { margin-top: clamp(80px, 10vw, 128px); }
@media (min-width: 960px) {
  .projet { grid-template-columns: 1.3fr .7fr; gap: 64px; }
  .projet--inverse { grid-template-columns: .7fr 1.3fr; }
  .projet--inverse .projet__visuels { order: 2; }
}
.projet__visuels { position: relative; padding: 0 9% 48px 0; }
.ecran { margin: 0; overflow: hidden; background: #000; }
.ecran img, .ecran video { width: 100%; height: auto; }
.ecran--bureau {
  position: relative; padding-top: 30px; background: #24231F; border-radius: 14px;
  border: 1px solid var(--nuit-ligne);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.ecran--bureau::before {
  content: ""; position: absolute; top: 11px; left: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: #5A5852; box-shadow: 15px 0 #5A5852, 30px 0 #5A5852;
}
.ecran--mobile {
  position: absolute; right: 0; bottom: 0; width: 27%; min-width: 96px;
  border: 5px solid #000; border-radius: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px #3a3934;
}
.ecran--mobile img, .ecran--mobile video { aspect-ratio: 390 / 844; object-fit: cover; }
.projet__type { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clair-2); margin-bottom: 12px; }
.projet__texte h3 { font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.coches { display: grid; gap: 12px; margin-bottom: 24px; }
.coches li { display: flex; gap: 12px; align-items: flex-start; }
.coches .icone { margin-top: .25em; color: var(--accent); stroke-width: 3; }

/* galerie des pages */
.galerie { margin-top: clamp(88px, 11vw, 140px); }
.galerie__titre { font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.4rem); font-weight: 800; letter-spacing: -0.02em; max-width: 22ch; margin-bottom: 36px; }
.galerie__grille {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr; grid-auto-rows: 150px;
  grid-template-areas: "planning planning" "mobile tarifs" "mobile carte" "formules salles";
}
@media (min-width: 760px) {
  .galerie__grille {
    grid-template-columns: 1fr 1fr .78fr; grid-auto-rows: auto; grid-template-rows: 300px 220px 240px; gap: 18px;
    grid-template-areas: "planning planning mobile" "tarifs carte mobile" "formules salles salles";
  }
}
.galerie__planning { grid-area: planning; }
.galerie__mobile { grid-area: mobile; }
.galerie__tarifs { grid-area: tarifs; }
.galerie__carte { grid-area: carte; }
.galerie__formules { grid-area: formules; }
.galerie__salles { grid-area: salles; }
.galerie__grille li { min-height: 0; }
.galerie__grille figure {
  position: relative; margin: 0; height: 100%; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--nuit-ligne); background: var(--nuit-2);
}
.galerie__grille img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--courbe); }
.galerie__grille li:hover img { transform: scale(1.04); }
.galerie__salles img { object-position: center 78%; }
.galerie__grille figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(10, 10, 9, .92) 55%);
  font-size: .9rem; line-height: 1.4; color: var(--clair-2);
}
.galerie__grille figcaption strong { display: block; color: var(--clair); font-family: var(--police-titre); font-size: 1.05rem; }
@media (max-width: 759px) { .galerie__grille figcaption { padding: 28px 12px 10px; font-size: .8rem; } .galerie__grille figcaption strong { font-size: .95rem; } }

/* ---------------------------------------------------------------- ce que contient le site */

#offre h2 { max-width: 20ch; }
.atouts { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 640px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .atouts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.atouts li {
  padding: 28px; border-radius: var(--rayon-grand);
  background: #FBF9F4; border: 1px solid var(--ligne);
  transition: transform .25s var(--courbe), box-shadow .25s var(--courbe), border-color .25s var(--courbe);
}
.atouts li:hover { transform: translateY(-4px); border-color: var(--encre); box-shadow: 0 18px 40px -26px rgba(20, 19, 17, .6); }
.atouts__icone { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--encre); color: var(--accent); margin-bottom: 22px; }
.atouts__icone .icone { width: 22px; height: 22px; }
.atouts h3 { margin-bottom: 8px; }
.atouts p { color: var(--encre-2); }

/* ---------------------------------------------------------------- méthode */

.methode { background: var(--papier-2); }
.etapes { display: grid; gap: 28px; margin-top: 56px; counter-reset: etape; }
@media (min-width: 900px) { .etapes { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.etapes li { position: relative; padding-top: 28px; border-top: 2px solid var(--encre); }
.etapes__jour { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--encre); font-weight: 700; font-size: .85rem; }
.etapes li:last-child .etapes__jour { background: var(--accent); border-color: var(--accent); }
.etapes h3 { margin-bottom: 8px; }
.etapes p { color: var(--encre-2); }
.paiement {
  margin-top: 48px; padding: 20px 24px; border-radius: var(--rayon);
  border: 2px dashed var(--encre); max-width: 760px;
}

/* ---------------------------------------------------------------- à propos */

.apropos__grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .apropos__grille { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.apropos__photo { margin: 0; position: relative; max-width: 440px; }
.apropos__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  background: var(--accent); border-radius: var(--rayon-grand);
}
.apropos__photo img { width: 100%; height: auto; border-radius: var(--rayon-grand); }
.apropos__texte h2 { margin-bottom: 20px; }
.apropos__texte p + p { margin-top: 14px; }
.apropos__texte p { color: var(--encre-2); max-width: 54ch; }
.apropos__texte .surtitre { color: var(--encre-2); }
.apropos__signature { margin-top: 24px !important; font-family: var(--police-titre); font-weight: 600; color: var(--encre) !important; }

/* ---------------------------------------------------------------- questions */

.questions { border-top: 1px solid var(--ligne); }
.faq { margin-top: 40px; border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--police-titre); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icone { transition: transform .25s var(--courbe); }
.faq details[open] summary .icone { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--encre-2); }

/* ---------------------------------------------------------------- appel final */

.final { padding-top: 0; }
.final__boite {
  background: var(--accent); color: var(--sur-accent); border-radius: 32px;
  padding: clamp(36px, 6vw, 80px);
}
.final__boite h2 { font-size: clamp(2.3rem, 4vw + 1rem, 4.4rem); margin-bottom: 16px; }
.final__boite > p { font-size: 1.12rem; max-width: 48ch; margin-bottom: 32px; }
.final__boite .bouton--contour { border-color: var(--encre); }
.final__note { margin-top: 24px; font-size: .95rem; }

/* ---------------------------------------------------------------- pied de page */

.pied { padding: 32px 0 40px; font-size: .9rem; color: var(--encre-2); }
.pied__rang { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.pied a { text-underline-offset: 4px; }

/* ---------------------------------------------------------------- barre WhatsApp mobile */

.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.barre-mobile .bouton { width: 100%; pointer-events: auto; box-shadow: 0 12px 30px -8px rgba(20, 19, 17, .55); }
.js .barre-mobile { transform: translateY(120%); transition: transform .35s var(--courbe); }
.js .barre-mobile.visible { transform: none; }
@media (max-width: 759px) { body { padding-bottom: 84px; } }
@media (min-width: 760px) { .barre-mobile { display: none; } }

/* ---------------------------------------------------------------- aperçu agrandi */

.zoom { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.zoom::backdrop { background: rgba(10, 10, 9, .86); }
.zoom img { width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: 12px; }
.zoom__fermer {
  position: absolute; top: -56px; right: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: var(--clair); color: var(--encre); cursor: pointer;
}

/* ---------------------------------------------------------------- apparition au défilement */

.js [data-apparition] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--courbe), transform .7s var(--courbe); }
.js [data-apparition].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .notif { opacity: 1; transform: none; }
  .js [data-apparition] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- page simple (mentions légales, 404) */

.page-simple { padding-block: clamp(48px, 8vw, 96px); }
.page-simple h1 { font-size: clamp(2.2rem, 3vw + 1.2rem, 3.6rem); margin-bottom: 32px; }
.page-simple h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.page-simple p, .page-simple li { color: var(--encre-2); max-width: 70ch; }
.page-simple p + p { margin-top: 10px; }
