/* ============================================================
   davylheureux.fr — Page d'accueil (/)
   Copy : PAGE_ACCUEIL.md (V3, copy verrouillé).
   Layout : accueil_simulation_LEGER.html.
   Chiffrage capsules/typo : RAF_DA_REFERENCE_V2.md.
   Le shell (fond noir, header, footer, grain) vit dans site.css.
   ============================================================ */

/* ---- Texte courant des sections noires ------------------- */
.lead-p { font-size: clamp(16px, 1.45vw, 19px); font-weight: 400; line-height: 1.6; max-width: 880px; margin: 0 auto 12px; }
.stat-line { font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; line-height: 1.5; max-width: 980px; margin: 0 auto 16px; }
.section-dark .lead-p, .section-dark .stat-line { color: var(--ink-soft); }

/* ---- Respiration verticale entre les blocs --------------- */
.section-dark { padding: 110px 40px; }

/* Titre de bloc (le H1 unique de la page est le hero) */
.block-h { font-size: clamp(30px, 3.4vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.section-dark .block-h { color: var(--ink); }
.card-light .block-h { color: var(--ink-dark); }

/* ---- Pilules CTA + lien flèche --------------------------- */
.pill { display: inline-block; margin-top: 32px; padding: 15px 36px; border: none; border-radius: 100px; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.pill-light { background: #FAFAFA; color: #0A0A0A; box-shadow: 0 10px 40px -8px rgba(255,255,255,0.25); }
.pill-light:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(255,255,255,0.4); }
.pill-dark { background: #0A0A0A; color: #FAFAFA; }
.pill-dark:hover { transform: translateY(-2px); }
.pill-cyan { background: #00E5FF; color: #050505; }
.pill-cyan:hover { transform: translateY(-2px); background: #4CECFF; }
.link-arrow { display: inline-block; margin-top: 22px; color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity 0.2s; }
.link-arrow:hover { opacity: 0.65; }
.link-arrow-light { color: var(--ink); }

/* ---- BLOC 1 — Hero --------------------------------------- */
.section-hero { position: relative; overflow: hidden; min-height: 86vh; }
/* Conteneur centré commun photo + texte : la photo s'ancre sur lui
   (max-width), pas sur le bord du viewport → écart photo/texte stable. */
.hero-inner { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1280px; margin: 0 auto; }
.hero-photo { position: absolute; top: 0; right: -10%; bottom: 0; width: min(58%, 820px); height: 100%; z-index: 0; pointer-events: none; background-image: url("/assets/img/davy-hero.webp"); background-size: contain; background-repeat: no-repeat; background-position: center right; }
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.hero-content h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.08; margin-bottom: 20px; }
.hero-sub-h { font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.5; margin-bottom: 30px; color: #FFFFFF; }
/* Voile sombre radial sous le texte du hero, pour la lisibilité quand la
   photo passe derrière (notamment en mobile où elle prend ~110% du viewport).
   Repris du pattern validé sur for-you/for-business : z-index -1 dans le
   stacking context de .hero-content (qui est z:1). */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -30px -50px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.25) 55%, rgba(13,13,13,0) 90%);
  pointer-events: none;
}
.section-hero .lead-p { max-width: 660px; margin-bottom: 18px; }

/* ---- Capsules blanches (RAF_DA_REFERENCE_V2 §3) ---------- */
.card-shell { position: relative; max-width: 1080px; width: 90%; margin: 150px auto; }
.card-light {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--card); color: var(--ink-dark);
  padding: 60px 72px; border-radius: 12px;
  min-height: 430px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.card-light:hover { transform: scale(1.02); box-shadow: 0 60px 120px -20px rgba(0,0,0,0.85); }
.card-bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.card-content { position: relative; z-index: 1; width: 100%; text-align: center; }
.card-light .tertiary { color: var(--ink-dark-mut); }
.card-light .link-arrow { margin-top: 34px; }
.accent { color: var(--accent); font-weight: 700; }
.card-light .accent { color: var(--accent-dark); }

/* ---- BLOC 2 — Manifeste RAF ------------------------------ */
.m-raf { font-size: clamp(40px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 26px; color: var(--ink-dark); }
.m-line1 { font-size: clamp(18px, 1.9vw, 25px); font-weight: 500; line-height: 1.3; margin-bottom: 22px; color: #2A2A2A; }
.m-vrai { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; color: var(--ink-dark); }
.m-chute { font-size: clamp(16px, 1.7vw, 22px); font-weight: 600; line-height: 1.35; color: var(--ink-dark); }

/* ---- BLOC 3 — Ce que ça t'apporte ------------------------ */
.section-b3 { position: relative; overflow: hidden; }
.b3-photo { position: absolute; top: 0; left: 0; bottom: 0; width: min(62%, 760px); height: 100%; z-index: 0; pointer-events: none; background-image: url("/assets/img/davy-bloc3.png"); background-size: contain; background-repeat: no-repeat; background-position: center left; opacity: 0; transition: opacity 0.25s linear; }
.section-b3 .content { position: relative; z-index: 1; }

/* ---- BLOC 4 — Les trois lettres -------------------------- */
.raf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.raf-letter { font-size: clamp(46px, 5.5vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--ink-dark); margin-bottom: 16px; }
.raf-verbs { font-size: 16px; font-weight: 700; color: var(--ink-dark); margin-bottom: 10px; }
.raf-desc { font-size: 14px; font-style: italic; color: var(--ink-dark-soft); line-height: 1.5; }

/* ---- BLOC 5 — Podcast ------------------------------------ */
.section-podcast { position: relative; overflow: hidden; min-height: 96vh; padding: 110px 40px; }
.section-podcast .content { position: relative; z-index: 1; }
.podcast-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: url("/assets/img/davy-podcast.png"); background-size: contain; background-repeat: no-repeat; background-position: center 42%; opacity: 0.30; }
.podcast-episodes-row { display: flex; gap: 22px; justify-content: center; margin: 220px auto 0; max-width: 1040px; }
.podcast-episodes-row .media-card { flex: 1; max-width: 340px; background: rgba(255,255,255,0.05); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(255,255,255,0.14); }
.podcast-episodes-row .media-thumb { background: linear-gradient(135deg, rgba(26,26,26,0.55), rgba(46,46,46,0.55)); }
/* Vignettes translucides : on revoit la photo podcast de Davy derrière. */
.podcast-episodes-row .media-thumb img { opacity: 0.4; }

/* ---- Cartes média (podcast + blog) ----------------------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px auto 0; width: 100%; max-width: 980px; }
.media-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; text-align: left; text-decoration: none; display: block; transition: border-color 0.2s, transform 0.2s; }
.media-card:hover { border-color: rgba(0,229,255,0.4); transform: translateY(-3px); }
.media-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1A1A1A, #2E2E2E); display: flex; align-items: center; justify-content: center; color: #555; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.media-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-body { padding: 16px 18px 20px; }
.media-date { font-size: 11px; color: #777; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.media-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.media-excerpt { font-size: 13px; color: #999; line-height: 1.5; }
.media-play { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 100px; background: rgba(0,229,255,0.15); display: flex; align-items: center; justify-content: center; }
.media-play::after { content: ''; border-left: 13px solid #00E5FF; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

/* ---- BLOC 6 — Le Filtre (newsletter) --------------------- */
.filtre-sub { font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; line-height: 1.5; color: var(--ink-dark-soft); }
.nl-form { display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin: 26px auto 0; }
.nl-form input { padding: 13px 18px; border-radius: 100px; border: 1px solid rgba(10,10,10,0.18); background: rgba(255,255,255,0.6); font-family: inherit; font-size: 15px; color: var(--ink-dark); outline: none; }
.nl-form input::placeholder { color: #888; }
.nl-form input:focus { border-color: var(--accent-dark); }
.nl-form .pill { margin-top: 6px; align-self: center; padding: 13px 32px; }
.nl-feedback { font-size: 13px; color: #B22B30; margin: 4px 0 0; line-height: 1.4; }
.nl-feedback:empty { display: none; }
.nl-success {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-dark);
  margin: 26px auto 0;
  max-width: 460px;
  padding: 14px 20px;
  background: rgba(0,120,138,0.08);
  border: 1px solid rgba(0,120,138,0.25);
  border-radius: 10px;
  text-align: center;
}
.nl-mention { font-size: 13px; color: #666; margin-top: 14px; }
.nl-quote { margin-top: 30px; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-dark); line-height: 1.4; }
.nl-quote em { font-style: italic; }
.nl-quote-sig { display: block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 600; color: #888; letter-spacing: 0.05em; }

/* ---- BLOC 8 — On se parle ? : photo illustration à droite - */
.osp-body { font-size: clamp(17px, 1.5vw, 21px); font-weight: 400; line-height: 1.55; color: var(--ink-dark-soft); max-width: 620px; margin: 0 auto; }
.osp-card { min-height: 510px; }
.osp-photo { position: absolute; z-index: 0; top: 50%; right: 72px; transform: translateY(-50%); pointer-events: none; }
.osp-photo img { display: block; width: 260px; max-width: 100%; height: auto; }

/* ---- Double orientation : titre + 2 cartes (entre hero et RAF) ---
   Reprend le composant .cards-duo / .card-duo-item de for-business
   (capsules blanches côte à côte) pour rester cohérent. Le titre
   surplombe les 2 cartes, centré sur le fond noir. */
.duo-title {
  max-width: 900px;
  margin: 130px auto 0;
  padding: 0 40px;
  text-align: center;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.cards-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1080px;
  width: 90%;
  margin: 40px auto 0;
}
.cards-duo .card-light { min-height: 300px; padding: 52px 44px; }
.cards-duo .card-content { text-align: center; }
.cards-duo .block-h { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.cards-duo .offer-sub {
  margin: -4px 0 20px;
  text-align: center;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-dark-soft);
}
.cards-duo .lead-p {
  text-align: left;
  color: var(--ink-dark-soft);
  max-width: 440px;
  margin: 0 auto;
}
/* Carte entièrement cliquable : tout le <a> est la zone de clic (curseur
   pointer, hover lift via .card-light:hover). Reset des styles de lien. */
a.card-duo-item {
  text-decoration: none;
  color: var(--ink-dark);
  cursor: pointer;
}

/* ---- Mobile ---------------------------------------------- */
@media (max-width: 860px) {
  .section-dark { padding: 72px 22px; }
  .card-shell { margin: 96px auto; width: 92%; }
  .card-light { padding: 50px 24px; min-height: auto; }
  .duo-title { margin-top: 90px; padding: 0 22px; }
  .cards-duo { grid-template-columns: 1fr; gap: 22px; width: 92%; }
  .cards-duo .card-light { padding: 40px 26px; min-height: auto; }
  .raf-grid { grid-template-columns: 1fr; gap: 34px; }
  .media-grid { grid-template-columns: 1fr; }
  .podcast-episodes-row { flex-direction: column; margin-top: 60px; }
  .section-podcast { min-height: auto; padding: 72px 22px; }
  .section-hero { min-height: auto; }
  .hero-photo { width: 110%; right: -4%; }
  .b3-photo { width: 100%; opacity: 0.22 !important; }
  .podcast-photo { opacity: 0.18 !important; }
  .nl-form { flex-direction: column; }
  .osp-card { flex-direction: column; gap: 28px; }
  .osp-photo { position: static; transform: none; }
  .osp-photo img { width: 208px; }
  br { display: none; }
}

/* Ancre de défilement (redirection /#travailler-ensemble depuis l'ex /#offres) */
#travailler-ensemble { scroll-margin-top: 90px; }

/* ---- BLOC 7 — Derniers articles du blog : encarts compacts SANS photo,
   sur fond sombre, entièrement cliquables, lien direct vers chaque article. */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 1080px;
  margin: 28px auto 6px;
}
.blog-card {
  display: block;
  padding: 22px 24px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.blog-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}
.blog-card-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 10px;
}
.blog-card-title {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}
.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 860px) {
  .blog-cards { grid-template-columns: 1fr; gap: 14px; max-width: 100%; }
  .blog-card { padding: 18px 20px 20px; }
  .blog-card-excerpt { -webkit-line-clamp: 2; line-clamp: 2; }
}
