/* ============================================
   SECURMAX — Style Principal
   Esthétique : Professional Light Luxury
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─── */
:root {
  --white:      #ffffff;
  --light:      #f8f9fa;
  --surface:    #ffffff;
  --surface-2:  #f1f3f5;
  --border:     rgba(0,0,0,0.08);
  --border-2:   rgba(0,0,0,0.12);
  --gold:      #ef1f1b;
  --gold-light:  #ef1f1b;
  --gold-dark:   #ef1f1b;
  --gold-muted: rgba(201,168,76,0.1);
  --black:      #1a1a1a;
  --text:       #4a4a4a;
  --text-dark:  #2d2d2d;
  --muted:      #6c757d;
  --red-alert:  #c0392b;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--black);
}

.display-xl { font-size: clamp(4rem, 10vw, 9rem); }
.display-lg { font-size: clamp(3rem, 7vw, 6rem); }
.display-md { font-size: clamp(2rem, 5vw, 4rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p { font-weight: 400; max-width: 65ch; color: var(--text); }

/* ─── Eyebrow Tags ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0.4rem 1rem;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  background: var(--gold-muted);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ─── Gold Accent Line ─── */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.btn:hover .btn-icon {
  background: rgba(255,255,255,0.2);
  transform: translate(2px, -1px);
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-img {
  height: 55px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--black);
  line-height: 1;
}

.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  padding: 6.5rem 1.25rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,248,250,0.96));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-panel {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 39, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(16, 24, 39, 0.15);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1rem;
  border-bottom: 1px solid rgba(16, 24, 39, 0.08);
}

.mobile-menu-head span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--black);
}

.mobile-menu-head strong,
.mobile-menu-tel > span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu-links {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0 0.85rem;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 58px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 7vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black);
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 10px 28px rgba(16, 24, 39, 0.05);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-menu-links a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(239, 31, 27, 0.08);
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--gold-dark);
  border-color: rgba(239, 31, 27, 0.24);
  background: linear-gradient(135deg, rgba(239, 31, 27, 0.08), #fff 58%);
}

.mobile-menu.open .mobile-menu-links a,
.mobile-menu.open .mobile-menu-quote,
.mobile-menu.open .mobile-menu-tel {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.13s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.17s; }

.mobile-menu-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 16px 34px rgba(239, 31, 27, 0.22);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease;
}

.mobile-menu-quote:hover {
  box-shadow: 0 18px 42px rgba(239, 31, 27, 0.28);
}

.mobile-menu-tel {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(248, 249, 250, 0.82);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  transition-delay: 0.22s;
}

.mobile-menu-tel div {
  display: grid;
  gap: 0.45rem;
}

.mobile-menu-tel a {
  display: block;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.mobile-menu-tel a:hover {
  color: var(--gold-dark);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fafaf8 0%, #f5f3ed 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-left {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  background: var(--gold-muted);
  width: fit-content;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(4.5rem, 10vw, 10rem);
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.hero-title-gold {
  color: var(--gold-dark);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}

/* ─── Section Base ─── */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

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

.section-header {
  margin-bottom: 4rem;
}

/* ─── About Section ─── */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.ceo-quote {
  background: var(--light);
  border-left: 4px solid var(--gold);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  margin-top: 3rem;
}

.ceo-quote-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.ceo-quote-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* ─── Values Section ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.value-card {
  background: var(--white);
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.value-card:hover {
  background: var(--light);
  box-shadow: var(--shadow-md);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  max-width: none;
}

/* ─── Services Section ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: attr(data-number);
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}

.service-card:hover::before {
  opacity: 0.15;
}

.service-card-icon {
  width: 60px; height: 60px;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  max-width: none;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: var(--transition-fast);
}

.service-card-link svg {
  width: 14px; height: 14px;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translate(3px, -3px);
}

/* ─── Atouts Section ─── */
.atouts-section {
  background: var(--light);
}

.atouts-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: center;
}

.atouts-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.atouts-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.atouts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.atout-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.atout-item:hover {
  background: var(--white);
  padding-left: 2rem;
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}

.atout-check {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.atout-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ─── Organisation visuelle ─── */
.org-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.org-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.org-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-md);
}

.org-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.org-card-icon svg { width: 22px; height: 22px; }

.org-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.org-card p {
  font-size: 0.8rem;
  color: var(--text);
  max-width: none;
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.2);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-tel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-tel a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-tel a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ─── Floating Phone Button ─── */
.phone-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  white-space: nowrap;
}

.phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.phone-btn-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-btn-icon svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .phone-banner {
    display: none;
  }
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid, .atouts-layout { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  
  .hero { padding: 6rem 0 3rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ─── Utility ─── */
.text-gold { color: var(--gold-dark); }
.text-muted { color: var(--text); }
.text-dark { color: var(--black); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }



/* ─── Organisation Grid ─── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .org-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .org-grid {
    grid-template-columns: 1fr;
  }
}



------------------------------------------------------------
-----------------------------------------------------------
----------------------------------------------------------
------------------------------------------------------


/* ==========================================================
   SECURMAX - Award UI direction
   A coller tout en bas de assets/css/style.css
   Remplace la version securmax-design-upgrade.css si deja ajoutee.
   ========================================================== */

:root {
  --white: #ffffff;
  --light: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --black: #0e1116;
  --ink: #161b22;
  --text-dark: #202733;
  --text: #5c6675;
  --muted: #8b96a6;
  --border: rgba(14, 17, 22, 0.08);
  --border-2: rgba(14, 17, 22, 0.14);
  --gold: #ef1f1b;
  --gold-light: #ff6964;
  --gold-dark: #b90f0c;
  --gold-muted: rgba(239, 31, 27, 0.085);
  --premium-blue: #101827;
  --premium-steel: #dfe5eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 10px 28px rgba(16, 24, 39, 0.07);
  --shadow-md: 0 18px 50px rgba(16, 24, 39, 0.11);
  --shadow-lg: 0 30px 80px rgba(16, 24, 39, 0.16);
  --shadow-xl: 0 42px 110px rgba(16, 24, 39, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: all 0.42s var(--ease-out);
  --transition-fast: all 0.22s var(--ease-out);
}

html {
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(239, 31, 27, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(16, 24, 39, 0.08), transparent 30rem),
    linear-gradient(90deg, rgba(16, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 39, 0.025) 1px, transparent 1px),
    #ffffff;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--text-dark);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 50% 18%, rgba(239, 31, 27, 0.12), transparent 22rem);
}

::selection {
  color: var(--white);
  background: var(--gold-dark);
}

.container {
  max-width: 1240px;
}

p {
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--black);
}

.navbar {
  padding: 0.7rem 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(16, 24, 39, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.navbar.scrolled {
  padding: 0.42rem 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(16, 24, 39, 0.11);
}

.nav-inner {
  min-height: 72px;
}

.nav-logo {
  transform: translateZ(0);
}

.nav-logo-img {
  width: 100px !important;
  height: 80px !important;
  object-fit: contain;
  transition: transform 0.45s var(--ease-out);
}

.nav-logo:hover .nav-logo-img {
  transform: translateY(-2px) scale(1.03);
}

.nav-links {
  gap: 0.35rem;
  padding: 0.34rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.06);
}

.nav-links a {
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  color: var(--text);
  transition: color 0.24s var(--ease-out), background 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.nav-links a::after {
  display: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
  background: rgba(239, 31, 27, 0.09);
  transform: translateY(-1px);
}

.btn {
  min-height: 50px;
  justify-content: center;
  border-radius: 999px;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
}

.btn::after {
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 42%, transparent 64%);
  transform: translateX(-120%);
  opacity: 1;
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 52%, var(--gold-light));
  box-shadow: 0 16px 36px rgba(239, 31, 27, 0.27);
}

.btn-primary:hover {
  box-shadow: 0 22px 52px rgba(239, 31, 27, 0.34);
}

.btn-outline {
  border: 1px solid rgba(239, 31, 27, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-dark);
  box-shadow: 0 12px 30px rgba(16, 24, 39, 0.06);
}

.btn-outline:hover {
  background: #fff5f5;
  color: var(--gold-dark);
}

.hero {
  min-height: 100svh;
  padding: 8.6rem 0 5.2rem;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.94) 50%, rgba(255, 255, 255, 0.86) 100%),
    radial-gradient(circle at 76% 38%, rgba(239, 31, 27, 0.14), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(16, 24, 39, 0.10), transparent 22rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 39, 0.045));
}

.hero::after {
  content: "";
  position: absolute;
  top: 8rem;
  right: clamp(1rem, 5vw, 5rem);
  width: min(34vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(239, 31, 27, 0.12);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 58%, rgba(239, 31, 27, 0.055) 59%, transparent 61%),
    radial-gradient(circle, transparent 39%, rgba(16, 24, 39, 0.045) 40%, transparent 42%);
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.35), 0);
}

.hero-bg-image {
  width: min(48%, 650px);
  opacity: 0.105;
  filter: grayscale(1) contrast(1.12);
  transform: translateY(calc(-50% + var(--hero-shift, 0px)));
}

.hero-content {
  gap: clamp(2.4rem, 5.4vw, 5.5rem);
}

.hero-left {
  position: relative;
}

