/* ============================================================
   peef-home.css — styles specific to the home/landing page
   Uses CSS variables defined in peef.css (--ink, --accent, etc.)
   ============================================================ */

/* ── Hero two-column layout ── */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: end; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; margin-top: 2rem; }
.hero-meta { border-top: 1px solid var(--rule); padding-top: 1.5rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-meta-item .label { display: block; color: var(--ink-muted); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.hero-meta-item .value { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.hero-aside { padding-left: 2.5rem; border-left: 1px solid var(--rule); }
.hero-aside .aside-label { font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: 1rem; }
.hero-aside-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-aside-card { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.hero-aside-card:last-child { border-bottom: none; padding-bottom: 0; }
.hero-aside-card .name { font-size: 1rem; font-weight: 600; }
.hero-aside-card .price { font-size: 1rem; font-weight: 700; color: var(--accent); }
.hero-aside-card .price small { font-size: 11px; color: var(--ink-muted); font-weight: 500; margin-left: 0.2rem; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d-1 { transition-delay: 0.1s; }
.reveal.d-2 { transition-delay: 0.2s; }
.reveal.d-3 { transition-delay: 0.3s; }
.reveal.d-4 { transition-delay: 0.4s; }

/* ── Section head — split two-column label + description ── */
.section-head { margin-bottom: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; }
.section-head h2 { margin-top: 0.75rem; }
.section-head-right p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }

/* ── Dark section ── */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .kicker { color: #6BB0FF; }
.section-dark .section-head-right p { color: rgba(255,255,255,0.7); }

/* ── Piliers (3 principles) ── */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pilier { padding: 2.5rem 2rem; border-right: 1px solid var(--rule); }
.pilier:last-child { border-right: none; }
.pilier-num { font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: 1.25rem; }
.pilier h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.pilier p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ── Pour qui (profile cards) ── */
.profils-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.profil { display: block; padding: 2rem 1.75rem; border: 1px solid var(--rule); text-decoration: none; color: inherit; transition: border-color 0.2s; }
.profil:hover { border-color: var(--accent); text-decoration: none; color: inherit; }
.profil-step { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.profil-step .num { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; }
.profil-step .arrow-icon { font-size: 16px; color: var(--ink-muted); transition: color 0.2s, transform 0.2s; }
.profil:hover .arrow-icon { color: var(--accent); transform: translateX(3px); }
.profil h4 { font-size: 1.15rem; margin-bottom: 0.75rem; line-height: 1.3; }
.profil p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-bottom: 1rem; }
.profil-badge { display: inline-block; padding: 0.25rem 0.6rem; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── Packages overview cards ── */
.packages-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.package-card { border: 1px solid var(--rule); padding: 2rem 1.75rem; display: flex; flex-direction: column; transition: border-color 0.2s; }
.package-card:hover { border-color: var(--ink); }
.package-card.featured { border: 2px solid var(--accent); position: relative; }
.package-card.featured::before { content: 'Le plus demandé'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; white-space: nowrap; }
.pkg-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.pkg-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.package-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.pkg-target { color: var(--ink-soft); font-size: 14px; margin-bottom: 1.75rem; }
.pkg-price { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 0.35rem; }
.pkg-price .ht { font-size: 0.55em; color: var(--ink-muted); font-weight: 500; margin-left: 0.1em; }
.pkg-payment { color: var(--ink-soft); font-size: 13px; margin-bottom: 1.75rem; line-height: 1.5; }
.pkg-includes { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.pkg-includes-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.75rem; }
.pkg-includes ul { list-style: none; padding: 0; font-size: 13.5px; line-height: 1.7; }
.pkg-includes li { padding-left: 1.1rem; position: relative; color: var(--ink-soft); margin-bottom: 0.25rem; }
.pkg-includes li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 5px; height: 5px; background: var(--accent); }
.pkg-cta { margin-top: 1.5rem; width: 100%; justify-content: center; text-align: center; }

/* ── Package detail sections ── */
.pkg-detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.pkg-detail-left { position: sticky; top: 5rem; }
.pkg-detail-num { font-size: clamp(4rem, 10vw, 6rem); font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 0.85; margin-bottom: 1.25rem; }
.pkg-detail-name { margin-bottom: 1rem; }
.pkg-detail-tag { margin-bottom: 1.5rem; }
.pkg-detail-price-block { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.5rem 0; margin-bottom: 1.75rem; }
.pkg-detail-price { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); margin-bottom: 0.5rem; }
.pkg-detail-price .ht { font-size: 0.45em; color: var(--ink-muted); font-weight: 500; margin-left: 0.15em; }
.pkg-detail-price .month { font-size: 0.4em; color: var(--ink-soft); font-weight: 500; margin-left: 0.2em; vertical-align: 0.15em; }
.pkg-detail-payment { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.pkg-detail-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.pkg-detail-right h4 { font-size: 1rem; margin-bottom: 0.75rem; margin-top: 1.75rem; }
.pkg-detail-right h4:first-child { margin-top: 0; }
.pkg-detail-right .first-block { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.pkg-detail-right p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 0.85rem; }
.pkg-detail-right ul { list-style: none; padding: 0; }
.pkg-detail-right ul li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 0.5rem; }
.pkg-detail-right ul.included li::before { content: '+'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; font-size: 17px; line-height: 1.4; }
.pkg-detail-right ul.excluded li::before { content: '−'; position: absolute; left: 0; top: 0; color: var(--ink-muted); font-weight: 700; font-size: 17px; line-height: 1.4; }
.pkg-detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding: 1.25rem; background: var(--bg-alt); border: 1px solid var(--rule); }
.pkg-detail-meta-item .label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.35rem; }
.pkg-detail-meta-item .value { font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ── Process steps (dark background) ── */
.process-steps { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.12); }
.process-step { padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 70px 1fr 2fr 180px; gap: 1.5rem; align-items: center; transition: padding-left 0.25s ease; }
.process-step:hover { padding-left: 0.75rem; }
.process-step .step-num { font-size: 2rem; font-weight: 700; color: #6BB0FF; letter-spacing: -0.04em; line-height: 1; }
.process-step .step-title { font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 1.25; }
.process-step .step-desc { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.55; }
.process-step .step-actor { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6BB0FF; text-align: right; }

/* ── Case study ── */
.case-study { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; margin-top: 3rem; padding: 2.5rem; border: 1px solid var(--rule); }
.case-visual { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--ink) 0%, #2D3548 100%); position: relative; overflow: hidden; }
.case-visual-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 28px 28px; }
.case-visual-label { position: absolute; bottom: 1.25rem; left: 1.25rem; font-size: 4rem; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 0.9; }
.case-text .tag { margin-bottom: 1.25rem; }
.case-text h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.case-text .meta { color: var(--ink-muted); font-size: 13.5px; letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.case-text p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 0.85rem; }

/* ── Ce que je ne fais pas (dark) ── */
.no-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; margin-top: 2.5rem; list-style: none; padding: 0; }
.no-list li { padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 15px; line-height: 1.45; color: #fff; display: flex; gap: 0.9rem; align-items: baseline; }
.no-list li::before { content: '✕'; color: #6BB0FF; font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* ── Author block ── */
.author-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.author-portrait { aspect-ratio: 4/5; background: var(--bg-alt); position: relative; border: 1px solid var(--rule); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.author-portrait-name { font-size: 3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; }
.author-text h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 1.25rem; }
.author-text p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 1rem; max-width: 58ch; }
.author-signature { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: flex; gap: 1.5rem; align-items: baseline; flex-wrap: wrap; }
.author-signature .sig-name { font-size: 1.25rem; font-weight: 700; }
.author-signature .sig-role { font-size: 12.5px; color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* ── FAQ accordion ── */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; background: none; border: none; padding: 1.4rem 0; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-family: inherit; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--ink); cursor: pointer; transition: color 0.2s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; color: var(--accent); font-size: 18px; font-weight: 400; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.2,.8,.3,1); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 64ch; }

