/*
Theme Name: Hello Elementor Child - ALTHIUM
Theme URI: https://althium.ci
Description: Theme officiel et prestigieux pour ALTHIUM SARL. Architecture 100% administrable sous WordPress & Elementor Pro sur les 6 secteurs cles (BTP, Immobilier, Conseil & Intelligence Economique, Marketing Sportif, Formations, Import-Export).
Author: ALTHIUM Digital Cote d'Ivoire
Author URI: https://althium.ci
Template: hello-elementor
Version: 3.0.0
Text Domain: althium
*/

/* ==========================================================================
   DESIGN SYSTEM ALTHIUM SARL — PROTOTYPE OFFICIEL V2
   Édition 6 Secteurs d'Activité & Coordonnées Côte d'Ivoire (+225, .ci)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700;800;900&display=swap');

:root {
  --primary: #0C2E63;       /* Bleu Nuit Althium */
  --secondary: #1E9FE0;     /* Bleu Ciel */
  --accent: #C41230;        /* Rouge Althium */
  --text: #161B22;          /* Anthracite */
  --text-muted: #64748B;
  --bg-light: #F4F6F9;      /* Gris Perle */
  --white: #FFFFFF;
  --border: #E2E8F0;
  
  /* Couleurs des 6 Secteurs d'Activité */
  --pole-btp: #0C2E63;
  --pole-immo: #0891B2;
  --pole-conseil-ie: #0F172A;
  --pole-sport: #E11D48;
  --pole-formation: #2E8B57;
  --pole-import-export: #D97706;

  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 8px rgba(12, 46, 99, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 46, 99, 0.08);
  --shadow-lg: 0 16px 40px rgba(12, 46, 99, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  z-index: -1;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 46, 99, 0.2);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary::before {
  background: var(--primary);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark::before {
  background: var(--accent);
}

/* ---------------- TOP INFO BAR ---------------- */
.top-bar {
  background: var(--primary);
  color: #CBD5E1;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  gap: 24px;
}

.top-bar-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}

.top-bar-links a:hover {
  color: #38BDF8;
}

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 60px;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.main-nav a,
.nav-link {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  display: inline-block;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav li.current-menu-item > a,
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.main-nav a::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav li.current-menu-item > a::after,
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------------- HERO MULTI-ACTIVITÉS INTERACTIF ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #092047 0%, #0C2E63 60%, #153e7e 100%);
  color: var(--white);
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 45px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #7DD3FC;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: #38BDF8;
}