.hero-badge,
.eyebrow {
  border: 1px solid rgba(239, 31, 27, 0.20);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-title {
  max-width: 7ch;
  text-wrap: balance;
  letter-spacing: 0.035em;
  filter: drop-shadow(0 16px 32px rgba(16, 24, 39, 0.09));
}

.hero-title-gold {
  background:
    linear-gradient(135deg, var(--gold-dark), var(--gold) 45%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--black);
  letter-spacing: 0.12em;
}

.hero-left > p {
  max-width: 59ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
  color: #4d5664 !important;
}

.hero-cta {
  gap: 0.85rem;
}

.hero-right {
  perspective: 1200px;
}

.hero-image-wrapper,
.about-image,
.atouts-image {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
}

.hero-image-wrapper {
  rotate: 0.001deg;
}

.hero-image-wrapper::before,
.about-image::before,
.atouts-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.28), transparent 28%, transparent 72%, rgba(239,31,27,0.18)),
    linear-gradient(180deg, transparent 62%, rgba(14, 17, 22, 0.12));
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: -42%;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: securmax-scan 5.8s ease-in-out infinite;
}

.hero-image-wrapper img,
.about-image img,
.atouts-image img {
  border-radius: inherit;
  transition: transform 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}

.hero-image-wrapper:hover img,
.about-image:hover img,
.atouts-image:hover img {
  transform: scale(1.04);
  filter: contrast(1.04) saturate(1.05);
}

.hero-right > div[style*="grid-template-columns"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.78rem !important;
}

.hero-stat-card,
.stat-item,
.value-card,
.service-card,
.org-card,
.atout-item {
  border: 1px solid rgba(16, 24, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.88)),
    var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-stat-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 1.7vw, 1.35rem);
}

.hero-stat-card::before,
.stat-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.hero-stat-card:hover::before,
.stat-item:hover::before {
  opacity: 1;
}

.hero-stat-number,
.stat-num {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label,
.stat-lbl {
  color: #677282;
}

.section {
  padding: clamp(4.75rem, 8.2vw, 7.5rem) 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(16, 24, 39, 0.10), transparent);
  pointer-events: none;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.04), rgba(255, 255, 255, 0.92)),
    var(--light);
}

.section-header {
  max-width: 760px;
}

.section-header[style*="text-align:center"] {
  margin-left: auto;
  margin-right: auto;
}

.display-md,
.display-sm {
  text-wrap: balance;
}

.gold-line {
  width: 92px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), transparent);
}

.about-grid,
.atouts-layout {
  gap: clamp(3rem, 6vw, 6.5rem);
}

.about-image::after,
.atouts-image::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: calc(var(--radius-xl) - 8px);
}

.ceo-quote {
  border-left: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff, #f6f8fa);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, 0.06), var(--shadow-sm);
}

.ceo-quote::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1.45rem;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.stats-row,
.values-grid,
.services-grid,
.org-grid {
  align-items: stretch;
}

.values-grid {
  gap: 1rem;
  border: 0;
  overflow: visible;
}

.value-card,
.service-card,
.org-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.value-card {
  padding: clamp(1.75rem, 3vw, 2.75rem);
}

.value-card::before,
.service-card::after,
.org-card::after,
.atout-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 31, 27, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(239, 31, 27, 0.08), transparent 42%);
  transition: opacity 0.35s var(--ease-out);
}

.value-card:hover::before,
.service-card:hover::after,
.org-card:hover::after,
.atout-item:hover::after {
  opacity: 1;
}

.value-card:hover,
.service-card:hover,
.org-card:hover,
.atout-item:hover,
.stat-item:hover,
.hero-stat-card:hover {
  border-color: rgba(239, 31, 27, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.value-icon,
.service-card-icon,
.org-card-icon,
.atout-check {
  color: var(--gold-dark);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.12), rgba(239, 31, 27, 0.035));
  box-shadow: inset 0 0 0 1px rgba(239, 31, 27, 0.09);
}

.service-card {
  min-height: 100%;
}

.service-card::before {
  color: var(--black);
  opacity: 0.045;
  transform: translateY(0);
}

.service-card:hover::before {
  opacity: 0.075;
  transform: translateY(-5px);
}

.service-card h3,
.value-title {
  letter-spacing: 0.045em;
}

.service-card-link {
  position: relative;
  z-index: 2;
}

.org-card {
  align-items: flex-start;
}

.cta-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(239, 31, 27, 0.24), transparent 22rem),
    linear-gradient(135deg, rgba(11, 15, 21, 0.98), rgba(28, 35, 45, 0.98));
}

.cta-section::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 31, 27, 0.16), transparent 20rem),
    linear-gradient(180deg, #121820, #07090d);
}

/* Couche de texture Grain/Bruit */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05; /* Intensité très subtile */
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.footer .container {
  position: relative;
  z-index: 1; /* Assure que le contenu reste au-dessus du grain */
}

.footer-top {
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.phone-banner {
  filter: drop-shadow(0 18px 38px rgba(239, 31, 27, 0.22));
}

.phone-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: none;
}

.phone-btn:hover {
  transform: translateY(-4px) scale(1.01);
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 52px, 0) scale(0.975);
  transition:
    opacity 1.05s var(--ease-out),
    filter 1.05s var(--ease-out),
    transform 1.05s var(--ease-out);
  will-change: opacity, filter, transform;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.services-grid .reveal,
.values-grid .reveal,
.org-grid .reveal,
.stats-row .reveal,
.hero-right > div[style*="grid-template-columns"] .reveal {
  transform: translate3d(0, 38px, 0) scale(0.985);
}

