/*
Theme Name: MiitSuv Agent IA
Theme URI: https://miitsuv.co
Author: Francois - Esther Référencement
Author URI: https://miitsuv.co
Description: Thème one-page MiitSuv.co — Agent IA Externe. Systèmes d'acquisition, conversion et automatisation pour artisans et PME.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: Proprietary
Text Domain: miitsuv
*/

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: #1A1A2E;
  background: #FEFEFE;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.25s; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
.outfit { font-family: 'Outfit', system-ui, sans-serif; }
.dm { font-family: 'DM Sans', system-ui, sans-serif; }

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.ms-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.ms-container--narrow { max-width: 760px; }
.ms-container--form { max-width: 520px; }
.ms-container--process { max-width: 640px; }

.ms-section {
  padding: 70px 0;
  position: relative;
}

.ms-section--alt { background: #F7F7FB; }
.ms-section--gradient { background: linear-gradient(180deg, #FEFEFE, #F0EEFF); }
.ms-section--hero-bg { background: linear-gradient(175deg, #FEFEFE 0%, #F6F5FF 45%, #FEFEFE 100%); }

/* ═══════════════════════════════════════
   GRID
   ═══════════════════════════════════════ */
.ms-grid { display: grid; gap: 18px; }
.ms-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ms-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
.ms-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(254,254,254,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #F0F0F5;
  height: 62px;
}

.ms-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.ms-nav__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1A1A2E;
}
.ms-nav__logo span { color: #B0B0C8; }

.ms-nav__links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.ms-nav__link {
  color: #7A7A96;
  font-size: 14px;
  font-weight: 500;
}
.ms-nav__link:hover { color: #1A1A2E; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.ms-btn {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.ms-btn--primary {
  background: #1A1A2E;
  color: #fff;
}
.ms-btn--primary:hover {
  background: #2D2B55;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,26,46,0.18);
}

.ms-btn--ghost {
  background: transparent;
  color: #1A1A2E;
  border: 2px solid #DDDDE8;
}
.ms-btn--ghost:hover {
  border-color: #1A1A2E;
  background: #F7F7FB;
}

.ms-btn--sm { padding: 10px 24px; font-size: 14px; }
.ms-btn--full { width: 100%; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.ms-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.ms-hero__content {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
}

.ms-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -2px;
  color: #1A1A2E;
  margin-bottom: 20px;
}

.ms-hero__sub {
  font-size: 19px;
  color: #5A5A78;
  max-width: 520px;
  margin: 0 auto 8px;
  line-height: 1.65;
}

.ms-hero__promise {
  font-size: 17px;
  color: #1A1A2E;
  font-weight: 600;
  max-width: 530px;
  margin: 0 auto 14px;
  line-height: 1.65;
}

.ms-hero__bigidea {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #6C5CE7;
  margin-bottom: 36px;
}

.ms-hero__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ms-fomo {
  font-size: 14px;
  color: #E84393;
  font-weight: 600;
  margin-top: 18px;
}

.ms-promise-bar {
  margin-top: 32px;
  padding: 14px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #EDEDF5;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(26,26,46,0.03);
  font-size: 15px;
  color: #5A5A78;
}
.ms-promise-bar strong { color: #1A1A2E; }

/* Decorative circle */
.ms-hero__deco {
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,92,231,0.04), transparent 60%);
  pointer-events: none;
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.ms-section__title {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #1A1A2E;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 8px;
}

.ms-section__subtitle {
  font-size: 15px;
  color: #8A8AA8;
  text-align: center;
  margin-bottom: 36px;
}

.ms-section__bigidea {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  color: #6C5CE7;
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.ms-card {
  background: #fff;
  border: 1.5px solid #EDEDF5;
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s ease;
}
.ms-card:hover {
  border-color: #D0D0E8;
  box-shadow: 0 14px 44px rgba(26,26,46,0.05);
  transform: translateY(-3px);
}

.ms-card__emoji { font-size: 26px; margin-bottom: 12px; }
.ms-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 16px;
}

.ms-result-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
}

.ms-result-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.ms-result-text {
  font-size: 14px;
  color: #4A4A68;
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   OFFER CARDS
   ═══════════════════════════════════════ */
.ms-offer {
  background: #fff;
  border: 2px solid #EDEDF5;
  border-radius: 24px;
  padding: 32px 26px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-offer:hover {
  box-shadow: 0 20px 56px rgba(26,26,46,0.07);
  transform: translateY(-5px);
}

.ms-offer__tag {
  position: absolute;
  top: -12px; left: 24px;
  padding: 4px 16px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.ms-offer__name {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #1A1A2E;
  margin: 6px 0 6px;
}

.ms-offer__desc {
  font-size: 14px;
  color: #6B6B8A;
  line-height: 1.55;
  margin-bottom: 18px;
}

.ms-offer__replaces {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #FFF5F5;
  border-radius: 12px;
  border: 1px solid #FFE0E0;
}

.ms-offer__replaces-title {
  font-size: 11px;
  font-weight: 700;
  color: #E74C3C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ms-offer__replace-item {
  font-size: 13px;
  color: #C0392B;
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ms-offer__includes-title {
  font-size: 11px;
  font-weight: 700;
  color: #00B894;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ms-offer__include-item {
  font-size: 13px;
  color: #3A3A5C;
  padding: 5px 0;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #F5F5FA;
}
.ms-offer__include-item:last-child { border-bottom: none; }

.ms-offer__result-box {
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 16px;
  margin-bottom: 10px;
}

.ms-offer__result {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ms-offer__roi { font-size: 12px; color: #5A5A78; }
.ms-offer__delay { font-size: 12px; color: #00B894; font-weight: 600; margin-bottom: 4px; }
.ms-offer__price { font-size: 13px; color: #A0A0B8; }

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.ms-testi {
  background: #fff;
  border: 1.5px solid #EDEDF5;
  border-radius: 18px;
  padding: 24px;
}

.ms-testi__stars { color: #F59E0B; font-size: 16px; margin-bottom: 10px; }

.ms-testi__quote {
  font-size: 15px;
  color: #1A1A2E;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}

.ms-testi__who {
  font-size: 13px;
  color: #8A8AA8;
  font-weight: 600;
}

/* ═══════════════════════════════════════
   PREUVES
   ═══════════════════════════════════════ */
.ms-proof {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #EDEDF5;
  overflow: hidden;
}

.ms-proof__header {
  padding: 20px 22px 14px;
  border-bottom: 1px solid #F5F5FA;
}

.ms-proof__bar {
  width: 28px; height: 4px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.ms-proof__sector {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.ms-proof__before-after { font-size: 12px; margin-bottom: 2px; }
.ms-proof__label--before { color: #E74C3C; font-weight: 600; }
.ms-proof__label--after { color: #00B894; font-weight: 600; }
.ms-proof__text--dim { color: #8A8AA8; }
.ms-proof__text--bright { color: #3A3A5C; }

.ms-proof__body { padding: 14px 22px 18px; }

.ms-proof__result {
  font-size: 13px;
  color: #3A3A5C;
  padding: 5px 0;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #FAFAFE;
}
.ms-proof__result:last-child { border-bottom: none; }

.ms-proof__arrow { font-weight: 800; }

/* ═══════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════ */
.ms-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}
.ms-step:last-child { margin-bottom: 0; }

.ms-step__line {
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: -30px;
  width: 2px;
}

.ms-step__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.ms-step__title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 3px;
}

.ms-step__desc {
  font-size: 15px;
  color: #6B6B8A;
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.ms-about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
}

.ms-about__photo {
  width: 160px; height: 160px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 28px rgba(26,26,46,0.06);
}

.ms-about__name {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: 10px;
}

.ms-about__punchline {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #6C5CE7;
  margin-bottom: 14px;
}

.ms-about__text {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.ms-about__text--primary { color: #5A5A78; }
.ms-about__text--secondary { color: #8A8AA8; }

.ms-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.ms-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: #EEEDF8;
  color: #5A5A78;
}

/* ═══════════════════════════════════════
   FORM — LE CHÂSSIS
   ═══════════════════════════════════════ */
.ms-form-wrap {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #EDEDF5;
  padding: 28px;
  box-shadow: 0 8px 36px rgba(26,26,46,0.04);
}

.ms-form__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.ms-form__progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #EDEDF5;
  transition: background 0.3s;
}
.ms-form__progress-bar.active { background: #1A1A2E; }

.ms-form__step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ms-form-opt {
  padding: 16px 20px;
  border: 1.5px solid #EDEDF5;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
  background: #FAFAFE;
  margin-bottom: 8px;
}
.ms-form-opt:hover { border-color: #B8B8D0; background: #F5F5FB; }
.ms-form-opt.selected { border-color: #1A1A2E; background: #F0F0FA; box-shadow: 0 0 0 3px rgba(26,26,46,0.05); }

.ms-form-opt__label { font-size: 15px; font-weight: 500; color: #1A1A2E; }
.ms-form-opt__desc { font-size: 13px; color: #A0A0B8; margin-top: 1px; }

.ms-form__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #EDEDF5;
  border-radius: 12px;
  background: #FAFAFE;
  color: #1A1A2E;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: all 0.25s;
  margin-bottom: 12px;
}
.ms-form__input:focus {
  border-color: #1A1A2E;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,26,46,0.04);
}
.ms-form__input::placeholder { color: #A8A8C0; }

textarea.ms-form__input { min-height: 88px; resize: vertical; }

.ms-form__back {
  background: none;
  border: none;
  color: #A0A0B8;
  cursor: pointer;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  margin-top: 12px;
  padding: 0;
}
.ms-form__back:hover { color: #6B6B8A; }

.ms-form__success {
  text-align: center;
  padding: 28px 0;
}

.ms-form__success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #F0FFF9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: #00B894;
  font-weight: 800;
}

.ms-form__contact-info {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #A0A0B8;
}
.ms-form__contact-info a {
  color: #6C5CE7;
  font-weight: 600;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.ms-footer {
  padding: 28px 0;
  border-top: 1px solid #F0F0F5;
}

.ms-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ms-footer__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1A1A2E;
}
.ms-footer__logo span { color: #C0C0D0; }

.ms-footer__text { font-size: 12px; color: #A0A0B8; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.ms-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   V8 — DARK SECTION
   ═══════════════════════════════════════ */
.ms-section--dark {
  background: #1A1A2E;
  color: #E2E8F0;
}

.ms-offer--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.ms-offer--dark:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 56px rgba(0,0,0,0.2);
}

.ms-btn--light {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
  color: #1A1A2E;
}
.ms-btn--light:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════
   V8 — PUNCH SECTIONS
   ═══════════════════════════════════════ */
.ms-punch {
  padding: 60px 0;
  text-align: center;
}

.ms-punch__text {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  color: #1A1A2E;
}

.ms-punch__text em {
  font-style: italic;
  color: #6C5CE7;
}

.ms-punch__text strong {
  color: #E84393;
}

/* Punch accent — stats row */
.ms-punch--accent {
  background: #1A1A2E;
  padding: 56px 0;
}

.ms-punch-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.ms-punch-stat {
  text-align: center;
}

.ms-punch-stat__number {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: #A78BFA;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.ms-punch-stat__label {
  font-size: 14px;
  color: #94A3B8;
  max-width: 200px;
  display: block;
}

/* ═══════════════════════════════════════
   V8 — ASYMMETRIC ABOUT
   ═══════════════════════════════════════ */
.ms-about--wide {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.ms-about__left {
  text-align: center;
}

.ms-about__photo--large {
  width: 240px;
  height: 240px;
  border-radius: 28px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 12px 40px rgba(26,26,46,0.08);
}

.ms-about__right {}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .ms-container { padding: 0 20px; }
  .ms-hero__title { font-size: 32px !important; }
  .ms-section__title { font-size: 28px; }
  .ms-grid--2, .ms-grid--3 { grid-template-columns: 1fr; }
  .ms-hero__btns { flex-direction: column; }
  .ms-nav__links { display: none; }
  .ms-about { grid-template-columns: 1fr; text-align: center; }
  .ms-about--wide { grid-template-columns: 1fr; text-align: center; }
  .ms-about__photo { margin: 0 auto 20px; }
  .ms-about__photo--large { width: 180px; height: 180px; margin: 0 auto; }
  .ms-tags { justify-content: center; }
  .ms-offer { margin-top: 16px; }
  .ms-footer__inner { justify-content: center; text-align: center; }
  .ms-punch__text { font-size: 22px; }
  .ms-punch-stats { gap: 32px; }
  .ms-punch-stat__number { font-size: 40px; }
}
