/* Top Informatique 13 — identité high-tech
   Noir pur, acier, rouge signal, blanc glace. */
:root {
  --noir: #000000;
  --acier: #10141b;
  --acier-2: #171c26;
  --ligne: #262d3a;
  --rouge: #ff2d55;
  --rouge-clair: #ff6b86;
  --glace: #eef3ff;
  --gris: #8d96ab;
  --titre: "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;
  --mesure: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--noir); color: var(--glace);
  font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge-clair); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rouge); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
.conteneur { width: min(1180px, 100% - 3rem); margin-inline: auto; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.78); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; gap: 2rem; min-height: 66px; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--glace); text-decoration: none; font-family: var(--titre); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { color: var(--gris); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--glace); }
.entete .tel { color: var(--glace); text-decoration: none; font-weight: 700; padding: .45rem 1rem; border: 1px solid var(--ligne); border-radius: 8px; white-space: nowrap; }
.entete .tel:hover { border-color: var(--rouge); }

/* Héros : moteur 3D temps réel */
.heros { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--ligne); }
#moteur { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 75%); pointer-events: none; }
.heros .contenu { position: relative; z-index: 2; max-width: 40rem; padding: 5rem 0; }
.heros h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
.heros .chapo { color: #b9c2d6; font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin: 1.6rem 0 2.4rem; max-width: 33rem; }
.hud { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.5rem; font-family: var(--mono); font-size: .8rem; color: var(--gris); text-align: right; line-height: 1.7; }
.hud b { color: var(--glace); font-weight: 600; }
.hud .direct { color: var(--rouge); }

.boutons { display: flex; flex-wrap: wrap; gap: 1rem; }
.bouton { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.6rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.bouton.principal { background: var(--rouge); color: #fff; }
.bouton.principal:hover { background: #ff4d6d; }
.bouton.secondaire { border-color: var(--ligne); color: var(--glace); background: rgba(16,20,27,.6); }
.bouton.secondaire:hover { border-color: var(--glace); }

/* Sections */
section { padding: clamp(4.5rem, 9vw, 7rem) 0; border-bottom: 1px solid var(--ligne); }
.titre-section { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 20ch; margin-bottom: 1.1rem; }
.intro { color: var(--gris); max-width: 44rem; font-size: 1.15rem; margin-bottom: 3.2rem; }

/* Chiffres moteur */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.spec { padding: 2rem 1.6rem; border-right: 1px solid var(--ligne); background: var(--acier); }
.spec:last-child { border-right: 0; }
.spec strong { display: block; font-family: var(--titre); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; color: var(--glace); }
.spec span { color: var(--gris); font-size: .95rem; }

/* Savoir-faire : grille asymétrique */
.savoir { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.bloc { background: var(--acier); padding: clamp(1.8rem, 3.5vw, 2.6rem); }
.bloc h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.bloc p { color: #aab3c7; margin: 0; }
.bloc.grand { grid-row: span 2; background: radial-gradient(120% 80% at 100% 0%, rgba(255,45,85,.18), transparent 60%), var(--acier); }
.bloc.grand h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.bloc.grand ul { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.bloc.grand li { padding: .75rem 0; border-top: 1px solid var(--ligne); color: #d3d9e8; }

/* Vitrine Comète */
.vitrine { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ecran { position: relative; width: 100%; aspect-ratio: 9 / 16; max-width: 330px; margin-inline: auto; border-radius: 42px; border: 10px solid #1d2330; background: #000; box-shadow: 0 0 0 1px #3a4252, 0 40px 120px rgba(255,45,85,.18); overflow: hidden; display: grid; place-items: center; }
.ecran img { width: 46%; border-radius: 22%; }
.ecran .legende { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .75rem; color: var(--gris); }
.vitrine h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 1.1rem; }
.vitrine p { color: #aab3c7; }
.fiche { margin: 1.8rem 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ligne); }
.fiche div { padding: .9rem 0; border-bottom: 1px solid var(--ligne); }
.fiche dt { color: var(--gris); font-size: .9rem; }
.fiche dd { margin: 0; font-weight: 600; }

/* Sites internet */
.sites { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.sites ul { list-style: none; padding: 0; margin: 0; }
.sites li { padding: 1rem 0; border-top: 1px solid var(--ligne); display: flex; justify-content: space-between; gap: 1rem; }
.sites li span { color: var(--gris); }
.prix { font-family: var(--titre); font-size: 1.6rem; font-weight: 800; margin-top: 1.5rem; }
.prix small { font-family: var(--texte); font-size: .95rem; font-weight: 400; color: var(--gris); }

/* Méthode : vraie séquence */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; counter-reset: etape; }
.etapes li { background: var(--acier); padding: 2rem 1.6rem; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: block; font-family: var(--titre); font-size: 3rem; font-weight: 800; color: var(--rouge); line-height: 1; margin-bottom: 1.2rem; }
.etapes h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.etapes p { color: var(--gris); font-size: .97rem; margin: 0; }

/* Zone */
.zone p.villes { font-family: var(--titre); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.2; max-width: 30ch; margin: 0; }
.zone p.villes span { color: var(--gris); }

/* Contact */
.contact { background: radial-gradient(70% 120% at 0% 100%, rgba(255,45,85,.16), transparent 60%), var(--noir); }
.coordonnees { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.coordonnee { display: block; padding: 2.2rem; background: var(--acier); color: var(--glace); text-decoration: none; }
.coordonnee:hover { background: var(--acier-2); }
.coordonnee span { display: block; color: var(--gris); margin-bottom: .5rem; }
.coordonnee strong { font-family: var(--titre); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 800; overflow-wrap: anywhere; }

/* Pied */
.pied { padding: 2.5rem 0; color: var(--gris); font-size: .92rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.pied p { margin: 0; }
.pied nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.pied a { color: #c3cadb; text-decoration: none; }
.pied a:hover { color: var(--glace); }

/* Pages de texte */
.page-texte { padding: clamp(3rem, 6vw, 5rem) 0; }
.page-texte article { max-width: var(--mesure); }
.page-texte h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); margin-bottom: .6rem; }
.page-texte .maj { color: var(--gris); margin-bottom: 2.5rem; }
.page-texte h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.page-texte p, .page-texte li { color: #c9d0e0; }
.page-texte ul { padding-left: 1.2rem; }
.page-texte li { margin-bottom: .4rem; }
.page-texte strong { color: var(--glace); }
.a-completer { background: rgba(255,200,60,.16); border-left: 3px solid #ffc83c; padding: .1rem .4rem; color: #ffe39a; }
.bandeau-page { padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid var(--ligne); background: radial-gradient(60% 100% at 100% 0%, rgba(255,45,85,.15), transparent 60%); }
.bandeau-page .grille { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.bandeau-page img { width: clamp(120px, 18vw, 180px); border-radius: 22%; }
.bandeau-page h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.bandeau-page p { color: #b9c2d6; font-size: 1.15rem; margin: .8rem 0 0; max-width: 36rem; }

/* Mobile */
@media (max-width: 900px) {
  .nav { display: none; }
  .entete .tel { margin-left: auto; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--ligne); }
  .savoir, .vitrine, .sites, .coordonnees { grid-template-columns: 1fr; }
  .bloc.grand { grid-row: auto; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .heros::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.85) 55%); }
  .heros { align-items: flex-end; }
  .hud { top: 1rem; bottom: auto; }
}
@media (max-width: 560px) {
  .etapes, .fiche { grid-template-columns: 1fr; }
  .bandeau-page .grille { grid-template-columns: 1fr; }
  .logo span { font-size: .95rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Séance */
.vitrine-seance { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--ligne); }
.ecran-seance { background: linear-gradient(180deg, #0d1117 0%, #141b26 100%); }
.seance-ui { width: 78%; display: grid; gap: .9rem; }
.seance-ui b { font-family: var(--titre); font-size: 1.8rem; letter-spacing: -0.03em; }
.seance-ui span { color: var(--gris); font-size: .85rem; }
.seance-ui i { display: block; height: 46px; border-radius: 12px; background: linear-gradient(90deg, var(--rouge) 0 var(--p, 100%), #222a37 0); }
.seance-ui i:nth-of-type(1) { background: linear-gradient(90deg, var(--rouge) 72%, #222a37 0); }
.seance-ui i:nth-of-type(2) { background: linear-gradient(90deg, var(--rouge) 45%, #222a37 0); }
.seance-ui i:nth-of-type(3) { background: linear-gradient(90deg, var(--rouge) 88%, #222a37 0); }
@media (max-width: 900px) {
  .heros { min-height: 100svh; }
  .heros .contenu { padding: 48svh 0 3rem; }
  .spec strong { font-size: 1.9rem; }
}
