/* Meta Security — site vitrine (metasecuritydz.com)
   Aucune dépendance externe : polices système, icônes emoji, un seul CSS. */

:root {
  --fond: #0e1420;
  --fond-2: #131b2b;
  --carte: #182238;
  --bord: #26324c;
  --texte: #e8ecf4;
  --texte-2: #9aa7bf;
  --or: #c9a227;
  --or-clair: #e3bd45;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.6;
}

.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---- En-tête ---- */
.entete {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 20, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bord);
}
.barre { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-size: 20px; letter-spacing: 0.5px; }
.marque b { color: var(--or); font-weight: 700; }
.logo { width: 26px; height: 26px; fill: var(--or); }
.navigation { display: flex; align-items: center; gap: 22px; }
.navigation a { color: var(--texte-2); text-decoration: none; font-size: 15px; transition: color 0.15s; }
.navigation a:hover { color: var(--texte); }
.bouton-nav {
  background: var(--or); color: #14171c !important; font-weight: 600;
  padding: 8px 16px; border-radius: 8px;
}
.bouton-nav:hover { background: var(--or-clair); }

/* ---- Héros ---- */
.heros {
  padding: 96px 0 88px;
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(800px 400px at 10% 110%, rgba(40, 70, 130, 0.25), transparent);
  text-align: center;
}
.surtitre { color: var(--or); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
.heros h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.2; margin-bottom: 20px; }
.or { color: var(--or); }
.sous-titre { color: var(--texte-2); max-width: 720px; margin: 0 auto 32px; font-size: 18px; }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bouton {
  display: inline-block; background: var(--or); color: #14171c; font-weight: 700;
  padding: 13px 26px; border-radius: 10px; text-decoration: none; font-size: 16px;
  transition: background 0.15s, transform 0.1s;
}
.bouton:hover { background: var(--or-clair); transform: translateY(-1px); }
.bouton.secondaire { background: transparent; color: var(--texte); border: 1px solid var(--bord); }
.bouton.secondaire:hover { border-color: var(--or); color: var(--or); }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section.sombre { background: var(--fond-2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.section h2 { font-size: 32px; text-align: center; margin-bottom: 10px; }
.intro { text-align: center; color: var(--texte-2); max-width: 640px; margin: 0 auto 40px; }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: 14px;
  padding: 26px 22px; transition: border-color 0.15s, transform 0.1s;
}
.carte:hover { border-color: var(--or); transform: translateY(-2px); }
.carte h3 { font-size: 18px; margin: 10px 0 8px; }
.carte p { color: var(--texte-2); font-size: 15px; }
.carte p a { color: var(--or); text-decoration: none; }
.carte p a:hover { text-decoration: underline; }
.icone { font-size: 30px; }

.points .point { background: transparent; padding: 8px 4px; }
.points .point h3 { color: var(--or); font-size: 17px; margin-bottom: 6px; }
.points .point p { color: var(--texte-2); font-size: 15px; }
.points { gap: 26px 40px; }

/* ---- Contact ---- */
.contact .carte { text-align: center; }
.carte.lien { display: block; text-decoration: none; color: inherit; }
.grand { color: var(--texte) !important; font-size: 17px; font-weight: 600; margin-bottom: 2px; }

/* ---- Pied de page ---- */
.pied { border-top: 1px solid var(--bord); padding: 22px 0; }
.pied-barre { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--texte-2); font-size: 14px; }
.pied a { color: var(--or); text-decoration: none; }
.pied a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .navigation { gap: 14px; font-size: 14px; }
  .navigation a:not(.bouton-nav):nth-child(2) { display: none; }
  .heros { padding: 64px 0 56px; }
}
