/*
 * css2.css — Lisibilité, douceur visuelle, échelle de tailles (test)
 * Chargé après style.css sur la page de test uniquement.
 *
 * Échelle de texte retenue :
 *   15px — plancher : labels, badges, légendes, notes, footer
 *   16px — texte secondaire : listes, intro, valeurs de contact
 *   18px — texte de lecture "normal" : lead, paragraphe du CTA
 *   17-19px — titres de cartes, remontés pour rester au-dessus
 *             du texte qu'ils introduisent
 */

/* ---- Coins plus doux, partout (variables globales) ---- */
:root {
  --tp-radius:    8px;   /* était 4px */
  --tp-radius-md: 12px;  /* était 6px */
}

.tp-format-card {
  border-radius: var(--tp-radius-md); /* arrondi sur les 4 côtés, pas juste en bas */
}

/* ---- 2 colonnes au lieu de 4, en desktop seulement ---- */
@media (min-width: 961px) {
  .tp-formats-grid,
  .tp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
  .tp-format-card h3 { min-height: 0; } /* plus nécessaire en 2 colonnes larges */
}

/* ---- Plancher à 15px : labels, badges, légendes ---- */
.tp-label,
.tp-format-badge,
.tp-contact-label,
.tp-drawer-note,
.tp-drawer-form label,
.tp-footer,
.tp-format-card ul li {
  font-size: 15px;
}

/* ---- Texte secondaire à 16px ---- */
.tp-kpi-lbl,
.tp-format-card p,
.tp-benefit-card p,
.tp-claire-list li,
.tp-drawer-intro,
.tp-contact-val {
  font-size: 16px;
}

.tp-drawer-form input,
.tp-drawer-form textarea {
  font-size: 16px; /* évite aussi le zoom automatique de Safari sur iOS en dessous de 16px */
}

/* ---- Texte de lecture "normal" à 18px ---- */
.tp-lead { font-size: 18px; }
/* .tp-cta-inner p est déjà à 18px dans style.css, rien à changer */

/* ---- Titres de cartes remontés, pour rester au-dessus du texte ---- */
.tp-format-card h3  { font-size: 17px; }
.tp-benefit-card h3 { font-size: 19px; }

/* ---- Petit ajustement de confort pour l'intro du hero ---- */
.tp-hero-sub { font-size: 20px; } /* était 19px, un peu plus d'air au-dessus du lead à 18 */



/* ---- Nouvelle section : déroulé en 4 étapes ---- */
.tp-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.tp-step-card {
  background: var(--tp-bg);
  border-radius: var(--tp-radius-md);
  padding: 26px 20px;
}
.tp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tp-blue);
  color: var(--tp-white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.tp-step-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--tp-text);
  margin-bottom: 8px;
}
.tp-step-card p {
  font-size: 16px;
  color: var(--tp-text-muted);
  line-height: 1.55;
}
@media (max-width: 960px) { .tp-steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .tp-steps-grid { grid-template-columns: 1fr; } }





/* ---- Nouvelle section : FAQ en accordéon natif ---- */
.tp-faq { max-width: 760px; }
.tp-faq-item {
  border-bottom: 1px solid var(--tp-border);
  padding: 18px 0;
}
.tp-faq-item summary {
  font-size: 17px;
  font-weight: 600;
  color: var(--tp-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tp-faq-item summary::-webkit-details-marker { display: none; }
.tp-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--tp-blue);
  margin-left: 16px;
  transition: transform .2s;
}
.tp-faq-item[open] summary::after { transform: rotate(45deg); }
.tp-faq-item p {
  font-size: 16px;
  color: var(--tp-text-muted);
  line-height: 1.6;
  margin-top: 12px;
}




/* ---- Focus propre : anneau uniquement au clavier, pas au clic souris ---- */
a, button, summary, input, textarea,
.tp-btn-yellow, .tp-btn-outline, .tp-btn-white {
  outline: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
.tp-btn-yellow:focus-visible,
.tp-btn-outline:focus-visible,
.tp-btn-white:focus-visible {
  outline: 2px solid var(--tp-blue);
  outline-offset: 2px;
  border-radius: var(--tp-radius);
}