/* ============================================================
   HOOP N'FIT — MAIN CSS
   Couleurs : Navy #1B2637 / Orange #E8442A
   Police : Barlow Condensed (Google Fonts)
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --navy: #1B2637;
  --orange: #E8442A;
  --white: #FFFFFF;
  --black: #000000;
  --light-gray: #F5F5F5;
  --dark-gray: #111111;
  --text-gray: #666666;
  --font: 'Barlow Condensed', sans-serif;
  --font-size: 18px;
  --font-size-sm: 16px;
  --font-size-middle: 20px;
  --font-size-accent: 22px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-xxl: 42px;
  --line-height: 1.7;
  --line-height-heading: 1.12;
  --max-width: 1280px;
  --middle-width: 940px;
  --small-width: 720px;
  --extra-small-width: 640px;
  --radius: 12px;
  --space-xxs: 8px;
  --space-xs: 12px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-xxxl: 80px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark-gray);
  color: var(--white);
  font-size: var(--font-size);
  line-height: var(--line-height);
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- VISUALLY HIDDEN (WCAG) --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

/* --- SECTION SPACING --- */
section { padding: var(--space-xxxl) 0; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: var(--line-height-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-m);
}
h1, .h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
h2, .h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4, .h4 { font-size: 1.25rem; }
p {
  font-size: var(--font-size);
  line-height: var(--line-height);
  margin-bottom: var(--space-m);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: var(--font-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
.btn-primary-outline { background: var(--white); color: var(--orange); border: 2px solid var(--orange); }

.btn-secondary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-secondary-outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }

.btn-white { background: var(--white); color: var(--navy); border: 2px solid var(--white); }

.btn-link { background: transparent; color: var(--white); border: 2px solid transparent; }
.btn-link:hover { background: var(--white); color: var(--navy); border: 2px solid transparent; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, color 0.25s ease;
}

#site-header .container {
  padding: 24px 80px;
}

.header-light {
  background: var(--white);

}

.header-dark {
  background: var(--navy);

}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 56px; width: auto; }
.nav-menu {
  display: flex;
  gap: 80px;
  list-style: none;
}
.nav-menu a {
  font-size: var(--font-size-middle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: color 0.2s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--orange); }
.nav-cta { display: flex; align-items: center; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  #site-header .container {
    padding: 24px 40px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-menu {
    flex: 1 1 0;
    min-width: 0;
    gap: 32px;
    justify-content: center;
  }

  .nav-menu a {
    font-size: 0.95rem;
  }

  .nav-cta {
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 24px;
  }

  .nav-menu a {
    font-size: 0.88rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

#hero .container  {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-title {
  margin-bottom: 20px;

}

.hero-subtitle,
.hero-sub-small{
  text-shadow:1px 1px 10px var(--black), 1px 1px 10px var(--dark-gray);
}

.hero-subtitle {
  margin: 0 auto 12px;
  font-size: var(--font-size-accent);
  color: var(--white);

}
.hero-cta { margin-bottom: 48px; }


/* ============================================================
   VIDEO
   ============================================================ */
#video-section {
  background: var(--black);
  text-align: center;
  padding: 80px 0 0 0;
}

#video-section .container {
  --max-width: 100%;
}

.video-title {
  margin-bottom: 32px;
  color: var(--white);
}

.video-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-cover__button {
  all: unset;
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
    width: 80px;
  height: 80px;
  background-image: url(../images/Play.svg);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

#video-container {
  display: none;
  position: relative;
  width: 100%;
  padding: 0 20px;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  overflow: hidden;
}

#video-container.is-visible {
  display: block;
}

.video-container iframe,
.video-container > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}





/* ============================================================
   PROBLÈME
   ============================================================ */
