/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Fonds dark */
  --bg-primary:   #0A0A0F;
  --bg-mid:       #0D0D14;
  --bg-card:      #13131A;
  --bg-card-alt:  #16161E;

  /* Fond clair */
  --bg-light:     #F8F9FA;
  --bg-light-card: #FFFFFF;

  /* Accent */
  --accent-primary:   #00D4FF;
  --accent-secondary: #0099CC;
  --accent-glow:      rgba(0, 212, 255, 0.12);
  --accent-gradient:  linear-gradient(135deg, #00D4FF, #0066FF);

  /* Texte dark */
  --text-primary:   #F0F0F5;
  --text-secondary: #8A8AA0;
  --text-muted:     #50506A;

  /* Texte light */
  --text-dark-primary:   #0A0A0F;
  --text-dark-secondary: #4A4A60;
  --text-dark-muted:     #888899;

  /* Bordures */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 212, 255, 0.28);

  /* Layout */
  --max-width:       1200px;
  --padding-x:       clamp(1.5rem, 5vw, 4rem);
  --section-padding: clamp(6rem, 12vw, 10rem);

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:    0.3s;
  --t-fast:    0.18s;
  --t-slow:    0.6s;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-scroll-y, 0);
  width: 100%;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

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

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
  min-width: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

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

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #05050A;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.28);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.07);
  transform: translateY(-2px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; }

.section-header h2 { color: var(--text-primary); }

.section-sub {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ============================================================
   ANIMATIONS — fade-in + directional slide
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hero stagger */
#hero .hero-badge.visible   { transition-delay: 0s; }
#hero h1.visible            { transition-delay: 0.1s; }
#hero .hero-sub.visible     { transition-delay: 0.2s; }
#hero .hero-cta.visible     { transition-delay: 0.3s; }

/* Service columns — slide from outside */
.service-col-info.fade-in {
  transform: translateX(-52px);
}
.service-col-detail.fade-in,
.service-col-visual.fade-in {
  transform: translateX(52px);
  transition-delay: 0.15s;
}

/* Reversed rows — swap directions */
.service-row--reverse .service-col-info.fade-in {
  transform: translateX(52px);
}
.service-row--reverse .service-col-detail.fade-in,
.service-row--reverse .service-col-visual.fade-in {
  transform: translateX(-52px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; }

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

.nav-link {
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color var(--t-fast) var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.7rem;
  right: 0.7rem;
  height: 1.5px;
  background: var(--accent-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-links .btn-outline { margin-left: 1rem; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: var(--bg-primary);
  padding: clamp(7rem, 15vw, 12rem) 0 clamp(6rem, 12vw, 10rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dot grid */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Blob gauche — bleu profond */
.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-blob--left {
  background: #0066FF;
  opacity: 0.35;
  top: -180px;
  left: -100px;
}

.hero-blob--right {
  background: #00D4FF;
  opacity: 0.25;
  top: -200px;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.4);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25), 0 0 48px rgba(0, 212, 255, 0.1);
  margin-bottom: 1.75rem;
}

.hero-content h1 {
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
}

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

/* ============================================================
   BANDEAU RÉASSURANCE
   ============================================================ */
.reassurance-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem var(--padding-x);
}

.reassurance-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.reassurance-sep {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  flex: 1;
}

.reassurance-icon {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.reassurance-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.reassurance-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.reassurance-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ============================================================
   SERVICES — full-width rows
   ============================================================ */
#services {
  background: var(--bg-primary);
}

.services-intro {
  padding: var(--section-padding) 0 clamp(3.5rem, 7vw, 6rem);
}

.service-row {
  padding: clamp(6rem, 12vw, 10rem) 0;
  background: var(--bg-primary);
}

.service-row--gradient {
  background: linear-gradient(180deg, #0A0A0F 0%, #14141C 45%, #0A0A0F 100%);
}

.service-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.service-inner > *,
.contact-layout > *,
.reassurance-item,
.pourquoi-card,
.temoignage-card,
.footer-inner > * {
  min-width: 0;
}

/* Reversed: info goes right, detail/visual goes left */
.service-row--reverse .service-col-info   { order: 2; }
.service-row--reverse .service-col-detail { order: 1; }
.service-row--reverse .service-col-visual { order: 1; }

/* Left column */
.service-col-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-num {
  display: block;
  font-size: clamp(8rem, 15vw, 14rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(0, 212, 255, 0.05);
  -webkit-text-stroke: 0;
  margin-bottom: 1.75rem;
  user-select: none;
}

.service-icon {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.service-col-info h3 {
  color: var(--text-primary);
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.service-title-deco {
  width: 48px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  margin: 1.1rem 0 0.75rem;
  flex-shrink: 0;
}

.service-stat {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.service-accroche {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 38ch;
}

.service-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-example-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}

.service-checklist li.checklist-open {
  font-style: italic;
  color: var(--text-muted);
  border-bottom: none;
}
.service-checklist li.checklist-open::before {
  content: '—';
  font-style: normal;
  color: var(--text-muted);
}

/* Right column */
.service-col-detail {}

.service-checklist {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-checklist li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.55;
  transition: color var(--t-fast) var(--ease);
}
.service-checklist li:first-child {
  border-top: 1px solid var(--border-subtle);
}
.service-checklist li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  letter-spacing: 0;
}
.service-checklist li:hover {
  color: var(--text-primary);
}

/* ============================================================
   POURQUOI NOUS — section claire
   ============================================================ */
#pourquoi {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  transition: background var(--t-base);
}

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

/* Override text for light section */
.section-light .section-header h2 {
  color: var(--text-dark-primary);
}
.section-light .section-sub {
  color: var(--text-dark-secondary);
}

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

.pourquoi-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2.25rem;
  transition:
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.pourquoi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
  border-color: var(--border-accent);
}

/* Light overrides */
.section-light .pourquoi-card {
  background: var(--bg-light-card);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.section-light .pourquoi-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.section-light .pourquoi-card h3 {
  color: var(--text-dark-primary);
}
.section-light .pourquoi-card p {
  color: var(--text-dark-secondary);
}

.pourquoi-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.75rem;
}

.pourquoi-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.875rem;
  font-size: 1.15rem;
}

.pourquoi-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
#temoignages {
  background: #0D0D15;
  padding: var(--section-padding) 0;
}

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

.temoignage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  transition:
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.temoignage-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.07);
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--accent-primary);
}

blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
  font-style: italic;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.author-avatar {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #050508;
  flex-shrink: 0;
}
.temoignage-author > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.temoignage-author strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.temoignage-author span {
  font-size: 0.775rem;
  color: var(--text-muted);
}
.placeholder-tag {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.temoignage-placeholder {
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.09);
}
.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  color: var(--text-muted);
}
.placeholder-content p {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.placeholder-content span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: var(--bg-primary);
  padding: var(--section-padding) 0;
  position: relative;
  overflow-x: hidden;
}

/* Subtle ambient top glow */
#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.form-group label span:not(.optional) { color: var(--accent-primary); }
.optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  resize: vertical;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.07);
}
.form-group input.error,
.form-group textarea.error {
  border-color: rgba(255, 75, 75, 0.55);
}

.form-error {
  font-size: 0.78rem;
  color: #FF6060;
  min-height: 1em;
}

.form-success {
  text-align: center;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.875rem;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: none;
}
.form-success.show { display: block; }
.form-success.form-success--error {
  color: #FF6060;
  background: rgba(255, 75, 75, 0.06);
  border-color: rgba(255, 75, 75, 0.2);
}

/* Contact infos */
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}
.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.15rem;
  min-width: 0;
}
.contact-info-item strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 0.925rem;
  color: var(--text-secondary);
}
.contact-info-item a:hover { color: var(--accent-primary); }

.contact-cta-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  margin-top: 0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0D0D15;
  border-top: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
}

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

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.footer-link {
  font-size: 0.825rem;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
}
.footer-link:hover { color: var(--text-secondary); }

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.375rem;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.social-link:hover {
  color: var(--accent-primary);
  border-color: var(--border-accent);
}

/* ============================================================
   LOGOS BAND
   ============================================================ */
.logos-band {
  background: var(--bg-primary);
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logos-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.22s var(--ease);
  cursor: default;
  user-select: none;
}
.logo-item:hover { color: rgba(255, 255, 255, 0.9); }

