/* ST Services Informatique */

/* Variables */
:root {
  --marine: #0A192F;
  --marine-clair: #14304f;
  --orange: #FF6B35;
  --orange-hover: #e2551f;
  --texte: #33404d;
  --texte-clair: #64748b;
  --fond: #ffffff;
  --fond-alt: #f6f8fb;
  --fond-carte: #ffffff;
  --titre: var(--marine);
  --marine-bloc: var(--marine);
  --bordure: #e2e8f0;
  --ombre: 0 8px 24px rgba(10, 25, 47, 0.08);
  --ombre-forte: 0 14px 34px rgba(10, 25, 47, 0.14);
  --rayon: 14px;
  --rayon-petit: 8px;
  --transition: 0.2s ease;
  --largeur-max: 1140px;

  --texture-dot: rgba(10, 25, 47, 0.05);
  --texture-on-dark: rgba(255, 255, 255, 0.05);

  --police-titre: 'Space Grotesk', 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
  :root {
    --texte: #C7CDD6;
    --texte-clair: #8B93A0;
    --fond: #14181D;
    --fond-alt: #1A1F26;
    --fond-carte: #20262E;
    --bordure: #313944;
    --titre: #F5F7FA;
    --orange-hover: #FF7A47;
    --marine-bloc: #12151A;
    --ombre: 0 8px 24px rgba(0, 0, 0, 0.45);
    --ombre-forte: 0 14px 34px rgba(0, 0, 0, 0.55);
    --texture-dot: rgba(255, 255, 255, 0.045);
  }
  #formStatus.ok { background: rgba(34, 197, 94, 0.16); color: #6EE7A0; }
  #formStatus.err { background: rgba(239, 68, 68, 0.16); color: #FCA5A5; }

  .step-number {
    background: var(--marine-clair);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 6px 16px rgba(0, 0, 0, 0.35);
  }

  .about-avatar {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  #scrollTopBtn {
    background: var(--marine-clair);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), var(--ombre);
  }
}

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

html { scroll-behavior: smooth; background: var(--fond); }

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

.js .reveal:nth-child(2) { transition-delay: 0.05s; }
.js .reveal:nth-child(3) { transition-delay: 0.1s; }
.js .reveal:nth-child(4) { transition-delay: 0.15s; }
.js .reveal:nth-child(5) { transition-delay: 0.2s; }
.js .reveal:nth-child(6) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  color: var(--titre);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 34px); }
h3 { font-size: clamp(19px, 2.6vw, 22px); }

p { max-width: 68ch; }

body { cursor: default; }
a[href], button, [role="button"], summary, select, label[for] { cursor: pointer; }
input, textarea { cursor: text; }

.container {
  width: 100%;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 24px; }
#services, #apropos, #faq, #contact { scroll-margin-top: 84px; }
section > * { max-width: var(--largeur-max); margin-left: auto; margin-right: auto; }

.bg-alt {
  background: var(--fond-alt);
  position: relative;
  isolation: isolate;
}
.bg-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--texture-dot);
  pointer-events: none;
  z-index: -1;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--titre); border-color: var(--bordure); }
.btn-outline:hover { border-color: var(--titre); background: var(--fond-alt); }
.btn-white { background: #fff; color: var(--marine); }

.btn-white:hover { background: #e7ebf1; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* En-tête */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--fond-carte);
  border-bottom: 1px solid var(--bordure);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--titre);
  flex-shrink: 0;
}
.logo i { color: var(--orange); }
.logo span { color: var(--orange); }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-link {
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--texte);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--fond-alt); color: var(--titre); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--titre);
  padding: 10px 16px;
  border: 2px solid var(--bordure);
  border-radius: 50px;
  transition: var(--transition);
}
.header-phone i { color: var(--orange); }
.header-phone:hover { border-color: var(--orange); }

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid var(--bordure);
  border-radius: 50%;
  font-size: 20px;
  color: var(--titre);
  padding: 8px;
}

@media (max-width: 920px) {
  .mobile-menu-btn { display: flex; }
  nav.nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--fond-carte);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    overflow-y: auto;
  }
  nav.nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 16px; text-align: center; font-size: 18px; border-bottom: 1px solid var(--bordure); border-radius: 0; }
  .header-phone span { display: none; }
}

/* Hero */
.hero {
  padding: 76px 24px 64px;
  background: linear-gradient(180deg, var(--fond-alt) 0%, var(--fond) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--texture-dot);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  max-width: var(--largeur-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
}
.hero-content { text-align: left; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange-hover);
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 { max-width: 15ch; margin: 0 0 20px; }
.hero p.lead { max-width: 48ch; margin: 0 0 34px; font-size: 19px; color: var(--texte-clair); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero h1 { max-width: 16ch; margin: 0 auto 20px; }
  .hero p.lead { max-width: 56ch; margin: 0 auto 34px; }
  .hero-visual { order: 2; margin-top: 12px; }
  .hero-visual svg { max-width: 300px; }
}

/* Bandeau sous le hero */

.reassurance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: calc(100% - 48px);
  max-width: var(--largeur-max);
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  overflow: hidden;
}
.reassurance-item {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid var(--bordure);
}
.reassurance-item:first-child { border-left: none; }
@media (max-width: 860px) {
  .reassurance { grid-template-columns: 1fr; }
  .reassurance-item { border-left: none; border-top: 1px solid var(--bordure); }
  .reassurance-item:first-child { border-top: none; }
}
.reassurance-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reassurance-icon i { color: var(--orange); font-size: 19px; }
.reassurance-item span {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--titre);

  text-wrap: balance;
}

