
:root {
  --white-0: #ffffff;
  --white-1: #f9fafb;
  --white-2: #f3f4f6;
  --grey-7: #111827;
  --grey-6: #1f2937;
  --grey-5: #374151;
  --grey-3: #6b7280;
  --grey-2: #9ca3af;
  --grey-1: #d1d5db;

  --brand-black: #0e0e0e;
  --brand-red: #7a1212; 
  --accent-blue: #1e6bff; 

  --radius-sm: 8px;
  --radius-md: 12px;

  --shadow-blue-soft: 0 12px 36px rgba(30, 107, 255, 0.25);

  --container: 1200px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-black);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.55;
  background: linear-gradient(0deg, rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    url("../img/bg.png") center/cover no-repeat fixed;
}

.hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.94));
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-red);
  color: var(--white-0);
  padding: 8px 12px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus {
  top: 0;
}

.sr-live {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.container {
  max-width: var(--container);
  padding: 0 20px;
  margin: 0 auto;
}

/* =========================
   Header
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(120%) blur(8px);
  box-shadow: 0 8px 32px rgba(30, 107, 255, 0.25); 
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 60px; 
  width: auto;  
  display: block;
}

.site-title {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.2px;
}


.site-nav {
  display: none;
}
.site-nav.open {
  display: block;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--grey-6);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.site-nav a:hover,
.site-nav a:focus {
  background: var(--white-2);
}
.site-nav a[aria-current="true"] {
  color: var(--brand-red);
  font-weight: 600;
}


.nav-toggle {
  background: var(--white-0);
  border: 1px solid var(--grey-1);
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-blue-soft);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--grey-6);
}


@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .site-nav {
    display: block !important;
  }
}

/* =========================
   Hero
   ========================= */
.hero-inner {
  padding: 64px 0 48px;
}
.hero-title {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.hero-subtitle {
  max-width: 62ch;
  color: var(--grey-5);
  margin: 0 0 24px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: var(--shadow-blue-soft); 
  border: 1px solid transparent;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--white-0);
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-outline {
  background: var(--white-0);
  color: var(--grey-6);
  border-color: var(--grey-1);
}
.btn-outline:hover {
  transform: translateY(-1px);
  background: var(--white-1);
}

/* =========================
   Sections
   ========================= */
.section {
  padding: 56px 0;
}
.section h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  margin: 0 0 8px;
}
.section-intro {
  margin: 0 0 24px;
  color: var(--grey-5);
}


#packs, #equipe, #secteurs, #faq, #contact {
  scroll-margin-top: 92px;
}

/* =========================
   Cards (Packs)
   ========================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white-0);
  border: 1px solid var(--white-2);
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-header {
  margin-bottom: 8px;
}
.card h3 {
  margin: 0 0 4px;
}
.card .mark {
  color: var(--brand-red);
}
.card-kicker {
  color: var(--grey-3);
  margin: 0;
}
.card-body h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
}
.card-body ul {
  margin: 0 0 8px 18px;
}
.card-footer {
  margin-top: auto;
  padding-top: 12px;
}

/* =========================
   Team
   ========================= */
.section-team .team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .section-team .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.profile-card {
  background: var(--white-0);
  border: 1px solid var(--white-2);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
}
.profile-figure {
  margin: 0;
}
.profile-photo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white-2);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f7f9ff, #eef2ff);
  color: var(--grey-6);
  font-weight: 700;
  border: 2px solid var(--white-2);
  box-shadow: inset 0 0 0 2px rgba(30, 107, 255, 0.05);
}

.profile-content h3 {
  margin: 0 0 4px;
}
.profile-role {
  margin: 0 0 8px;
  color: var(--grey-5);
}
.profile-bio {
  margin: 0 0 10px;
}
.profile-strengths {
  margin: 0;
  padding-left: 18px;
}

/* =========================
   Industries
   ========================= */
.industries-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.industries-list li {
  background: var(--white-0);
  border: 1px solid var(--white-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
@media (min-width: 760px) {
  .industries-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   Accordion (FAQ)
   ========================= */
.accordion-item + .accordion-item {
  margin-top: 10px;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--white-0);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-blue-soft);
}
.accordion-trigger:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.accordion-panel {
  padding: 10px 12px 2px;
}

/* =========================
   Contact
   ========================= */
.section-contact .contact-form {
  background: var(--white-0);
  border: 1px solid var(--white-2);
  border-radius: var(--radius-md);
  padding: 18px;
}
.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
label {
  font-weight: 600;
}
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--grey-1);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
input[type="email"]:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.form-help {
  color: var(--grey-3);
  margin: 0 0 12px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: var(--white-1);
  border-top: 1px solid var(--white-2);
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px 0 10px;
}
.footer-title {
  margin: 0 0 6px;
  font-size: 1rem;
}
.disclaimer {
  color: var(--grey-5);
}
.footer-base {
  border-top: 1px solid var(--white-2);
  padding: 12px 0 24px;
  color: var(--grey-5);
}
@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   No-JS Banner
   ========================= */
.no-js {
  background: #fff4f4;
  color: #4a0f0f;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid #ffd9d9;
}

/* =========================
   Motion preferences
   ========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

:target {
  scroll-margin-top: 92px;
}