/* ===== service-page.css, base partagée pour toutes les pages /services/*.html ===== */

:root {
  --warm-white: #FAF8F4;
  --paper: #F4F0E9;
  --concrete: #E6E0D5;
  --concrete-dark: #BCB3A4;
  --line: #DCD6CB;
  --ink: #0E0E0E;
  --ink-soft: #2A2A2A;
  --muted: #7A7670;
  --purple: #8B5CF6;
  --purple-dark: #7C4DEF;
  --lilac: #A78BFA;
}

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

html { background: var(--warm-white); scroll-behavior: smooth; }
body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a { color: inherit; }

/* ===== NAV (identique homepage) ===== */
.nav {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 3rem;
  z-index: 10;
}
.brand {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.brand .ia { color: var(--purple); }
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--purple); }
@media (max-width: 860px) {
  .nav { padding: 1rem 1.5rem; }
  .brand { font-size: 1.5rem; }
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.svc-hero {
  position: relative;
  padding: 9rem 3rem 4rem;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.svc-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  padding: 0.4rem 0.85rem;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.svc-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.svc-hero h1 .accent {
  background: linear-gradient(92deg, #B9A3FB 0%, #8B5CF6 60%, #7C4DEF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 500;
}
.svc-hero p.lede {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.005em;
  max-width: 720px;
  margin-bottom: 2rem;
}
.svc-hero .cta-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary:hover {
  background: var(--purple);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(139, 92, 246, 0.45);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.95rem 1.1rem;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover { color: var(--purple); border-color: var(--purple); }

@media (max-width: 860px) {
  .svc-hero { padding: 6rem 1.5rem 3rem; }
}

/* ===== SECTIONS DE CONTENU ===== */
.svc-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
}
.svc-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.svc-section h2 .accent {
  background: linear-gradient(92deg, #B9A3FB 0%, #8B5CF6 60%, #7C4DEF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 500;
}
.svc-section p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.svc-section p:last-child { margin-bottom: 0; }
.svc-section .lede {
  font-size: 1.1rem;
  color: var(--muted);
}
.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.svc-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
}
.svc-list li strong { color: var(--ink); font-weight: 500; }

.svc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.svc-card {
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 18px 40px -28px rgba(139, 92, 246, 0.25);
}
.svc-card h3 {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.svc-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.svc-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.svc-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.svc-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  background: #8B5CF6;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow:
    0 0 0 5px rgba(167, 139, 250, 0.18),
    0 4px 12px -2px rgba(139, 92, 246, 0.35);
}
.svc-steps li strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

/* ===== FAQ courte ===== */
.svc-faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.svc-faq details:first-of-type { border-top: 1px solid var(--line); }
.svc-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--purple);
  font-weight: 300;
  transition: transform 0.25s ease;
}
.svc-faq details[open] summary::after { transform: rotate(45deg); }
.svc-faq details p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== CTA BOTTOM ===== */
.svc-cta {
  margin: 5rem auto 4rem;
  max-width: 760px;
  padding: 3rem 3rem;
  text-align: center;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 50px -30px rgba(139, 92, 246, 0.18);
}
.svc-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  color: var(--ink);
}
.svc-cta p {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER (identique homepage simplifié) ===== */
/* ===== Footer global (aligné sur la home) ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  padding: 4.5rem 0 1.8rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .brand { font-size: 1.5rem; display: inline-block; }
.footer-logo img {
  width: auto;
  height: 32px;
  object-fit: contain;
}
.footer-tag {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 32ch;
}
.footer-mail {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  padding-bottom: 1px;
  transition: color .3s ease;
}
.footer-mail:hover { color: #8B5CF6; }
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
/* Liens sociaux du footer : base partagée + couleur de marque par variante */
.footer-wa, .footer-li, .footer-ig { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-wa { color: #25D366 !important; border-bottom-color: rgba(37, 211, 102, 0.35) !important; }
.footer-wa:hover { color: #1DA851 !important; border-bottom-color: #1DA851 !important; }
.footer-li { color: #0A66C2 !important; border-bottom-color: rgba(10, 102, 194, 0.35) !important; }
.footer-li:hover { color: #084d94 !important; border-bottom-color: #084d94 !important; }
.footer-ig { color: #E1306C !important; border-bottom-color: rgba(225, 48, 108, 0.35) !important; }
.footer-ig:hover { color: #C13584 !important; border-bottom-color: #C13584 !important; }

.footer-nav h4,
.footer-meta h4 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color .3s ease;
}
.footer-nav a:hover { color: #8B5CF6; }

.footer-meta p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 0.55rem;
}
.footer-meta .footer-stamp {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-legal {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color .3s ease;
}
.footer-legal a:hover { color: #8B5CF6; }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .svc-section { padding: 2.5rem 1.5rem; }
  .svc-cards { grid-template-columns: 1fr; }
  .svc-cta { margin: 3rem 1rem; padding: 2rem 1.5rem; }
  .footer-container { padding: 0 1.5rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Fond doux comme la homepage */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(250,248,244,0.5) 0%, rgba(250,248,244,0) 60%),
    url('../hero-bg.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.5;
}
