/* ============================================================
   Wipmedia – Feuille de style principale
   Palette : #2563EB (bleu) | #F8FAFC (fond) | #0F172A (texte)
   Polices  : Poppins | Space Mono
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #FFFFFF;
  color: #0F172A;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Variables CSS ── */
:root {
  --blue:        #2563EB;
  --blue-light:  #EFF6FF;
  --blue-mid:    #DBEAFE;
  --dark:        #F8FAFC;
  --darker:      #F1F5F9;
  --white:       #FFFFFF;
  --text:        #0F172A;
  --muted:       #64748B;
  --card-bg:     #FFFFFF;
  --card-border: #E2E8F0;
  --radius:      12px;
  --max-w:       1200px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
}

/* ── Utilitaires ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}
.text-blue { color: var(--blue); }
.text-center { text-align: center; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--blue);
  color: #fff !important;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff !important; box-shadow: 0 6px 18px rgba(37,99,235,0.35); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ── Divider ── */
.section-divider {
  width: 48px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 20px 0 40px;
  opacity: 0.6;
}
.section-divider.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06);
}
#navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navbar .nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
#navbar .nav-logo span { color: var(--blue); }
#navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
#navbar .nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
#navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.25s;
  border-radius: 1px;
}
#navbar .nav-links a:hover { color: var(--text); }
#navbar .nav-links a:hover::after { width: 100%; }
#navbar .nav-cta { margin-left: 12px; padding: 10px 22px; font-size: 13px; }

/* Sélecteur de langue */
#navbar .lang-switcher {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue) !important;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.2s, color 0.2s;
  margin-left: -12px;
}
#navbar .lang-switcher:hover {
  background: var(--blue);
  color: #fff !important;
}
#navbar .lang-switcher::after { display: none !important; }
#mobile-menu .lang-switcher {
  font-weight: 700;
  color: var(--blue) !important;
  border-top: 1px solid var(--card-border);
  padding-top: 12px;
  margin-top: 4px;
}

/* Mobile nav */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
#nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
#mobile-menu a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--card-border);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--blue); }
#mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #F0F6FF 0%, #FFFFFF 55%, #F8FAFC 100%);
}
#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-content .hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: inline-block;
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--blue-mid);
}
.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-content h1 .text-blue { color: var(--blue); }
.hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  justify-content: center;
}
.hero-stats .stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Space Mono', monospace;
  display: block;
}
.hero-stats .stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
/* Canvas parallax – plein hero */
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  background: transparent;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
  z-index: 1;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  color: var(--muted);
}
.hero-scroll .scroll-dot {
  width: 28px; height: 44px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll .scroll-dot::before {
  content: '';
  width: 4px; height: 8px;
  background: var(--muted);
  border-radius: 2px;
  animation: scroll-bounce 1.6s infinite;
}
@keyframes scroll-bounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(8px); opacity: 0.3; }
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--darker);
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.service-card:hover {
  border-color: #BFDBFE;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.service-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   APPROCHE
   ============================================================ */
#approche { background: #FFFFFF; }
.approche-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.step-card {
  text-align: center;
  position: relative;
}
.step-card::after {
  content: '→';
  position: absolute;
  top: 30px;
  right: -20px;
  color: #CBD5E1;
  font-size: 20px;
}
.step-card:last-child::after { display: none; }
.step-num {
  width: 64px; height: 64px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(37,99,235,0.25);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   AUTOMATION n8n
   ============================================================ */
#automation {
  background: var(--darker);
  position: relative;
  overflow: hidden;
}
.automation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.automation-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.automation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}
.feat-item svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }

/* ============================================================
   FORFAITS
   ============================================================ */
#forfaits {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.forfaits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  align-items: start;
}
.forfait-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.forfait-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.forfait-card.popular {
  border-color: var(--blue);
  background: #F0F6FF;
  transform: scale(1.04);
}
.forfait-card.popular:hover { transform: scale(1.04) translateY(-6px); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 20px;
}
.forfait-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.forfait-card.popular .forfait-name { color: var(--blue); }
.forfait-price {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: 'Space Mono', monospace;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}
.forfait-price sup { font-size: 1.2rem; vertical-align: super; }
.forfait-price sub { font-size: 1rem; font-weight: 400; color: var(--muted); }
.forfait-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
  line-height: 1.6;
}
.forfait-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}
.forfait-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.forfait-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.forfait-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid var(--blue);
  text-decoration: none;
}
.forfait-btn:hover { transform: translateY(-2px); }
.forfait-btn.filled { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.forfait-btn.filled:hover { background: #1d4ed8; box-shadow: 0 6px 18px rgba(37,99,235,0.35); }
.forfait-btn.outline { background: transparent; color: var(--blue); }
.forfait-btn.outline:hover { background: var(--blue-light); }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--darker); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; color: var(--text); }
.contact-info h2 .text-blue { color: var(--blue); }
.contact-info p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-item-text label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 600;
}
.contact-item-text a,
.contact-item-text span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}
.contact-item-text a:hover { color: var(--blue); }

