/* Styles communs à toutes les pages – charte : voir DESIGN.md */
/* Charte : voir DESIGN.md (direction « Salle noire », vert + violet) */
:root {
  --bg: #000000;
  --bg-alt: #0A0A0A;
  --surface: #141414;
  --line: #262626;
  --line-strong: #404040;
  --white: #FFFFFF;
  --text: #D4D4D4;
  --muted: #A3A3A3;
  --green: #1DB866;
  --green-hover: #3DD889;
  --violet: #E0359F;
  --max: 1160px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --poppins: Poppins, var(--sans);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--white); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--white); }
h1 { font-size: clamp(34px, 7vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 6vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 14px; }
h3 { font-size: 22px; font-weight: 700; }
.intro { font-size: 19px; font-weight: 300; line-height: 1.55; color: var(--text); max-width: 680px; }
.label {
  display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.rec { color: var(--violet); }
.label-lg { font-size: 26px; }

section { padding: clamp(64px, 12vw, 96px) 0; scroll-margin-top: 76px; }
section:nth-of-type(even) { background: var(--bg-alt); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 18px 32px; border-radius: 999px;
  background: var(--green); color: #000;
  font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white); border: 1px solid var(--white);
  min-height: 47px; padding: 12px 22px; font-size: 14px;
}
.btn-outline:hover { background: transparent; border-color: var(--green-hover); color: var(--green-hover); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: transparent; border-color: var(--green-hover); color: var(--green-hover); }

/* Cartes */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 6vw, 40px);
}


/* En-tête */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: var(--white); }
.brand strong::after { content: "."; color: var(--green); }
.brand span { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: 15px; font-weight: 400; }
.nav ul a { color: var(--text); }
.nav ul a:hover { color: var(--green-hover); }