.services-grid .reveal.visible,
.values-grid .reveal.visible,
.org-grid .reveal.visible,
.stats-row .reveal.visible,
.hero-right > div[style*="grid-template-columns"] .reveal.visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes securmax-scan {
  0%, 16% { transform: translateY(0); opacity: 0; }
  34% { opacity: 0.62; }
  64%, 100% { transform: translateY(430%); opacity: 0; }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 7.6rem;
  }

  .hero::after {
    width: min(56vw, 420px);
    opacity: 0.55;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    max-width: 760px;
  }

  .about-grid,
  .atouts-layout {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .services-grid,
  .org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    padding: 0 1.1rem;
  }

  .navbar {
    padding: 0.42rem 0;
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-logo-img {
    width: 72px !important;
    height: 56px !important;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 24, 39, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
  }

  .mobile-menu {
    padding: 6rem 1rem 1rem;
    justify-content: center;
    gap: 1rem;
    background:
      radial-gradient(circle at 18% 12%, rgba(239, 31, 27, 0.12), transparent 18rem),
      rgba(255, 255, 255, 0.96);
  }

  .mobile-menu-panel {
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
  }

  .mobile-menu-links a {
    font-size: clamp(1.45rem, 7.4vw, 2.05rem);
  }

  .hero {
    padding: 7.2rem 0 3.7rem;
  }

  .hero::after {
    display: none;
  }

  .hero-title {
    max-width: 6ch;
    font-size: clamp(4rem, 18vw, 6.5rem);
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-cta {
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-image-wrapper img,
  .about-image img,
  .atouts-image img {
    height: clamp(280px, 65vw, 400px);
  }

  .hero-right > div[style*="grid-template-columns"],
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .values-grid,
  .services-grid,
  .org-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom,
  .footer-bottom-links {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  body {
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
  }

  .section {
    padding: 3.9rem 0;
  }

  .display-md {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-badge,
  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .hero-right > div[style*="grid-template-columns"],
  .stats-row {
    grid-template-columns: 1fr !important;
  }

  .hero-stat-card,
  .stat-item {
    text-align: left;
  }

  .service-card,
  .value-card,
  .org-card,
  .ceo-quote {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

























/* ─── Hero Slider Arrière-plan ─── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}

.hero-slide {
  flex: 0 0 33.333%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.18;
  filter: grayscale(0.35) contrast(1.08);
  transform: scale(1.06);
  transition: transform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active img {
  transform: scale(1.0);
}

/* Overlay dégradé sur chaque slide */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(250, 250, 248, 0.95) 0%,
    rgba(250, 250, 248, 0.80) 38%,
    rgba(250, 250, 248, 0.50) 65%,
    rgba(250, 250, 248, 0.18) 100%
  );
  pointer-events: none;
}

/* ─── Dots de navigation ─── */
.hero-slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 20;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: rgba(185, 15, 12, 0.25);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot.active {
  background: var(--gold-dark);
  width: 26px;
  border-radius: 4px;
}

.hero-dot:hover:not(.active) {
  background: rgba(185, 15, 12, 0.5);
  transform: scale(1.2);
}

/* Supprimer l'ancienne règle hero-bg-image si présente */
.hero-bg-image { display: none; }

/* ==========================================================
   SECURMAX - Nouvelles Fonctionnalités UI
   ========================================================== */

/* ── Preloader ── */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.preloader-img {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5rem);
  letter-spacing: 0.2em;
  display: flex;
  gap: 0.2rem;
}

.p-letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
}

.p-red { color: #ef1f1b; }
.p-white { color: #ffffff; }

.preloader-line {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
  box-shadow: 0 0 15px var(--gold);
}

/* ── Page Transition ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ── Adaptive Glassmorphic Header ── */
.navbar.glass-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 0.5px solid rgba(185, 15, 12, 0.2) !important;
}

/* ── Skeleton Loaders ── */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.5s linear infinite;
  border-radius: var(--radius-md);
}

/* ── Image Skeleton specific ── */
.img-skeleton-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
}

.img-skeleton-wrapper img {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.img-skeleton-wrapper.loaded img {
  opacity: 1;
}

/* On retire l'effet de brillance une fois chargé */
.img-skeleton-wrapper.loaded {
  background: none !important;
  animation: none !important;
}

@keyframes skeleton-shine {
  to { background-position-x: -200%; }
}

/* ── Text Reveal Animation ── */
.mask-reveal {
  overflow: hidden;
  display: block;
  padding-bottom: 0.1em;
}

.mask-reveal > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mask-reveal.visible > span {
  transform: translateY(0);
}

/* ── Stacked Cards Scroll ── */
#valeurs .values-grid, #atouts .atouts-list {
  display: block;
  border: none;
}

#valeurs .value-card, #atouts .atout-item {
  position: sticky;
  top: 120px; /* Espace pour la navbar */
  margin-bottom: 3rem;
  z-index: 1;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

#valeurs .value-card:nth-child(1) { top: 120px; }
#valeurs .value-card:nth-child(2) { top: 150px; }
#valeurs .value-card:nth-child(3) { top: 180px; }
#valeurs .value-card:nth-child(4) { top: 210px; }

/* Smooth Scroll Support */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ─── Marquee Band (Bandeau de services défilant) ─── */
.marquee-band {
  background: #000;
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  gap: 6rem;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.marquee-dot {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Typewriter Cursor ─── */
.typewriter-cursor {
  color: var(--gold);
  font-weight: 300;
  margin-left: 2px;
  animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── Logos Marquee ─── */
.partner-marquee {
  padding: 3rem 0;
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.marquee-content.logos {
  gap: 8rem;
  transition: var(--transition);
}

.partner-logo { height: 60px; width: auto; object-fit: contain; }

/* ─── CTA Background ─── */
.cta-section { position: relative; overflow: hidden; }

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.4) grayscale(1);
}

/* ─── Philosophy Bar ─── */
.philosophy-bar {
  padding: 5rem 0;
  background: linear-gradient(to right, rgba(239, 31, 27, 0.02), rgba(239, 31, 27, 0.05), rgba(239, 31, 27, 0.02));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.philosophy-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-text {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
  max-width: none;
}

.philosophy-text span {
  font-family: var(--font-display);
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  font-style: normal;
}

.philosophy-text strong {
  font-weight: 600;
  color: var(--black);
}



/* ─── Manifesto Section ─── */
.manifesto-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.manifesto-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.manifesto-icon {
  width: 64px;
  height: 64px;
  color: var(--gold);
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.manifesto-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.manifesto-text {
  font-family: var(--font-body) !important; /* Force la police body pour un ton éditorial */
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.manifesto-text .text-gold {
  color: var(--gold);
  font-weight: 600;
}

.manifesto-text .text-black-bold {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.manifesto-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Responsive Manifesto */
@media (max-width: 768px) {
  .manifesto-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .manifesto-section {
    padding: 4rem 0;
  }
}

/* ==========================================================
   Pages internes : Services, Contact, Recrutement
   ========================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at var(--spotlight-x, 82%) var(--spotlight-y, 18%), rgba(239, 31, 27, 0.16), transparent 26rem),
    linear-gradient(135deg, #fbfbfa 0%, #f2f4f7 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent 52%),
    repeating-linear-gradient(135deg, rgba(16, 24, 39, 0.035) 0 1px, transparent 1px 22px);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.page-hero-copy p {
  margin: 1.25rem 0 2rem;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.85;
}

.page-hero-panel,
.recruitment-hero-card,
.contact-quick-panel {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-hero-panel img,
.recruitment-hero-card img {
  width: 100%;
  height: clamp(300px, 35vw, 480px);
  object-fit: cover;
}

.hero-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.hero-panel-metrics div {
  padding: 1.25rem;
  border-right: 1px solid rgba(16, 24, 39, 0.08);
}

.hero-panel-metrics div:last-child {
  border-right: 0;
}

.hero-panel-metrics strong,
.contact-card-main a,
.progress-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.045em;
  color: var(--gold-dark);
}

.hero-panel-metrics span,
.contact-card-main span,
.progress-label {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.services-page-grid .service-card {
  display: flex;
  flex-direction: column;
}

.services-showcase-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8rem, 13vw, 10.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 31, 27, 0.12), transparent 24rem),
    radial-gradient(circle at 88% 26%, rgba(16, 24, 39, 0.08), transparent 26rem),
    linear-gradient(135deg, #fff 0%, #f6f7f9 54%, #fff 100%);
}

.services-showcase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent 56%),
    repeating-linear-gradient(135deg, rgba(16, 24, 39, 0.035) 0 1px, transparent 1px 26px);
}

.services-showcase-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.services-showcase-copy {
  max-width: 820px;
}

.showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 36px;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(239, 31, 27, 0.18);
  border-radius: 999px;
  background: rgba(239, 31, 27, 0.06);
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.showcase-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-dark);
}

.services-showcase-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: 0.035em;
}

.services-showcase-copy p {
  max-width: 60ch;
  margin: 1.45rem 0 2rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.9;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 740px;
  gap: 0.8rem;
}

.showcase-stats div {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}

.showcase-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  color: var(--gold-dark);
}

.showcase-stats span {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.4;
}

.services-showcase-panel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.services-showcase-panel::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(239, 31, 27, 0.08);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.showcase-panel-top,
.showcase-panel-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem 1rem;
}

.showcase-panel-top span,
.showcase-panel-note span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.showcase-panel-top strong {
  color: var(--gold-dark);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-service-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.map-main,
.map-item {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-main {
  grid-row: span 2;
  min-height: 235px;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.10), transparent 52%),
    #fff;
}

.map-main span,
.map-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(239, 31, 27, 0.09);
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.map-main strong {
  display: block;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0.05em;
  color: var(--black);
}

.map-main p {
  margin-top: 1rem;
  max-width: none;
  font-size: 0.9rem;
}

.map-item {
  min-height: 112px;
  padding: 1rem;
}

.map-item strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.35;
}

.showcase-panel-note {
  align-items: flex-start;
  margin-top: 0.85rem;
  padding: 1rem 0.85rem 0.5rem;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.showcase-panel-note p {
  max-width: 34ch;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: -0.7rem 0 2rem;
}

.service-hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.services-detail-section {
  position: relative;
  overflow: hidden;
}

.services-detail-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent 34%),
    repeating-linear-gradient(90deg, rgba(16, 24, 39, 0.025) 0 1px, transparent 1px 80px);
}

.services-detail-section > .container {
  position: relative;
  z-index: 1;
}

.services-detail-header {
  max-width: 860px;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-detail-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.065), transparent 42%),
    linear-gradient(180deg, #fff, #fbfbfb);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-detail-card::before {
  content: attr(data-number);
  position: absolute;
  top: 1rem;
  right: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.85;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 31, 27, 0.22);
  box-shadow: var(--shadow-xl);
}

.service-detail-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-detail-top .service-card-icon {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(239, 31, 27, 0.16);
  border-radius: 999px;
  background: rgba(239, 31, 27, 0.06);
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-detail-card h3 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin-bottom: 0.95rem;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.service-detail-card p {
  position: relative;
  z-index: 1;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-detail-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.35rem;
  margin-top: 1.45rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.service-detail-body h4 {
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.service-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.service-detail-body .service-points {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.service-points li,
.contact-checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-dark);
  font-size: 0.92rem;
}

.service-points li::before,
.contact-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(239, 31, 27, 0.10);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-assurance-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 31, 27, 0.12), transparent 24rem),
    linear-gradient(135deg, #12151b 0%, #1d222b 100%);
  color: #fff;
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.assurance-copy h2,
.assurance-copy p {
  color: #fff;
}

.assurance-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.assurance-card {
  min-height: 245px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.assurance-card span {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.assurance-card h3 {
  margin: 1.35rem 0 0.75rem;
  color: #fff;
  font-size: 1.55rem;
}

.assurance-card p {
  max-width: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.process-section {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  min-height: 250px;
  padding: 1.65rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.07), transparent 44%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.process-step span {
  font-family: var(--font-mono);
  color: var(--gold-dark);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 1.5rem 0 0.7rem;
  font-size: 1.45rem;
}

.process-step p {
  max-width: none;
  font-size: 0.92rem;
}

.contact-layout,
.recruitment-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-aside,
.recruitment-sidebar {
  position: sticky;
  top: 120px;
}

.contact-aside,
.progress-card,
.recruitment-note {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.contact-checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.contact-quick-panel {
  padding: clamp(1rem, 2vw, 1.4rem);
}

.contact-card-main {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.12), rgba(8, 10, 14, 0.88)),
    url("../images/about-securmax.png") center/cover;
}

.contact-card-main a {
  color: #fff;
}

.contact-card-main span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.contact-mini-card {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.08), transparent 55%),
    #fff;
}

.contact-mini-card strong {
  display: block;
  color: var(--black);
}

.contact-mini-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pro-form {
  padding: clamp(1.3rem, 3vw, 2.25rem);
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 31, 27, 0.09), transparent 22rem),
    #fff;
  box-shadow: var(--shadow-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group,
.choice-group {
  display: grid;
  gap: 0.45rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group span,
.choice-group span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select,
.choice-group input,
.choice-group select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.choice-group input:focus,
.choice-group select:focus {
  border-color: rgba(239, 31, 27, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 31, 27, 0.10);
  background: #fff;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select,
.choice-group.error input,
.choice-group.error select,
.upload-dropzone.error,
.certify-box.error {
  border-color: var(--red-alert);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.10);
}

.alert {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

.alert.show {
  display: block;
}

.alert-success {
  color: #146c43;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.alert-error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

.alert-step {
  color: #7a4a00;
  background: #fff3cd;
  border: 1px solid #ffecb5;
}

.form-submit {
  margin-top: 1.4rem;
}

.recruitment-hero-card {
  display: grid;
}

.recruitment-hero-card div {
  padding: 1.4rem;
}

.recruitment-hero-card span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.recruitment-hero-card strong {
  display: block;
  margin: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--black);
}

.progress-card {
  margin-bottom: 1rem;
}

.progress-track {
  height: 10px;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.08);
}

.progress-track div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.35s var(--ease-out);
}

.form-section {
  min-width: 0;
  margin: 0 0 1.2rem;
  padding: 1.25rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.form-section legend {
  padding: 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  color: var(--black);
}

.form-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.stepper-item {
  position: relative;
  min-height: 92px;
  padding: 0.95rem;
  border: 1px solid rgba(16, 24, 39, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.stepper-item::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.75rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.08);
  overflow: hidden;
}

.stepper-item span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: rgba(16, 24, 39, 0.07);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.stepper-item strong {
  display: block;
  padding-bottom: 0.8rem;
  font-size: 0.78rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stepper-item.active,
.stepper-item.completed {
  border-color: rgba(239, 31, 27, 0.32);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.10), transparent 56%),
    #fff;
  box-shadow: var(--shadow-sm);
}

.stepper-item.active span,
.stepper-item.completed span {
  background: var(--gold-dark);
  color: #fff;
}

.stepper-item.active::after,
.stepper-item.completed::after {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

.form-step {
  display: none;
  animation: step-fade 0.34s var(--ease-out);
}

.form-step.active {
  display: block;
}

@keyframes step-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.form-navigation .form-submit {
  margin-top: 0;
  display: none;
}

.form-navigation.is-last .form-next {
  display: none;
}

.form-navigation.is-last .form-submit {
  display: inline-flex;
}

.form-navigation.is-first .form-prev {
  visibility: hidden;
  pointer-events: none;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.upload-dropzone {
  position: relative;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.2rem;
  border: 1.5px dashed rgba(16, 24, 39, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(239, 31, 27, 0.06), transparent 50%),
    rgba(255, 255, 255, 0.8);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.upload-dropzone:hover,
.upload-dropzone.drag-over,
.upload-dropzone.has-file {
  border-color: rgba(239, 31, 27, 0.55);
  background: rgba(239, 31, 27, 0.06);
  transform: translateY(-2px);
}

.upload-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-dark);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.upload-dropzone strong {
  color: var(--black);
}

.upload-dropzone small,
.upload-dropzone em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.certify-box {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 39, 0.10);
  border-radius: var(--radius-sm);
  background: #fff;
}

.certify-box input {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
}

.certify-box span {
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 1080px) {
  .page-hero-grid,
  .contact-layout,
  .recruitment-layout {
    grid-template-columns: 1fr;
  }

  .services-showcase-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-showcase-copy h1 {
    max-width: 13ch;
  }

  .services-detail-grid,
  .assurance-layout {
    grid-template-columns: 1fr;
  }

  .assurance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-aside,
  .recruitment-sidebar {
    position: static;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 7.5rem;
  }

  .services-showcase-hero {
    padding-top: 7.5rem;
  }

  .services-showcase-copy h1 {
    max-width: none;
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .showcase-actions {
    align-items: stretch;
  }

  .showcase-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .showcase-stats,
  .showcase-service-map,
  .showcase-panel-note {
    grid-template-columns: 1fr;
  }

  .showcase-stats div,
  .map-main,
  .map-item {
    min-height: auto;
  }

  .map-main {
    grid-row: auto;
  }

  .showcase-panel-note {
    gap: 0.45rem;
  }

  .service-hero-highlights,
  .service-detail-top {
    align-items: flex-start;
  }

  .service-detail-top {
    flex-direction: column;
  }

  .service-detail-card h3 {
    max-width: none;
  }

  .form-grid,
  .question-grid,
  .contact-mini-grid,
  .process-grid,
  .hero-panel-metrics,
  .form-stepper,
  .services-detail-grid,
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .assurance-card {
    min-height: auto;
  }

  .hero-panel-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 39, 0.08);
  }

  .hero-panel-metrics div:last-child {
    border-bottom: 0;
  }

  .pro-form,
  .form-section {
    padding: 1rem;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }

  .form-navigation {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-navigation .btn {
    width: 100%;
    justify-content: center;
  }

  .form-navigation.is-first .form-prev {
    display: none;
  }
}




















/* ─── Organisation Mind Map (Etoile) ─── */
.org-mindmap {
  display: grid;
  gap: 2rem;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Mode Desktop : Structure en Etoile */
@media (min-width: 1025px) {
  .org-mindmap {
    grid-template-columns: 1fr 340px 1fr;
    grid-template-areas: 
      "sat-nw . sat-ne"
      ". center ."
      "sat-sw . sat-se";
    align-items: center;
  }

  .card-center { grid-area: center; z-index: 5; border: 2px solid var(--gold-dark); }
  .sat-nw { grid-area: sat-nw; }
  .sat-ne { grid-area: sat-ne; }
  .sat-sw { grid-area: sat-sw; }
  .sat-se { grid-area: sat-se; }

  .org-mindmap::before, .org-mindmap::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 80%; height: 60%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(185, 15, 12, 0.15);
    pointer-events: none;
    z-index: 0;
  }

  .org-mindmap::before { transform: translate(-50%, -50%) rotate(45deg); border-radius: 40px; }
  
  /* Connecteurs dorés fins */
  .card-sat::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-dark), transparent);
    z-index: -1;
  }

  .sat-nw::before { bottom: -20px; right: -30px; transform: rotate(35deg); }
  .sat-ne::before { bottom: -20px; left: -30px; transform: rotate(-35deg); background: linear-gradient(-90deg, var(--gold-dark), transparent); }
  .sat-sw::before { top: -20px; right: -30px; transform: rotate(-35deg); }
  .sat-se::before { top: -20px; left: -30px; transform: rotate(35deg); background: linear-gradient(-90deg, var(--gold-dark), transparent); }
}

/* Mode Tablette */
@media (max-width: 1024px) and (min-width: 769px) {
  .org-mindmap {
    grid-template-columns: 1fr 1fr;
  }
  .card-center { grid-column: 1 / -1; justify-self: center; width: 50%; }
}

/* Mode Mobile : Retour en liste standard */
@media (max-width: 768px) {
  .org-mindmap {
    grid-template-columns: 1fr;
  }
  .card-center { order: -1; } /* DG toujours en premier sur mobile */
}

.org-card {
  transition: var(--transition);
  height: 100%;
}

.card-center {
  background: linear-gradient(135deg, #fff, #fefefe);
  box-shadow: var(--shadow-lg);
}

.card-center h4 {
  font-size: 1.1rem;
  color: var(--gold-dark);
}

.card-sat:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

/* ─── WHATSAPP FLOATING BUTTON ─── */
.wa-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.wa-floating-btn a {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s var(--ease-out);
}

.wa-floating-btn a:hover {
  transform: translateY(-5px);
}

.wa-icon-box {
  width: 60px;
  height: 60px;
  background: #25d366;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  position: relative;
  z-index: 2;
}

.wa-icon-box svg,
.wa-whatsapp-logo {
  display: block;
  width: 32px;
  height: 32px;
  color: #fff;
}

.wa-pulse {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.5;
  animation: wa-pulse-anim 2s infinite;
}

@keyframes wa-pulse-anim {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.wa-label {
  position: absolute;
  right: 70px;
  background: #fff;
  color: #202733;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
  border: 1px solid rgba(16, 24, 39, 0.06);
}

/* Show label automatically with .show-tooltip class */
.wa-floating-btn.show-tooltip .wa-label {
  opacity: 1;
  transform: translateX(0);
}

.wa-floating-btn a:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .wa-floating-btn {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .wa-label {
    display: none;
  }
}





/* ============================================
   SECURMAX — Style Principal
   Esthétique : Professional Light Luxury
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─── */
:root {
  --white:      #ffffff;
  --light:      #f8f9fa;
  --surface:    #ffffff;
  --surface-2:  #f1f3f5;
  --border:     rgba(0,0,0,0.08);
  --border-2:   rgba(0,0,0,0.12);
  --gold:      #ef1f1b;
  --gold-light:  #ef1f1b;
  --gold-dark:   #ef1f1b;
  --gold-muted: rgba(201,168,76,0.1);
  --black:      #1a1a1a;
  --text:       #4a4a4a;
  --text-dark:  #2d2d2d;
  --muted:      #6c757d;
  --red-alert:  #c0392b;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--black);
}

.display-xl { font-size: clamp(4rem, 10vw, 9rem); }
.display-lg { font-size: clamp(3rem, 7vw, 6rem); }
.display-md { font-size: clamp(2rem, 5vw, 4rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p { font-weight: 400; max-width: 65ch; color: var(--text); }

/* ─── Eyebrow Tags ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0.4rem 1rem;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  background: var(--gold-muted);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ─── Gold Accent Line ─── */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.btn:hover .btn-icon {
  background: rgba(255,255,255,0.2);
  transform: translate(2px, -1px);
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-img {
  height: 55px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--black);
  line-height: 1;
}

.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  padding: 6.5rem 1.25rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,248,250,0.96));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-panel {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(16, 24, 39, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(16, 24, 39, 0.15);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1rem;
  border-bottom: 1px solid rgba(16, 24, 39, 0.08);
}

.mobile-menu-head span {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--black);
}

.mobile-menu-head strong,
.mobile-menu-tel > span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu-links {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 0 0.85rem;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 58px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 7vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--black);
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 10px 28px rgba(16, 24, 39, 0.05);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-menu-links a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: rgba(239, 31, 27, 0.08);
  color: var(--gold-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--gold-dark);
  border-color: rgba(239, 31, 27, 0.24);
  background: linear-gradient(135deg, rgba(239, 31, 27, 0.08), #fff 58%);
}

.mobile-menu.open .mobile-menu-links a,
.mobile-menu.open .mobile-menu-quote,
.mobile-menu.open .mobile-menu-tel {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.09s; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.13s; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.17s; }

.mobile-menu-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 16px 34px rgba(239, 31, 27, 0.22);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease;
}

.mobile-menu-quote:hover {
  box-shadow: 0 18px 42px rgba(239, 31, 27, 0.28);
}

.mobile-menu-tel {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(248, 249, 250, 0.82);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  transition-delay: 0.22s;
}

.mobile-menu-tel div {
  display: grid;
  gap: 0.45rem;
}

.mobile-menu-tel a {
  display: block;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.mobile-menu-tel a:hover {
  color: var(--gold-dark);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fafaf8 0%, #f5f3ed 100%);
}

/* ─── Hero bg statique (remplace le slider) ─── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-static {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(239,31,27,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 18% 78%, rgba(16,24,39,0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  background: var(--gold-muted);
  width: fit-content;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(4.5rem, 10vw, 10rem);
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.hero-title-gold {
  color: var(--gold-dark);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hero-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}

/* ─── Section Base ─── */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

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

.section-header {
  margin-bottom: 4rem;
}

/* ─── About Section ─── */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ─── CEO Quote Standard ─── */
.ceo-quote {
  background: var(--light);
  border-left: 4px solid var(--gold);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  margin-top: 3rem;
}

.ceo-quote-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.ceo-quote-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ─── CEO Quote Premium ─── */
.ceo-quote--premium {
  position: relative;
  padding: 2.5rem 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(239,31,27,0.06) 0%, rgba(255,255,255,0) 52%),
              linear-gradient(180deg, #ffffff, #f8f9fa);
  border-left: 0;
  border: 1px solid rgba(16,24,39,0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), var(--shadow-md);
  overflow: hidden;
  margin-top: 2.5rem;
}

.ceo-quote--premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), transparent);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.ceo-quote--premium::after {
  content: '"';
  position: absolute;
  bottom: -1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.ceo-quote-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(239,31,27,0.12), rgba(239,31,27,0.04));
  color: var(--gold-dark);
  box-shadow: inset 0 0 0 1px rgba(239,31,27,0.10);
}

.ceo-quote--premium .ceo-quote-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-dark);
  font-style: normal;
  margin-bottom: 1.75rem;
  max-width: none;
}

.ceo-quote--premium .ceo-quote-text strong {
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.04em;
}

.ceo-quote--premium .ceo-quote-text em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}

