/* =============================================
   AVANO V2 — STYLE.CSS PRINCIPAL
   ============================================= */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
  --blue:        #142c54;
  --blue-dark:   #0d1f3c;
  --blue-light:  #1e3f75;
  --red:         #b01f24;
  --red-dark:    #8a1518;
  --red-light:   #d42b31;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --white:       #ffffff;
  --black:       #0f172a;

  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Inter', sans-serif;

  --header-h:    70px;
  --transition:  all 0.3s ease;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== UTILITAIRES ===== */
.container { width: 90%; max-width: 1140px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section--gray { background: var(--gray-50); }
.section--blue { background: var(--blue); }

.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.section-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--black); line-height: 1.2; margin-bottom: 0.75rem; }
.section-title--white { color: var(--white); }
.section-sub { font-size: 1rem; color: var(--gray-600); max-width: 560px; line-height: 1.7; }
.section-sub--white { color: rgba(255,255,255,0.65); }
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== BOUTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-md); transition: var(--transition); border: none; cursor: pointer; text-decoration: none; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn--outline-blue { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline-blue:hover { background: var(--blue); color: var(--white); }
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--md { padding: 0.75rem 1.6rem; font-size: 0.9rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 2rem; }
.header__logo img { height: 42px; width: auto; }
.header__nav-list { display: flex; align-items: center; gap: 0.25rem; }
.header__nav-list li a { display: block; padding: 0.5rem 0.875rem; font-size: 0.88rem; font-weight: 500; color: var(--gray-600); border-radius: var(--radius-sm); transition: var(--transition); }
.header__nav-list li a:hover, .header__nav-list li.current-menu-item a { color: var(--blue); background: var(--gray-100); }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }
.header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.header__toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }
.header__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__toggle.open span:nth-child(2) { opacity: 0; }
.header__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.header__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
.header__overlay.show { display: block; }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: var(--blue); display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 2rem; padding: 6px 16px; margin-bottom: 1.5rem; }
.hero__badge-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__badge span { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 500; }
.hero__title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1.25rem; }
.hero__title em { color: #f87171; font-style: normal; }
.hero__text { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2rem; max-width: 480px; }
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hero__stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero__stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.hero__visual { display: flex; flex-direction: column; gap: 0.875rem; }
.hero__card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
.hero__card:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.hero__card-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__card-icon svg { width: 22px; height: 22px; }
.hero__card-icon--blue { background: rgba(59,130,246,0.25); }
.hero__card-icon--red { background: rgba(239,68,68,0.25); }
.hero__card-icon--green { background: rgba(74,222,128,0.2); }
.hero__card-title { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.hero__card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero__card-badge { margin-left: auto; background: rgba(74,222,128,0.15); color: #4ade80; font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 2rem; flex-shrink: 0; }

/* ===== ABOUT ===== */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about__img-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.about__img-wrap img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-xl); }
.about__img-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; background: var(--white); border-radius: var(--radius-md); padding: 0.875rem 1.25rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem; }
.about__img-badge-icon { width: 40px; height: 40px; background: var(--red); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.about__img-badge-icon svg { width: 20px; height: 20px; fill: white; }
.about__img-badge-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--black); line-height: 1; }
.about__img-badge-lbl { font-size: 0.72rem; color: var(--gray-600); }
.about__content p { color: var(--gray-600); margin-bottom: 1rem; }
.about__list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.875rem; }
.about__list-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.about__list-icon { width: 22px; height: 22px; background: rgba(176,31,36,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.about__list-icon svg { width: 12px; height: 12px; fill: var(--red); }
.about__list-text { font-size: 0.92rem; color: var(--gray-600); }
.about__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.about__box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.25rem; }
.about__box h3 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--blue); margin-bottom: 0.4rem; }
.about__box p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.6; }