/* Accroche */
.hero { padding-top: clamp(56px, 10vw, 88px); }
.hero-head { text-align: center; }
.hero-head .label { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.hero-head h1 { max-width: 900px; margin: 0 auto 28px; }
.hero-head h1 em { font-style: normal; color: var(--green); }

/* Méthode */
.grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.step { flex: 1 1 220px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; }

/* Offre sur mesure */
.offer { max-width: 820px; }
.offer p { font-size: 19px; line-height: 1.55; }
.offer p + p { margin-top: 14px; }
.offer .btn { margin-top: 32px; }

/* Portfolio */
.showreel {
  position: relative; aspect-ratio: 16 / 9; margin-top: 44px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
}
.showreel .tc { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 12px; }
.showreel .tc span { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.play {
  width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #000;
  display: grid; place-items: center; font-size: 26px; padding-left: 5px;
}
.showreel .soon { position: absolute; bottom: 48px; font-size: 16px; color: var(--muted); }
.timeline { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 4px; height: 8px; }
.timeline i { height: 100%; border-radius: 2px; background: var(--line-strong); }
.timeline i.on { background: var(--green); }
.timeline i.cut { background: var(--violet); }
.shots { margin-top: 20px; }
.shot {
  flex: 1 1 220px; aspect-ratio: 9 / 16; max-height: 520px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  display: grid; place-items: center; text-align: center; padding: 20px;
}
.shot .play { width: 56px; height: 56px; font-size: 18px; margin: 0 auto 14px; background: transparent; color: var(--white); border: 1px solid var(--line-strong); padding-left: 3px; }
.shot p { font-size: 16px; color: var(--muted); }

/* Lecteurs YouTube générés depuis videos.json */
.portfolio-sub { margin-top: 56px; }
.portfolio-sub .label { margin-bottom: 0; }
.video-grid { display: grid; gap: 20px; margin-top: 20px; }
.video-grid.films { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.video-grid.courts { grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); }
.video { display: flex; flex-direction: column; gap: 12px; }
.video h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.player.short { aspect-ratio: 9 / 16; border-radius: 20px; }
.player.reel { margin-top: 44px; }
/* Short en première vidéo : vertical, centré, jamais plus haut que l'écran */
.player.reel.short { width: min(100%, 294px, calc((100svh - 200px) * 9 / 16 * 0.7)); margin-left: auto; margin-right: auto; }
/* Sur téléphone : le Short occupe 70 % de la largeur de l'écran */
@media (max-width: 640px) {
  .player.reel.short { width: 70vw; }
}
.player button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.player button:focus-visible { outline: 2px solid var(--green); outline-offset: -4px; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: background .15s ease; }
.player button:hover .play { background: var(--green-hover); }
.player .tc {
  position: absolute; top: 0; left: 0; right: 0; padding: 18px 20px 30px; text-align: left;
  background: linear-gradient(rgba(0, 0, 0, .75), transparent);
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--white);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Qui je suis */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.portrait {
  flex: 1 1 280px; max-width: 420px; aspect-ratio: 4 / 5;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  display: block; width: 100%; height: auto; object-fit: cover; object-position: 50% 30%;
}
.about > div { flex: 1.4 1 340px; }
.about p { font-size: 17px; }
.about p + p { margin-top: 14px; }
.about p strong { color: var(--white); font-weight: 600; }

/* Contact */
section.contact { text-align: center; padding: clamp(72px, 14vw, 112px) 0; }
.contact .intro { margin: 0 auto 36px; }
.choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 980px; margin: 0 auto; }
.choice {
  flex: 1 1 260px; display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  color: var(--white); text-align: left; transition: border-color .15s ease;
}
.choice:hover { border-color: var(--green); }
.choice svg { width: 28px; height: 28px; flex: none; color: var(--green); }
.choice > span { min-width: 0; }
.choice-label { display: block; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.choice strong { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; max-width: 820px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px clamp(20px, 5vw, 32px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--green); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq summary:hover h3 { color: var(--green-hover); }
.faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 20px; }
.faq details p { padding: 0 clamp(20px, 5vw, 32px) 22px; font-size: 17px; }
#faq .label { font-family: var(--poppins); }

footer.site { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); background: var(--bg); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
.footer-about { display: flex; flex-direction: column; gap: 4px; }
.footer-about strong { color: var(--white); font-weight: 600; }
footer.site a { color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
footer.site a:hover { color: var(--green-hover); }

/* Fenêtre de contact (solution de secours si aucune application mail) */
.contact-modal {
  margin: auto; width: min(460px, calc(100% - 32px));
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px 28px;
  overflow-x: hidden; overflow-y: auto;
}
.contact-modal::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.contact-modal h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.contact-modal p { font-size: 16px; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0;
  color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--white); }
.copy-row { display: flex; gap: 8px; margin-bottom: 14px; }
.copy-row input {
  flex: 1; min-width: 0; min-height: 48px; background: var(--bg); color: var(--white);
  border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: 400 16px var(--sans);
}
.copy-btn {
  min-height: 48px; padding: 0 18px; border-radius: 12px; background: transparent; color: var(--white);
  border: 1px solid var(--line-strong); font: 600 14px var(--sans); letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
}
.copy-btn:hover { border-color: var(--green-hover); color: var(--green-hover); }
.contact-modal .btn { width: 100%; }
.contact-modal .choices { flex-direction: column; gap: 10px; }
.contact-modal .choice { flex: none; min-height: 64px; padding: 14px 18px; }
.mail-fallback { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.mail-fallback p { font-size: 15px; margin-bottom: 14px; }
.mail-fallback .copy-row { margin-bottom: 10px; }
.contact-modal small { display: block; font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

@media (max-width: 640px) {
  .nav ul { display: none; }
  .nav { gap: 12px; }
  .brand strong, .btn-outline { white-space: nowrap; }
  .brand strong { font-size: 16px; }
  .btn-outline { padding: 12px 18px; }
  .btn { padding: 18px 24px; }
  .showreel .soon { display: none; }
  .showreel .tc span:last-child { display: none; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
/* Textes en Poppins : logo, sur-titre de l’accroche, « Offre sur mesure », « Qui je suis », « Parlons de votre projet » */
.brand, .brand strong, .brand span, .hero-head .label, .hero-head .label span, #offres .label, #quijesuis .label, .contact .label, #prestations > .wrap > .label, #zone > .wrap > .label { font-family: var(--poppins); }


/* ---- Ajouts SEO local (novembre 2026) ---- */
picture { display: contents; }
.lead { font-size: 19px; font-weight: 300; line-height: 1.55; color: var(--text); max-width: 680px; margin: 0 auto 32px; }
.hero-head .lead { margin-top: -8px; }

/* Prestations */
.services .svc { flex: 1 1 240px; padding: clamp(22px, 5vw, 30px); }
.services .svc h3 { font-size: 19px; margin-bottom: 8px; }
.services .svc p { font-size: 16px; }
.audience { margin-top: 20px; }
.audience h3 { margin-bottom: 8px; }
.audience p { font-size: 17px; max-width: 760px; }
.audience strong { color: var(--white); font-weight: 600; }
.more { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 600; }
.more:hover { color: var(--green-hover); }

/* Zone d'intervention */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; font-size: 16px; font-weight: 400; color: var(--white); }
.tags li a { color: var(--green); }
.tags li a:hover { color: var(--green-hover); }
.zone-note { margin-top: 20px; font-size: 16px; color: var(--muted); }
.zone-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.zone-card { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s ease; }
.zone-card:hover { border-color: var(--green); }
.zone-card .label { margin-bottom: 0; }
.zone-card strong { font-size: 22px; font-weight: 700; color: var(--white); }
.zone-card span:last-child { color: var(--text); font-size: 16px; }

/* Pages locales */
.page-hero { padding-top: clamp(40px, 8vw, 72px); }
.page-hero h1 { max-width: 860px; margin-bottom: 20px; }
.page-hero .lead { margin: 0 0 32px; }
.page-hero .label { display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green-hover); }
.prose { max-width: 860px; }
.prose h2 { margin-top: 64px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 32px 0 8px; }
.prose p { font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose p a, .prose li a { color: var(--green); }
.prose p a:hover, .prose li a:hover { color: var(--green-hover); }
.prose strong { color: var(--white); font-weight: 600; }
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.ideas .card { padding: clamp(20px, 5vw, 28px); }
.ideas h3 { margin: 0 0 8px; font-size: 18px; }
.ideas p { font-size: 16px; }
.steps-list { margin: 20px 0 20px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.steps-list li::marker { color: var(--green); font-weight: 700; }
.see-also { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px !important; color: var(--muted); }
