/* ============================================
   RG SÉCURITÉ — Design System
   Sécurité · Conseil · Audit
   ============================================ */

:root {
  /* Palette */
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-card: #1A1A1A;
  --grey-900: #222222;
  --grey-700: #3A3A3A;
  --grey-500: #6B6B6B;
  --grey-300: #B0B0B0;
  --grey-100: #E8E8E8;
  --off-white: #F5F5F0;
  --white: #FFFFFF;

  --gold: #C9A961;
  --gold-light: #E0C988;
  --gold-dark: #A8884A;

  /* Typo */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements */
  --container: 1280px;
  --container-narrow: 960px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-100);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul { list-style: none; }

/* ============================================
   TYPOGRAPHIE
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }

p { color: var(--grey-300); }

.lead {
  font-size: 1.15rem;
  color: var(--grey-100);
  line-height: 1.55;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--grey-900);
  border-color: var(--grey-900);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 0.95rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s var(--ease);
}

.site-header.scrolled { padding: 0.85rem 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo img { height: 52px; width: auto; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-100);
  position: relative;
  padding: 0.25rem 0;
}
.nav-main a:hover { color: var(--gold); }
.nav-main a.active { color: var(--gold); }
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}
.header-phone:hover { color: var(--gold); }
.header-phone svg { width: 16px; height: 16px; }

.menu-toggle { display: none; }

@media (max-width: 1024px) {
  .nav-main, .header-cta .btn { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 22px;
    justify-content: center;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease);
  }
  .mobile-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .mobile-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu-open .nav-main {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    padding: 3rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .mobile-menu-open .nav-main a { font-size: 1.4rem; font-family: var(--font-serif); }
  .mobile-menu-open .header-cta .btn { display: inline-flex; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.7) 60%, rgba(10, 10, 10, 0.95) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero h1 .accent {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--grey-100);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
}

.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--grey-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero-stat .num { font-size: 1.75rem; }
  .hero-actions .btn { flex: 1; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-head.left { text-align: left; margin-left: 0; }

.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; }

/* ============================================
   SERVICES
   ============================================ */

.services {
  background: var(--black);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.service-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  border-color: rgba(201, 169, 97, 0.25);
  transform: translateY(-4px);
  background: linear-gradient(180deg, var(--black-card) 0%, var(--black-soft) 100%);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.service-card p {
  flex: 1;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
}
.service-card .link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .link svg { transform: translateX(4px); }

/* ============================================
   RECRUIT CTA (page d'accueil)
   ============================================ */

.recruit-cta {
  background: var(--black-soft);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.recruit-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.recruit-cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .recruit-cta { padding: 4rem 0; }
  .recruit-cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.recruit-cta-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background: var(--black);
  border: 1px solid rgba(201, 169, 97, 0.18);
}
.recruit-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}
.recruit-cta-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%),
    linear-gradient(135deg, rgba(10,10,10,0.4) 0%, transparent 50%);
  z-index: 1;
}
.recruit-cta-visual .badge-floating {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 169, 97, 0.95);
  color: var(--black);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.recruit-cta-visual .badge-floating::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  animation: pulse 2s ease-in-out infinite;
}
.recruit-cta-visual .caption {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  z-index: 2;
  color: var(--white);
}
.recruit-cta-visual .caption .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}
.recruit-cta-visual .caption h3 {
  font-size: 1.4rem;
  color: var(--white);
}

.recruit-cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.recruit-cta-text .eyebrow { margin-bottom: 1.25rem; }
.recruit-cta-text h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}
.recruit-cta-text > p {
  font-size: 1.05rem;
  color: var(--grey-100);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.recruit-perks {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}
.recruit-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--grey-100);
  padding: 0.5rem 0;
}
.recruit-perks li svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.recruit-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   PILLARS / VALEURS
   ============================================ */

.pillars {
  background: var(--off-white);
  color: var(--black);
}

.pillars h2, .pillars h3 { color: var(--black); }
.pillars p { color: var(--grey-700); }

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

@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.pillar {
  text-align: center;
  padding: 1rem;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ============================================
   ABOUT TEASER
   ============================================ */

.about-teaser {
  background: var(--black);
  position: relative;
}

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

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; font-size: 1.05rem; }