/* Formulaire */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}
.form-group label span { color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--darker);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94A3B8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: #fff;
}
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.form-submit:hover  { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,99,235,0.35); }
.form-submit:active { transform: translateY(0); }
.form-notice {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}
.form-notice a { color: var(--blue); text-decoration: underline; }

/* Messages de statut */
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}
.form-msg.success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.form-msg.error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0F172A;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: block;
}
.footer-brand .footer-logo span { color: #60A5FA; }
.footer-brand p {
  font-size: 13px;
  color: #94A3B8;
  line-height: 1.75;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: #94A3B8;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12.5px; color: #64748B; }
.footer-bottom .footer-location {
  font-size: 12.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   LOI 25 – BANDEAU COOKIES
   ============================================================ */
#wip-loi25-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  backdrop-filter: blur(4px);
  z-index: 9999990;
}
#wip-loi25 {
  font-family: 'Poppins', Arial, sans-serif;
  position: fixed;
  z-index: 9999999;
  bottom: 28px;
  right: 28px;
  width: 430px;
  max-width: calc(100vw - 40px);
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 14px;
  border-top: 4px solid #2563EB;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(37,99,235,0.12);
  padding: 26px 28px 22px;
  display: none;
  animation: loi25-in 0.4s cubic-bezier(.22,.68,0,1.2);
}
@keyframes loi25-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
#wip-loi25 .loi25-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
#wip-loi25 .loi25-icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; line-height: 1; }
#wip-loi25 .loi25-header-text h4 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
}
#wip-loi25 .loi25-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 4px;
  padding: 2px 7px;
}
#wip-loi25 .loi25-body p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #475569;
}
#wip-loi25 .loi25-body p a { color: #2563EB; font-weight: 600; text-decoration: underline; }
#wip-loi25 .loi25-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 14px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: opacity 0.2s;
}
#wip-loi25 .loi25-toggle:hover { opacity: 0.75; }
#wip-loi25 .loi25-prefs {
  background: #F8FAFC;
  border-radius: 9px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: none;
}
#wip-loi25 .loi25-prefs h5 {
  margin: 0 0 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94A3B8;
}
#wip-loi25 .loi25-prefs ul { display: flex; flex-direction: column; gap: 12px; }
#wip-loi25 .loi25-prefs li { display: flex; align-items: flex-start; gap: 10px; }
#wip-loi25 .loi25-switch {
  position: relative;
  flex-shrink: 0;
  width: 36px; height: 20px;
  margin-top: 2px;
}
#wip-loi25 .loi25-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
#wip-loi25 .loi25-slider {
  position: absolute;
  inset: 0;
  background: #CBD5E1;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.25s;
}
#wip-loi25 .loi25-slider::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
#wip-loi25 .loi25-switch input:checked + .loi25-slider { background: #2563EB; }
#wip-loi25 .loi25-switch input:checked + .loi25-slider::before { transform: translateX(16px); }
#wip-loi25 .loi25-switch input:disabled + .loi25-slider { background: #CBD5E1; cursor: not-allowed; }
#wip-loi25 .loi25-label strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.3;
}
#wip-loi25 .loi25-label span {
  display: block;
  font-size: 11px;
  color: #64748B;
  line-height: 1.5;
  margin-top: 2px;
}
#wip-loi25 .loi25-required {
  font-size: 10px;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
#wip-loi25 .loi25-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#wip-loi25 .loi25-btns button {
  flex: 1;
  min-width: 110px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', Arial, sans-serif;
  transition: all 0.2s;
  border: 2px solid #2563EB;
}
#wip-loi25 .loi25-btns button:hover  { opacity: 0.86; transform: translateY(-1px); }
#wip-loi25 .loi25-btns button:active { transform: translateY(0); }
#wip-loi25 .loi25-btn-accept { background: #2563EB; color: #fff; }
#wip-loi25 .loi25-btn-save   { background: #2563EB; color: #fff; display: none; }
#wip-loi25 .loi25-btn-refuse { background: transparent; color: #2563EB; }
#wip-loi25 .loi25-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
#wip-loi25 .loi25-footer .loi25-brand {
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 500;
}
#wip-loi25 .loi25-footer .loi25-brand strong { color: #2563EB; }
#wip-loi25 .loi25-footer .loi25-law {
  font-size: 10px;
  color: #CBD5E1;
  font-weight: 500;
}
#wip-loi25-reopen {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999998;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 9px 16px 9px 12px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
}
#wip-loi25-reopen:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .approche-steps { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .automation-inner { grid-template-columns: 1fr; }
  .automation-visual { display: none; }
  .forfaits-grid    { grid-template-columns: 1fr; }
  .forfait-card.popular { transform: scale(1); }
  .contact-inner    { grid-template-columns: 1fr; gap: 48px; }
  .services-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  #navbar .nav-links { display: none; }
  #nav-toggle { display: flex; }
  #mobile-menu.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  #wip-loi25 {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 22px 20px 28px;
  }
  #wip-loi25 .loi25-btns { flex-direction: column; }
  #wip-loi25-reopen { bottom: 16px; left: 16px; }
}