.ceo-quote--premium .ceo-quote-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16,24,39,0.07);
  font-style: normal;
}

.ceo-quote-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  line-height: 1;
}

.ceo-quote-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid rgba(16,24,39,0.12);
  padding-left: 0.85rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* ─── Values Section ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.value-card {
  background: var(--white);
  padding: 3rem 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.value-card:hover {
  background: var(--light);
  box-shadow: var(--shadow-md);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  max-width: none;
}

/* ─── Services Section ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: attr(data-number);
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}

.service-card:hover::before {
  opacity: 0.15;
}

.service-card-icon {
  width: 60px; height: 60px;
  color: var(--gold);
  background: var(--gold-muted);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  max-width: none;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: var(--transition-fast);
}

.service-card-link svg {
  width: 14px; height: 14px;
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translate(3px, -3px);
}

/* ─── Atouts Section ─── */
.atouts-section {
  background: var(--light);
}

.atouts-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: center;
}

.atouts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.atout-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.atout-item:hover {
  background: var(--white);
  padding-left: 2rem;
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.3);
}

.atout-check {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.atout-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ─── Organisation ─── */
.org-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.org-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.org-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-md);
}

.org-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.org-card-icon svg { width: 22px; height: 22px; }

.org-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.org-card p {
  font-size: 0.8rem;
  color: var(--text);
  max-width: none;
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.2);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36ch;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-tel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-tel a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-tel a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ─── Floating Phone Button ─── */
.phone-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  white-space: nowrap;
}

.phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.phone-btn-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-btn-icon svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .phone-banner { display: none; }
}

/* ─── Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid, .atouts-layout { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 0 3rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }
}

/* ─── Utility ─── */
.text-gold { color: var(--gold-dark); }
.text-muted { color: var(--text); }
.text-dark { color: var(--black); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ─── Organisation Grid ─── */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .org-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .org-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   SECURMAX - Award UI direction
   ========================================================== */
:root {
  --white: #ffffff;
  --light: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --black: #0e1116;
  --ink: #161b22;
  --text-dark: #202733;
  --text: #5c6675;
  --muted: #8b96a6;
  --border: rgba(14, 17, 22, 0.08);
  --border-2: rgba(14, 17, 22, 0.14);
  --gold: #ef1f1b;
  --gold-light: #ff6964;
  --gold-dark: #b90f0c;
  --gold-muted: rgba(239, 31, 27, 0.085);
  --premium-blue: #101827;
  --premium-steel: #dfe5eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 10px 28px rgba(16, 24, 39, 0.07);
  --shadow-md: 0 18px 50px rgba(16, 24, 39, 0.11);
  --shadow-lg: 0 30px 80px rgba(16, 24, 39, 0.16);
  --shadow-xl: 0 42px 110px rgba(16, 24, 39, 0.22);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: all 0.42s var(--ease-out);
  --transition-fast: all 0.22s var(--ease-out);
}

html { scroll-padding-top: 96px; }

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(239, 31, 27, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(16, 24, 39, 0.08), transparent 30rem),
    linear-gradient(90deg, rgba(16, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 39, 0.025) 1px, transparent 1px),
    #ffffff;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--text-dark);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 50% 18%, rgba(239, 31, 27, 0.12), transparent 22rem);
}

::selection {
  color: var(--white);
  background: var(--gold-dark);
}

.container { max-width: 1240px; }
p { color: var(--text); }
h1, h2, h3, h4, h5 { color: var(--black); }

.navbar {
  padding: 0.7rem 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(16, 24, 39, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.navbar.scrolled {
  padding: 0.42rem 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(16, 24, 39, 0.11);
}

.nav-inner { min-height: 72px; }
.nav-logo { transform: translateZ(0); }

.nav-logo-img {
  width: 100px !important;
  height: 80px !important;
  object-fit: contain;
  transition: transform 0.45s var(--ease-out);
}

.nav-logo:hover .nav-logo-img {
  transform: translateY(-2px) scale(1.03);
}

.nav-links {
  gap: 0.35rem;
  padding: 0.34rem;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
  box-shadow: 0 12px 36px rgba(16, 24, 39, 0.06);
}

.nav-links a {
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  color: var(--text);
  transition: color 0.24s var(--ease-out), background 0.24s var(--ease-out), transform 0.24s var(--ease-out);
}

.nav-links a::after { display: none; }

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
  background: rgba(239, 31, 27, 0.09);
  transform: translateY(-1px);
}

.btn {
  min-height: 50px;
  justify-content: center;
  border-radius: 999px;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
}

.btn::after {
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 42%, transparent 64%);
  transform: translateX(-120%);
  opacity: 1;
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 52%, var(--gold-light));
  box-shadow: 0 16px 36px rgba(239, 31, 27, 0.27);
}

.btn-primary:hover {
  box-shadow: 0 22px 52px rgba(239, 31, 27, 0.34);
}

.btn-outline {
  border: 1px solid rgba(239, 31, 27, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-dark);
  box-shadow: 0 12px 30px rgba(16, 24, 39, 0.06);
}

.btn-outline:hover {
  background: #fff5f5;
  color: var(--gold-dark);
}

