/* ===== CYBERPREV EXPERT — ONE PAGE VITRINE ===== */

:root {
  --bg:          #080f1a;
  --bg-card:     #0d1b2e;
  --bg-card2:    #112240;
  --cyan:        #00c9c8;
  --cyan-dark:   #009898;
  --cyan-glow:   rgba(0, 201, 200, 0.15);
  --blue:        #0a66c2;
  --text:        #e8f4ff;
  --text-sec:    #8bafc8;
  --text-muted:  #4a6880;
  --border:      rgba(0, 201, 200, 0.2);
  --radius:      8px;
  --font:        'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

/* ---- HEADER ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(8, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  height: 38px;
  width: auto;
}

.logo-placeholder {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cyan);
  display: none; /* shown if no logo img */
}

.logo-area .brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

nav a {
  color: var(--text-sec);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--cyan); }

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,201,200,0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 1.25rem;
}

#hero h1 span { color: var(--cyan); }

#hero p.tagline {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
  background: var(--cyan);
  color: #080f1a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--cyan); background: var(--cyan-glow); }

/* ---- SECTIONS COMMUNES ---- */
section { padding: 5rem 1.5rem; }

.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  color: var(--text-sec);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ---- SERVICES ---- */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,201,200,0.12);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-sec);
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-tags {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* ---- POURQUOI ---- */
#pourquoi { background: var(--bg-card); }

.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.atout {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.atout-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.atout h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.atout p  { font-size: 0.85rem; color: var(--text-sec); }

/* ---- CONTACT ---- */
#contact {
  background: var(--bg);
  text-align: center;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.contact-card p {
  color: var(--text-sec);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}
.contact-email:hover { background: var(--cyan-glow); border-color: var(--cyan); }

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a { color: var(--text-sec); text-decoration: none; }
footer a:hover { color: var(--cyan); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  header { padding: 0.9rem 1.25rem; }
  nav { display: none; }
  #hero { padding: 7rem 1.25rem 3rem; }
  section { padding: 3.5rem 1.25rem; }
  .contact-card { padding: 2rem 1.25rem; }
}