/* ── Hero chatbot preview card ─────────────────────────────────── */
.hero-chat-card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.hero-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--card-border);
}
.hero-chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #6366f1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-chat-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hero-chat-status { font-size: 11px; color: #16A34A; display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.hero-status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #16A34A; flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:.4;} }
.hero-chat-body {
  padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 200px;
  background: #FAFAFA;
}
.hero-bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.55;
  animation: bubble-in .3s ease both;
}
.hero-bubble.bot {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  align-self: flex-start; border-bottom-left-radius: 4px;
  color: var(--text);
}
.hero-bubble.user {
  background: #2563EB; color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.hero-bubble:nth-child(1) { animation-delay: .2s; }
.hero-bubble:nth-child(2) { animation-delay: .6s; }
.hero-bubble:nth-child(3) { animation-delay: 1s; }
@keyframes bubble-in { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }
.hero-typing-row {
  display: flex; align-items: center; gap: 10px;
  animation: bubble-in .3s ease 1.5s both;
}
.hero-typing {
  display: flex; gap: 4px; align-items: center; padding: 10px 14px;
  background: #FFFFFF; border: 1px solid var(--card-border);
  border-radius: 12px; border-bottom-left-radius: 4px;
}
.hero-typing span { width: 6px; height: 6px; background: #CBD5E1; border-radius: 50%; animation: typing-dot 1.2s infinite; }
.hero-typing span:nth-child(2) { animation-delay: .2s; }
.hero-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-dot { 0%,60%,100%{transform:translateY(0);opacity:.4;} 30%{transform:translateY(-5px);opacity:1;} }
.hero-typing-label { font-size: 11px; color: #94A3B8; }
.hero-chat-footer {
  padding: 12px 16px;
  background: #F8FAFC;
  border-top: 1px solid var(--card-border);
  font-size: 13px; font-weight: 500; color: #2563EB; text-align: center;
  transition: background .15s, color .15s;
}
.hero-chat-footer:hover { background: var(--blue-light); }

/* Btn primary with icon */
.btn-primary svg { display: inline-block; }

/* ── Hero inline chat (vrai chat fonctionnel) ───────────────────── */
.hero-inline-chat {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  height: 480px;
  font-family: 'Poppins', sans-serif;
}
.hic-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--card-border);
  flex-shrink: 0;
}
.hic-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #6366f1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hic-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hic-status { font-size: 11px; color: #16A34A; display: flex; align-items: center; gap: 5px; margin-top: 1px; }
.hic-dot { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; flex-shrink: 0; animation: pulse-dot 2s infinite; }
.hic-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  color: #2563EB; padding: 2px 8px; border-radius: 20px;
}
.hic-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth;
  background: #FAFAFA;
}
.hic-messages::-webkit-scrollbar { width: 4px; }
.hic-messages::-webkit-scrollbar-track { background: transparent; }
.hic-messages::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 4px; }
.hic-bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.55;
  animation: bubble-in .25s ease both;
  word-break: break-word;
}
.hic-bubble.bot {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.hic-bubble.user {
  background: #2563EB; color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
/* Typing animation */
.hic-typing-anim {
  display: flex; gap: 5px; align-items: center;
  padding: 12px 16px;
}
.hic-typing-anim span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #CBD5E1; animation: typing-dot 1.2s infinite;
}
.hic-typing-anim span:nth-child(2) { animation-delay: .2s; }
.hic-typing-anim span:nth-child(3) { animation-delay: .4s; }
.hic-input-row {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px 14px;
  background: #F8FAFC;
  border-top: 1px solid var(--card-border);
  flex-shrink: 0;
}
#hic-input {
  flex: 1; background: #FFFFFF;
  border: 1px solid var(--card-border); border-radius: 10px;
  padding: 9px 12px; font-size: 13px; color: var(--text);
  font-family: 'Poppins', sans-serif;
  resize: none; outline: none; max-height: 100px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
#hic-input::placeholder { color: #94A3B8; }
#hic-input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
#hic-send {
  width: 36px; height: 36px; border-radius: 10px;
  background: #2563EB; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s, transform .15s;
}
#hic-send:hover { background: #1d4ed8; transform: scale(1.05); }
#hic-send:active { transform: scale(.97); }