/* ===== SERVICES ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--red); transition: height 0.4s ease; border-radius: 0 0 3px 0; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { height: 100%; }
.service-card__icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-card__icon svg { width: 26px; height: 26px; }
.icon--blue   { background: #e8f0fb; } .icon--blue svg   { fill: #1a4a8a; }
.icon--red    { background: #fceaea; } .icon--red svg    { fill: #8a1a1a; }
.icon--green  { background: #e4f5ef; } .icon--green svg  { fill: #0d6b40; }
.icon--amber  { background: #fef3e2; } .icon--amber svg  { fill: #7a5010; }
.icon--purple { background: #f0eafc; } .icon--purple svg { fill: #5c1a8a; }
.icon--teal   { background: #e0f5f5; } .icon--teal svg   { fill: #0a6b6b; }
.service-card__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 0.6rem; }
.service-card__text { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--blue); transition: var(--transition); }
.service-card__link svg { width: 14px; height: 14px; fill: currentColor; transition: transform 0.2s; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ===== PORTFOLIO ===== */
.portfolio__filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.pf-btn { padding: 0.5rem 1.2rem; border-radius: 2rem; border: 1.5px solid var(--gray-200); background: transparent; color: var(--gray-600); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.pf-btn:hover { border-color: var(--blue); color: var(--blue); }
.pf-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.portfolio-card.hidden { display: none; }
.portfolio-card__thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.portfolio-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-card__tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 2rem; margin-bottom: 0.75rem; }
.tag--dev   { background: #dde9f8; color: #1a4a8a; }
.tag--secu  { background: #fad9d9; color: #8a1a1a; }
.tag--integ { background: #d5f0e6; color: #0d6b40; }
.tag--amoa  { background: #fde8c0; color: #7a5010; }
.tag--form  { background: #ead5f8; color: #5c1a8a; }
.portfolio-card__name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 0.25rem; }
.portfolio-card__client { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.portfolio-card__desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.portfolio-card__result { margin-top: 1rem; padding: 0.6rem 0.875rem; background: var(--gray-50); border-left: 3px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.8rem; color: var(--gray-600); }
.portfolio-card__result strong { color: var(--blue); }

/* Clients logos */
.clients { margin-top: 4rem; text-align: center; }
.clients__title { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 1.5rem; }
.clients__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.client-logo { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transition: var(--transition); }
.client-logo:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.client-logo__icon { font-size: 1.75rem; }
.client-logo__name { font-size: 0.7rem; font-weight: 600; color: var(--gray-600); text-align: center; padding: 0 8px; }

/* ===== TESTIMONIALS ===== */
.testimonials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testi-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; transition: var(--transition); position: relative; }
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-card__stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card__quote { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testi-card__author { display: flex; align-items: center; gap: 0.875rem; }
.testi-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.av--blue  { background: var(--blue); }
.av--red   { background: var(--red); }
.av--green { background: #0d6b40; }
.testi-card__name { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.testi-card__role { font-size: 0.78rem; color: var(--gray-400); margin-top: 2px; }

/* ===== BANNER FORMATION ===== */
.banner-formation { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%); padding: 5rem 0; }
.banner-formation__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.banner-formation__text h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 0.75rem; }
.banner-formation__text p { font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 480px; }

/* ===== BLOG ===== */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; }
.blog-card__img-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card__body { padding: 1.5rem; }
.blog-card__date { font-size: 0.75rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.blog-card__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 0.6rem; line-height: 1.4; }
.blog-card__title a { color: inherit; transition: var(--transition); }
.blog-card__title a:hover { color: var(--red); }
.blog-card__excerpt { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.25rem; }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--blue); transition: var(--transition); }
.blog-card__more:hover { color: var(--red); }
.blog-card__more svg { width: 14px; height: 14px; fill: currentColor; }

/* ===== CONTACT ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact__info-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.contact__info-text { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 2rem; }
.contact__details { display: flex; flex-direction: column; gap: 1rem; }
.contact__detail { display: flex; align-items: flex-start; gap: 0.875rem; }
.contact__detail-icon { width: 40px; height: 40px; background: rgba(176,31,36,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__detail-icon svg { width: 18px; height: 18px; fill: var(--red); }
.contact__detail-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact__detail-value { font-size: 0.9rem; color: var(--gray-800); font-weight: 500; margin-top: 2px; }
.contact__form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-sm); }

/* CF7 overrides */
.wpcf7 .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  margin-bottom: 0.875rem;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,44,84,0.08);
}
.wpcf7 textarea { height: 140px; resize: vertical; }
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.wpcf7 input[type="submit"]:hover { background: var(--red-dark); }
.wpcf7-response-output {
  border-radius: var(--radius-md) !important;
  padding: 0.875rem 1rem !important;
  font-size: 0.88rem !important;
  margin-top: 0.75rem !important;
}
.wpcf7-not-valid-tip { color: var(--red); font-size: 0.78rem; margin-top: -0.5rem; margin-bottom: 0.5rem; }

