:root {
  --bg: #0e0f17;
  --bg-2: #15161f;
  --panel: #1b1d28;
  --panel-2: #23263400;
  --line: #2a2d3c;
  --text: #eef0f6;
  --muted: #9aa0b4;
  --accent: #6366f1;
  --accent-2: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --ok: #34d399;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #1c1f3a 0%, transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 23, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 800; letter-spacing: 0.5px;
}
.brand-logo { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; box-shadow: 0 6px 18px rgba(99,102,241,.25); }
.brand-text { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 30px rgba(99,102,241,.35); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(99,102,241,.5); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn.full { width: 100%; }

/* Hero */
.hero { padding: 80px 0 70px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-tech.jpg') center/cover no-repeat;
  opacity: 0.38; filter: brightness(0.85) contrast(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(14,15,23,0.82) 0%, rgba(14,15,23,0.55) 50%, rgba(14,15,23,0.35) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; }
.accent { background: linear-gradient(135deg, var(--accent-2), #c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { color: var(--muted); font-weight: 500; }
.rating-inline { color: #fbbf24 !important; font-weight: 600; }
.rating-inline strong { color: #fbbf24; }

.hero-art { position: relative; }
.glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 70%; background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%); filter: blur(40px); animation: glowPulse 5s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

.screen { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.screen-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan { position: absolute; left: 0; right: 0; height: 38%; top: -38%; background: linear-gradient(180deg, transparent, rgba(99,102,241,.35), transparent); animation: scanMove 2.8s ease-in-out infinite; }
@keyframes scanMove { 0% { top: -38%; } 100% { top: 100%; } }
.screen-badge { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; background: rgba(14,15,23,.78); backdrop-filter: blur(6px); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--text); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Hero entrance */
.hero-copy > * { animation: fadeUp .7s ease both; }
.hero-copy .eyebrow { animation-delay: .05s; }
.hero-copy h1 { animation-delay: .15s; }
.hero-copy .lead { animation-delay: .25s; }
.hero-copy .hero-actions { animation-delay: .35s; }
.hero-copy .hero-points { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(99,102,241,.05), transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; }
.card-img { width: calc(100% + 52px); margin: -26px -26px 18px; height: 150px; object-fit: cover; display: block; border-radius: 0; filter: saturate(1.05); }
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.card-ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { margin: 0 0 10px; font-size: 19px; }
.stars { color: #fbbf24; font-size: 20px; margin-bottom: 10px; letter-spacing: 2px; }
.review p { font-style: italic; color: var(--text); margin: 0 0 12px; }
.review-author { color: var(--muted); font-size: 13px; font-weight: 600; }
.price { text-align: center; }
.price-amt { font-size: 34px; font-weight: 800; color: var(--accent-2); margin: 6px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature strong { display: block; color: var(--accent-2); font-size: 17px; margin-bottom: 8px; }
.feature span { color: var(--muted); font-size: 15px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin: 0 0 12px; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--accent-2); font-weight: 600; font-size: 18px; }
.contact-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-glow { position: absolute; top: -30px; right: -20px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(99,102,241,.4), transparent 70%); filter: blur(36px); }
.contact-card h3 { margin: 0 0 6px; font-size: 22px; }
#contactForm { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
#contactForm input, #contactForm textarea {
  width: 100%; background: #0c0d14; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font: inherit; font-size: 15px; resize: vertical;
}
#contactForm input:focus, #contactForm textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* À propos */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.about-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); box-shadow: 0 18px 44px rgba(99,102,241,.3); }
.about-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 14px; }
.about-copy p { margin: 0 0 12px; }

/* Responsive */
@media (max-width: 900px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .contact { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}
@media (max-width: 620px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo { display: flex; justify-content: center; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 22px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-toggle { display: block; }
  .cards, .features { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}
