/* Voxalis Réseaux : charte "écran de poste" (ambre rétroéclairé, graphite, police Doto) */
:root {
  --ambre: #F4B23E;
  --ambre-ecran: #E9A12F;
  --ambre-pale: #F8C766;
  --ambre-clair: #FFD27A;
  --encre: #2A1B08;
  --trait: rgba(42, 27, 8, 0.25);
  --graphite: #2A241F;
  --graphite-touche: #3B342E;
  --graphite-ombre: #17130F;
  --graphite-trait: #4A4038;
  --sable: #F6E6C6;
  --sable-doux: #C4B092;
  --champ: #1E1A16;
  --champ-bord: #5A4E42;
  --police-dot: "Doto", ui-monospace, monospace;
  --police-texte: "Familjen Grotesk", system-ui, sans-serif;
  --gouttiere: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ambre);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--encre); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }

.conteneur {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--graphite);
  color: var(--ambre);
  border-radius: 8px;
  z-index: 10;
}
.evitement:focus { top: 16px; }

/* En-tête */
.entete {
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-voxalis { font-family: var(--police-dot); font-size: 30px; line-height: 1; font-weight: 900; }
.logo-reseaux { font-size: 17px; font-weight: 500; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav a { padding: 10px 12px; text-decoration: none; font-weight: 600; }
.nav a.nav-client { margin-left: 8px; padding: 10px 18px; }

/* Boutons */
.pilule {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.pilule-sombre { background: var(--graphite); color: var(--ambre); border: 0; }
.pilule-sombre:hover { color: var(--ambre-clair); background: #000; }
.pilule-contour { border: 2px solid var(--encre); background: transparent; }
.pilule-ambre { background: var(--ambre); color: var(--encre); border: 0; font-weight: 700; padding: 0 30px; min-height: 50px; }
.pilule-ambre:hover { background: var(--ambre-clair); }

/* Accroche : le poste */
.accroche { padding-top: clamp(24px, 4vw, 56px); }
.poste {
  background: var(--graphite);
  border-radius: clamp(18px, 3vw, 32px);
  padding: clamp(14px, 2.4vw, 30px);
  box-shadow: 0 2px 0 var(--graphite-ombre), 0 30px 60px -30px rgba(42, 27, 8, 0.55);
}
.ecran {
  background-color: var(--ambre-ecran);
  background-image: radial-gradient(rgba(42, 27, 8, 0.09) 1.3px, transparent 1.5px);
  background-size: 7px 7px;
  border-radius: clamp(8px, 1.4vw, 14px);
  box-shadow: inset 0 3px 0 rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  padding: clamp(16px, 3vw, 36px) clamp(18px, 3.4vw, 44px) clamp(14px, 2vw, 22px);
}
.ecran-etat, .ecran-touches {
  font-family: var(--police-dot);
  font-weight: 800;
  font-size: clamp(14px, 1.7vw, 22px);
  line-height: 1;
}
.ecran-etat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(42, 27, 8, 0.75);
  white-space: pre;
}
.ecran-titre {
  margin-top: clamp(28px, 5vw, 64px);
  font-family: var(--police-dot);
  font-weight: 900;
  font-size: clamp(60px, 12.5vw, 172px);
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.ecran-texte {
  margin-top: clamp(18px, 2.6vw, 30px);
  max-width: 48ch;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
}
.ecran-touches, .touches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 28px);
}
.ecran-touches {
  margin-top: clamp(28px, 4.4vw, 56px);
  border-top: 2px solid rgba(42, 27, 8, 0.75);
  padding-top: 10px;
  text-align: center;
}
.touches {
  margin-top: clamp(12px, 1.8vw, 20px);
  padding-inline: clamp(18px, 3.4vw, 44px);
}
.touche {
  display: block;
  min-height: 44px;
  background: var(--graphite-touche);
  border-radius: 10px;
  border-bottom: 4px solid var(--graphite-ombre);
  transition: transform 80ms ease, border-bottom-width 80ms ease;
}
.touche:hover { background: #463E37; }
.touche:active { transform: translateY(3px); border-bottom-width: 1px; }
.touche:focus-visible { outline-color: var(--ambre); }
.clignote { animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

.support { margin: 22px 4px 0; font-weight: 500; }
.numero { font-family: var(--police-dot); font-weight: 900; font-size: 22px; text-decoration: none; white-space: nowrap; }
.numero-grand { font-size: 36px; line-height: 1; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 140px) 24px; }
#methode { padding-bottom: clamp(72px, 10vw, 140px); }
.titre-dot {
  font-family: var(--police-dot);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  max-width: 16ch;
}
.chapo { margin: 20px 0 48px; max-width: 50ch; font-size: 20px; font-weight: 500; }

/* Services façon serveur vocal */
.choix {
  border-top: 2px solid var(--encre);
  padding-block: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 48px;
  align-items: start;
}
.choix-dernier { border-bottom: 2px solid var(--encre); }
.choix-touche { display: flex; align-items: center; gap: 18px; font-weight: 600; }
.chiffre { font-family: var(--police-dot); font-weight: 900; font-size: 96px; line-height: 0.85; }
.choix h3 { font-size: 28px; line-height: 1.15; font-weight: 700; }
.choix h3 + p { margin-top: 10px; max-width: 40ch; }
.liste { padding: 0; list-style: none; }
.liste li { padding: 7px 0; border-bottom: 1px solid var(--trait); }
.liste li:last-child { border-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }

/* Méthode */
.etapes {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}
.etape-moment { font-family: var(--police-dot); font-weight: 900; font-size: 44px; line-height: 1; }
.etapes h3 { margin-top: 18px; font-size: 22px; font-weight: 700; }
.etapes h3 + p { margin-top: 8px; max-width: 36ch; }

/* Équipe */
.bande-pale { background: var(--ambre-pale); }
.equipe {
  padding-block: clamp(64px, 9vw, 120px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
}
.equipe .titre-dot { flex: 1 1 320px; max-width: 12ch; }
.equipe-texte { flex: 999 1 460px; min-width: 0; max-width: 60ch; }
.equipe-texte p + p { margin-top: 20px; }
.grand { font-size: 21px; font-weight: 500; }

/* Contact */
.sombre { background: var(--graphite); color: var(--sable); }
.sombre a { color: var(--ambre); }
.sombre a:hover { color: var(--ambre-clair); }
.sombre :focus-visible { outline-color: var(--ambre); }
.contact {
  padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
}
.contact-infos { flex: 1 1 340px; min-width: 0; }
.contact-infos .titre-dot { color: var(--ambre); max-width: 11ch; }
.contact-infos > p { margin-top: 24px; max-width: 38ch; }
.coordonnees { margin-top: 44px; display: grid; gap: 22px; }
.coordonnees dt { color: var(--sable-doux); }
.coordonnees dd { margin-top: 4px; }

.formulaire {
  flex: 999 1 480px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-content: start;
}
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 600; }
.champ-large { grid-column: 1 / -1; }
.champ input, .champ textarea {
  min-height: 50px;
  padding: 0 14px;
  background: var(--champ);
  border: 1px solid var(--champ-bord);
  border-radius: 10px;
  color: var(--sable);
  font: inherit;
}
.champ textarea { padding-block: 12px; resize: vertical; }
.champ input:focus, .champ textarea:focus { border-color: var(--ambre); }
.champ ::placeholder { color: #9C8B73; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.mention { color: var(--sable-doux); font-size: 15px; }
.retour {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--ambre);
  color: var(--encre);
  font-weight: 600;
}
.retour.erreur { background: #F6E6C6; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pied de page */
.pied {
  padding-block: 28px 44px;
  border-top: 1px solid var(--graphite-trait);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  color: var(--sable-doux);
  font-size: 15px;
}
.pied p { max-width: 70ch; }

/* Page mentions légales */
.page-texte { padding-block: clamp(48px, 7vw, 96px); max-width: 760px; }
.page-texte h1 { font-family: var(--police-dot); font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.page-texte h2 { margin-top: 40px; font-size: 22px; }
.page-texte p { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clignote { animation: none; }
  .touche { transition: none; }
}
