/* =====================================================
   LES TÔLIERS — CSS additionnel commun
   Tableau et FAQ : Découpe laser / Pliage
   ===================================================== */

/* Règle existante conservée : cartes de prestations. */
.lt-prestations a,
.lt-prestations a:hover,
.lt-prestations a:focus,
.lt-prestations a:visited,
.lt-prestations a * {
  text-decoration: none !important;
}

/* Fondations partagées, limitées aux deux composants. */
.lt-caracteristiques,
.lt-faq-section {
  --lt-bleu: #194187;
  --lt-gris: #ecedec;
  font-family: "Quasimoda", Arial, sans-serif;
  color: var(--lt-bleu);
}

.lt-caracteristiques,
.lt-caracteristiques *,
.lt-faq-section,
.lt-faq-section * {
  box-sizing: border-box;
}

.lt-caracteristiques .lt-valeur,
.lt-faq-section strong {
  font-weight: 700;
}

/* TABLEAUX — une base commune, une variante pour le pliage. */
.lt-caracteristiques {
  --lt-colonne-libelle: 62%;
  --lt-colonne-capacite: 38%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 65, 135, 0.2);
  border-radius: 20px;
  background: #fff;
}

.lt-caracteristiques.lt-caracteristiques--pliage {
  --lt-colonne-libelle: 58%;
  --lt-colonne-capacite: 42%;
}

.lt-caracteristiques table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
}

.lt-caracteristiques thead th,
.lt-caracteristiques tbody th,
.lt-caracteristiques tbody td {
  border: 0;
  overflow-wrap: anywhere;
}

.lt-caracteristiques thead th {
  padding: 16px 22px;
  background: var(--lt-bleu);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.lt-caracteristiques thead th:first-child,
.lt-caracteristiques tbody th {
  width: var(--lt-colonne-libelle);
}

.lt-caracteristiques thead th:last-child,
.lt-caracteristiques tbody td {
  width: var(--lt-colonne-capacite);
  text-align: right;
}

.lt-caracteristiques tbody th,
.lt-caracteristiques tbody td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(25, 65, 135, 0.12);
  background: transparent;
  vertical-align: middle;
}

.lt-caracteristiques tbody th {
  font-weight: 400;
  text-align: left;
}

.lt-caracteristiques tbody tr:nth-child(even) {
  background: #f5f6f5;
}

.lt-caracteristiques tbody tr:last-child th,
.lt-caracteristiques tbody tr:last-child td {
  border-bottom: 0;
}

.lt-caracteristiques .lt-valeur {
  display: inline-block;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(25, 65, 135, 0.07);
  color: var(--lt-bleu);
  white-space: normal;
  overflow-wrap: anywhere;
}

.lt-caracteristiques .lt-condition {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* FAQ — styles communs aux deux pages. */
.lt-faq-section {
  min-width: 0;
  padding: 45px 0;
  background: #fff;
  font-weight: 300;
  line-height: 1.6;
}

.lt-faq-section .ltf-wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.lt-faq-section h2,
.lt-faq-section summary h3 {
  color: var(--lt-bleu);
  font-family: inherit;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

.lt-faq-section h2 {
  margin: 0 0 32px;
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
}

.lt-faq-section .ltf-liste {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.lt-faq-section details {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(25, 65, 135, 0.18);
  border-radius: 20px;
  background: #fff;
}

.lt-faq-section summary {
  position: relative;
  display: block;
  padding: 22px 70px 22px 26px;
  background: var(--lt-gris);
  cursor: pointer;
  list-style: none;
}

.lt-faq-section summary::-webkit-details-marker {
  display: none;
}

.lt-faq-section summary::marker {
  content: "";
}

.lt-faq-section summary h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.lt-faq-section .ltf-toggle {
  position: absolute;
  top: 50%;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lt-bleu);
  transform: translateY(-50%);
}

.lt-faq-section .ltf-toggle::before,
.lt-faq-section .ltf-toggle::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.lt-faq-section .ltf-toggle::after {
  transform: rotate(90deg);
}

.lt-faq-section details[open] .ltf-toggle::after {
  display: none;
}

.lt-faq-section details[open] summary {
  border-bottom: 1px solid rgba(25, 65, 135, 0.12);
}

.lt-faq-section summary:focus-visible {
  outline: 3px solid var(--lt-bleu);
  outline-offset: -5px;
}

.lt-faq-section .ltf-reponse {
  padding: 24px 26px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.lt-faq-section .ltf-reponse p {
  margin: 0 0 16px;
  color: var(--lt-bleu);
}

.lt-faq-section .ltf-reponse p:last-child {
  margin-bottom: 0;
}

.lt-faq-section .ltf-reponse a:not(.ltf-bouton) {
  color: var(--lt-bleu);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lt-faq-section .ltf-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  margin-top: 4px;
  padding: 12px 26px;
  border: 1px solid var(--lt-bleu);
  border-radius: 50px;
  background: var(--lt-bleu);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background 0.2s, color 0.2s;
}

.lt-faq-section .ltf-bouton:hover,
.lt-faq-section .ltf-bouton:focus-visible {
  background: #fff;
  color: var(--lt-bleu);
  text-decoration: none;
}

.lt-faq-section a:focus-visible {
  outline: 3px solid var(--lt-bleu);
  outline-offset: 4px;
}

/* Mobile ; les dimensions fluides couvrent aussi les tablettes. */
@media (max-width: 767px) {
  .lt-caracteristiques,
  .lt-caracteristiques.lt-caracteristiques--pliage {
    --lt-colonne-libelle: 55%;
    --lt-colonne-capacite: 45%;
    border-radius: 16px;
  }

  .lt-caracteristiques table {
    font-size: 14px;
  }

  .lt-caracteristiques thead th,
  .lt-caracteristiques tbody th,
  .lt-caracteristiques tbody td {
    padding: 14px 12px;
  }

  .lt-caracteristiques .lt-valeur {
    padding: 5px 8px;
  }

  .lt-caracteristiques .lt-condition {
    font-size: 12px;
  }

  .lt-faq-section {
    padding: 30px 0;
  }

  .lt-faq-section .ltf-wrap {
    width: calc(100% - 32px);
  }

  .lt-faq-section h2 {
    margin-bottom: 24px;
    font-size: 24px;
    text-align: left;
  }

  .lt-faq-section details {
    border-radius: 16px;
  }

  .lt-faq-section summary {
    padding: 19px 58px 19px 18px;
  }

  .lt-faq-section summary h3 {
    font-size: 17px;
  }

  .lt-faq-section .ltf-toggle {
    right: 16px;
    width: 28px;
    height: 28px;
  }

  .lt-faq-section .ltf-reponse {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lt-faq-section .ltf-bouton {
    transition: none;
  }
}
