/* =====================================================================
   Pages métier et pages locales (29/10/2026)
   site-internet-batiment, creation-site-web-gaillac-albi,
   creation-site-web-toulouse.
   Petit complément de style.css : les pages restent lisibles sans lui.
   ===================================================================== */

/* Tableau « ce que tape le client → la page qui répond ».
   Dans .comparatif, les cellules font 24 % (fait pour des ✓) : ici la
   colonne de droite porte le texte, elle prend toute la place. */
.comparatif--recherches { max-width: 1040px; }
.comparatif--recherches tbody th {
  width: 32%;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--accent-soft);
  vertical-align: top;
}
.comparatif--recherches td { width: auto; color: #CFC7E6; line-height: 1.55; }
.comparatif--recherches td b { color: var(--cream); font-weight: 500; }

/* Texte d'intro sous le titre, dans la colonne gauche d'une liste numérotée. */
.projet-livrables__grille .section-intro { margin-top: 1.5rem; }
/* Le nom de la zone ou de l'engagement, puis le détail plus discret. */
.projet-livrables__liste b { font-weight: 500; color: var(--cream); }
.projet-livrables__liste li > span { color: #CFC7E6; }

/* Étiquette « Exemple fictif » : impossible de la rater. */
.fictif {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px dashed rgba(201, 176, 255, 0.6);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

@media (max-width: 600px) {
  .comparatif--recherches table { min-width: 0; }
  .comparatif--recherches thead { display: none; }
  .comparatif--recherches tr { display: block; padding: 0.4rem 0; border-top: 1px solid rgba(236, 233, 245, 0.08); }
  .comparatif--recherches tbody th,
  .comparatif--recherches td { display: block; width: auto; border-top: 0; padding: 0.35rem 0.9rem; }
}

/* Titre à côté d'une liste numérotée : la colonne est étroite, le titre
   pleine taille faisait six lignes. Limité à ces pages (classe page-locale). */
.page-locale .projet-livrables .section-title { font-size: clamp(2.3rem, 4.2vw, 3.8rem); }

/* Pages métier avec appareils 3D (28/10/2026) : le titre tient en trois
   lignes dans la moitié gauche, quelle que soit la largeur de l'écran
   (la taille suit la largeur de la colonne : 50vw - 72px, 680 px au plus). */
@media (min-width: 901px) {
  .has-3d .page-metier .page-hero--3d .section-title {
    font-size: max(2rem, min(3rem, calc((50vw - 72px) / 14.2)));
  }
}

/* Pages métier : l'écran téléphone du site d'exemple sous le titre de
   « Ce que je mets en place », dans un cadre de téléphone (28/10/2026). */
.metier-tel {
  position: relative;
  width: min(250px, 70%);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}
/* L'inclinaison est sur l'image : data-anim anime déjà le transform de la figure. */
.metier-tel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  border: 7px solid #1C1828;
  transform: rotate(-3deg);
  box-shadow:
    0 0 0 1px rgba(236, 233, 245, 0.14),
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    0 0 90px -20px var(--accent);
}
.metier-tel figcaption {
  position: absolute;
  top: 18px;
  right: -14px;
  transform: rotate(6deg);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent);
}
@media (max-width: 900px) {
  .metier-tel { width: min(210px, 60%); margin: 1.5rem auto 0.5rem; }
}