/* ===== CTA SECTION ===== */
.cta-section { background: var(--blue); padding: 5rem 0; }
.cta-section__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-section h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 0.5rem; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1rem; }
.cta-section__btns { display: flex; gap: 1rem; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: #0a1929; color: rgba(255,255,255,0.6); }
.footer__top { padding: 5rem 0 3rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer__logo img { height: 40px; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer__desc { font-size: 0.85rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer__socials { display: flex; gap: 0.75rem; }
.footer__social { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer__social:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer__col-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer__links a:hover { color: var(--white); padding-left: 4px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.875rem; font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer__contact li svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.25rem 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }

/* ===== PAGE BLOG ARTICLE ===== */
.single-hero { background: var(--gray-50); padding: calc(var(--header-h) + 3rem) 0 3rem; border-bottom: 1px solid var(--gray-200); }
.single-hero__tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin-bottom: 1rem; }
.single-hero__title { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; color: var(--black); line-height: 1.2; margin-bottom: 1rem; }
.single-hero__meta { font-size: 0.85rem; color: var(--gray-400); }
.single-content { padding: 4rem 0; }
.single-content__inner { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.single-content__body { max-width: 700px; }
.single-content__body h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--black); margin: 2rem 0 0.875rem; }
.single-content__body h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--blue); margin: 1.5rem 0 0.75rem; }
.single-content__body p { color: var(--gray-600); margin-bottom: 1.25rem; line-height: 1.85; }
.single-content__body ul, .single-content__body ol { margin: 1rem 0 1.5rem 1.5rem; }
.single-content__body li { color: var(--gray-600); margin-bottom: 0.5rem; line-height: 1.75; }
.single-content__body img { border-radius: var(--radius-lg); margin: 2rem 0; }
.single-content__body blockquote { border-left: 4px solid var(--red); padding: 1rem 1.5rem; background: var(--gray-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 1.5rem 0; font-style: italic; color: var(--gray-600); }
.single-sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget__title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--black); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--gray-200); }
.sidebar-cta { background: var(--blue); color: var(--white); }
.sidebar-cta .sidebar-widget__title { color: var(--white); border-bottom-color: rgba(255,255,255,0.1); }
.sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 1.25rem; }

/* ===== PAGE FORMATIONS ===== */
.formations-hero { background: var(--blue); padding: calc(var(--header-h) + 3rem) 0 4rem; }
.formations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.formation-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; transition: var(--transition); }
.formation-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.formation-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.formation-card__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 0.5rem; }
.formation-card__desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.25rem; }
.formation-card__meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.formation-meta-pill { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 2rem; background: var(--gray-100); color: var(--gray-600); }

/* ===== 404 PAGE ===== */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.page-404__code { font-family: var(--font-head); font-size: 8rem; font-weight: 800; color: var(--gray-100); line-height: 1; margin-bottom: -1rem; }
.page-404__title { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--black); margin-bottom: 1rem; }
.page-404__text { color: var(--gray-600); margin-bottom: 2rem; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablette large */
@media (max-width: 1024px) {
  .hero__inner { gap: 2.5rem; }
  .about__inner { gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Tablette */
@media (max-width: 992px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .formations-grid { grid-template-columns: repeat(2, 1fr); }
  .single-content__inner { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .cta-section__inner { flex-direction: column; text-align: center; }
  .cta-section__btns { justify-content: center; }
  .banner-formation__inner { flex-direction: column; text-align: center; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Header mobile */
  .header__nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    z-index: 1001;
    transition: left 0.4s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .header__nav.open { left: 0; }
  .header__nav-list { flex-direction: column; gap: 0; }
  .header__nav-list li a { padding: 0.875rem 0; font-size: 1rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .header__toggle { display: flex; z-index: 1002; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__stats { gap: 1.5rem; }
  .hero__btns .btn--lg { padding: 0.8rem 1.5rem; font-size: 0.9rem; }

  /* About */
  .about__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__boxes { grid-template-columns: 1fr; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio__grid { grid-template-columns: 1fr; }

  /* Blog */
  .blog__grid { grid-template-columns: 1fr; }

  /* Clients */
  .clients__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Sections padding */
  .section { padding: 3.5rem 0; }

  /* Formations */
  .formations-grid { grid-template-columns: 1fr; }

  /* WhatsApp */
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

/* Petit mobile */
@media (max-width: 480px) {
  .hero__stats { flex-direction: column; gap: 1rem; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ===== BANNIÈRE CLIENTS DÉFILANTE ===== */
.clients-ticker-section {
  padding: 3rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.clients-ticker-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.clients-ticker-wrap {
  overflow: hidden;
  position: relative;
}

.clients-ticker-wrap::before,
.clients-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.clients-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.clients-ticker {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 25s linear infinite;
}

.clients-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients-ticker-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 3rem;
  border-right: 1px solid var(--gray-200);
}

.clients-ticker-logo {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.clients-ticker-item:hover .clients-ticker-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Placeholder BCB en attendant le logo */
.clients-ticker-placeholder {
  height: 50px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}