/* Styles des pages métiers (intrusion, incendie, vidéo, accès) */

.fil { font-size: 14px; color: var(--gris); padding-top: 32px; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--texte); }

.tete { padding: 32px 0 88px; }
.tete .conteneur { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tete h1 {
  font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; font-stretch: 115%;
  line-height: 1.03; letter-spacing: -.025em; margin-bottom: 20px;
}
.tete .intro { color: var(--gris); font-size: 19px; max-width: 32em; margin-bottom: 32px; }
.tete .actions { flex-wrap: wrap; }
.tete .btn { padding: 16px 24px; font-size: 16px; }
.capteur.c1 { animation-delay: 1.4s; }

/* Ce que nous installons */
.composants { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--trait); }
.composant { padding: 28px 32px 28px 0; border-bottom: 1px solid var(--trait); }
.composant:nth-child(odd) { border-right: 1px solid var(--trait); }
.composant:nth-child(even) { padding-left: 32px; }
.composant h3 { font-size: 21px; font-weight: 750; font-stretch: 106%; margin-bottom: 6px; }
.composant p { color: var(--gris); font-size: 16px; max-width: 32em; }

/* Encadré mis en avant (ex. générateur de fumée) */
.encart {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
  background: var(--panneau); border: 1px solid var(--trait); border-radius: 14px; padding: 44px;
}
.encart h2 { font-size: clamp(26px, 2.8vw, 36px); }
.encart p { color: var(--gris); margin-bottom: 14px; }
.encart p:last-child { margin-bottom: 0; }

/* Étapes : c'est une vraie suite, d'où la numérotation */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: etape; border-top: 1px solid var(--trait); }
.etapes li { counter-increment: etape; padding: 28px 24px 0 0; position: relative; }
.etapes li::before {
  content: counter(etape); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 16px;
  border: 1px solid var(--rouge); color: var(--texte); font-weight: 700; font-size: 15px;
  background: var(--nuit); margin-top: -46px;
}
.etapes h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.etapes p { color: var(--gris); font-size: 15px; }

/* Questions fréquentes */
.faq { border-top: 1px solid var(--trait); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-size: 19px; font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--gris); border-bottom: 2px solid var(--gris);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--gris); padding-bottom: 22px; max-width: 44em; }

/* Autres métiers */
.autres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.autres a {
  display: block; text-decoration: none; padding: 24px; border: 1px solid var(--trait); border-radius: 10px;
  font-weight: 700; font-size: 19px; font-stretch: 106%;
}
.autres a span { display: block; font-weight: 400; font-size: 15px; color: var(--gris); margin-top: 6px; font-stretch: 100%; }
.autres a:hover { border-color: var(--rouge); }

.bloc .titre-simple { margin-bottom: 40px; max-width: 36em; }
.bloc .titre-simple p { color: var(--gris); margin-top: 14px; }

@media (max-width: 960px) {
  .tete .conteneur, .encart { grid-template-columns: 1fr; gap: 36px; }
  .etapes { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--trait); margin-left: 18px; }
  .etapes li { padding: 0 0 28px 32px; }
  .etapes li::before { position: absolute; left: -18px; top: 0; margin: 0; }
  .autres { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tete { padding-bottom: 56px; }
  .composants { grid-template-columns: 1fr; }
  .composant, .composant:nth-child(even), .composant:nth-child(odd) { padding: 24px 0; border-right: 0; }
  .encart { padding: 28px 22px; }
}
