/* =====================================================================
   Vision GMAO — site vitrine (v2 — design pro inspiré Twimm/Twipi)
   Stack: HTML/CSS pur, déployé sur Apache (EX2). Zéro build step.
   Couleurs: navy texte #182945, bleu Vision #3a6faf, cyan accent #5fc8e0,
             orange highlight #e75113.
   ===================================================================== */

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #182945;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #3a6faf; text-decoration: none; transition: color 0.15s; }
a:hover { color: #2f5e96; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; color: #182945; font-weight: 500; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; color: #4b5b75; }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-alt { background: #f5f8fc; }
.section-dark { background: #0f1d33; color: #d4dbe8; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #ffffff; }
.section-dark p { color: #b3bfd1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(24, 41, 69, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #182945;
}
.brand:hover { color: #182945; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3a6faf, #5fc8e0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(58, 111, 175, 0.3);
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-primary a:not(.btn):not(.lang-toggle) {
  color: #4b5b75;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-primary a:not(.btn):not(.lang-toggle):hover { color: #182945; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1.5px solid #d6dde8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5b75;
  letter-spacing: 0.04em;
}
.lang-toggle:hover { background: #f5f8fc; border-color: #3a6faf; color: #3a6faf; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #4b5b75;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons (pill-shape Twimm-style) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #3a6faf;
  color: white;
  box-shadow: 0 6px 18px rgba(58, 111, 175, 0.28);
}
.btn-primary:hover {
  background: #2f5e96;
  color: white;
  box-shadow: 0 10px 24px rgba(58, 111, 175, 0.35);
}
.btn-secondary {
  background: transparent;
  color: #182945;
  border-color: #d6dde8;
}
.btn-secondary:hover {
  border-color: #3a6faf;
  color: #3a6faf;
  background: #f5f8fc;
}
.btn-ghost {
  background: transparent;
  color: #3a6faf;
  padding: 13px 18px;
}
.btn-ghost:hover { background: #eef3fa; color: #2f5e96; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 130%;
  background: linear-gradient(135deg, #3a6faf 0%, #5fc8e0 100%);
  border-radius: 0 0 0 60% / 0 0 0 50%;
  z-index: -1;
  opacity: 0.95;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #3a6faf;
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #3a6faf 0%, #5fc8e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.hero-tagline {
  font-size: 1.18rem;
  color: #4b5b75;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: #4b5b75;
  flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Cpath fill-rule='evenodd' d='M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm4.28 7.72a.75.75 0 00-1.06-1.06L11 13.13l-2.22-2.22a.75.75 0 00-1.06 1.06l2.75 2.75a.75.75 0 001.06 0l5.25-5.25z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- Mockup browser frame ---------- */
.mockup-browser {
  background: #182945;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(15, 29, 51, 0.35), 0 8px 16px rgba(15, 29, 51, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.mockup-browser-bar {
  background: #0f1d33;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-browser-bar i:nth-child(1) { background: #ef4444; }
.mockup-browser-bar i:nth-child(2) { background: #f59e0b; }
.mockup-browser-bar i:nth-child(3) { background: #10b981; }
.mockup-browser-url {
  flex: 1;
  background: #1e2f4f;
  border-radius: 6px;
  padding: 5px 14px;
  margin-left: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.mockup-browser-screen { background: white; aspect-ratio: 16/10; }
.mockup-browser-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Mockup phone frame ---------- */
.mockup-phone {
  background: #0f1d33;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(15, 29, 51, 0.35);
  width: 280px;
  margin: 0 auto;
}
.mockup-phone-screen {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}
.mockup-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #0f1d33;
  border-radius: 14px;
  z-index: 2;
}
.mockup-phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, #0f1d33 0%, #1a2f56 100%);
  color: #ffffff;
  padding: 56px 0;
  margin: -1px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 0 16px;
}
.stat-number {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 600;
  background: linear-gradient(135deg, #5fc8e0, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
  line-height: 1;
}
.stat-label {
  font-size: 0.92rem;
  color: #b3bfd1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Section title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #3a6faf;
  margin-bottom: 14px;
}
.section-title p {
  color: #4b5b75;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Modules grid ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.module-card {
  background: white;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 29, 51, 0.08);
  border-color: #3a6faf;
}
.module-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf2fb, #d6e9f8);
  color: #3a6faf;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.module-icon svg { width: 28px; height: 28px; }
.module-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.module-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.module-card.coming {
  background: #fafbfd;
  border-style: dashed;
}
.module-card.coming .module-icon {
  background: #eef1f6;
  color: #94a3b8;
}
.module-card.coming::after {
  content: attr(data-coming);
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Personas (Pour qui ?) ---------- */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.persona-card {
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid #e8edf4;
  position: relative;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  background: linear-gradient(90deg, #3a6faf, #5fc8e0);
  border-radius: 0 0 4px 4px;
}
.persona-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a6faf, #5fc8e0);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.persona-icon svg { width: 32px; height: 32px; }
.persona-card h3 { margin-bottom: 14px; }
.persona-card ul { list-style: none; padding: 0; margin: 0; }
.persona-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: #4b5b75;
  font-size: 0.95rem;
  line-height: 1.5;
}
.persona-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a6faf'%3E%3Cpath fill-rule='evenodd' d='M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm4.28 7.72a.75.75 0 00-1.06-1.06L11 13.13l-2.22-2.22a.75.75 0 00-1.06 1.06l2.75 2.75a.75.75 0 001.06 0l5.25-5.25z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- Features (points forts) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 36px 32px;
}
.feature {
  display: flex;
  gap: 18px;
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2fb, #d6e9f8);
  color: #3a6faf;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; margin: 0; line-height: 1.55; }

/* ---------- Screenshots gallery ---------- */
.screens-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .screens-grid { grid-template-columns: 1fr; }
  .mockup-phone { width: 240px; }
}

/* ---------- Templates métier ---------- */
.templates-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.template-pill {
  background: white;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  font-weight: 500;
  color: #182945;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.template-pill:hover {
  transform: translateY(-3px);
  border-color: #3a6faf;
  box-shadow: 0 12px 28px rgba(58, 111, 175, 0.12);
}
.template-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf2fb, #d6e9f8);
  color: #3a6faf;
  display: flex;
  align-items: center;
  justify-content: center;
}
.template-pill-icon svg { width: 24px; height: 24px; }
.template-pill.placeholder {
  border-style: dashed;
  background: #fafbfd;
  color: #94a3b8;
}
.template-pill.placeholder .template-pill-icon {
  background: #eef1f6;
  color: #94a3b8;
}

/* ---------- Quote testimonial ---------- */
.testimonial {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
}
.testimonial-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: #182945;
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: #5fc8e0;
  margin-bottom: -12px;
  font-family: Georgia, serif;
}
.testimonial-author {
  font-size: 0.95rem;
  color: #4b5b75;
  font-weight: 500;
}
.testimonial-author strong { color: #182945; font-weight: 600; }

/* ---------- CTA bandeau ---------- */
.cta-banner {
  background: linear-gradient(120deg, #3a6faf 0%, #5fc8e0 100%);
  color: white;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(58, 111, 175, 0.25);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: white; margin-bottom: 14px; font-weight: 600; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 32px; }
.cta-banner .btn-primary {
  background: white;
  color: #3a6faf;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.cta-banner .btn-primary:hover { background: #f5f8fc; color: #2f5e96; }
.cta-banner .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1d33;
  color: #b3bfd1;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: white;
  font-size: 0.92rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #b3bfd1; font-size: 0.92rem; }
.footer-grid a:hover { color: white; }
.footer-brand p { color: #b3bfd1; max-width: 360px; font-size: 0.92rem; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7d8aa1;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Mobile responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 64px 0 72px; }
  .hero::before {
    top: 0;
    right: -30%;
    width: 100%;
    height: 60%;
    border-radius: 0 0 50% 50% / 0 0 25% 25%;
    opacity: 0.12;
  }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    gap: 18px;
    border-bottom: 1px solid #e8edf4;
    box-shadow: 0 12px 24px rgba(15, 29, 51, 0.08);
  }
  .nav-primary.is-open { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-banner { padding: 44px 28px; border-radius: 16px; }
  h1 { font-size: 2.1rem; }
}