/* Titres de section */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { margin: 0 auto; color: var(--texte-clair); font-size: 17px; }
.section-tag {
  display: inline-block;
  color: var(--orange-hover);
  font-family: var(--police-titre);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  font-size: 18px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .section-tag { font-size: 15.5px; }
}

/* Comment ça marche */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  position: relative;
  isolation: isolate;
}
@media (min-width: 760px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 24px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 0;
    border-top: 2px dashed var(--bordure);
    z-index: -1;
  }
}
.step { text-align: center; padding: 0 12px; }
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--marine);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { margin: 0 auto; color: var(--texte-clair); font-size: 15.5px; }

/* Services */
.service-group { margin-bottom: 44px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 20px;
}
.service-group-title i {
  width: 46px; height: 46px;
  background: rgba(255, 107, 53, 0.13);
  color: var(--orange);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.service-group-title i svg { height: 18px; width: auto; fill: currentColor; display: block; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
}

.pricing-grid .price-card:hover { box-shadow: var(--ombre-forte); border-color: transparent; transform: translateY(-3px); }
.price-card h4 { font-size: 18px; color: var(--titre); }

.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
}
.price-card p.desc { font-size: 15px; color: var(--texte-clair); flex-grow: 1; margin: 0; }
.price-card .btn { margin-top: 6px; align-self: flex-start; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }
.card-actions .btn { margin-top: 0; }
.card-more { color: var(--orange-hover); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.card-more i { font-size: 13px; transition: transform var(--transition); }
.card-more:hover i, .card-more:focus-visible i { transform: translateX(3px); }
.card-more:hover { text-decoration: underline; }

/* À propos */
.about-wrap {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: flex-start;
}
.about-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.about-avatar {
  width: 140px; height: 140px;
  border-radius: 36px;
  background: radial-gradient(circle at 28% 22%, var(--marine-clair) 0%, var(--marine) 55%, #061225 100%);
  box-shadow: 0 16px 32px rgba(10, 25, 47, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}

.about-text h3 { margin-bottom: 10px; }
.about-role { color: var(--orange-hover); font-weight: 600; margin-bottom: 14px; font-size: 15px; }
.about-text p { color: var(--texte); margin-bottom: 14px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.about-badge {
  background: var(--fond-alt);
  border: 1px solid var(--bordure);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  color: var(--titre);
  font-weight: 500;
}
.about-badge i { color: var(--orange); }

@media (max-width: 600px) {
  .about-wrap { grid-template-columns: 1fr; text-align: center; }
  .about-avatar-wrap { margin: 0 auto; }
  .about-badges { justify-content: center; }
}

/* FAQ */

.faq-list { display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; counter-reset: faq; }
.faq-item { border-top: 1px solid var(--bordure); }
.faq-item:first-child { border-top: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--police-titre);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--titre);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--orange-hover); }
.faq-question::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  font-family: var(--police-titre);
  font-size: 13px;
  font-weight: 700;
  color: var(--texte-clair);
  opacity: 0.55;
  flex-shrink: 0;
  width: 26px;
}
.faq-question span { flex: 1; }
.faq-question .chevron { color: var(--orange); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.active .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 2px 22px 44px; color: var(--texte-clair); font-size: 15.5px; max-width: none; }
.faq-item.active .faq-answer { max-height: 400px; }