/* ── Final CTA section ── */
.cta-final { text-align: center; padding: clamp(4rem, 8vh, 6rem) 24px; }
.cta-final h2 { max-width: 22ch; margin: 0 auto 1.25rem; }
.cta-final .lead { margin: 0 auto 2rem; text-align: center; }
.cta-final-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Rupture grid ── */
.rupture-grid { margin-top: 3rem; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.rupture-row { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; border-bottom: 1px solid var(--rule); }
.rupture-row:last-child { border-bottom: none; }
.rupture-cell { padding: 1rem 1.25rem; font-size: 0.95rem; line-height: 1.5; }
.rupture-axis { font-weight: 600; background: var(--bg-alt); border-right: 1px solid var(--rule); }
.rupture-them { color: var(--ink-muted); border-right: 1px solid var(--rule); }
.rupture-us { color: var(--ink); font-weight: 500; }
.rupture-head .rupture-cell { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; background: var(--bg-alt); }

/* ── Responsive ── */
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-aside { padding-left: 0; border-left: none; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .piliers { grid-template-columns: 1fr; }
  .pilier { border-right: none; border-bottom: 1px solid var(--rule); }
  .pilier:last-child { border-bottom: none; }
  .profils-list { grid-template-columns: 1fr; }
  .packages-overview { grid-template-columns: 1fr; }
  .package-card.featured::before { left: 1.25rem; transform: none; }
  .pkg-detail { grid-template-columns: 1fr; gap: 2rem; }
  .pkg-detail-left { position: static; }
  .pkg-detail-meta { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 55px 1fr; grid-template-rows: auto auto auto; gap: 0.4rem 0.85rem; padding: 1.25rem 0; }
  .process-step .step-num { grid-row: 1 / 3; }
  .process-step .step-title { font-size: 1.1rem; }
  .process-step .step-desc { grid-column: 2; font-size: 13.5px; }
  .process-step .step-actor { grid-column: 2; text-align: left; margin-top: 0.35rem; }
  .case-study { grid-template-columns: 1fr; padding: 1.75rem; gap: 2rem; }
  .case-visual { aspect-ratio: 16/10; }
  .no-list { grid-template-columns: 1fr; }
  .author-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .rupture-row { grid-template-columns: 1fr; }
  .rupture-axis, .rupture-them { border-right: none; border-bottom: 1px solid var(--rule); }
  .rupture-head { display: none; }
  .rupture-them::before { content: "Ailleurs — "; font-weight: 600; color: var(--ink); }
  .rupture-us::before { content: "Chez Peef — "; font-weight: 600; }
}
