/* ==========================================================================
   Page d'accueil (index) — styles spécifiques
   ========================================================================== */

/* Hero */
.hero { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); padding: 70px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--teal); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: 52px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-mini { font-size: 13px; color: #6b7b7d; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-mini b { color: var(--teal); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 38px; } }
@media (max-width: 700px) { .hero h1 { font-size: 32px; } }

/* ── AGENDA MOCKUP ── */
.agd-mock { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-family: var(--ff); }
.agd-top { background: var(--teal); height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.agd-top i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.agd-body { padding: 14px; background: #f5f6f7; display: flex; flex-direction: column; gap: 10px; }
.agd-row { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.cal-wrap { position: relative; flex-shrink: 0; width: 46px; height: 46px; }
.cal-body { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(160deg, #ff7a72, #f55a5a); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.cal-rings { display: flex; gap: 5px; padding: 4px 0 2px; }
.cal-rings span { width: 6px; height: 6px; border-radius: 50%; background: #f5c842; }
.cal-lines { flex: 1; background: #fff; width: 100%; border-radius: 6px 6px 0 0; }
.cal-check { position: absolute; bottom: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-2); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.cal-check svg { width: 10px; height: 10px; }
.agd-info { flex: 1; min-width: 0; }
.agd-date { font-size: 13px; font-weight: 700; color: var(--ink); }
.agd-patient { font-size: 12px; color: var(--teal-2); font-weight: 600; margin: 1px 0; }
.agd-loc { font-size: 11px; color: #7c8a8b; display: flex; align-items: center; gap: 4px; }
.agd-btn { background: var(--teal-2); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-in { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; padding: 18px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--teal); font-size: 14px; }
@media (max-width: 820px) {
  .trust-in { justify-content: center; gap: 12px 22px; text-align: center; }
  .trust-item { font-size: 13px; }
}

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ic { width: 52px; height: 52px; border-radius: 14px; background: var(--mint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--teal); font-size: 24px; }
.card.star .ic { background: #FFF6E6; color: var(--amber); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; }
.badge-new { display: inline-block; font-size: 10px; font-weight: 800; color: #3a2a00; background: var(--amber); padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* Niche TCC band */
.band { background: var(--teal); color: #dfeced; }
.band h2 { color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.band ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.band li svg { flex-shrink: 0; margin-top: 3px; }
.band li b { color: #fff; }
.stat-box { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 30px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat .n { font-size: 34px; font-weight: 800; color: var(--amber); letter-spacing: -.02em; }
.stat .l { font-size: 13px; color: #bcd4d6; }
@media (max-width: 800px) { .band-grid { grid-template-columns: 1fr; } }

/* Réduction des grands écarts de grille sur mobile */
@media (max-width: 760px) {
  .hero-grid { gap: 34px; }
  .band-grid, .ann-grid, .quest-grid { gap: 34px; }
  .quotes { gap: 16px; }
  .stat .n { font-size: 30px; }
}

/* ── QUESTIONNAIRE SHOWCASE ── */
.quest-section { background: var(--soft); }
.quest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .quest-grid { grid-template-columns: 1fr; } }
.quest-mock { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; font-family: var(--ff); }
.quest-mock-header { padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.quest-mock-title { font-size: 16px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.quest-mock-title span { color: var(--teal-2); }
.quest-mock-sub { font-size: 12px; color: #7c8a8b; }
.quest-lib-btn { background: #e0f0ee; color: var(--teal-2); font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; float: right; margin-top: -28px; }
.quest-table-head { display: grid; grid-template-columns: 2fr 1.1fr 1fr 1fr 1.3fr; gap: 8px; padding: 10px 22px; background: #eef2f5; font-size: 11px; font-weight: 600; color: #7c8a8b; text-transform: uppercase; letter-spacing: .06em; }
.quest-table-row { display: grid; grid-template-columns: 2fr 1.1fr 1fr 1fr 1.3fr; gap: 8px; padding: 16px 22px; align-items: center; border-bottom: 1px solid var(--line); }
.quest-table-row:last-child { border-bottom: none; }
.quest-res { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.quest-icon { width: 30px; height: 30px; border-radius: 8px; background: #ede9fe; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.quest-badge { background: #ede9fe; color: #5b21b6; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.quest-date { font-size: 12px; color: #7c8a8b; }
.quest-ok { color: #16a34a; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.quest-see-btn { background: #d1ebe8; color: var(--teal); font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 10px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

/* Annuaire */
.ann { background: linear-gradient(180deg, #fff, var(--mint)); }
.ann-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.ann h2 { font-size: 38px; margin-bottom: 14px; }
.ann ul { list-style: none; display: grid; gap: 14px; margin: 22px 0; }
.ann li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ann li svg { flex-shrink: 0; margin-top: 3px; }
.ann li b { color: var(--ink); }
@media (max-width: 820px) { .ann-grid { grid-template-columns: 1fr; } .ann h2 { font-size: 30px; } }

/* ── ANNUAIRE MAP MOCKUP ── */
.dir-mock { border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; font-family: var(--ff); }
.dir-header { background: var(--teal-2); padding: 14px 16px; }
.dir-header-title { color: #fff; font-size: 14px; font-weight: 800; text-align: center; margin-bottom: 10px; }
.dir-search-bar { background: #fff; border-radius: 999px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 12px; color: #7c8a8b; }
.dir-search-bar .sep { width: 1px; height: 16px; background: #ddd; flex-shrink: 0; }
.dir-search-btn { margin-left: auto; background: var(--teal-2); color: #fff; font-weight: 700; border-radius: 999px; padding: 5px 12px; font-size: 11px; flex-shrink: 0; }
.dir-filters { padding: 8px 12px; display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #fff; }
.dir-chip { background: #fff; border: 1px solid #dde3e3; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.dir-body { display: flex; flex: 1; min-height: 280px; }
.dir-left { flex: 0 0 55%; border-right: 1px solid var(--line); background: #fff; overflow: hidden; }
.dir-count { padding: 10px 14px; font-size: 12px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.dir-profile-card { padding: 14px; border-bottom: 1px solid #f0f0f0; }
.dir-prof-top { display: flex; gap: 10px; margin-bottom: 10px; }
.dir-avatar { width: 46px; height: 46px; border-radius: 50%; background: #c5a89f; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.dir-name { font-size: 13px; font-weight: 800; color: var(--teal-2); line-height: 1.2; }
.dir-check { color: var(--teal-2); font-size: 11px; margin-top: 2px; }
.dir-spec { font-size: 11px; color: #7c8a8b; margin-top: 3px; line-height: 1.4; }
.dir-meta { font-size: 11px; color: #7c8a8b; display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.dir-avail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.dir-avail-col { display: flex; flex-direction: column; gap: 3px; }
.dir-avail-day { font-size: 10px; text-align: center; color: #7c8a8b; font-weight: 600; margin-bottom: 2px; }
.dir-slot { background: #d1ebe8; color: var(--teal); font-size: 10px; font-weight: 700; text-align: center; border-radius: 6px; padding: 4px 2px; }
.dir-slot.empty { background: #f5f5f5; color: #ccc; }
.dir-right { flex: 1; position: relative; background: #e8f0e8; overflow: hidden; }

/* Comparatif */
.comp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.comp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 14px; }
table.comp th, table.comp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
table.comp th:first-child, table.comp td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
table.comp thead th { background: var(--soft); font-weight: 700; color: var(--grey); font-size: 13px; }
table.comp thead th.us { background: var(--amber); color: #3a2a00; border-radius: 10px 10px 0 0; }
table.comp td.us { background: #FFF6E6; font-weight: 700; }
.yes { color: #1B7A3D; font-weight: 800; }
.no { color: #cf9b9b; font-weight: 700; }
.part { color: #B9770E; font-weight: 700; }
.comp-note { font-size: 13px; color: #7c8a8b; text-align: center; margin-top: 14px; }

/* Pricing */
.price-wrap { background: linear-gradient(180deg, #fff, var(--mint)); }
.price-card { max-width: 460px; margin: 0 auto; background: #fff; border: 2px solid var(--teal); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.price-top { background: var(--teal); color: #fff; padding: 26px; }
.price-top .amt { font-size: 52px; font-weight: 800; letter-spacing: -.03em; }
.price-top .amt small { font-size: 18px; font-weight: 600; opacity: .8; }
.price-body { padding: 30px; }
.price-body ul { list-style: none; text-align: left; display: grid; gap: 12px; margin-bottom: 26px; }
.price-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.price-body li svg { flex-shrink: 0; margin-top: 3px; }

/* Témoignages — carousel horizontal scroll-snap */
.quotes {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -6px; padding: 6px 6px 10px; scroll-padding-left: 6px;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
}
.quote .stars { color: var(--amber); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: 14.5px; color: var(--grey); margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--teal); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.quote .who b { display: block; color: var(--ink); font-size: 14px; }
.quote .who span { font-size: 12px; color: #7c8a8b; }
@media (max-width: 900px) { .quote { flex: 0 0 84%; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 0 18px; font-size: 15px; }

/* Final CTA */
.final { background: var(--teal); color: #fff; border-radius: 28px; padding: 56px; text-align: center; }
.final h2 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.final p { color: #cfe2e3; max-width: 520px; margin: 0 auto 26px; font-size: 17px; }
@media (max-width: 700px) { .final { padding: 34px 22px; } .final h2 { font-size: 28px; } }