/* Contact */
.contact-wrap {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact-card {
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-card i {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-card > div { min-width: 0; }
.contact-card strong { display: block; color: var(--titre); font-size: 15px; }
.contact-card span { color: var(--texte-clair); font-size: 15px; overflow-wrap: break-word; }

a.contact-card {
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-info a.contact-card:hover,
.contact-info a.contact-card:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 107, 53, 0.06);
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.1);
  transform: translateY(-2px);
}
.contact-info a.contact-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact-info a.contact-card:hover strong, .contact-info a.contact-card:hover .value,
.contact-info a.contact-card:focus-visible strong, .contact-info a.contact-card:focus-visible .value {
  color: var(--orange);
}
.contact-info a.contact-card:hover i, .contact-info a.contact-card:focus-visible i {
  background: var(--orange);
  color: #fff;
}

.map-embed { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bordure); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.map-placeholder {
  height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  background: var(--fond-carte);
}
.map-placeholder > i { color: var(--orange); font-size: 26px; }
.map-placeholder p { margin: 0; font-weight: 600; color: var(--titre); font-size: 15px; }
.map-placeholder .btn { padding: 10px 22px; font-size: 15px; }
.map-placeholder small { color: var(--texte-clair); font-size: 12.5px; max-width: 34ch; line-height: 1.4; }
.map-link { color: var(--orange-hover); font-weight: 600; text-decoration: underline; }

.contact-form {
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14.5px; color: var(--titre); margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--bordure);
  border-radius: var(--rayon-petit);
  font-family: inherit;
  font-size: 15.5px;
  color: var(--texte);
  transition: var(--transition);
  background: var(--fond-carte);
}
.form-control:focus { border-color: var(--orange); outline: none; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-control option { background-color: var(--fond-carte); color: var(--texte); }
@media (prefers-color-scheme: dark) {
  select.form-control { color-scheme: dark; }
}
#formStatus { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--rayon-petit); font-size: 15px; display: none; }
#formStatus.show { display: block; }
#formStatus.ok { background: rgba(34, 197, 94, 0.12); color: #15803d; }
#formStatus.err { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

/* Bandeau contact */
.cta-banner {
  background: var(--marine-bloc);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--texture-on-dark);
  pointer-events: none;
  z-index: -1;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer {
  background: var(--marine-bloc);
  color: rgba(255,255,255,0.8);
  padding: 36px 24px 44px;
  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  color: var(--texture-on-dark);
  pointer-events: none;
  z-index: -1;
}
.footer-logo-img { height: 34px; width: auto; margin: 0 auto 14px; }
footer p { margin: 0 auto 4px; color: rgba(255,255,255,0.75); }
footer address { font-style: normal; margin: 18px 0; }
.footer-link { color: #fff; font-weight: 500; }
.footer-link:hover { color: var(--orange); }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 26px; padding-top: 20px; font-size: 14px; }
.footer-legal a { color: rgba(255,255,255,0.65); }
.footer-legal a:hover { color: #fff; }

/* Boutons flottants */
.whatsapp-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 20px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 400;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.06); }

#scrollTopBtn {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  width: 48px; height: 48px;
  background: var(--marine);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--ombre);
  z-index: 400;
  transition: var(--transition);
}
#scrollTopBtn.show { display: flex; }
#scrollTopBtn:hover { background: var(--orange); }

/* Mentions légales */
.page-header {
  background: var(--fond-alt);
  text-align: center;
  padding: 60px 24px 40px;
}
.page-header .subtitle { color: var(--texte-clair); margin: 10px auto 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  color: var(--texte-clair);
  font-size: 14px;
  max-width: var(--largeur-max);
  margin: 0 auto;
}
.breadcrumb a { color: var(--texte-clair); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 11px; }

.legal-content { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.legal-content h2 { margin: 34px 0 14px; font-size: 22px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 20px 0 10px; font-size: 18px; }
.legal-content p { max-width: none; margin-bottom: 14px; color: var(--texte); }
.legal-content ul { margin: 0 0 14px 0; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 8px; color: var(--texte); }
.legal-content a { color: var(--orange-hover); text-decoration: underline; }
.legal-update { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--bordure); color: var(--texte-clair); font-size: 14px; }
.legal-links { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 960px; margin: 0 auto; padding: 48px 24px 60px; }

/* Pages services */
.service-header { padding-bottom: 48px; }
.service-header .page-icon { width: 60px; height: 60px; font-size: 24px; margin: 0 auto 20px; }
.service-header h1 { max-width: 26ch; margin: 0 auto; }
.service-header .subtitle { max-width: 62ch; font-size: 18px; margin-top: 16px; }
.service-header .hero-ctas { justify-content: center; margin-top: 28px; }
.service-body { padding-top: 40px; }
.service-content { max-width: 780px; margin: 0 auto; }
.service-content h2 { font-size: clamp(22px, 3vw, 26px); margin: 44px 0 16px; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { max-width: none; margin-bottom: 14px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 107, 53, 0.16);
}
.check-list li::after {
  content: "";
  position: absolute; left: 7px; top: 9px;
  width: 5px; height: 9px;
  border: solid var(--orange); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.steps-list { list-style: none; counter-reset: etape; }
.steps-list li {
  counter-increment: etape;
  position: relative;
  padding-left: 46px;
  min-height: 32px;
  margin-bottom: 16px;
}
.steps-list li::before {
  content: counter(etape);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--marine); color: #fff;
  font-family: var(--police-titre); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
@media (prefers-color-scheme: dark) {
  .steps-list li::before { background: var(--marine-clair); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
}
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.other-service {
  display: flex; align-items: center; gap: 14px;
  background: var(--fond-carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 18px 20px;
  font-weight: 600; font-size: 16px; line-height: 1.35;
  color: var(--titre);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.other-service:hover, .other-service:focus-visible { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--ombre); }

/* 404 */
.error-wrap {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.error-code { font-size: clamp(80px, 14vw, 140px); font-weight: 700; color: var(--orange); line-height: 1; }
.error-wrap h1 { margin: 10px 0 14px; }
.error-wrap p { color: var(--texte-clair); margin-bottom: 30px; }

/* Divers */
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
