/* Blocs éditables */
.block-hero { position: relative; display: flex; align-items: center; justify-content: center; }
.block-hero-overlay { position: absolute; inset: 0; background: #000; pointer-events: none; }
.block-hero-content { position: relative; z-index: 1; padding: 24px; max-width: 800px; }
.block-hero-title { color: #fff; font-size: 2.5rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.5); margin-bottom: 12px; }
.block-hero-subtitle { color: #fff; font-size: 1.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
.block-section-heading .block-section-inner,
.block-section-text .block-section-inner { max-width: 1200px; margin: 0 auto; }
.block-section-heading h2 { font-size: 2rem; margin-bottom: 8px; }
.block-section-heading--underline h2 { border-bottom: 3px solid var(--primary, #e30613); padding-bottom: 8px; display: inline-block; }
.block-body { line-height: 1.7; }

/* Barre Suivre : variantes apparence */
.block-follow-bar--minimal .follow-ccbbc-title { font-size: 0.9rem; }
.block-follow-bar--minimal .follow-ccbbc-socials { gap: 8px; }
.block-follow-bar--minimal .follow-ccbbc-icon { width: 32px; height: 32px; line-height: 32px; font-size: 0.85rem; }

/* Espacement entre sections (blocs) */
.appearance-section-spacing-tight .block-section-heading,
.appearance-section-spacing-tight .block-section-text,
.appearance-section-spacing-tight .block-hero,
.appearance-section-spacing-tight .block-follow-bar { margin-bottom: 12px; }
.appearance-section-spacing-normal .block-section-heading,
.appearance-section-spacing-normal .block-section-text,
.appearance-section-spacing-normal .block-hero,
.appearance-section-spacing-normal .block-follow-bar { margin-bottom: 32px; }
.appearance-section-spacing-relaxed .block-section-heading,
.appearance-section-spacing-relaxed .block-section-text,
.appearance-section-spacing-relaxed .block-hero,
.appearance-section-spacing-relaxed .block-follow-bar { margin-bottom: 48px; }
#career-intro .block-section-text { padding: 60px 20px; }
#career-intro .block-section-text .block-body { margin-top: 16px; }

/*
 * Header et menu : paramètres globaux pour TOUTES les pages du site.
 * Appliqués selon le mode choisi en Admin → Apparence (Classic / Centered / Minimal).
 * Sélecteurs avec header#main-header pour priorité sur style.css.
 */
/* Header : Centré — logo et nav centrés, même taille logo que Classic, pas sticky */
header#main-header.header-layout-centered {
  position: relative !important;
  top: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px 24px 24px;
}
header#main-header.header-layout-centered .header-centered-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 48px;
}
header#main-header.header-layout-centered .logo {
  display: flex;
  align-items: center;
  overflow: visible;
}
header#main-header.header-layout-centered .logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}
header#main-header.header-layout-centered .main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}
header#main-header.header-layout-centered .main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
/* Mêmes tailles de logo que Classic selon breakpoints */
@media (max-width: 1200px) {
  header#main-header.header-layout-centered .logo img { height: 95px; }
}
@media (max-width: 1100px) {
  header#main-header.header-layout-centered .logo img { height: 90px; }
}
@media (max-width: 1024px) {
  header#main-header.header-layout-centered .logo img { height: 80px; }
}
@media (max-width: 900px) {
  header#main-header.header-layout-centered .header-centered-inner {
    justify-content: space-between;
    gap: 16px;
    min-height: 80px;
    padding: 0 20px;
  }
  header#main-header.header-layout-centered .logo img { height: 72px; }
}

/* Header : Minimal — même taille de logo que Classic, pas sticky */
header#main-header.header-layout-minimal {
  position: relative !important;
  top: auto !important;
  min-height: 100px;
  padding: 0 40px;
  display: flex;
  align-items: center;
}
header#main-header.header-layout-minimal .header-minimal-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
header#main-header.header-layout-minimal .logo {
  display: block;
  overflow: visible;
  flex-shrink: 0;
}
header#main-header.header-layout-minimal .logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}
header#main-header.header-layout-minimal .main-nav {
  flex-shrink: 0;
}
header#main-header.header-layout-minimal .main-nav ul {
  flex-wrap: nowrap;
  flex-shrink: 0;
}
header#main-header.header-layout-minimal .main-nav ul a {
  font-size: 0.85rem;
  padding: 6px 12px;
}
header#main-header.header-layout-minimal .btn-partenaire {
  padding: 6px 14px;
  font-size: 0.75rem;
}
/* Mêmes tailles de logo que Classic selon breakpoints */
@media (max-width: 1200px) {
  header#main-header.header-layout-minimal .logo img { height: 95px; }
}
@media (max-width: 1100px) {
  header#main-header.header-layout-minimal .logo img { height: 90px; }
}
@media (max-width: 1024px) {
  header#main-header.header-layout-minimal .logo img { height: 80px; }
}
@media (max-width: 900px) {
  header#main-header.header-layout-minimal .header-minimal-inner {
    min-height: 80px;
    padding: 0 20px;
  }
  header#main-header.header-layout-minimal .logo img { height: 72px; }
}

/* Footer : Compact */
footer.footer-layout-compact .footer-compact-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
}
footer.footer-layout-compact .footer-columns-2 {
  grid-template-columns: 1fr auto;
  margin-bottom: 0;
  gap: 40px;
}
footer.footer-layout-compact .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  margin-bottom: 0;
}
footer.footer-layout-compact .footer-copyright {
  margin: 0;
  text-align: center;
}
@media (max-width: 768px) {
  footer.footer-layout-compact .footer-compact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  footer.footer-layout-compact .footer-columns-2 {
    grid-template-columns: 1fr;
  }
  footer.footer-layout-compact .footer-column.social .social-icons {
    justify-content: center;
  }
}

/* Footer : Minimal */
footer.footer-layout-minimal {
  padding: 32px 20px;
}
footer.footer-layout-minimal .footer-minimal-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer.footer-layout-minimal .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
footer.footer-layout-minimal .footer-logo img {
  height: 28px;
  width: auto;
}
footer.footer-layout-minimal .footer-logo span {
  color: #fff;
  font-size: 1.2rem;
}
footer.footer-layout-minimal .social-icons {
  justify-content: center;
}
footer.footer-layout-minimal .footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}