.hero {
  min-height: 100svh;
  padding: 8.6rem 0 5.2rem;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.94) 50%, rgba(255, 255, 255, 0.86) 100%),
    radial-gradient(circle at 76% 38%, rgba(239, 31, 27, 0.14), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(16, 24, 39, 0.10), transparent 22rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 39, 0.045));
}

.hero::after {
  content: "";
  position: absolute;
  top: 8rem;
  right: clamp(1rem, 5vw, 5rem);
  width: min(34vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(239, 31, 27, 0.12);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 58%, rgba(239, 31, 27, 0.055) 59%, transparent 61%),
    radial-gradient(circle, transparent 39%, rgba(16, 24, 39, 0.045) 40%, transparent 42%);
  transform: translate3d(0, calc(var(--hero-shift, 0px) * -0.35), 0);
}

.hero-content { gap: clamp(2.4rem, 5.4vw, 5.5rem); }
.hero-left { position: relative; }

.hero-badge,
.eyebrow {
  border: 1px solid rgba(239, 31, 27, 0.20);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-title {
  max-width: 7ch;
  text-wrap: balance;
  letter-spacing: 0.035em;
  filter: drop-shadow(0 16px 32px rgba(16, 24, 39, 0.09));
}

.hero-title-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold) 45%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--black);
  letter-spacing: 0.12em;
}

.hero-left > p {
  max-width: 59ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem) !important;
  color: #4d5664 !important;
}

.hero-cta { gap: 0.85rem; }
.hero-right { perspective: 1200px; }

.hero-image-wrapper,
.about-image,
.atouts-image {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
}

.hero-image-wrapper { rotate: 0.001deg; }

.hero-image-wrapper::before,
.about-image::before,
.atouts-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.28), transparent 28%, transparent 72%, rgba(239,31,27,0.18)),
    linear-gradient(180deg, transparent 62%, rgba(14, 17, 22, 0.12));
}

.hero-image-wrapper img,
.about-image img,
.atouts-image img {
  border-radius: inherit;
  transition: transform 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}

.hero-image-wrapper:hover img,
.about-image:hover img,
.atouts-image:hover img {
  transform: scale(1.04);
  filter: contrast(1.04) saturate(1.05);
}

.hero-right > div[style*="grid-template-columns"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.78rem !important;
}

.hero-stat-card,
.stat-item,
.value-card,
.service-card,
.org-card,
.atout-item {
  border: 1px solid rgba(16, 24, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.88)),
    var(--white);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-stat-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 1.7vw, 1.35rem);
}

.hero-stat-card::before,
.stat-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.hero-stat-card:hover::before,
.stat-item:hover::before { opacity: 1; }

.hero-stat-number,
.stat-num {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label,
.stat-lbl { color: #677282; }

.section { padding: clamp(4.75rem, 8.2vw, 7.5rem) 0; }

.section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(100%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(16, 24, 39, 0.10), transparent);
  pointer-events: none;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(16, 24, 39, 0.04), rgba(255, 255, 255, 0.92)),
    var(--light);
}

.section-header { max-width: 760px; }
.section-header[style*="text-align:center"] {
  margin-left: auto;
  margin-right: auto;
}

.display-md,
.display-sm { text-wrap: balance; }

.gold-line {
  width: 92px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), transparent);
}

.about-grid,
.atouts-layout { gap: clamp(3rem, 6vw, 6.5rem); }

.about-image::after,
.atouts-image::after {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: calc(var(--radius-xl) - 8px);
}

.stats-row,
.values-grid,
.services-grid,
.org-grid { align-items: stretch; }

.values-grid {
  gap: 1rem;
  border: 0;
  overflow: visible;
}

.value-card,
.service-card,
.org-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.value-card { padding: clamp(1.75rem, 3vw, 2.75rem); }

.value-card::before,
.service-card::after,
.org-card::after,
.atout-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 31, 27, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(239, 31, 27, 0.08), transparent 42%);
  transition: opacity 0.35s var(--ease-out);
}

.value-card:hover::before,
.service-card:hover::after,
.org-card:hover::after,
.atout-item:hover::after { opacity: 1; }

.value-card:hover,
.service-card:hover,
.org-card:hover,
.atout-item:hover,
.stat-item:hover,
.hero-stat-card:hover {
  border-color: rgba(239, 31, 27, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.value-icon,
.service-card-icon,
.org-card-icon,
.atout-check {
  color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(239, 31, 27, 0.12), rgba(239, 31, 27, 0.035));
  box-shadow: inset 0 0 0 1px rgba(239, 31, 27, 0.09);
}

.service-card { min-height: 100%; }

.service-card::before {
  color: var(--black);
  opacity: 0.045;
  transform: translateY(0);
}

.service-card:hover::before {
  opacity: 0.075;
  transform: translateY(-5px);
}

.service-card h3,
.value-title { letter-spacing: 0.045em; }

.service-card-link { position: relative; z-index: 2; }

.org-card { align-items: flex-start; }

.cta-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(239, 31, 27, 0.24), transparent 22rem),
    linear-gradient(135deg, rgba(11, 15, 21, 0.98), rgba(28, 35, 45, 0.98));
}

.cta-section::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(239, 31, 27, 0.16), transparent 20rem),
    linear-gradient(180deg, #121820, #07090d);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.footer .container { position: relative; z-index: 1; }
.footer-top { border-bottom-color: rgba(255, 255, 255, 0.09); }

.phone-banner { filter: drop-shadow(0 18px 38px rgba(239, 31, 27, 0.22)); }

.phone-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: none;
}

.phone-btn:hover { transform: translateY(-4px) scale(1.01); }

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 52px, 0) scale(0.975);
  transition:
    opacity 1.05s var(--ease-out),
    filter 1.05s var(--ease-out),
    transform 1.05s var(--ease-out);
  will-change: opacity, filter, transform;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.services-grid .reveal,
.values-grid .reveal,
.org-grid .reveal,
.stats-row .reveal,
.hero-right > div[style*="grid-template-columns"] .reveal {
  transform: translate3d(0, 38px, 0) scale(0.985);
}

.services-grid .reveal.visible,
.values-grid .reveal.visible,
.org-grid .reveal.visible,
.stats-row .reveal.visible,
.hero-right > div[style*="grid-template-columns"] .reveal.visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* ─── Typewriter Cursor ─── */
.typewriter-cursor {
  color: var(--gold);
  font-weight: 300;
  margin-left: 2px;
  animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ─── Logos Marquee ─── */
.partner-marquee {
  padding: 3rem 0;
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  gap: 6rem;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}

.marquee-content.logos { gap: 8rem; }
.partner-logo { height: 60px; width: auto; object-fit: contain; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── CTA Background ─── */
.cta-section { position: relative; overflow: hidden; }

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.4) grayscale(1);
}

