/* ==========================================================================
   CHECK POINT — AI Security Report 2026
   Thème complémentaire à styles.css (framework itforbusinessleclub).
   Charte reprise du rapport : fond noir, rose Check Point, dégradé rose → violet.
   ========================================================================== */
:root {
  --cp-pink: #EE0C5D;
  --cp-pink-dark: #C8074C;
  --cp-purple: #DD2177;
  --cp-black: #000000;
  --cp-ink: #111111;
  --cp-grey: #5c5c66;
  --cp-gradient: linear-gradient(90deg, #EE0C5B 0%, #F0124F 45%, #DD2177 100%);
}

body,
body * {
  font-family: 'Barlow', sans-serif;
}
body {
  background: #f5f5f7;
}

/* Barre de navigation */
.checkpoint-header #nav {
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.checkpoint-header #nav .logo {
  height: 36px;
}
.checkpoint-header #nav .logo img {
  max-height: 36px;
}

/* Hero */
.checkpoint-header .candidature-content {
  position: relative;
  min-height: 72vh;
  padding: 120px 50px 60px;
  justify-content: flex-start;
  background-color: var(--cp-black);
  background-image: url('hero-ai-security.jpg');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
}
.checkpoint-header .candidature-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 75%);
  z-index: 1;
}
.checkpoint-header .candidature-content .candidature-hero {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.checkpoint-header .candidature-content .candidature-hero .eyebrow {
  display: block;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.checkpoint-header .candidature-content .candidature-hero h1 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: #ffffff;
  text-align: left;
  text-transform: uppercase;
  text-shadow: none;
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.checkpoint-header .candidature-content .candidature-hero h1 .accent {
  font-family: inherit;
  color: var(--cp-pink);
}
.checkpoint-header .candidature-content .candidature-hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: none;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.55;
}
@media (max-width: 1200px) {
  .checkpoint-header .candidature-content .candidature-hero h1 {
    font-size: 4rem;
  }
}

/* Bandeau rose sous le hero (repris de la couverture du rapport) */
.cp-band {
  background: var(--cp-gradient);
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cp-band .dot,
.cp-band sup {
  font-family: inherit;
}
.cp-band sup {
  font-size: 0.65em;
}

/* Formulaire */
.checkpoint-header ~ .candidature-main {
  background: #f5f5f7;
}
.candidature-main .form-section .form-container {
  border-radius: 6px;
}
.candidature-main .form-section .form-container::before {
  height: 6px;
  background: var(--cp-gradient);
}
.candidature-main .form-section .form-container .form-header h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: var(--cp-black);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.candidature-main .form-section .form-container .form-header p {
  color: var(--cp-grey);
}
.candidature-main .form-section .form-container .form-header .lang-note {
  color: var(--cp-grey);
  font-style: italic;
}
.candidature-form .registration-content input[type=text],
.candidature-form .registration-content input[type=email],
.candidature-form .registration-content input[type=tel] {
  font-family: 'Barlow', sans-serif;
  border-radius: 6px;
}
.candidature-form .registration-content input[type=text]:focus,
.candidature-form .registration-content input[type=email]:focus,
.candidature-form .registration-content input[type=tel]:focus {
  border-color: var(--cp-pink);
  box-shadow: 0 0 0 4px rgba(238, 12, 93, 0.12);
}
.candidature-form .registration-content .privacy-label {
  border-radius: 6px;
}
.candidature-form .registration-content .privacy-label input[type=checkbox]:checked + .checkmark {
  background-color: var(--cp-pink);
  border-color: var(--cp-pink);
}
.candidature-form .registration-content .privacy-label a {
  color: var(--cp-pink);
}
.candidature-form .registration-content .privacy-label a:hover {
  color: var(--cp-black);
}
.candidature-form .registration-content #connexion button {
  background: var(--cp-pink);
  border-radius: 4px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.candidature-form .registration-content #connexion button:hover {
  background: var(--cp-black);
  box-shadow: 0 15px 35px rgba(238, 12, 93, 0.3);
}
.candidature-form .registration-content #connexion #form_submit_error {
  color: #dc3545;
  justify-content: center;
  gap: 6px;
}

/* Chiffres clés */
.cp-stats {
  background: var(--cp-black);
  padding: 70px 24px;
  margin-bottom: 0;
}
.cp-stats-container {
  max-width: 1100px;
  margin: 0 auto;
}
.cp-stats h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 40px;
}
.cp-stats-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.cp-stats-grid li {
  border-left: 3px solid var(--cp-pink);
  padding: 4px 0 4px 18px;
}
.cp-stat-value {
  display: block;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}
.cp-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Section intro (Pourquoi télécharger ce rapport) */
.cio-intro {
  background: #ffffff;
  padding: 70px 24px 70px;
}
.cio-intro-container {
  max-width: 1100px;
  margin: 0 auto;
}
.cio-intro h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: var(--cp-black);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cio-intro > .cio-intro-container > p {
  color: #333333;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 30px;
}
.cio-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cio-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f7f7f9;
  border: 1px solid #ececf0;
  border-left: 4px solid var(--cp-pink);
  border-radius: 4px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cio-benefits li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(238, 12, 93, 0.12);
}
.cio-benefit-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cp-pink);
  color: #ffffff;
  font-size: 20px;
}
.cio-benefit-text {
  color: var(--cp-ink);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

/* Pas d'espace vide entre le formulaire et le bandeau noir */
.checkpoint-header ~ .candidature-main {
  padding-bottom: 50px;
}

/* Pied de page */
footer {
  background: var(--cp-gradient);
  border-radius: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 22px 20px;
}
footer p,
footer a {
  font-size: 15px;
}

/* Popup de confirmation */
.success-overlay {
  background: rgba(0, 0, 0, 0.8);
}
.success-overlay .success-popup {
  border-radius: 6px;
}
.success-overlay .success-popup .success-icon i {
  color: var(--cp-pink);
}
.success-overlay .success-popup h3 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  color: var(--cp-black);
  text-transform: uppercase;
}
.success-overlay .success-popup .close-popup {
  background: var(--cp-pink);
  border-radius: 4px;
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}
.success-overlay .success-popup .close-popup:hover {
  background: var(--cp-black);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 720px) {
  .checkpoint-header #nav {
    padding: 12px 18px;
  }
  .checkpoint-header #nav .logo,
  .checkpoint-header #nav .logo img {
    height: 28px;
    max-height: 28px;
  }
  .checkpoint-header .candidature-content {
    min-height: 60vh;
    padding: 100px 18px 40px;
    background-position: 75% center;
  }
  .checkpoint-header .candidature-content::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
  }
  .checkpoint-header .candidature-content .candidature-hero .eyebrow {
    font-size: 1.2rem;
  }
  .checkpoint-header .candidature-content .candidature-hero h1 {
    font-size: 2.9rem;
  }
  .checkpoint-header .candidature-content .candidature-hero p {
    font-size: 1.05rem;
  }
  .cp-band {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }
  .candidature-main .form-section .form-container {
    padding: 2.5rem 1.5rem;
  }
  .candidature-main .form-section .form-container .form-header h2,
  .cp-stats h2,
  .cio-intro h2 {
    font-size: 28px;
  }
  .cp-stats {
    padding: 50px 18px;
  }
  .cp-stat-value {
    font-size: 2.6rem;
  }
  .cio-intro {
    padding: 50px 18px;
  }
  .cio-benefits {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .cp-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
