/* =========================================================
   SAM.SECURITE.ERP — Feuille de styles principale
   Palette : Rouge #C0392B · Navy #1A2E4A · Orange #E67E22
   Polices : Montserrat (titres) · Open Sans (corps)
========================================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C0392B;
  --red-dark:   #962d22;
  --red-light:  #e84c3d;
  --navy:       #1A2E4A;
  --navy-light: #253d61;
  --grey-bg:    #F4F6F8;
  --grey-dark:  #2C3E50;
  --grey-mid:   #6c7a89;
  --grey-light: #d5dce6;
  --orange:     #E67E22;
  --orange-dark:#d06b12;
  --white:      #FFFFFF;
  --green:      #27AE60;
  --shadow-sm:  0 2px 8px rgba(26,46,74,.08);
  --shadow-md:  0 4px 24px rgba(26,46,74,.12);
  --shadow-lg:  0 8px 48px rgba(26,46,74,.16);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --transition: .25s ease;
  --max-width:  1200px;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ---- TYPOGRAPHIE ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--navy); }

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(192,57,43,.3);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(192,57,43,.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline-dark:hover {
  background: var(--red);
  color: var(--white);
}

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- LOGO ---- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.5px;
}
.logo__tagline {
  font-size: .68rem;
  color: rgba(255,255,255,.7);
  font-weight: 400;
  letter-spacing: .3px;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo--light .logo__name { color: var(--navy); }
.logo--light .logo__tagline { color: var(--grey-mid); }

/* =========================================================
   HEADER
========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: background var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header.scrolled { background: rgba(26,46,74,.97); backdrop-filter: blur(8px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover, .nav__link.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.nav__link--cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--red-dark) !important; }
.nav__link--active {
  color: var(--orange) !important;
  font-weight: 700;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #0f1e30 55%, #1e0a08 100%);
  padding: 100px 0 120px;
  overflow: hidden;
  color: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(192,57,43,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(230,126,34,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .3px;
}
.hero__title {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero__title--accent { color: var(--red-light); }
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; }

/* =========================================================
   STATS
========================================================= */
.stats {
  background: var(--grey-bg);
  padding: 60px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card__number {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat-card__unit {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.stat-card__label {
  font-size: .82rem;
  color: var(--grey-mid);
  line-height: 1.4;
}

/* =========================================================
   ALERT BAND
========================================================= */
.alert-band {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
  color: var(--white);
  padding: 14px 0;
}
.alert-band .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .9rem;
}
.alert-band a { color: var(--white); font-weight: 700; text-decoration: underline; margin-left: 8px; }
.alert-band a:hover { opacity: .85; }

/* =========================================================
   SECTION COMMONS
========================================================= */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,.08);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section__title { margin-bottom: 16px; }
.section__lead { color: var(--grey-mid); font-size: 1.05rem; line-height: 1.7; }

/* =========================================================
   SERVICES
========================================================= */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card--featured {
  border-color: var(--red);
  background: linear-gradient(135deg, #fdf8f7 0%, #fff5f4 100%);
  box-shadow: var(--shadow-sm);
}
.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon--info    { background: rgba(26,46,74,.08); color: var(--navy); }
.service-card__icon--conseil { background: rgba(230,126,34,.1); color: var(--orange-dark); }
.service-card__icon--audit   { background: rgba(192,57,43,.08); color: var(--red); }
.service-card__icon--formation { background: rgba(39,174,96,.1); color: #219A52; }

.service-card__title { margin-bottom: 12px; color: var(--navy); }
.service-card__text  { color: var(--grey-mid); margin-bottom: 16px; font-size: .95rem; }
.service-card__list  {
  list-style: none;
  margin-bottom: 20px;
}
.service-card__list li {
  padding: 4px 0 4px 22px;
  position: relative;
  font-size: .9rem;
  color: var(--grey-dark);
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  opacity: .7;
}
.service-card__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card__link:hover { gap: 8px; }
.services__cta { text-align: center; margin-top: 48px; }

/* =========================================================
   PROCESSUS
========================================================= */
.process { background: var(--grey-bg); }
.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.process__step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.process__step-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(192,57,43,.15);
  line-height: 1;
  margin-bottom: 12px;
}
.process__step-title { color: var(--navy); margin-bottom: 10px; font-size: 1rem; }
.process__step p { color: var(--grey-mid); font-size: .9rem; margin: 0; }
.process__arrow {
  font-size: 1.8rem;
  color: var(--grey-light);
  padding-top: 40px;
  flex-shrink: 0;
}

/* =========================================================
   SECTEURS
========================================================= */
.secteurs { background: var(--white); }
.secteurs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.secteur-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.secteur-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  color: inherit;
}
.secteur-card__icon {
  width: 52px;
  height: 52px;
  background: var(--grey-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.secteur-card:hover .secteur-card__icon {
  background: rgba(192,57,43,.08);
  color: var(--red);
}
.secteur-card__title { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.secteur-card__subtitle { font-size: .82rem; color: var(--grey-mid); margin-bottom: 16px; line-height: 1.5; }
.secteur-card__link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
}

/* =========================================================
   RÉGLEMENTATION
========================================================= */
.reglementation { background: var(--grey-bg); }
.reglem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.reglem__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.reglem__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.reglem__card-icon { font-size: 1.5rem; }
.reglem__card h3 { color: var(--navy); margin-bottom: 0; }
.reglem__card p { color: var(--grey-mid); font-size: .93rem; margin-bottom: 14px; }
.reglem__card ul { list-style: none; }
.reglem__card ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: .88rem;
  color: var(--grey-dark);
}
.reglem__card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.reglem__table { border: 1px solid var(--grey-light); border-radius: var(--radius-sm); overflow: hidden; }
.reglem__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: .88rem;
  border-bottom: 1px solid var(--grey-light);
  gap: 8px;
}
.reglem__row:last-child { border-bottom: none; }
.reglem__row--header {
  background: var(--grey-bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.badge--required    { background: rgba(192,57,43,.1); color: var(--red); }
.badge--recommended { background: rgba(230,126,34,.1); color: var(--orange-dark); }

/* =========================================================
   BLOG
========================================================= */
.blog { background: var(--white); }
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card__img {
  background: var(--grey-bg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__content { padding: 24px; }
.blog-card__tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,.08);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.blog-card__title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card__title a { color: var(--navy); }
.blog-card__title a:hover { color: var(--red); }
.blog-card__excerpt { font-size: .88rem; color: var(--grey-mid); margin-bottom: 16px; line-height: 1.6; }
.blog-card__link {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
}
.blog__cta { text-align: center; margin-top: 40px; }
.blog__cta .btn--outline { color: var(--red); border-color: var(--red); }
.blog__cta .btn--outline:hover { background: var(--red); color: var(--white); }

/* =========================================================
   À PROPOS
========================================================= */
.about {
  background: linear-gradient(135deg, var(--navy) 0%, #0f1e30 100%);
  color: var(--white);
}
.about .section__tag { color: var(--orange); background: rgba(230,126,34,.15); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.about__avatar {
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__badge-group { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.about__cert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.about__content .section__title { color: var(--white); }
.about__content p { color: rgba(255,255,255,.78); font-size: .97rem; margin-bottom: 14px; }
.about__content strong { color: var(--white); }
.about__values { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.about__value {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: rgba(255,255,255,.8);
}
.about__value svg { flex-shrink: 0; margin-top: 2px; }
.about__value strong { color: var(--white); }

/* =========================================================
   FAQ
========================================================= */
.faq { background: var(--grey-bg); }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item:focus-within, .faq__item.open { border-color: var(--red); }
.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: .97rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--red); }
.faq__icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 20px; }
.faq__answer p { color: var(--grey-mid); font-size: .93rem; margin: 0; }

/* =========================================================
   CONTACT
========================================================= */
.contact { background: var(--white); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact__info .section__title { margin-bottom: 16px; }
.contact__info > p { color: var(--grey-mid); margin-bottom: 32px; }
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact__detail div { display: flex; flex-direction: column; }
.contact__detail strong { font-family: var(--font-head); font-size: .85rem; color: var(--navy); }
.contact__detail span  { font-size: .9rem; color: var(--grey-mid); }

/* Form */
.contact__form-wrapper {
  background: var(--grey-bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid var(--grey-light);
}
.contact__form-title {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--grey-light);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form__group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.form__label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  display: flex;
  gap: 3px;
}
.form__label span { color: var(--red); }
.form__label-check {
  font-size: .82rem;
  color: var(--grey-mid);
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
}
.form__label-check a { color: var(--red); }
.form__input {
  padding: 11px 14px;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--grey-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.form__input.error { border-color: var(--red); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 100px; }
.form__checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.form__error {
  font-size: .78rem;
  color: var(--red);
  margin-top: 4px;
  min-height: 1em;
}
.form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(39,174,96,.08);
  border: 2px solid rgba(39,174,96,.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--green);
  font-weight: 600;
  font-size: .93rem;
  margin-top: 16px;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer__nav { display: contents; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: var(--white); }

/* =========================================================
   BACK TO TOP
========================================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(192,57,43,.4);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  opacity: 0;
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; grid-column: 1 / -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .secteurs__grid { grid-template-columns: repeat(2, 1fr); }
  .reglem__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { flex-direction: row; justify-content: flex-start; align-items: center; }
  .about__badge-group { flex-direction: row; }
  .process__steps { flex-wrap: wrap; }
  .process__arrow { display: none; }
  .process__step { min-width: calc(50% - 8px); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
  }
  .nav.open { display: flex; flex-direction: column; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-size: 1.05rem; padding: 12px 16px; }
  .nav__link--cta { text-align: center; border-radius: var(--radius-sm); margin-left: 0; margin-top: 8px; }
  .nav__burger { display: flex; }

  .hero { padding: 72px 0 100px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; gap: 10px; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-card__number { font-size: 2.4rem; }

  .services__grid { grid-template-columns: 1fr; }
  .secteurs__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .reglem__grid { grid-template-columns: 1fr; }
  .process__step { min-width: 100%; }

  .contact__form-wrapper { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }

  .about__visual { flex-direction: column; }
  .about__badge-group { flex-direction: column; width: 100%; max-width: 320px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats__grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .back-to-top { bottom: 16px; right: 16px; }
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp .5s ease forwards;
}
.animate-delay-1 { animation-delay: .1s; opacity: 0; }
.animate-delay-2 { animation-delay: .2s; opacity: 0; }
.animate-delay-3 { animation-delay: .3s; opacity: 0; }
.animate-delay-4 { animation-delay: .4s; opacity: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