/* ─── Manifesto Section ─── */
.manifesto-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.manifesto-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.manifesto-icon {
  width: 64px; height: 64px;
  color: var(--gold);
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.manifesto-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.manifesto-text {
  font-family: var(--font-body) !important;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.manifesto-text .text-gold { color: var(--gold); font-weight: 600; }
.manifesto-text .text-black-bold { font-weight: 700; letter-spacing: 0.05em; }

.manifesto-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ─── Skeleton Loaders ─── */
.img-skeleton-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.5s linear infinite;
}

.img-skeleton-wrapper img {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.img-skeleton-wrapper.loaded img { opacity: 1; }
.img-skeleton-wrapper.loaded {
  background: none !important;
  animation: none !important;
}

@keyframes skeleton-shine {
  to { background-position-x: -200%; }
}

/* ─── Page Transition ─── */
.page-transition {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 9998;
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.preloader-img {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5rem);
  letter-spacing: 0.2em;
  display: flex;
  gap: 0.2rem;
}

.p-letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
}

.p-red { color: #ef1f1b; }
.p-white { color: #ffffff; }

.preloader-line {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-top: 1rem;
  box-shadow: 0 0 15px var(--gold);
}

/* ─── Marquee Band ─── */
.marquee-band {
  background: #000;
  padding: 2.5rem 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.marquee-dot {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold);
}

/* ─── Organisation Mind Map (Étoile) ─── */
.org-mindmap {
  display: grid;
  gap: 2rem;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

@media (min-width: 1025px) {
  .org-mindmap {
    grid-template-columns: 1fr 340px 1fr;
    grid-template-areas:
      "sat-nw . sat-ne"
      ". center ."
      "sat-sw . sat-se";
    align-items: center;
  }
  .card-center { grid-area: center; z-index: 5; border: 2px solid var(--gold-dark); }
  .sat-nw { grid-area: sat-nw; }
  .sat-ne { grid-area: sat-ne; }
  .sat-sw { grid-area: sat-sw; }
  .sat-se { grid-area: sat-se; }

  .org-mindmap::before, .org-mindmap::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 80%; height: 60%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(185, 15, 12, 0.15);
    pointer-events: none;
    z-index: 0;
  }
  .org-mindmap::before { transform: translate(-50%, -50%) rotate(45deg); border-radius: 40px; }

  .card-sat::before {
    content: "";
    position: absolute;
    width: 60px; height: 1px;
    background: linear-gradient(90deg, var(--gold-dark), transparent);
    z-index: -1;
  }
  .sat-nw::before { bottom: -20px; right: -30px; transform: rotate(35deg); }
  .sat-ne::before { bottom: -20px; left: -30px; transform: rotate(-35deg); background: linear-gradient(-90deg, var(--gold-dark), transparent); }
  .sat-sw::before { top: -20px; right: -30px; transform: rotate(-35deg); }
  .sat-se::before { top: -20px; left: -30px; transform: rotate(35deg); background: linear-gradient(-90deg, var(--gold-dark), transparent); }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .org-mindmap { grid-template-columns: 1fr 1fr; }
  .card-center { grid-column: 1 / -1; justify-self: center; width: 50%; }
}

@media (max-width: 768px) {
  .org-mindmap { grid-template-columns: 1fr; }
  .card-center { order: -1; }
}

.org-card { transition: var(--transition); height: 100%; }
.card-center {
  background: linear-gradient(135deg, #fff, #fefefe);
  box-shadow: var(--shadow-lg);
}
.card-center h4 { font-size: 1.1rem; color: var(--gold-dark); }
.card-sat:hover { border-color: var(--gold); transform: translateY(-5px); }

/* ─── Responsive Award ─── */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 7.6rem; }
  .hero::after { width: min(56vw, 420px); opacity: 0.55; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { max-width: 760px; }
  .about-grid,
  .atouts-layout { grid-template-columns: 1fr; }
  .values-grid,
  .services-grid,
  .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  .container { padding: 0 1.1rem; }
  .navbar { padding: 0.42rem 0; }
  .nav-inner { min-height: 64px; }
  .nav-logo-img { width: 72px !important; height: 56px !important; }

  .hamburger {
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 24, 39, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
  }

  .mobile-menu {
    padding: 6rem 1rem 1rem;
    justify-content: center;
    gap: 1rem;
    background:
      radial-gradient(circle at 18% 12%, rgba(239, 31, 27, 0.12), transparent 18rem),
      rgba(255, 255, 255, 0.96);
  }

  .mobile-menu-panel {
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
  }

  .mobile-menu-links a { font-size: clamp(1.45rem, 7.4vw, 2.05rem); }

  .hero { padding: 7.2rem 0 3.7rem; }
  .hero::after { display: none; }
  .hero-title { max-width: 6ch; font-size: clamp(4rem, 18vw, 6.5rem); }
  .hero-subtitle { font-size: 0.96rem; }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .hero-image-wrapper img,
  .about-image img,
  .atouts-image img { height: clamp(280px, 65vw, 400px); }

  .hero-right > div[style*="grid-template-columns"],
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .values-grid,
  .services-grid,
  .org-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom,
  .footer-bottom-links { justify-content: center; text-align: center; }

  .manifesto-wrapper { flex-direction: column; text-align: center; gap: 1.5rem; }
  .manifesto-section { padding: 4rem 0; }

  .ceo-quote-brand {
    font-size: 2rem;
  }
}

@media (max-width: 520px) {
  body { background-size: auto, auto, 34px 34px, 34px 34px, auto; }
  .section { padding: 3.9rem 0; }
  .display-md { font-size: clamp(2rem, 12vw, 3rem); }
  .hero-badge, .eyebrow { font-size: 0.62rem; letter-spacing: 0.11em; }

  .hero-right > div[style*="grid-template-columns"],
  .stats-row { grid-template-columns: 1fr !important; }

  .hero-stat-card,
  .stat-item { text-align: left; }

  .service-card,
  .value-card,
  .org-card,
  .ceo-quote--premium { padding: 1.35rem; }
}

/* ─── FAQ Accordion ─── */
.faq-grid {
  max-width: 840px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  transition: var(--transition-fast);
}

.faq-icon {
  transition: transform 0.4s var(--ease-out);
  color: var(--gold);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active {
  border-color: rgba(239, 31, 27, 0.25);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; filter: none; transform: none; }
}

/* ─── Pages internes ─── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at var(--spotlight-x, 82%) var(--spotlight-y, 18%), rgba(239, 31, 27, 0.16), transparent 26rem),
    linear-gradient(135deg, #fbfbfa 0%, #f2f4f7 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), transparent 52%),
    repeating-linear-gradient(135deg, rgba(16, 24, 39, 0.035) 0 1px, transparent 1px 22px);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.76fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.page-hero-copy p {
  margin: 1.25rem 0 2rem;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.85;
}

.page-hero-panel,
.recruitment-hero-card,
.contact-quick-panel {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.page-hero-panel img,
.recruitment-hero-card img {
  width: 100%;
  height: clamp(300px, 35vw, 480px);
  object-fit: cover;
}

.hero-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.hero-panel-metrics div {
  padding: 1.25rem;
  border-right: 1px solid rgba(16, 24, 39, 0.08);
}

.hero-panel-metrics div:last-child { border-right: 0; }

.hero-panel-metrics strong,
.contact-card-main a,
.progress-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.045em;
  color: var(--gold-dark);
}

.hero-panel-metrics span,
.contact-card-main span,
.progress-label {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.services-page-grid .service-card { display: flex; flex-direction: column; }

.contact-layout,
.recruitment-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-aside,
.recruitment-sidebar { position: sticky; top: 120px; }

.contact-aside,
.progress-card,
.recruitment-note {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.pro-form {
  padding: clamp(1.3rem, 3vw, 2.25rem);
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 31, 27, 0.09), transparent 22rem),
    #fff;
  box-shadow: var(--shadow-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group,
.choice-group { display: grid; gap: 0.45rem; }

.form-group-full { grid-column: 1 / -1; }

.form-group span,
.choice-group span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select,
.choice-group input,
.choice-group select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font: inherit;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.choice-group input:focus,
.choice-group select:focus {
  border-color: rgba(239, 31, 27, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 31, 27, 0.10);
  background: #fff;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select,
.choice-group.error input,
.choice-group.error select {
  border-color: var(--red-alert);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.10);
}

.alert {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

.alert.show { display: block; }
.alert-success { color: #146c43; background: #d1e7dd; border: 1px solid #badbcc; }
.alert-error   { color: #842029; background: #f8d7da; border: 1px solid #f5c2c7; }
.alert-step    { color: #7a4a00; background: #fff3cd; border: 1px solid #ffecb5; }

.form-submit { margin-top: 1.4rem; }

/* Form feedback overlay */
.form-notifier {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(17, 24, 32, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.form-notifier.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.form-notifier-card {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  position: relative;
  padding: 1.2rem 3.25rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #111820;
  box-shadow: 0 24px 70px rgba(16, 24, 39, 0.22);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s var(--ease-out);
}

.form-notifier.show .form-notifier-card {
  transform: translateY(0) scale(1);
}

.form-notifier-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #198754, #25d366);
  box-shadow: 0 14px 30px rgba(25, 135, 84, 0.28);
}

.form-notifier-icon::before {
  content: "";
  width: 18px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

.form-notifier.error .form-notifier-icon {
  background: linear-gradient(135deg, #c0392b, #ef1f1b);
  box-shadow: 0 14px 30px rgba(239, 31, 27, 0.26);
}

.form-notifier.error .form-notifier-icon::before,
.form-notifier.loading .form-notifier-icon::before {
  content: none;
}

.form-notifier.error .form-notifier-icon::after {
  content: "!";
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.form-notifier.loading .form-notifier-icon {
  background: linear-gradient(135deg, #111820, #344050);
  box-shadow: 0 14px 30px rgba(17, 24, 32, 0.24);
}

.form-notifier.loading .form-notifier-icon::after,
.form-submit.is-loading .btn-icon::before {
  content: "";
  width: 21px;
  height: 21px;
  border: 3px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-spin 0.75s linear infinite;
}

.form-notifier-title {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  color: #111820;
}

.form-notifier-message {
  margin: 0;
  color: #56616f;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: none;
}

.form-notifier-close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  color: #667085;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.form-notifier-close:hover {
  background: #e7ebf0;
  color: #111820;
}

.pro-form.is-submitting {
  position: relative;
}

.pro-form.is-submitting::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.form-submit.is-loading {
  cursor: wait;
  opacity: 0.88;
}

.form-submit.is-loading .btn-icon svg {
  display: none;
}

.form-submit.is-loading .btn-icon {
  min-width: 21px;
  display: inline-grid;
  place-items: center;
}

.preloader.preloader-done {
  display: none;
}

.social-link.social-link-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.24);
}

.social-link.social-link-whatsapp:hover {
  color: #fff;
  border-color: rgba(37, 211, 102, 0.75);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .form-notifier {
    padding: 1rem;
  }

  .form-notifier-card {
    grid-template-columns: 44px 1fr;
    gap: 0.8rem;
    padding: 1rem 2.9rem 1rem 1rem;
    border-radius: 16px;
  }

  .form-notifier-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

/* ==========================================================
   Responsive pages internes - services, contact, recrutement
   ========================================================== */

@media (max-width: 1180px) {
  .page-hero-grid,
  .contact-layout,
  .recruitment-layout,
  .services-showcase-layout,
  .assurance-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero-copy,
  .services-showcase-copy,
  .contact-aside,
  .recruitment-sidebar {
    max-width: 820px;
  }

  .contact-aside,
  .recruitment-sidebar {
    position: static;
  }

  .page-hero-panel,
  .contact-quick-panel,
  .recruitment-hero-card,
  .pro-form {
    width: 100%;
    min-width: 0;
  }

  .services-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assurance-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding: 7rem 0 3.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .display-lg {
    font-size: 3.6rem;
    line-height: 0.98;
  }

  .display-md {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .display-sm {
    font-size: 2rem;
  }

  .page-hero-copy p,
  .services-showcase-copy p,
  .section-header p,
  .contact-aside p,
  .recruitment-note p,
  .progress-card p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-cta,
  .showcase-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-cta .btn,
  .showcase-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .page-hero-panel img,
  .recruitment-hero-card img {
    height: 340px;
  }

  .services-detail-grid,
  .assurance-grid,
  .process-grid,
  .form-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card,
  .assurance-card,
  .process-step,
  .contact-aside,
  .progress-card,
  .recruitment-note,
  .pro-form {
    border-radius: 16px;
  }

  .service-detail-card h3 {
    max-width: none;
    font-size: 2rem;
  }

  .service-detail-top {
    align-items: flex-start;
  }

  .service-kicker {
    white-space: normal;
    text-align: left;
  }

  .contact-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-navigation {
    align-items: stretch;
  }

  .form-navigation .btn {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding-inline: 1rem;
  }

  .page-hero {
    padding: 6.25rem 0 2.75rem;
  }

  .section {
    padding: 3.35rem 0;
  }

  .display-lg {
    font-size: 2.75rem;
    line-height: 1;
  }

  .display-md {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .display-sm {
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.64rem;
    line-height: 1.35;
    padding: 0.42rem 0.75rem;
  }

  .page-hero-grid,
  .contact-layout,
  .recruitment-layout {
    gap: 1.35rem;
  }

  .page-hero-copy p {
    margin: 1rem 0 1.35rem;
  }

  .hero-cta,
  .showcase-actions {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .page-hero-panel,
  .contact-quick-panel,
  .recruitment-hero-card {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .page-hero-panel img,
  .recruitment-hero-card img {
    height: 235px;
  }

  .hero-panel-metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(16, 24, 39, 0.08);
    padding: 1rem;
  }

  .hero-panel-metrics div:last-child {
    border-bottom: 0;
  }

  .service-hero-highlights,
  .service-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-hero-highlights span,
  .service-tags span {
    justify-content: flex-start;
    width: 100%;
  }

  .services-detail-grid,
  .assurance-grid,
  .process-grid,
  .contact-mini-grid,
  .form-grid,
  .question-grid,
  .form-stepper {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-detail-card,
  .assurance-card,
  .process-step,
  .contact-aside,
  .progress-card,
  .recruitment-note,
  .pro-form {
    padding: 1.05rem;
    border-radius: 14px;
  }

  .service-detail-card::before {
    top: 0.75rem;
    right: 0.85rem;
    font-size: 4rem;
  }

  .service-detail-top {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .service-detail-card h3,
  .process-step h3,
  .assurance-card h3 {
    font-size: 1.65rem;
  }

  .service-detail-card p,
  .service-points li,
  .contact-checklist li,
  .process-step p,
  .assurance-card p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .contact-card-main {
    padding: 1.1rem;
  }

  .contact-card-main a {
    font-size: 1.85rem;
    overflow-wrap: anywhere;
  }

  .contact-mini-card {
    min-height: auto;
    padding: 1rem;
  }

  .form-section {
    padding: 0.85rem;
  }

  .form-section legend {
    font-size: 1.35rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select,
  .choice-group input,
  .choice-group select {
    min-height: 50px;
    padding: 0.82rem 0.9rem;
    font-size: 1rem;
  }

  .upload-dropzone {
    min-height: 142px;
    padding: 1rem;
  }

  .stepper-item {
    min-height: 76px;
    padding: 0.8rem;
  }

  .stepper-item strong {
    padding-bottom: 0.45rem;
    font-size: 0.74rem;
  }

  .form-navigation {
    flex-direction: column-reverse;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .form-navigation .btn,
  .form-submit {
    width: 100%;
  }

  .form-navigation.is-first .form-prev {
    display: none;
  }

  .faq-grid {
    margin-top: 1.5rem;
  }

  .faq-question {
    gap: 1rem;
    padding: 1rem;
    font-size: 0.92rem;
  }

  .faq-answer-inner {
    padding: 0 1rem 1rem;
  }

  .cta-section .display-lg {
    font-size: 2.35rem;
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 0.85rem;
  }

  .display-lg {
    font-size: 2.35rem;
  }

  .display-md {
    font-size: 1.9rem;
  }

  .page-hero-panel img,
  .recruitment-hero-card img {
    height: 205px;
  }

  .contact-card-main a {
    font-size: 1.55rem;
  }

  .form-notifier-card {
    grid-template-columns: 1fr;
    padding-right: 2.85rem;
  }
}

/* ==========================================================
   SECURMAX CAMPUS — Badge accueil, Loader dédié & Page Campus
   ========================================================== */

/* ─── Accueil : titre + badge logo Campus cliquable ─── */
.hero-heading-row {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.25rem);
  flex-wrap: wrap;
}

.hero-heading-row .hero-title {
  margin-bottom: 0;
}

.hero-campus-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 0.95rem 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 24, 39, 0.10);
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 31, 27, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: var(--transition);
  flex: 0 0 auto;
}

.hero-campus-badge:hover,
.hero-campus-badge:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(239, 31, 27, 0.30);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.hero-campus-badge-shine {
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-out);
}

.hero-campus-badge:hover .hero-campus-badge-shine {
  left: 150%;
}

.hero-campus-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(239, 31, 27, 0.10);
  border: 1px solid rgba(239, 31, 27, 0.20);
}

.hero-campus-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero-campus-badge-img {
  width: clamp(96px, 10vw, 132px);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(16, 24, 39, 0.16));
  transition: transform 0.5s var(--ease-out);
}

.hero-campus-badge:hover .hero-campus-badge-img {
  transform: scale(1.04);
}

.hero-campus-badge-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.hero-campus-badge-cta svg {
  width: 11px;
  height: 11px;
  color: var(--gold-dark);
  transition: var(--transition-fast);
}

.hero-campus-badge:hover .hero-campus-badge-cta svg {
  transform: translate(2px, -2px);
}

/* ─── Loader dédié à la page Campus (logo Campus uniquement) ─── */
.preloader--campus {
  background:
    radial-gradient(circle at 50% 40%, rgba(239, 31, 27, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f3f4f6);
}

.preloader-campus-img {
  width: clamp(190px, 42vw, 290px);
  filter: drop-shadow(0 20px 45px rgba(16, 24, 39, 0.18));
}

.preloader--campus .preloader-line {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(239, 31, 27, 0.55);
}

/* ─── Page Campus : carte logo du hero ─── */
.campus-hero-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 24, 39, 0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(239, 31, 27, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 250, 0.86));
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.campus-hero-scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -40%;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(239, 31, 27, 0.10), transparent);
  animation: securmax-scan 6s ease-in-out infinite;
}

.campus-hero-logo-img {
  width: clamp(200px, 26vw, 320px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(16, 24, 39, 0.16));
}

.campus-hero-tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.campus-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(16, 24, 39, 0.08);
}

.campus-hero-metrics div {
  text-align: center;
  padding: 0 0.4rem;
  border-right: 1px solid rgba(16, 24, 39, 0.08);
}

.campus-hero-metrics div:last-child {
  border-right: 0;
}

.campus-hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
}

.campus-hero-metrics span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Page Campus : grilles ─── */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.campus-grid--values {
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
}

.campus-grid .value-card {
  text-align: left;
}

/* ─── Page Campus : encart mission ─── */
.campus-mission {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(239, 31, 27, 0.16);
  background:
    radial-gradient(circle at 0% 0%, rgba(239, 31, 27, 0.10), transparent 42%),
    linear-gradient(180deg, #ffffff, #f6f8fa);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 39, 0.05), var(--shadow-sm);
}

.campus-mission-icon {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(239, 31, 27, 0.14), rgba(239, 31, 27, 0.04));
  box-shadow: inset 0 0 0 1px rgba(239, 31, 27, 0.10);
}

.campus-mission-icon svg {
  width: 30px;
  height: 30px;
}

.campus-mission-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.campus-mission-text {
  margin: 0;
  max-width: none;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-dark);
}

.campus-mission-text strong {
  color: var(--gold-dark);
}

/* ─── Menu mobile : 5e lien (Campus) ─── */
.mobile-menu.open .mobile-menu-links a:nth-child(5) {
  transition-delay: 0.21s;
}

/* ─── Responsive Campus ─── */
@media (max-width: 1024px) {
  .campus-hero-logo-card {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-heading-row {
    gap: 1rem;
    align-items: center;
  }

  .hero-campus-badge {
    padding: 0.7rem 0.75rem;
    margin-left: 1cm;
  }

  .hero-campus-badge-img {
    width: clamp(84px, 24vw, 118px);
  }

  .campus-mission {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .hero-campus-badge-cta {
    display: none;
  }

  .hero-campus-badge-img {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campus-hero-scan,
  .hero-campus-badge-dot {
    animation: none;
  }

  .hero-campus-badge-shine {
    display: none;
  }
}