.hero-subtitle {
  font-size: 18px;
  color: #E2E8F0;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Onglets d'accès rapide dans le Hero (Effet Waouh) */
.hero-switcher {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.switcher-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.switch-tab {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.switch-tab:hover,
.switch-tab.active {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.switcher-display {
  background: rgba(12, 46, 99, 0.6);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.switcher-tag {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  color: #38BDF8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.switcher-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.switcher-desc {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ---------------- BANDEAU CHIFFRES CLÉS ---------------- */
.counters-strip {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.counter-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.counter-item:last-child {
  border-right: none;
}

.counter-number {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.counter-number.accent {
  color: var(--accent);
}

.counter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------------- SECTIONS COMMONS ---------------- */
.section-padding {
  padding: 85px 0;
}

.section-bg-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ---------------- 6 MÉTIERS LOOP GRID ---------------- */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.metier-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.metier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.metier-card .card-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 46, 99, 0.15) 0%, rgba(12, 46, 99, 0.85) 70%, rgba(12, 46, 99, 0.98) 100%);
  transition: background 0.35s ease;
}

.metier-card:hover .card-bg-overlay {
  background: linear-gradient(180deg, rgba(12, 46, 99, 0.25) 0%, rgba(12, 46, 99, 0.92) 65%, rgba(12, 46, 99, 1) 100%);
}

.metier-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.metier-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  margin-bottom: 10px;
}

.metier-card-title {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.metier-card-desc {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.5;
  margin-bottom: 16px;
}

.metier-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38BDF8;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
}

.metier-card-link:hover {
  color: var(--white);
  gap: 10px;
}

/* ---------------- POURQUOI ALTHIUM (MÉTHODOLOGIE 360°) ---------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(12, 46, 99, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.why-icon.accent {
  background: rgba(196, 18, 48, 0.08);
  color: var(--accent);
}

.why-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------------- RÉALISATIONS FILTRABLES ---------------- */
.filter-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.search-box {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 13px 20px 13px 44px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}

.search-input:focus {
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill-btn:hover,
.pill-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(12, 46, 99, 0.18);
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.real-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.real-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.real-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0C2E63;
}

.real-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.real-card:hover .real-media img {
  transform: scale(1.05);
}

.real-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(12, 46, 99, 0.9);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.real-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.real-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.real-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.real-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.real-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.real-kpi {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

/* ---------------- TÉMOIGNAGES CLIENTS ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 14px;
}

.testi-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 22px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.author-name {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- CTA BANNER ---------------- */
.cta-banner {
  background: linear-gradient(135deg, #0C2E63 0%, #173d75 100%);
  color: var(--white);
  padding: 75px 0;
  text-align: center;
  position: relative;
}

.cta-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 17px;
  color: #CBD5E1;
  max-width: 650px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   FOOTER OFFICIEL AVEC GRAND LOGO VALORISÉ EN BAS
   ========================================================================== */
.site-footer {
  background: #061838;
  color: #CBD5E1;
  padding: 75px 0 30px;
}

/* Boîte du Grand Logo en Bas */
.footer-brand-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  margin-bottom: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-logo-container {
  display: inline-block;
  background: #FFFFFF;
  padding: 18px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.footer-logo-container:hover {
  transform: scale(1.03);
}

.footer-logo-container img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-tagline-highlight {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #38BDF8;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 35px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item a {
  color: #E2E8F0;
}

.footer-contact-item a:hover {
  color: #38BDF8;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94A3B8;
}

/* ---------------- BOUTON FLOTTANT WHATSAPP CÔTE D'IVOIRE ---------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

/* ---------------- MODAL POPUP (DEVIS EXPRESS & EXIT INTENT) ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 46, 99, 0.8);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  width: 90%;
  max-width: 620px;
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: #E2E8F0;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---------------- MOBILE STICKY BAR ---------------- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 820px) {
  .header-actions .btn {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .top-bar {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .counter-item:nth-child(2) {
    border-right: none;
  }
  .metiers-grid,
  .why-grid,
  .realisations-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  body {
    padding-bottom: 60px;
  }

  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 58px;
    background: var(--white);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    z-index: 9999;
  }

  .mobile-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
  }

  .mobile-call {
    background: var(--bg-light);
    color: var(--primary);
    border-right: 1px solid var(--border);
  }

  .mobile-quote {
    background: var(--accent);
    color: var(--white);
  }
}


/* ==========================================================================
   ELEMENTOR PRO & WORDPRESS EXTRA CONTROLS
   ========================================================================== */
.elementor-image img,
.elementor-widget-image img,
.elementor-loop-container img,
.althium-img-cover img,
.wp-post-image,
.real-media img {
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.brand-logo img,
header .brand-logo img,
.site-header img[src*="logo"] {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
}

.footer-logo-container img,
.althium-footer-logo-wrap img {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.althium-whatsapp-float,
.whatsapp-float-btn {
  position: fixed !important;
  bottom: 85px !important;
  right: 25px !important;
  width: 58px !important;
  height: 58px !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
  z-index: 9998 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.althium-whatsapp-float:hover,
.whatsapp-float-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65) !important;
}

/* Before / After Slider */
.ba-slider-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 35px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
}
.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}
.ba-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 3px solid #FFFFFF;
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}
.ba-after-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  max-width: 960px;
  height: 100%;
  object-fit: cover !important;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
  cursor: ew-resize;
  z-index: 10;
}
.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 5;
}
.ba-label-before { right: 20px; background: rgba(12, 46, 99, 0.85); }
.ba-label-after { left: 20px; background: rgba(196, 18, 48, 0.85); }

/* ==========================================================================
   CORRECTION PLEINE LARGEUR TOTALE (ZÉRO BANDE BLANCHE SUR LES CÔTÉS)
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #FFFFFF !important;
}

/* Forcer l'en-tête, la top-bar et le footer à 100% de la largeur de l'écran */
.site-header,
.site-header:not(.dynamic-header),
header.site-header,
.site-footer,
.site-footer:not(.dynamic-footer),
footer.site-footer,
.top-bar,
.site-main,
body:not([class*="elementor-page-"]) .site-main {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.site-footer {
  background-color: #061838 !important;
  padding: 70px 0 25px !important;
}

.top-bar {
  background-color: #071D40 !important;
  padding: 10px 0 !important;
}

.site-header {
  background-color: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(12, 46, 99, 0.08) !important;
  padding: 14px 0 !important;
}

/* Le contenu intérieur s'adapte parfaitement et reste centré à 1240px */
.site-footer > .container,
.site-header > .container,
.top-bar > .container,
.container {
  width: 92% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------------- SIGNATURE CONCEPTEUR CHRISTIAN ANISONOK ---------------- */
.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  padding-top: 25px !important;
  margin-top: 40px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 13px !important;
  color: #94A3B8 !important;
}

.footer-creator-credit {
  font-size: 13px !important;
  color: #94A3B8 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-weight: 500 !important;
}

.footer-creator-credit strong {
  color: #F8FAFC !important;
  font-weight: 700 !important;
}

.footer-creator-credit a {
  color: #38BDF8 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.footer-creator-credit a:hover {
  color: #FFFFFF !important;
  text-decoration: underline !important;
}



/* --- STYLES MENU BURGER ET TIROIR MOBILE --- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: #F1F5F9;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.25s ease;
  z-index: 1001;
}
.mobile-menu-toggle:hover { background: #E2E8F0; }
.hamburger-bar {
  width: 22px;
  height: 2.5px;
  background: var(--primary, #0C2E63);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 46, 99, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.active { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: #FFFFFF;
  z-index: 9999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-drawer.active { right: 0; }

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.mobile-drawer-close {
  background: #EDF2F7;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: #161B22;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mobile-drawer-close:hover { background: #E2E8F0; }

.mobile-drawer-body { padding: 22px 20px 40px; flex: 1; }
.mobile-nav-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #161B22;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-nav-link:hover { background: #F1F5F9; color: #0C2E63; }
.mobile-nav-divider { height: 1px; background: #E2E8F0; margin: 18px 0; }
.mobile-sub-metiers { display: flex; flex-direction: column; gap: 8px; }
.mobile-metier-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #161B22;
  padding: 8px 12px;
  background: #F8FAFC;
  border-radius: 6px;
  text-decoration: none;
}
.mobile-metier-tag:hover { background: #F1F5F9; color: #0C2E63; }

@media (max-width: 820px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav { display: none !important; }
}