/* BEETICS — soutien.beetics.com (page d'aide: téléphone et courriel).
   Même identité que beetics.com, sans son exportation Webflow: les jetons
   (couleurs, police, rayons, bouton pilule, bande bleue des pages utilitaires)
   sont repris de sites/beetics.com/css/beetics-coming-soon.css.
   Écrite pour le téléphone d'abord: on arrive ici depuis l'application.
   AUCUNE ressource externe (police locale, pas de script tiers): l'en-tête
   Content-Security-Policy du Worker (workers/beetics-soutien.js) l'interdit. */

:root {
  --neutral-700: #14142b;
  --neutral-600: #4e4b66;
  --neutral-400: #d9dbe9;
  --neutral-300: #eff0f6;
  --neutral-200: #f7f7fc;
  --white: #fff;
  --primary-1: #256bff;
  color-scheme: light;
}

@font-face {
  font-family: 'Plusjakartadisplay';
  src: url('../fonts/PlusJakartaDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plusjakartadisplay';
  src: url('../fonts/PlusJakartaDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plusjakartadisplay';
  src: url('../fonts/PlusJakartaDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--neutral-600);
  font-family: Plusjakartadisplay, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.667;
}

main { flex: 1; }

a { color: var(--primary-1); }

:focus-visible { outline: 3px solid var(--neutral-700); outline-offset: 3px; }

/* ── En-tête: logo à gauche, autre langue à droite ───────────────────── */
.header { background: var(--white); padding: 20px 0; }
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.brand { display: inline-flex; }
.header-logo { display: block; width: 168px; height: auto; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--neutral-400);
  border-radius: 500px;
  color: var(--neutral-700);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--primary-1); color: var(--primary-1); }

/* ── Bande bleue (celle des pages utilitaires de beetics.com) ─────────── */
.hero { background: var(--primary-1); padding: 44px 0 48px; text-align: center; }
.hero__inner { max-width: 761px; margin: 0 auto; padding: 0 16px; }
.hero h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.hero p { margin: 0; color: var(--white); }

/* ── Les moyens de nous joindre ────────────────────────────────────────
   Une carte par moyen. La grille se remplit toute seule: une troisième
   carte (clavardage, plus tard) prend sa place sans rien changer ici. */
.section { padding: 32px 0 56px; }
.channels {
  max-width: 948px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  border: 1px solid var(--neutral-300);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 14px 24px rgba(74, 58, 255, .06), 0 2px 8px rgba(13, 10, 44, .06);
}
/* Le titre porte son pictogramme, sur une ligne: moins de hauteur, les deux
   boutons tiennent dans un écran de téléphone. */
.channel h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--neutral-700);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.27;
}
.channel__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--neutral-200);
  color: var(--primary-1);
}
.channel__icon svg { width: 24px; height: 24px; }
.channel__note { margin: -6px 0 20px; font-size: 16px; line-height: 1.5; }

/* Le geste principal: un seul toucher pour appeler ou écrire. */
.button {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 16px 24px;
  border-radius: 500px;
  background: var(--primary-1);
  box-shadow: 0 9px 20px #5fa2ff66;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .2s;
}
.button:hover { transform: scale3d(.97, .97, 1); }
.button:focus-visible { outline-offset: 4px; }

/* Renseignement que BEETICS n'a publié nulle part: à confirmer par Daven.
   Volontairement voyant. tools/check-placeholders.mjs refuse une mise en
   ligne tant qu'il en reste un. */
.a-confirmer {
  display: inline-block;
  padding: 2px 10px;
  border: 1px dashed #d39e00;
  border-radius: 6px;
  background: #fff3bf;
  color: #6b4400;
  font-size: 15px;
  font-weight: 500;
}

/* ── Page introuvable ──────────────────────────────────────────────── */
.notfound { max-width: 480px; margin: 0 auto; padding: 0 16px; text-align: center; }
.notfound .button { display: inline-block; width: auto; margin-top: 8px; padding: 14px 32px; }

/* ── Pied de page (convention de beetics.com) ────────────────────────── */
.footer {
  border-top: 1px solid var(--neutral-300);
  padding: 36px 16px 32px;
  background: var(--white);
  font-size: 16px;
  text-align: center;
}
.footer-legal { margin-bottom: 10px; }
.footer-bottom-link { font-weight: 500; text-decoration: none; transition: color .2s; }
.footer-bottom-link:hover { color: var(--neutral-700); }

/* ── Tablette et ordinateur ──────────────────────────────────────────── */
@media screen and (min-width: 768px) {
  .header { padding: 24px 0; }
  .header__inner { padding: 0 24px; }
  .header-logo { width: 200px; }
  .hero { padding: 80px 0; }
  .hero__inner { padding: 0 24px; }
  .hero h1 { margin-bottom: 16px; font-size: 48px; }
  .section { padding: 72px 0 100px; }
  .channels { padding: 0 24px; gap: 24px; }
  .channel { padding: 36px 32px; }
  .footer { padding: 56px 24px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .lang-switch, .footer-bottom-link { transition: none; }
  .button:hover { transform: none; }
}