#problem {
  background: var(--black);
  text-align: center;
}
.problem-title { margin-bottom: 20px; }
.problem-text {
  font-size: var(--font-size-accent);
  max-width: var(--max-width);
  margin: 0 auto 56px;
  color:var(--white);
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.problem-card {
  padding: 32px 24px;
  text-align: center;
}
.problem-card-icon {
  place-self: center;
  font-size: 2rem;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 12px;
  color: var(--white);
  text-transform: uppercase;
}
.problem-card p {
  font-size: var(--font-size);
  color: var(--white);
}

/* ============================================================
   SOLUTION
   ============================================================ */
#solution {
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 20%, var(--orange) 40%, var(--orange) 100%);
  text-align: center;
}
.solution-title {
  margin-bottom: 56px;
  color: var(--white);
}
.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.solution-card { text-align: center; }
.solution-card-mockup {
  margin: 0 auto 20px;
  max-width: 280px;
}
.solution-card-mockup img { width: 100%; }
.solution-card h3 {
  margin-bottom: 12px;
  color: var(--white);
}
.solution-card p {
  font-size: var(--font-size);
  color: var(--white)
}

/* ============================================================
   CRÉDIBILITÉ
   ============================================================ */
#credibility { background: var(--light-gray); color: var(--navy); text-align: center; }
.credibility-title { margin-bottom: 12px; }
.credibility-text {
  font-size: var(--font-size-accent);
  margin: 0 auto 48px;
  color: var(--text-gray);
}
.credibility-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--extra-small-width);
  margin: 0 auto 48px;
}
.founder-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding-bottom: 24px;
}
.founder-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.founder-card-info { padding: 16px 20px 0; text-align: left; }
.founder-card-info h3 { color: var(--navy); margin-bottom: 4px; }
.founder-card-info p { color: var(--text-gray); text-transform: none; }


/* ============================================================
   STATS
   ============================================================ */

#stats{
  background: var(--orange);
}


#stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  justify-items: center;
}

.stat-number {
font-size: 96px;
font-weight: 600;
letter-spacing: -2.88px;
line-height: normal;
  color: var(--white);
  display: block;
}
.stat-label {
  color: var(--white);
  text-transform: uppercase;
}

/* ============================================================
   TARIFS
   ============================================================ */
#pricing { background: var(--white); color: var(--navy); text-align: center; }
.pricing-title { margin-bottom: 8px; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0 24px;
}
.pricing-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  background: var(--light-gray);
}
.pricing-card.featured {
  background: var(--navy);
  color: var(--white);
}
.pricing-card-price {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pricing-card-price span {
  font-size: var(--font-size);
  font-weight: 400;
  opacity: 0.7;
}
.pricing-card-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card-features li {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 10px;
  padding-left: 32px;
}
.pricing-card-features li::before {
  content: "";
  background: url(../images/Circle-Check.svg) no-repeat center center;
  width: 24px;
  height: 24px;
  position: absolute;
  top:5px;
  left:0;
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; text-align: center; }
.pricing-card-disabled .btn {
  background: var(--white);
  color: var(--navy);
  cursor: not-allowed;
  pointer-events: none;
}
.pricing-note {
  font-size: var(--font-size-accent);
  color: var(--text-gray);
  margin-bottom: 40px;
}

/* ============================================================
   CLUB CTA
   ============================================================ */

#clubCta {
  background: var(--navy);
}

.club-cta {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--middle-width);
  gap: 20px;
  margin: 0 auto;

}
.club-cta p {
  font-size: var(--font-size-accent);
  font-weight: 600;
  text-align: left;
}
.club-cta .btn { flex-shrink: 0; }

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
#blog-preview { 
  background: var(--white);
   color: var(--navy);
    text-align: center;
   }

.blog-preview-link {

  margin: 32px 0 0 0;
  
}

