/* =========================================================
   CYBERSÉCURITÉ — TECHNOLOGIE ERIZO
   ========================================================= */

:root {
  --cyan: #00d2ff;
  --violet: #3a0ca3;
  --violet-deep: #24046b;
  --header: #2d047e;
  --ink: #0f1028;
  --graphite: #475569;
  --white: #ffffff;
  --light: #f8fafc;
  --header-height: 74px;
  --page-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--light);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-container {
  width: min(calc(100% - 44px), var(--page-width));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: var(--header-height);
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 44px), var(--page-width));
  min-height: var(--header-height);
  margin: 0 auto;
}

.header-brand img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.main-navigation {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.main-navigation a {
  position: relative;
  padding: 10px 0;
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  font-weight: 700;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: .25s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  transform: scaleX(1);
}

.support-button {
  min-width: 178px;
  padding: 11px 22px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}

.support-button:hover {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.menu-toggle,
.menu-button {
  display: none;
}

/* BOUTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--cyan);
  border: 1px solid var(--cyan);
}

.button-primary:hover {
  color: var(--violet-deep);
  background: var(--white);
  border-color: var(--white);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.72);
}

.button-secondary:hover {
  border-color: var(--cyan);
  background: rgba(45,4,126,.7);
}

/* HERO */

.cyber-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding: calc(var(--header-height) + 76px) 0 80px;
  overflow: hidden;
  background-color: #17142f;
  background-image: url("../assets/images/cybersecurite/support-background-fonce.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cyber-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(15,16,40,.78) 0%,
    rgba(36,4,107,.38) 50%,
    rgba(15,16,40,.08) 100%
  );
}

.cyber-hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label,
.cta-label,
.footer-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cyber-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.05em;
}

.cyber-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* CONTENU */

.cyber-content {
  position: relative;
  padding: 90px 0 95px;
  overflow: hidden;
  background-color: var(--light);
  background-image: url("../assets/images/cybersecurite/support-background-claire.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.cyber-content-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255,255,255,.36);
}

.cyber-content-inner {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .section-label {
  color: var(--violet);
}

.section-heading h2 {
  margin: 0 0 16px;
  color: var(--violet-deep);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--graphite);
  line-height: 1.75;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.security-card {
  min-height: 260px;
  padding: 28px 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(58,12,163,.1);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15,16,40,.08);
}

.security-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--violet);
  background: linear-gradient(145deg, #eefaff, #f4efff);
  border: 1px solid rgba(0,210,255,.28);
  border-radius: 17px;
}

.security-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.security-card h3 {
  margin: 0 0 11px;
  color: var(--violet-deep);
  font-size: 1.02rem;
}

.security-card p {
  margin: 0;
  color: #64748b;
  font-size: .81rem;
  line-height: 1.7;
}

.cyber-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 55px;
  padding: 42px 46px;
  color: var(--white);
  background: linear-gradient(120deg, #24046b, #3a0ca3 58%, #151638);
  border: 1px solid rgba(0,210,255,.22);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(36,4,107,.2);
}

.cyber-cta h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cyber-cta p {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

/* FOOTER */

.site-footer {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-top: 1px solid rgba(58,12,163,.1);
}

.footer-wrapper {
  width: min(calc(100% - 44px), var(--page-width));
  margin: 0 auto;
  padding: 66px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .7fr .9fr 1fr;
  gap: 48px;
}

.footer-brand {
  color: var(--violet-deep);
  font-size: 1.18rem;
  font-weight: 800;
}

.footer-brand-block small {
  display: block;
  margin-top: 7px;
  color: #475569;
  font-size: .7rem;
}

.footer-brand-block p {
  max-width: 390px;
  margin: 22px 0;
  color: #475569;
  font-size: .82rem;
  line-height: 1.7;
}

.footer-contact-links {
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: .78rem;
  line-height: 1.55;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: var(--violet-deep);
  font-size: 1.1rem;
}

.footer-column a {
  margin-bottom: 11px;
  color: #475569;
  font-size: .78rem;
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(58,12,163,.12);
}

.footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: .7rem;
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .menu-button {
    z-index: 1002;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    justify-self: end;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 11px;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: var(--header);
    border-radius: 0 0 18px 18px;
  }

  .menu-toggle:checked ~ .main-navigation {
    display: flex;
  }

  .support-button {
    display: none;
  }

  .cyber-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .page-container,
  .header-wrapper,
  .footer-wrapper {
    width: min(calc(100% - 30px), var(--page-width));
  }

  .cyber-hero {
    min-height: auto;
    padding: calc(var(--header-height) + 58px) 0 68px;
  }

  .cyber-hero h1 {
    font-size: 2.35rem;
  }

  .cyber-hero p {
    font-size: .95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cyber-content {
    padding: 72px 0;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-card {
    min-height: 0;
  }

  .cyber-cta {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .cyber-cta .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}


.cyber-cta-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; }
.cyber-cta .cyber-support-link { color:var(--violet-deep); border-color:rgba(36,4,107,.35); background:#fff; }
.cyber-cta .cyber-support-link:hover { color:var(--white); background:var(--violet-deep); border-color:var(--violet-deep); }
@media (max-width: 760px) { .cyber-cta-actions { justify-content:flex-start; } }
body, button, input, select, textarea { font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
