/*
Theme Name: Skill & Co
Author: Audouin Réalisations
Description: Thème custom Skill & Co – Formations professionnelles
Version: 1.0.0
Text Domain: skillandco
*/

/* ==============================
   VARIABLES CSS
   ============================== */
:root {
  --color-red: #e63329;
  --color-dark: #1a1a1a;
  --color-dark-2: #111111;
  --color-dark-3: #0a0a0a;
  --color-white: #ffffff;
  --color-gray-light: #f5f5f3;
  --color-muted: #888888;
  --font-main: 'Inter', sans-serif;
  --radius-btn: 6px;
  --radius-card: 8px;
  --container-max: 1240px;
  --container-padding: 40px;
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-dark); background: var(--color-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ==============================
   LAYOUT
   ============================== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.sc-section { padding: 70px 0; }
.sc-section--dark { background: var(--color-dark-2); color: var(--color-white); }
.sc-section--gray { background: var(--color-gray-light); }
.sc-section--red  { background: var(--color-red); }
.sc-section--red .sc-section-title    { color: var(--color-dark); }
.sc-section--red .sc-section-subtitle { color: rgba(0,0,0,.75); }
.sc-section--red .sc-tag              { background: var(--color-dark); color: var(--color-red); }
.sc-section--red .sc-client-logo      { background: var(--color-white); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.sc-section--red .sc-client-logo:hover { border-color: var(--color-white); color: var(--color-white); }
.sc-section--black { background: var(--color-dark-2); }
.sc-section--black .sc-section-title    { color: var(--color-white); }
.sc-section--black .sc-section-subtitle { color: rgba(255,255,255,.75); }
.sc-section--black .sc-tag              { background: var(--color-white); color: var(--color-dark); }
.sc-section--black .sc-client-logo      { background: var(--color-white); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.8); }
.sc-section--black .sc-client-logo:hover { border-color: var(--color-white); color: var(--color-white); }

/* ==============================
   GRILLES
   ============================== */
.sc-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sc-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* ==============================
   BOUTONS
   ============================== */
.btn-primary, .btn-outline, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-btn);
  font-family: var(--font-main); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: opacity .2s, background .2s; white-space: nowrap;
}
.btn-primary { background: var(--color-red); color: var(--color-white); transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary:hover { background: #c0251b; color: var(--color-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,51,41,.35); }
.btn-outline { background: rgba(255,255,255,.1); color: var(--color-white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.18); color: var(--color-white); }
.btn-dark { background: var(--color-dark); color: var(--color-white); }
.btn-dark:hover { opacity: .85; color: var(--color-white); }

/* Bouton Contact header */
.sc-header-cta { text-transform: uppercase; }

/* Point décoratif — bouton Contact header uniquement */
.sc-header-cta::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--color-white);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ==============================
   TAGS
   ============================== */
.sc-tag {
  display: inline-block; background: var(--color-dark); color: var(--color-white);
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px; margin-bottom: 24px;
}
/* Forcer l'espacement dans le contexte WPBakery (wpautop collapse margins) */
.wpb_text_column .sc-tag,
p > .sc-tag,
p .sc-tag { display: inline-block; margin-bottom: 24px; }
.wpb_text_column p:has(.sc-tag) { margin-bottom: 24px; }
.sc-tag--red { background: var(--color-red); }

/* ==============================
   TITRES
   ============================== */
.sc-section-title { font-size: 32px; font-weight: 900; line-height: 1.15; margin-bottom: 10px; }
.sc-section-title--white { color: var(--color-white); }

/* Point rouge sur les titres sombres — cohérence avec le H1 */
.sc-section-title--white::after {
  content: ' .';
  color: var(--color-red);
}
/* Option : point sur titres clairs (classe à ajouter manuellement si souhaité) */
.sc-section-title--dot::after {
  content: ' .';
  color: var(--color-red);
}
.sc-section-subtitle { font-size: 14px; color: var(--color-muted); max-width: 525px; margin-bottom: 40px; line-height: 1.6; }
.sc-section-subtitle--white { color: rgba(255,255,255,.55); }

/* ==============================
   CARTES
   ============================== */
.sc-card { background: var(--color-white); border: 0.5px solid #e0e0e0; border-radius: var(--radius-card); padding: 28px 24px; }
.sc-card__icon { width: 38px; height: 38px; background: rgba(230,51,41,.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sc-card__icon svg { width: 20px; height: 20px; }
.sc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.sc-card p { font-size: 13px; color: #555; line-height: 1.65; margin-bottom: 16px; }
.sc-card__link { font-size: 12px; color: var(--color-red); font-weight: 700; }
.sc-card__link:hover { text-decoration: underline; }

/* ==============================
   HEADER / NAV
   ============================== */
.sc-header {
  position: sticky; top: 0; z-index: 1000; background: #abaaab;
  height: 74px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.sc-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.sc-logo { display: flex; align-items: center; gap: 10px; color: var(--color-white); flex-shrink: 0; }
.sc-logo__icon {
  width: 46px; height: 46px; background: var(--color-white); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px; color: var(--color-dark); position: relative; letter-spacing: -.5px;
}
.sc-logo__dot { width: 8px; height: 8px; background: var(--color-red); border-radius: 50%; position: absolute; bottom: 6px; right: 6px; }
.sc-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.sc-logo__name { font-size: 17px; font-weight: 800; letter-spacing: .5px; color: var(--color-dark); }
.sc-logo__sub  { font-size: 9px; color: rgba(0,0,0,.5); }

.sc-nav ul { display: flex; align-items: center; gap: 28px; }
.sc-nav a { position: relative; color: rgb(10,10,10); font-size: 14px; font-weight: 500; transition: color .25s; }
.sc-nav a::before { content: ""; position: absolute; left: -11px; top: 50%; transform: translateY(-50%) scale(0); width: 5px; height: 5px; background: var(--color-red); border-radius: 50%; opacity: 0; transition: opacity .25s, transform .25s; }
.sc-nav a:hover { color: var(--color-dark); text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor; }
.sc-nav a:hover::before { opacity: 1; transform: translateY(-50%) scale(1); }
.sc-nav li.current-menu-item > a { color: var(--color-dark); text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor; }
.sc-nav li.current-menu-item > a::before { opacity: 1; transform: translateY(-50%) scale(1); }

.sc-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.sc-hamburger span { display: block; width: 22px; height: 2px; background: var(--color-dark); border-radius: 2px; transition: all .3s; }
.sc-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sc-hamburger.open span:nth-child(2) { opacity: 0; }
.sc-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sc-nav-mobile {
  display: none; position: fixed; top: 74px; left: 0; right: 0;
  background: #abaaab; padding: 20px; z-index: 999;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sc-nav-mobile.active { display: block; }
.sc-nav-mobile ul { flex-direction: column; gap: 0; }
.sc-nav-mobile ul li a { display: block; padding: 13px 0; color: rgba(255,255,255,.8); font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.08); }
.sc-nav-mobile .btn-primary { margin-top: 16px; width: 100%; text-align: center; }

/* ==============================
   HERO
   ============================== */
.sc-hero {
  position: relative; min-height: 420px; display: flex; align-items: center;
  background-size: cover; background-position: center; color: var(--color-white);
}
.sc-hero__overlay { position: absolute; inset: 0; }
.sc-hero::after { content: ""; display: block; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--color-red); z-index: 2; }
.sc-hero .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }.sc-hero__pill {
  display: inline-block; border: 1.5px solid var(--color-red); color: var(--color-white);
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px; margin-bottom: 20px;
}
.sc-hero h1 { font-size: 58px; font-weight: 900; line-height: 1.05; margin-bottom: 18px; max-width: 680px; text-align: center; }
.sc-hero h1::after { content: ' .'; color: var(--color-red); }
.sc-accent { color: var(--color-red); }
.sc-hero .sc-hero__desc { font-size: 15px; color: rgba(255,255,255,.7); max-width: 500px; margin-bottom: 30px; line-height: 1.7; text-align: center; }

.sc-search-bar {
  display: flex; max-width: 480px; width: 100%; background: rgba(255,255,255,.1);
  border-radius: var(--radius-btn); overflow: hidden; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.15);
}
.sc-search-bar input { flex: 1; padding: 13px 16px; background: transparent; border: none; color: var(--color-white); font-family: var(--font-main); font-size: 13px; outline: none; }
.sc-search-bar input::placeholder { color: rgba(255,255,255,.45); }
.sc-search-bar .btn-dark { border-radius: 0; padding: 13px 20px; font-size: 11px; letter-spacing: 1.2px; }

.sc-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ==============================
   CHIFFRES
   ============================== */
.sc-chiffres-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-card);
  overflow: hidden; margin-bottom: 20px;
}
.sc-chiffre-item { padding: 28px 20px; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.sc-chiffre-item:last-child { border-right: none; }
.sc-chiffre-item__number { font-size: 44px; font-weight: 900; color: var(--color-red); line-height: 1; margin-bottom: 8px; }
.sc-chiffre-item__label  { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.45; }
.sc-qualiopi-bloc {
  background: rgba(0,0,0,.03); border-left: 3px solid var(--color-red);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 20px 28px;
  display: flex; align-items: center; gap: 28px;
}
.sc-qualiopi-logo {
  height: 90px; width: auto; flex-shrink: 0;
  background: rgba(0,0,0,.04);
  border-radius: var(--radius-btn);
  padding: 8px 14px;
}
.sc-qualiopi-bloc p { font-size: 13px; color: var(--color-muted); line-height: 1.65; margin: 0; }
.sc-qualiopi-bloc .btn-dark { margin-top: 14px; }
.sc-qualiopi-bloc .btn-dark + .btn-dark { margin-left: 12px; }
.sc-qualiopi-bloc strong { color: var(--color-dark); }

@media (max-width: 600px) {
  .sc-qualiopi-bloc { flex-direction: column; gap: 16px; }
  .sc-qualiopi-logo { height: 48px; }
}

/* ==============================
   CLIENTS
   ============================== */
.sc-client-logo {
  display: flex; align-items: center; justify-content: center; height: 72px;
  border: 0.5px solid #e0e0e0; border-radius: var(--radius-card); padding: 12px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #999;
  transition: border-color .2s, color .2s;
}
.sc-client-logo:hover { border-color: var(--color-red); color: var(--color-dark); }
.sc-client-logo img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: all .2s; }
.sc-client-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ==============================
   AVIS
   ============================== */
.sc-stars { color: #fbbc05; font-size: 17px; margin-bottom: 14px; letter-spacing: 2px; }
.sc-avis-card {
  position: relative;
  border-top: 3px solid var(--color-red);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.sc-avis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.10);
}
.sc-avis-card::before {
  content: '\201C';
  position: absolute;
  top: -8px; right: 18px;
  font-size: 90px; font-weight: 900; line-height: 1;
  color: var(--color-red); opacity: .07;
  pointer-events: none; font-family: Georgia, serif;
}
.sc-avis-card p { font-size: 13px; color: #444; line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.sc-avis-card__author { font-size: 13px; font-weight: 700; color: var(--color-dark); }
.sc-avis-card__role   { font-size: 11px; color: var(--color-muted); margin-top: 2px; }

/* ==============================
   FOOTER
   ============================== */
.sc-footer { background: var(--color-dark-2); color: rgba(255,255,255,.6); padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.sc-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.sc-footer .sc-logo { margin-bottom: 16px; }
.sc-footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--color-white); margin-bottom: 16px; }
.sc-footer-col > p { font-size: 13px; line-height: 1.75; }
.sc-footer-col ul li { margin-bottom: 10px; }
.sc-footer-col ul a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.sc-footer-col ul a:hover { color: var(--color-white); }
.sc-footer-bottom { background: var(--color-dark-3); padding: 16px 0; text-align: center; font-size: 11px; color: rgba(255,255,255,.35); }
.sc-footer-bottom a { color: rgba(255,255,255,.5); margin-left: 16px; }
.sc-footer-bottom a:hover { color: var(--color-white); }

/* ==============================
   RESPONSIVE — ≤ 900px
   ============================== */
@media (max-width: 900px) {
  .sc-grid-2 { grid-template-columns: 1fr; }
  .sc-grid-3 { grid-template-columns: 1fr; }
  .sc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sc-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .sc-chiffres-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-chiffre-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .sc-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sc-nav, .sc-header-cta { display: none; }
  .sc-hamburger { display: flex; }
  .vc_row[data-vc-full-width] { max-width: 100vw !important; overflow-x: hidden !important; }
}

/* ==============================
   RESPONSIVE — ≤ 600px
   ============================== */
@media (max-width: 600px) {
  :root { --container-padding: 20px; }
  .sc-section { padding: 50px 0; }
  .sc-hero h1 { font-size: 32px; }
  .sc-hero { min-height: 480px; }
  .sc-grid-4, .sc-grid-5 { grid-template-columns: 1fr; }
  .sc-hero__ctas { flex-direction: column; }
  .sc-search-bar { flex-direction: column; }
  .sc-search-bar .btn-dark { border-radius: 0 0 var(--radius-btn) var(--radius-btn); width: 100%; }
  .sc-section-title { font-size: 24px; }
}

/* ==============================
   WPBAKERY — Compatibilité Skill & Co
   ============================== */

/* Row avec sc-section : annuler les marges WPBakery */
.vc_row.sc-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Supprime le padding WPBakery autour d'un sc_hero */
.sc-hero-row .vc_column-inner { padding: 0 !important; }

/* Container WPBakery — colonne pleine largeur dans une sc-section */
.vc_row.sc-section .vc_col-sm-12 > .vc_column-inner {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* Grille 2 colonnes via vc_row_inner */
/* vc_row_inner génère .vc_inner — sélecteur corrigé */
.sc-vc-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
.sc-vc-grid-2 .wpb_column { width: 100% !important; float: none !important; flex: none !important; max-width: none !important; padding: 0 !important; }
.sc-vc-grid-2 .wpb_column:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
.sc-vc-grid-2 .wpb_column:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
.sc-vc-grid-2 .vc_column-inner { padding: 0 !important; height: 100% !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-2 .vc_column-inner > .wpb_wrapper { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-2 .vc_column-inner > .wpb_wrapper > .wpb_text_column { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-2 .wpb_text_column > .wpb_wrapper { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-2 .wpb_wrapper,
.sc-vc-grid-2 .wpb_text_column { height: 100%; }
.sc-vc-grid-2 .wpb_text_column .sc-card { height: 100%; box-sizing: border-box; margin: 0; }

/* Supprimer les marges auto de wpautop dans les cartes */
.sc-card > p { margin-bottom: 0; }
.sc-card > p + p { margin-top: 10px; }
.wpb_text_column .sc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.wpb_text_column .sc-card p { font-size: 13px; color: #555; line-height: 1.65; margin-bottom: 16px; }

/* Grille 3 colonnes via vc_row_inner */
.sc-vc-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
.sc-vc-grid-3 .wpb_column { width: 100% !important; float: none !important; flex: none !important; max-width: none !important; padding: 0 !important; }
.sc-vc-grid-3 .wpb_column:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; }
.sc-vc-grid-3 .wpb_column:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; }
.sc-vc-grid-3 .wpb_column:nth-child(3) { grid-column: 3 !important; grid-row: 1 !important; }
.sc-vc-grid-3 .vc_column-inner { padding: 0 !important; height: 100% !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-3 .vc_column-inner > .wpb_wrapper { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-3 .vc_column-inner > .wpb_wrapper > .wpb_text_column { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-3 .wpb_text_column > .wpb_wrapper { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; }
.sc-vc-grid-3 .wpb_wrapper,
.sc-vc-grid-3 .wpb_text_column { height: 100%; }
.sc-vc-grid-3 .wpb_text_column .sc-card { height: 100%; box-sizing: border-box; margin: 0; }

/* Bloc texte centré (utilitaire) */
.sc-text-center { text-align: center; }
.sc-text-center .sc-section-subtitle { max-width: 624px; margin-left: auto; margin-right: auto; }
.sc-text-center .sc-check-list { text-align: left; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Catalogue : réduction de la marge supérieure du wrapper */
.page-body--catalogue { padding-top: 30px !important; }

/* Centrage vertical de la 2e colonne d'une sc-vc-grid-2 */
.sc-grid-2--vcenter-right .wpb_column:nth-child(2) .wpb_text_column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Liste à coches (Pourquoi choisir Skill & Co) */
.sc-check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.sc-check-list li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.55; color: var(--color-dark); }
.sc-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-red);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Responsive WPBakery */
@media (max-width: 900px) {
  .sc-vc-grid-2 { grid-template-columns: 1fr !important; }
  .sc-vc-grid-2 .wpb_column:nth-child(1) { grid-column: auto !important; grid-row: auto !important; }
  .sc-vc-grid-2 .wpb_column:nth-child(2) { grid-column: auto !important; grid-row: auto !important; }
  .sc-vc-grid-3 { grid-template-columns: 1fr !important; gap: 0 !important; }
  .sc-vc-grid-3 .wpb_column:nth-child(1) { grid-column: auto !important; grid-row: auto !important; }
  .sc-vc-grid-3 .wpb_column:nth-child(2) { grid-column: auto !important; grid-row: auto !important; }
  .sc-vc-grid-3 .wpb_column:nth-child(3) { grid-column: auto !important; grid-row: auto !important; }
  .vc_row.sc-section .vc_col-sm-12 > .vc_column-inner { padding-left: 20px; padding-right: 20px; }
}

/* ==============================
   ÉQUIPE / ORGANIGRAMME
   ============================== */
.sc-team-card { text-align: center; }
.sc-team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-gray-light); border: 3px solid var(--color-red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px; font-weight: 900; color: var(--color-red); overflow: hidden;
}
.sc-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sc-team-name { font-size: 17px; font-weight: 800; color: var(--color-dark); margin-bottom: 4px; }
.sc-team-role {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--color-red); margin-bottom: 12px;
}
.sc-team-bio { font-size: 13px; color: #555; line-height: 1.65; }
.sc-org-head { display: flex; justify-content: center; margin-bottom: 20px; }
.sc-org-head .sc-card { max-width: 320px; width: 100%; }

/* ==============================
   ANIMATIONS AU SCROLL
   ============================== */
.sc-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sc-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger sur les enfants directs */
.sc-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.sc-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.sc-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.sc-stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* ==============================
   ICÔNES CSS — cartes WPBakery
   ============================== */
.sc-card__icon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}
.sc-icon--grid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e63329' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.sc-icon--home {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e63329' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9%2C22 9%2C12 15%2C12 15%2C22'/%3E%3C/svg%3E");
}

/* ==============================
   FOOTER — Infos entreprise & réseaux
   ============================== */
.sc-footer-infos { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.sc-footer-info  { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.sc-footer-info__icon { flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.sc-footer-info a { color: rgba(255,255,255,.55); transition: color .2s; }
.sc-footer-info a:hover { color: var(--color-white); }

.sc-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.sc-social-link {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.sc-social-link:hover { background: var(--color-red); color: var(--color-white); }

.sc-footer-legal-info { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 10px; }


/* ==============================
   SECTION DARK — Fond décoratif
   ============================== */
.sc-section--dark {
  position: relative;
  overflow: hidden;
}
/* Option 1 — Grille de points */
.sc-section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* Option 4 — Halo rouge central */
.sc-section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(230,51,41,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* Contenu au-dessus des pseudo-éléments */
.sc-section--dark .container {
  position: relative;
  z-index: 1;
}

/* Footer — texte intro limité sous le logo */
.sc-footer-col:first-child > p {
  max-width: 210px;
}

/* ==============================
   PAGE CONTACT
   ============================== */

/* Supprime le point ::after quand le titre rouge se termine déjà par un point */
.sc-hero--no-dot h1::after { content: none; }
/* Empêche le point de passer à la ligne seul */
.sc-hero--no-dot h1 .sc-accent { white-space: nowrap; }

/* Hero */
.sc-contact-hero {
  background: var(--color-dark-2);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.sc-contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-red);
}
.sc-contact-hero__title {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.05;
  margin: 16px 0 14px;
  text-align: center;
}
.sc-contact-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  max-width: 500px;
  line-height: 1.7;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sc-contact-hero p:empty { margin: 0; padding: 0; }

/* Layout */
.sc-contact-body { padding: 64px 0 80px; }
.sc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

/* Colonne formulaire */
.sc-contact-form-wrap__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.sc-contact-form-wrap__sub {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* CF7 champs */
.sc-contact-form-wrap .wpcf7-form .wpcf7-form-control-wrap,
.sc-contact-form-wrap .wpcf7-form p { margin-bottom: 0; }

.sc-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.sc-cf7-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.sc-cf7-field:last-of-type { margin-bottom: 0; }

.sc-cf7-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
}
.sc-cf7-field input[type="text"],
.sc-cf7-field input[type="email"],
.sc-cf7-field input[type="tel"],
.sc-cf7-field select,
.sc-cf7-field textarea,
.sc-contact-form-wrap .wpcf7 input[type="text"],
.sc-contact-form-wrap .wpcf7 input[type="email"],
.sc-contact-form-wrap .wpcf7 input[type="tel"],
.sc-contact-form-wrap .wpcf7 select,
.sc-contact-form-wrap .wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.sc-contact-form-wrap .wpcf7 input:focus,
.sc-contact-form-wrap .wpcf7 select:focus,
.sc-contact-form-wrap .wpcf7 textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(230,51,41,.08);
}
.sc-contact-form-wrap .wpcf7 textarea { resize: vertical; min-height: 150px; }

/* Select arrow */
.sc-cf7-select-wrap { position: relative; }
.sc-cf7-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
  font-size: 12px;
}

/* Bouton submit */
.sc-cf7-submit { margin-top: 8px; }
.sc-contact-form-wrap .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.sc-contact-form-wrap .wpcf7 input[type="submit"]:hover {
  background: #c0251b;
  transform: translateY(-1px);
}

/* Messages CF7 */
.sc-contact-form-wrap .wpcf7-response-output {
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  margin-top: 16px !important;
  font-size: 14px;
  border-width: 1px !important;
}
.sc-contact-form-wrap .wpcf7-mail-sent-ok    { background: #e8f5e9; border-color: #4caf50 !important; color: #2e7d32; }
.sc-contact-form-wrap .wpcf7-validation-errors { background: #fff3e0; border-color: #ff9800 !important; color: #e65100; }
.sc-contact-form-wrap .wpcf7-spam-blocked    { background: #fce4ec; border-color: var(--color-red) !important; color: var(--color-red); }
.sc-contact-form-wrap .wpcf7-not-valid-tip   { font-size: 11px; color: var(--color-red); display: block; margin-top: 4px; }

/* Aside — carte coordonnées */
.sc-contact-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.sc-contact-info-card {
  background: var(--color-dark-2);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.sc-contact-info-card__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-red);
  margin-bottom: 20px;
}
.sc-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}
.sc-contact-info-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.sc-contact-info-item__icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.sc-contact-info-item a { color: rgba(255,255,255,.7); transition: color .2s; }
.sc-contact-info-item a:hover { color: var(--color-white); }
.sc-contact-social { display: flex; gap: 10px; margin-top: 20px; }

/* Bloc légal */
.sc-contact-legal {
  background: var(--color-gray-light);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.9;
}
.sc-contact-legal__title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.sc-contact-legal__qualiopi {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.sc-contact-legal__badge {
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ── Map + Transports ── */
.sc-contact-map-section { padding: 60px 0 80px; background: var(--color-gray-light); }
.sc-contact-map-section > .container > .sc-tag { margin-bottom: 28px; }
.sc-contact-map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.sc-contact-map { border-radius: var(--radius-card); overflow: hidden; min-height: 380px; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.sc-contact-map iframe { display: block; height: 100%; min-height: 380px; }
.sc-contact-transport { background: var(--color-white); border-radius: var(--radius-card); padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.sc-contact-transport__title { font-size: 18px; font-weight: 800; color: var(--color-dark); margin-bottom: 8px; }
.sc-contact-transport__adresse { font-size: 13px; color: var(--color-muted); margin-bottom: 28px; }
.sc-transport-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.sc-transport-item { display: flex; align-items: flex-start; gap: 14px; }
.sc-transport-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.sc-transport-item div { display: flex; flex-direction: column; gap: 3px; }
.sc-transport-item strong { font-size: 14px; font-weight: 700; color: var(--color-dark); }
.sc-transport-item span { font-size: 13px; color: var(--color-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .sc-contact-map-grid { grid-template-columns: 1fr; }
  .sc-contact-map { min-height: 260px; }
  .sc-contact-map iframe { min-height: 260px; }
}

/* Responsive */
@media (max-width: 900px) {
  .sc-contact-grid { grid-template-columns: 1fr; }
  .sc-contact-aside { position: static; }
  .sc-cf7-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sc-contact-hero { padding: 50px 0 48px; }
  .sc-contact-body { padding: 40px 0 60px; }
}