.blog-cards {
  margin: 80px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  
  overflow: hidden;
  text-align: left;
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  border-radius: var(--radius);
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.blog-card-body { 
  
  padding: 20px;
  display: flex;
  gap: 20px;
  flex-direction: column;

}
.blog-card-title {
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: var(--font-size);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.blog-card-link:hover { text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { 
  background: var(--light-gray);
  color: var(--navy);
   }
.faq-title { 
  text-align: center;
   margin-bottom: 48px;
   }
.faq-list {
  max-width: var(--small-width);
  background: var(--white);
  border-radius: var(--radius);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--font-size-middle);
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}
.faq-icon {
  background: url(../images/Circle-Plus.svg) no-repeat center center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.faq-item.open .faq-icon { 
  background: url(../images/Circle-Minus.svg) no-repeat center center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s;

}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: var(--font-size);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CTA FINAL
   ============================================================ */
#final-cta {
  background: var(--orange);
  text-align: center;
  padding: 80px 0 0;
  overflow: hidden;
}
.final-cta-title { margin-bottom: 16px;color: var(--white); }
.final-cta-subtitle {
  font-size: var(--font-size-accent);
  margin: 0 auto 32px;
  color: var(--white);
}
.final-cta-mockup {
  max-width: 280px;
  margin: 40px auto 0;
  max-height: 250px;
}
.final-cta-mockup img { width: 100%; }

/* ============================================================
   POPIN
   ============================================================ */

.hnf-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hnf-popup.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.hnf-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hnf-popup__content {
  position: relative;
  z-index: 2;
  width: calc(100% - 32px);
  max-width: 560px;
  margin: 8vh auto 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 24px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(24px);
  transition: transform 0.25s ease;
}

.hnf-popup.is-active .hnf-popup__content {
  transform: translateY(0);
}

.hnf-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.hnf-popup__inner {
  text-align: center;
}

.hnf-popup__title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.1;
  color: var(--orange); 
}

.hnf-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  background: #111;
  color: #fff;
  font-weight: 600;
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .hnf-popup__content {
    padding: 32px 20px 24px;
    margin-top: 6vh;
  }

  .hnf-popup__title {
    font-size: 26px;
    color: var(--orange); }
}

  .hnf-popup__text {
    color: var(--navy); }


/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--white);
  color: var(--navy);
  padding: 56px 0 32px;
}

#site-footer .container {
max-width: var(--max-width);
}

.footer-inner {
  display: flex;
 flex-direction: column;
 gap: 40px;
}

.footer-baseline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo img { height: 44px; }
.footer-tagline { font-weight: 600; font-size: var(--font-size-accent); color: var(--navy); }
.footer-col-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; }
.footer-links a { color: var(--navy); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contact { color: var(--navy); position: relative;  }
.footer-contact a { padding-left: 32px;   }
.footer-contact a::before { content: ""; background: url("../images/Mail.svg"); width: 24px;  aspect-ratio: 1; position: absolute; top:5px; left:0;  }
.footer-socials { justify-content: flex-end; display: flex; gap: 14px; }
.footer-social-icon img {
  width: 24px;
  aspect-ratio: 1;
  background: var(--white);

}

.footer-bottom {
  padding-top: 24px;
  color: var(--navy);
  text-align: center;
}

/* ============================================================
   EMAIL FORM
   ============================================================ */
#email-form form {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}

#email-form input[type="text"],
#email-form input[type="email"] {
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 1rem;
  outline: none;
  color: var(--navy);
}

#email-form input[type="text"] {
  flex: 1;
  min-width: 140px;
}

#email-form input[type="email"] {
  flex: 2;
  min-width: 200px;
}

#email-form input[type="submit"] {
  background: var(--orange);
  color: var(--white);
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.card {
  padding: var(--space-xl);
  background: var(--white);
}

.space-y-6 > * + * {
  margin-top: var(--space-l);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gap-6 {
  gap: var(--space-xl);
}

.sib-FIRSTNAME-area,
.sib-LASTNAME-area,
.sib-email-area {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--font-size);
  color: var(--navy);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
}

.form-input {
  padding: var(--space-s) var(--space-m);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--font-size);
  background: var(--white);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--orange);
}

