/* ============================================================
   ALENTOURS THIONVILLE — signature : tableau + corridor
   Format dominant : tableau des communes classées par distance
   ============================================================ */

/* ===== HERO ===== */
.alt-th-hero {
  padding: calc(var(--header-h) + 48px) 0 40px;
  background: var(--white);
}
.alt-th-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .alt-th-hero .container { grid-template-columns: 1fr; gap: 32px; }
}

.alt-th-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}

.alt-th-hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .alt-th-hero h1 { font-size: 1.9rem; } }

.alt-th-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 26px;
}

.alt-th-hero-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stroke);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.alt-th-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== TABLEAU (SIGNATURE DE LA PAGE) ===== */
.alt-th-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: var(--r-xl);
  border: 1px solid var(--stroke);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.alt-th-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.alt-th-table thead th {
  background: var(--surface);
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-hi);
  border-bottom: 2px solid var(--stroke-strong);
}
.alt-th-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--stroke);
  vertical-align: middle;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.alt-th-table tbody tr:last-child td { border-bottom: none; }
.alt-th-table tbody tr:hover { background: var(--surface); }
.alt-th-table td strong {
  color: var(--text-hi);
  font-weight: 600;
  display: inline-block;
}

.alt-th-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.alt-th-highlight {
  background: linear-gradient(90deg, var(--accent-dim), transparent 60%);
}

.alt-th-table-note {
  font-size: 0.86rem;
  color: var(--text-mid);
  text-align: center;
  padding: 16px 20px;
  background: var(--surface);
  margin: 0;
  font-style: italic;
}

/* ===== LES 3 FLUX (numérotés) ===== */
.alt-th-flux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .alt-th-flux-grid { grid-template-columns: 1fr; } }

.alt-th-flux {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
}
.alt-th-flux-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
}
.alt-th-flux h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-hi);
}
.alt-th-flux p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.alt-th-flux-price {
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
  font-weight: 600;
  color: var(--text-hi);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== FRONTIÈRE BOX ===== */
.alt-th-frontier-box {
  background: var(--white);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  max-width: 880px;
  margin: 0 auto;
  border-left: 6px solid var(--accent);
}
.alt-th-frontier-box .eyebrow-label {
  margin-bottom: 14px;   /* override volontaire — reproduit le rendu actuel, à revoir en phase design */
}
.alt-th-frontier-box h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.25;
}
.alt-th-frontier-box p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.alt-th-frontier-box p:last-child { margin-bottom: 0; }
.alt-th-frontier-box em { font-style: italic; color: var(--text-hi); }
@media (max-width: 700px) {
  .alt-th-frontier-box { padding: 32px 24px; }
  .alt-th-frontier-box h2 { font-size: 1.3rem; }
}

/* ===== FAQ (identique au reste du site) ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-item button {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.02rem; color: var(--text-hi);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item .icon-plus {
  position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.faq-item .icon-plus::before,
.faq-item .icon-plus::after {
  content: ""; position: absolute; background: var(--accent);
  border-radius: 1px; transition: transform 0.25s ease;
}
.faq-item .icon-plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-item .icon-plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item.open .icon-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.96rem; line-height: 1.7; color: var(--text-mid); margin: 0;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--white);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.final-cta 
.final-cta h2 { font-size: 1.7rem; margin-bottom: 14px; }
.final-cta p { font-size: 1rem; line-height: 1.7; color: var(--text-mid); margin-bottom: 22px; }

.alt-th-related {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
  font-size: 0.9rem;
}
.alt-th-related-label {
  color: var(--text-mid);
  margin-right: 8px;
}
.alt-th-related a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}
.alt-th-related a:hover { text-decoration: underline; }