.about-sign {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.about-sign .name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.about-sign .role {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-card);
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201, 169, 97, 0.15) 100%);
  z-index: 1;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 97, 0.2);
  z-index: 2;
}
.about-badge .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.about-badge .label {
  font-size: 0.8rem;
  color: var(--grey-100);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   ZONES D'INTERVENTION
   ============================================ */

.zones {
  background: var(--black-soft);
  text-align: center;
}

.zones-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.zone-chip {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--grey-100);
  transition: all 0.3s var(--ease);
}
.zone-chip:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
  background: linear-gradient(135deg, var(--black) 0%, var(--grey-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 { margin-bottom: 1.5rem; }
.cta-content p { font-size: 1.15rem; margin-bottom: 2.5rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: #050505;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img { height: 64px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col a {
  font-size: 0.92rem;
  color: var(--grey-300);
}
.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--grey-300);
  margin-bottom: 0.85rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--grey-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom .legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-bottom .legal a { color: var(--grey-300); }
.footer-bottom .legal a:hover { color: var(--gold); }

.footer-bottom .legal .credit {
  color: var(--grey-500);
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom .legal .credit a {
  color: var(--gold);
  font-weight: 500;
}
.footer-bottom .legal .credit a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom .legal { justify-content: flex-start; gap: 1rem; }
  .footer-bottom .legal .credit { padding-left: 0; border-left: none; width: 100%; }
}

.cnaps {
  font-size: 0.75rem;
  color: var(--grey-500);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ============================================
   PAGE HEADER (autres pages)
   ============================================ */

.page-header {
  padding: 11rem 0 5rem;
  background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.page-header .eyebrow { margin-bottom: 1.25rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--grey-500);
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--grey-700); }

/* ============================================
   FORMULAIRE
   ============================================ */

.form-wrap {
  background: var(--black-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) { .form-wrap { padding: 2rem 1.5rem; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label, .form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-100);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-row input,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--black-soft);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--grey-300);
  margin-bottom: 1.5rem;
}
.form-check input { margin-top: 3px; }

.form-submit { width: 100%; }

/* ============================================
   CONTENU LÉGAL / TEXTE LONG
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}
.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--grey-300);
}
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--gold); text-decoration: underline; }

/* ============================================
   SERVICE DETAIL
   ============================================ */

.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .service-detail { grid-template-columns: 1fr; gap: 3rem; }
}

.service-detail-text h2 { margin-bottom: 1.5rem; }
.service-detail-text p { margin-bottom: 1.25rem; font-size: 1.05rem; }

.service-features {
  background: var(--black-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-features h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.service-features ul { display: flex; flex-direction: column; gap: 1rem; }

.service-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--grey-100);
  font-size: 0.95rem;
  line-height: 1.5;
}
.service-features li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
}

/* ============================================
   GHL FORM EMBED — intégration charte
   ============================================ */

.ghl-form-wrap {
  background: var(--black-card);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 920px;
  margin: 0 auto;
}

/* Bandeau d'en-tête doré pour faire la transition site sombre → formulaire blanc */
.ghl-form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  position: relative;
}
.ghl-form-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201, 169, 97, 0) 100%);
}
.ghl-form-header svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.ghl-form-header h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.ghl-form-header .badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--grey-300);
  letter-spacing: 0.06em;
}
.ghl-form-header .badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.ghl-form-wrap iframe {
  display: block;
  width: 100%;
  height: 720px;          /* hauteur stable — le script form_embed.js la remplace via style inline */
  border: none;
  background: var(--white);
}
.ghl-form-wrap.recruitment iframe { height: 880px; }

@media (max-width: 600px) {
  .ghl-form-wrap iframe { height: 820px; }
  .ghl-form-wrap.recruitment iframe { height: 1100px; }
  .ghl-form-header { padding: 0.85rem 1.1rem; }
  .ghl-form-header h4 { font-size: 0.78rem; }
}

/* ============================================
   BLOG / CONSEILS
   ============================================ */

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.blog-filter button {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--grey-100);
  background: transparent;
  transition: all 0.25s var(--ease);
}
.blog-filter button:hover {
  border-color: rgba(201, 169, 97, 0.5);
  color: var(--gold);
}
.blog-filter button.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Article en vedette */
.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--black-card);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
  transition: all 0.3s var(--ease);
}
.featured-article:hover {
  border-color: rgba(201, 169, 97, 0.4);
  transform: translateY(-3px);
}
@media (max-width: 960px) { .featured-article { grid-template-columns: 1fr; } }

.featured-article .visual {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, #1f1a12 0%, #0a0a0a 60%, #1a1207 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-article .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,169,97,0.18) 0%, transparent 60%);
}
.featured-article .visual-icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  color: var(--gold);
  opacity: 0.85;
}

.featured-article .body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 600px) { .featured-article .body { padding: 1.75rem; } }

.featured-article .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.featured-article .featured-badge::before {
  content: '★';
  font-size: 0.9rem;
}

.featured-article h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.featured-article .excerpt {
  font-size: 1rem;
  color: var(--grey-300);
  margin-bottom: 1.5rem;
}

/* Grille articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.article-card:hover {
  border-color: rgba(201, 169, 97, 0.25);
  transform: translateY(-4px);
}

.article-card .visual {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--black-soft) 0%, var(--black) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.article-card .visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,169,97,0.12) 0%, transparent 65%);
}
.article-card .visual-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  color: var(--gold);
  opacity: 0.7;
}

.article-card .body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--grey-500);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.article-category {
  color: var(--gold);
  font-weight: 600;
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--grey-700);
}

.article-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  flex: 1;
}

.article-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--grey-500);
  margin-top: auto;
}
.article-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.coming-soon-notice {
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--grey-100);
}
.coming-soon-notice svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.8s var(--ease) both; }
.fade-up.d2 { animation-delay: 0.15s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.45s; }