.form-input::placeholder {
  color: var(--text-gray);
}

.sib-default-btn {
  padding: var(--space-s) var(--space-l);
  border: 2px solid var(--orange);
  border-radius: 50px;
  font-family: var(--font);
  font-size: var(--font-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sib-default-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.w-full {
  width: 100%;
}

/* ============================================================
   HERO About Us (page à propos)
   ============================================================ */
#hero-about-us {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 140px;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

#hero-about-us .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 0;
  z-index: 0;
}

#hero-about-us .container  {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}

#debuts {
  
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 20%, var(--orange) 40%, var(--orange) 60%, var(--white) 80%);
}

#debuts .debuts-alternate {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  font-size: var(--font-size-accent);
  color: var(--white);
}

#debuts .debuts-alternate .debuts-text p {
  font-size: var(--font-size-accent);
}

#debuts .debuts-image  {

  overflow: hidden;
}

#debuts .debuts-image img  {

    border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  max-width: 600px;
  height: auto;
}

#debuts .debuts-cards {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

#debuts .debuts-card {
  color: var(--navy);
}

#debuts .debuts-card.decal {
  margin-top: 80px;
}

#debuts .debuts-card p {
  font-size: var(--font-size-accent);
}

#debuts .debuts-card img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  height: auto;
  margin-bottom: 30px
}

#conviction {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

#conviction h2 {
  text-transform: initial;
  font-size: 64px;
}

/* ============================================================
   HERO Page Blog
   ============================================================ */
#hero-page-blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 140px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Blog Section
   ============================================================ */



#blog-section {
    inset: 0;
    padding: 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 10%, var(--orange) 20%,  var(--white) 30%);

}


#blog-section .container  {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}


/* =====================
   SEARCH BAR
   ===================== */
.hnf-search-bar {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--max-width);
  background: #fff;
  border-radius: 100px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  z-index: 10;
}

.hnf-search-bar input {
  border: none;
  outline: none;
  font-size: 18px;
  color: var(--black);
  background: transparent;
  flex: 1;
}

.hnf-search-bar input::placeholder { color: var(--text-gray); }

.hnf-search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.hnf-search-bar__icon {
  width: 24px;
  height: 24px;
}

/* =====================
   FILTRES
   ===================== */
.hnf-filters {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hnf-filters__sort {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: #fff;
  border-radius: 100px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  color: var(--navy);
  white-space: nowrap;
}

.hnf-filters__sort img { width: 24px; height: 24px; }

.hnf-filters__separator {
  width: 1px;
  height: 32px;
  background: #ccc;
  flex-shrink: 0;
}

.hnf-filters__cats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hnf-filters__cat {
  padding: 12px 24px;
  background: #fff;
  border-radius: 100px;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.hnf-filters__cat:hover,
.hnf-filters__cat.active {
  border-color: var(--orange);
  color: var(--orange);
}

/* =====================
   GRILLE ARTICLES
   ===================== */
.hnf-blog-grid {
  margin-bottom: 80px;
}

.hnf-blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.hnf-article-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hnf-article-card__thumb {
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.hnf-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hnf-article-card:hover .hnf-article-card__thumb img {
  transform: scale(1.04);
}

.hnf-article-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hnf-article-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  color: var(--navy);
}

.hnf-article-card__excerpt {
  font-size: 16px;
  line-height: 26px;
  color: var(--navy);
  font-weight: 400;
}

.hnf-article-card__link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  line-height: 34px;
  transition: gap 0.2s;
}

.hnf-article-card__link:hover { gap: 22px; }

.hnf-article-card__link img {
  width: 16px;
  height: 16px;
}


/* ============================================================
   SINGLE ARTICLE (single.php)
   ============================================================ */

.single-post {
  background: var(--white);
  color: var(--black);
}
#article-hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--white);
  color: var(--black);
}
.article-category {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

#article-content {
  padding: 0;
  background: var(--white);
  color: var(--black);
}