.logo-make:hover    { color: #9B8FFF; }
.logo-zapier:hover  { color: #FF6B35; }
.logo-n8n:hover     { color: #EA4B71; }
.logo-notion:hover  { color: #FFFFFF; }
.logo-sheets:hover  { color: #34A853; }
.logo-slack:hover   { color: #36C5F0; }
.logo-hubspot:hover { color: #FF7A59; }

/* ============================================================
   SERVICE VISUALS — CSS-only decorative panels
   ============================================================ */

/* ---- Base ---- */
.service-col-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-visual {
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
  overflow: hidden;
}

/* ---- Workflow (Service 01) ---- */
.svc-visual--workflow {
  padding: 1.75rem;
}

.wf-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.wf-steps {
  display: flex;
  flex-direction: column;
}

.wf-step {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.wf-step--cyan {
  border-color: var(--border-accent);
  background: rgba(0, 212, 255, 0.04);
}

.wf-step--green {
  border-color: rgba(0, 220, 100, 0.28);
  background: rgba(0, 220, 100, 0.04);
}

.wf-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  flex-shrink: 0;
}

.wf-step--green .wf-step-dot { background: #00DC64; }

.wf-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wf-step-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.wf-step-type {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.wf-connector {
  position: relative;
  height: 28px;
  margin-left: calc(1rem + 5px);
  width: 2px;
  background: var(--border-subtle);
}

.wf-travel-dot {
  position: absolute;
  top: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
  animation: dot-travel 2.4s ease-in-out infinite;
}

.wf-travel-dot--2 { animation-delay: 1.2s; }

@keyframes dot-travel {
  0%   { top: 0;                    opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% - 8px);     opacity: 0; }
}

.wf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.wf-online {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 500;
}

.wf-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: status-pulse 2s ease-in-out infinite;
}

.wf-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---- Browser mockup (Service 02) ---- */
.brow-bar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.brow-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.brow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.brow-dot--red    { background: #FF5F57; }
.brow-dot--orange { background: #FEBC2E; }
.brow-dot--green  { background: #28C840; }

.brow-url {
  flex: 1;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brow-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.brow-hero {
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.28) 0%, rgba(0, 212, 255, 0.18) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
}

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

.brow-card {
  height: 48px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.brow-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.brow-line--short {
  width: 58%;
  background: rgba(255, 255, 255, 0.05);
}

/* ---- Shop grid (Service 03) ---- */
.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.shop-bar-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.shop-bar-cart {
  font-size: 0.68rem;
  color: var(--accent-primary);
  font-weight: 500;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}

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

.shop-card {
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--t-fast) var(--ease);
}

.shop-card:hover { border-color: var(--border-accent); }

.shop-thumb {
  height: 54px;
}

.shop-thumb--a { background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(0, 102, 255, 0.18)); }
.shop-thumb--b { background: linear-gradient(135deg, rgba(120, 0, 255, 0.22), rgba(0, 212, 255, 0.14)); }
.shop-thumb--c { background: linear-gradient(135deg, rgba(0, 255, 160, 0.18), rgba(0, 102, 255, 0.18)); }

.shop-card-body {
  padding: 0.5rem 0.5rem 0.55rem;
}

.shop-card-name {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.375rem;
}

.shop-card-name--short { width: 68%; }

.shop-card-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ---- Terminal (Service 04) ---- */
.term-bar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.term-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot--red    { background: #FF5F57; }
.term-dot--orange { background: #FEBC2E; }
.term-dot--green  { background: #28C840; }

.term-title {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.term-body {
  padding: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
}

.tc-cmt  { color: var(--text-muted); }
.tc-kw   { color: #C792EA; }
.tc-var  { color: var(--text-secondary); }
.tc-fn   { color: #82AAFF; }
.tc-str  { color: #C3E88D; }
.tc-prop { color: #FFCB6B; }

.tc-prompt {
  color: var(--accent-primary);
  font-weight: 700;
  margin-right: 0.5em;
}

.tc-ok { color: #00DC64; margin-right: 0.3em; }

.term-line--cmd {
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.term-line--success { color: #00DC64; }

.term-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent-primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s step-end infinite;
}

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

/* ---- Dashboard (Service 05) ---- */
.svc-visual--dash {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dash-online {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #00DC64;
  letter-spacing: 0.06em;
  background: rgba(0, 220, 100, 0.1);
  border: 1px solid rgba(0, 220, 100, 0.28);
  border-radius: 100px;
  padding: 0.22rem 0.7rem;
}

.dash-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00DC64;
  flex-shrink: 0;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(0, 220, 100, 0.55); }
  50%       { box-shadow: 0 0 0 5px rgba(0, 220, 100, 0); }
}

.dash-uptime-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dash-uptime-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dash-uptime-val {
  color: var(--accent-primary);
  font-weight: 600;
}

.dash-uptime-track {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.dash-uptime-bar {
  width: 99.9%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #00D4FF, #0066FF);
}

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

.dash-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.dash-metric-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-metric-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.dash-checks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.dash-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.775rem;
  color: var(--text-secondary);
}

.dash-check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00DC64;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — TABLET 768–1024px
   ============================================================ */
@media (max-width: 1024px) {
  .service-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* On tablet all services stack: info always on top */
  .service-row--reverse .service-col-info   { order: 0; }
  .service-row--reverse .service-col-detail { order: 0; }
  .service-row--reverse .service-col-visual { order: 0; }

  /* Reset slide directions on tablet (just fade up) */
  .service-col-info.fade-in,
  .service-row--reverse .service-col-info.fade-in   { transform: translateY(28px); }
  .service-col-detail.fade-in,
  .service-col-visual.fade-in,
  .service-row--reverse .service-col-detail.fade-in,
  .service-row--reverse .service-col-visual.fade-in { transform: translateY(28px); transition-delay: 0.1s; }

  .service-col-visual { justify-content: flex-start; }

  .service-col-info { align-items: flex-start; }
  .service-num { font-size: clamp(4rem, 10vw, 6rem); margin-bottom: 1.25rem; }

  .pourquoi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }

  .temoignages-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-infos { padding-top: 0; }
  .contact-infos { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .contact-cta-note { width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE < 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar mobile */
  body.nav-open #navbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }

  .nav-inner {
    position: static;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    z-index: 120;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    padding: 2rem var(--padding-x);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity var(--t-fast) var(--ease),
      transform var(--t-fast) var(--ease),
      visibility var(--t-fast) var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links .nav-link {
    display: flex;
    justify-content: center;
    font-size: clamp(1.15rem, 5vw, 1.55rem);
    padding: 0.9rem 1rem;
    width: min(100%, 320px);
    text-align: center;
  }
  .nav-links .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
    width: min(100%, 320px);
    justify-content: center;
  }
  .burger { display: flex; }

  .fade-in,
  .service-col-info.fade-in,
  .service-col-detail.fade-in,
  .service-col-visual.fade-in,
  .service-row--reverse .service-col-info.fade-in,
  .service-row--reverse .service-col-detail.fade-in,
  .service-row--reverse .service-col-visual.fade-in {
    transform: translateY(24px);
  }

  /* Hero */
  #hero { padding-top: clamp(4rem, 14vw, 7rem); padding-bottom: clamp(3.5rem, 12vw, 6rem); }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Réassurance */
  .reassurance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .reassurance-sep { display: none; }

  /* Services */
  .service-row { padding: clamp(4rem, 10vw, 7rem) 0; }
  .service-num { font-size: clamp(3.5rem, 12vw, 5.5rem); margin-bottom: 1rem; }
  .service-accroche { max-width: 100%; }
  .service-col-info h3 { font-size: clamp(2rem, 8vw, 3rem); }
  .service-desc { font-size: 1rem; margin-bottom: 1.25rem; }
  .svc-visual { max-width: 100%; }
  .shop-grid { gap: 0.5rem; padding: 0.75rem; }
  .shop-thumb { height: 44px; }
  /* Footer */
  .footer-right { flex-direction: column; gap: 0.75rem; align-items: center; }

  /* Pourquoi */
  .pourquoi-grid { grid-template-columns: 1fr; }

  /* Témoignages */
  .temoignages-grid { grid-template-columns: 1fr; margin-top: 2rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ============================================================
   RESPONSIVE — PETIT MOBILE < 500px
   ============================================================ */
@media (max-width: 500px) {
  /* Supprime le saut de ligne forcé — le texte wrappera naturellement */
  #hero h1 br { display: none; }

  /* Badge : réduit l'espacement pour éviter le débordement */
  .hero-badge {
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
  }

  /* Sous-titre hero : autoriser la taille fluide sur très petits écrans */
  .hero-sub { font-size: clamp(0.9rem, 4.5vw, 1.1rem); }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE < 400px
   ============================================================ */
@media (max-width: 400px) {
  .contact-infos { flex-direction: column; }
}
