/* Version test de la navigation (test-accueil, test-guide). N'affecte pas les autres pages. */
.t-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.t-head .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; max-width: 1160px; }
.t-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.t-brand b { color: var(--accent); }
.t-nav { display: flex; gap: 0; flex: 1 1 auto; flex-wrap: nowrap; }
.t-nav a { white-space: nowrap; padding: 9px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.9rem; }
.t-nav a:hover, .t-nav a[aria-current="page"] { background: #e7f1ec; color: var(--accent); }
.t-search { position: relative; }
.t-search label { display: flex; align-items: center; gap: 8px; border: 1px solid #c9cbc2; border-radius: 999px; padding: 8px 14px; background: var(--paper); }
.t-search input { border: 0; background: transparent; font: inherit; font-size: 0.95rem; width: 120px; outline: none; color: var(--ink); }
.t-results { position: absolute; right: 0; top: calc(100% + 6px); width: 340px; max-width: 90vw; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px; display: none; }
.t-results.on { display: block; }
.t-results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.t-results a:hover, .t-results a:focus { background: #e7f1ec; }
.t-results p { margin: 8px 12px; color: var(--ink-soft); font-size: 0.9rem; }
.t-btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 10px; border: 2px solid var(--accent); line-height: 1.2; text-align: center; }
.t-btn:hover { filter: brightness(1.12); color: var(--accent-ink); }
.t-btn.alt { background: var(--surface); color: var(--accent); }
.t-btn.alt:hover { background: #e7f1ec; }
.t-btn.big { padding: 15px 24px; font-size: 1.05rem; }
.t-more { font-weight: 700; text-decoration: none; }
.t-more:hover { text-decoration: underline; }
.t-menu-btn, .t-search-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.t-head .t-cta { white-space: nowrap; }

.t-hero { max-width: 1160px; padding-top: 52px; padding-bottom: 28px; }
.t-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; margin: 0 0 14px; max-width: 820px; }
.t-hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; margin: 0 0 24px; }
.t-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.t-sec { max-width: 1160px; padding-top: 28px; padding-bottom: 28px; }
.t-sec > h2 { font-family: var(--font-display); font-size: 1.75rem; margin: 0 0 6px; }
.t-sec > p.sub { color: var(--ink-soft); margin: 0 0 18px; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.t-grid.wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.t-card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
a.t-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.t-card strong { font-size: 1.15rem; }
.t-card span { color: var(--ink-soft); font-size: 0.95rem; }
.t-card .go { color: var(--accent); font-weight: 700; margin-top: 6px; font-size: 0.95rem; }
.t-card svg { stroke: var(--accent); }
.t-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 6px; }
.t-card ul { margin: 0 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.t-card.dark { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.t-card.dark p { color: inherit; opacity: .85; margin: 0 0 12px; }
.t-card.dark .t-btn { background: var(--surface); color: var(--accent); border-color: var(--surface); align-self: flex-start; margin-top: auto; }

.t-now { background: var(--mark-soft); border-top: 1px solid #f0e2a8; border-bottom: 1px solid #f0e2a8; margin: 20px 0; }
.t-now .wrap { max-width: 1160px; display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; padding-top: 22px; padding-bottom: 22px; }
.t-now h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 0; flex: 0 0 150px; align-self: center; }
.t-now a { flex: 1 1 250px; background: var(--surface); border: 1px solid #f0e2a8; border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.t-now a:hover { border-color: var(--warn); }
.t-now small { display: block; font-weight: 700; color: var(--warn); font-size: 0.78rem; letter-spacing: .03em; }

.t-tools a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 700; }
.t-tools a:hover { border-color: var(--accent); }
.t-tools a::after { content: "→"; color: var(--accent); }

.t-bar { display: none; }

/* Page guide */
.t-layout { max-width: 1160px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.t-layout > main { flex: 999 1 560px; min-width: 0; }
.t-layout > main .wrap { padding: 0; max-width: none; }
.t-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 84px; padding-top: 24px; }
.t-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.t-box strong { display: block; margin-bottom: 8px; }
.t-box ol, .t-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 0.93rem; }
.t-box ol a { text-decoration: none; }
.t-box ol a.on { font-weight: 700; color: var(--ink); background: var(--mark); padding: 0 4px; border-radius: 3px; }
.t-next { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 24px; margin: 28px 0 16px; }
.t-next small { font-weight: 700; letter-spacing: .05em; opacity: .8; }
.t-next h2 { font-family: var(--font-display); margin: 6px 0 8px; font-size: 1.5rem; color: inherit; }
.t-next p { margin: 0 0 16px; opacity: .88; }
.t-next .t-btn { background: var(--surface); color: var(--accent); border-color: var(--surface); }
.t-pn { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.t-pn a { flex: 1 1 240px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.t-pn a:hover { border-color: var(--accent); }
.t-pn a small { color: var(--ink-soft); display: block; }
.t-pn a:last-child { text-align: right; }

@media (max-width: 1340px) and (min-width: 1061px) {
  .t-search input { width: 100px; }
  .t-brand span { display: none; }
}
@media (max-width: 1060px) {
  .t-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 14px; }
  .t-nav.on { display: flex; }
  .t-nav a { padding: 14px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .t-menu-btn, .t-search-btn { display: inline-flex; }
  .t-brand { flex: 1 1 auto; }
  .t-search { display: none; position: absolute; left: 12px; right: 12px; top: 100%; padding: 10px 0; }
  .t-search.on { display: block; }
  .t-search input { width: 100%; }
  .t-search label { background: var(--surface); }
  .t-results { width: 100%; }
  .t-head .t-cta { display: none; }
  .t-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .t-bar .t-btn { flex: 1 1 0; padding: 13px 10px; }
  .t-bar .t-btn.alt { flex: 0 0 auto; }
  body.t-has-bar { padding-bottom: 76px; }
  .t-now h2 { flex-basis: 100%; }
  .t-side { position: static; padding-top: 0; }
  .t-grid.intent { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .t-grid.intent .t-card { padding: 14px; }
  .t-grid.intent .t-card span:not(.go), .t-grid.intent svg { display: none; }
  .t-grid.intent .t-card strong { font-size: 1rem; }
}
.t-layout > main.wrap, .t-layout > main { padding: 0; margin: 0; max-width: none; }
.t-layout > main .read { max-width: 720px; }

.t-grid.intent { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 1061px) { .t-nav a.t-metier { display: none; } }
@media (max-width: 700px) { .t-grid.intent { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

html, body { overflow-x: hidden; }
.t-brand { flex: 0 0 auto; }
.t-trust { display: flex; gap: 10px; align-items: flex-start; background: #e7f1ec; color: var(--ink); border-radius: 10px; padding: 12px 16px; margin: 4px 0 18px; font-size: 0.97rem; max-width: 760px; }
.t-trust svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.t-q { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.t-q a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.97rem; }
.t-q a::after { content: "→"; color: var(--accent); flex: 0 0 auto; }
.t-q a:hover { border-color: var(--accent); }

/* « Nos petites enquêtes » : libellé court dans l'en-tête de bureau, libellé complet dans le menu mobile */
.t-nav .t-sm { display: none; }
@media (min-width: 1061px) { .t-nav .t-xl { display: none; } .t-nav .t-sm { display: inline; } }
@media (max-width: 1200px) and (min-width: 1061px) { .t-search input { width: 70px; } .t-nav a { padding-left: 6px; padding-right: 6px; } }