.article-title { margin-bottom: 20px; max-width: var(--max-width); }
.article-meta { font-size: 0.9rem; color: var(--dark-gray); }
.article-featured-img {
  width: 100%;
  max-width: var(--max-width);
  border-radius: var(--radius);
  margin: 32px 0;
  height: 400px;
  object-fit: cover;
}
.article-content {
  max-width: var(--max-width);
  color: var(--black);
}
.article-content__title {
  color: var(--navy);
  margin: 32px 0 16px;
}

.article-content h1 { font-size: var(--font-size-h2); }
.article-content h2 { font-size: 28px; }
.article-content h3 { font-size: 24px; }

.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   ARCHIVE (liste articles)
   ============================================================ */
#archive-hero {
  padding-top: 120px;
  padding-bottom: 40px;
  background: var(--dark-gray);
}
.archive-title { margin-bottom: 8px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ============================================================
   SINGLE PAGE (single.php)
   ============================================================ */

#page-hero {
  padding-top: 120px;
  padding-bottom: 0;
  background: var(--black);
  color: var(--white);
}
#page-hero[data-hero="light"] {
  background: var(--white);
  color: var(--black);
}
#page-hero[data-hero="dark"] {
  background: var(--black);
  color: var(--white);
}

.page:has(#page-hero[data-hero="light"], #page-hero[data-hero="dark"]) {
  background: var(--white);
}

.page-title { margin-bottom: 20px; max-width: var(--max-width); }
.page-meta { font-size: 0.9rem; color: var(--black); }
.page-featured-img {
  width: 100%;
  max-width: var(--max-width);
  border-radius: var(--radius);
  margin: 32px 0;
  height: 400px;
  object-fit: cover;
}
#page-content {
  padding: 0;
  background: var(--white);
  color: var(--black);
}
#page-content[data-hero="light"] {
  background: var(--white);
  color: var(--black);
}
#page-content[data-hero="dark"] {
  background: var(--white);
  color: var(--black);
}
.page-content {
  max-width: var(--max-width);
  color: inherit;
}
.page-content__title {
  color: var(--navy);
  margin: 32px 0 16px;
}

.page-content h1 { font-size: var(--font-size-h2); }
.page-content h2 { font-size: 28px; }
.page-content h3 { font-size: 24px; }

.page-content p { margin-bottom: 20px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .solution-cards,
  .pricing-cards,
  .blog-cards,
  .archive-grid { grid-template-columns: 1fr; }

  .problem-cards { grid-template-columns: 1fr; }

  .credibility-founders { grid-template-columns: 1fr; max-width: 360px; }

  .stats-bar { grid-template-columns: 1fr; gap: 20px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .pricing-club-cta { flex-direction: column; text-align: center; }
  .pricing-club-cta p { text-align: center; }

  .blog-preview-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  #hero-about-us {
  min-height: 410px;
}

  #hero-about-us {
  padding-top: 80px;

}

#hero-about-us .hero-image {
  object-position: center 70px;

}


#debuts {
  
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 10%, var(--orange) 30%, var(--white) 60%);
}



#debuts .debuts-alternate {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

#debuts .debuts-alternate .debuts-text p {
  font-size: var(--font-size-accent);
}

#debuts .debuts-cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

#debuts .debuts-card.decal {
  margin-top: 0;
}


#conviction h2 {

  font-size: 32px;
}






}

@media (max-width: 768px) {


  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    z-index: 999;
  }
  .nav-menu.open + .nav-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav-menu.open + .nav-cta .btn { width: 100%; text-align: center; }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  section { padding: 60px 0; }

  .footer-inner { grid-template-columns: 1fr; }

    #hero-about-us {
  min-height: 410px;
}

    #hero-about-us {
  padding-top: 70px;

}

#hero-about-us .hero-image {
  object-position: center 70px;

}






}
