/* =====================================================
   Avaansa — site corporate
   ===================================================== */

:root {
  --primary: #1e9159;
  --primary-dark: #146b40;
  --primary-soft: #e6f4ec;
  --ink: #10281c;
  --ink-soft: #43584d;
  --line: #dde8e1;
  --bg: #ffffff;
  --bg-alt: #f5faf7;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 40, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 40, 28, 0.14);
  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { color: var(--ink-soft); }

a { color: var(--primary-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.big { width: 56px; height: 56px; stroke-width: 1.5; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 145, 89, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16, 40, 28, 0.06); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header .header-inner { max-width: 1440px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.22em; color: var(--primary); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.94rem; white-space: nowrap; transition: color 0.15s; }
.main-nav a:hover { color: var(--primary-dark); }
.main-nav a.active { color: var(--primary-dark); font-weight: 700; }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #fff; }
.btn-nav-mobile { display: none; }
.btn-header { white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(30, 145, 89, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(30, 145, 89, 0.07), transparent 60%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-weight: 600; font-size: 0.82rem;
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.badge .icon { width: 15px; height: 15px; }

.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 1.16rem; margin: 20px 0 30px; max-width: 34rem; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-points { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero-points li { font-size: 0.88rem; color: var(--ink-soft); padding-left: 22px; position: relative; }
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314683f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}

/* Cadre navigateur */
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #f0f5f2;
  border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5e2da; }
.browser-bar span:nth-child(1) { background: #f2b8b5; }
.browser-bar span:nth-child(2) { background: #f5d9a8; }
.browser-bar span:nth-child(3) { background: #b7dfc7; }
.browser-bar i {
  font-style: normal; font-size: 0.72rem; color: #7d948a;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 12px; margin-left: 10px;
}
.hero-visual .browser-frame { transform: rotate(0.5deg); }

/* ---------- Hero de page intérieure ---------- */
.page-hero {
  padding: 64px 0 56px;
  text-align: center;
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(30, 145, 89, 0.10), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; max-width: 760px; margin: 0 auto; }
.page-hero .lead { font-size: 1.1rem; max-width: 640px; margin: 18px auto 0; }
.page-hero .hero-cta { justify-content: center; margin-top: 28px; }

/* ---------- Bandeau CTA final ---------- */
.cta-band {
  background: linear-gradient(150deg, #123f28 0%, #14683f 55%, #1e9159 130%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #d3ecdd; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Liste compacte de fonctionnalités (accueil) ---------- */
.feature-compact { display: flex; gap: 14px; align-items: flex-start; padding: 18px 4px; }
.feature-compact .card-icon { width: 42px; height: 42px; flex-shrink: 0; }
.feature-compact h3 { font-size: 1rem; margin-bottom: 3px; }
.feature-compact p { font-size: 0.88rem; }

/* ---------- Trust bar ---------- */
.trustbar { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.trust-item span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.04rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.kicker.light { color: #9fdcbc; }

.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Cartes ---------- */
.cards-grid { display: grid; gap: 22px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.pricing-card { position: relative; display: flex; flex-direction: column; min-height: 270px; }
.pricing-card.featured { border-color: var(--primary); box-shadow: inset 0 4px 0 var(--primary); }
.pricing-card .check-list { margin: 14px 0 4px; }
.pricing-card .check-list li { padding: 4px 0 4px 26px; font-size: 0.85rem; font-weight: 400; }
.pricing-card .check-list li::before { top: 6px; width: 16px; height: 16px; background-size: 9px; }
.pricing-audience { min-height: 38px; color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; }
.pricing-card h3 { margin-top: 16px; }
.pricing-users { padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--primary-dark); font-weight: 700; }
.pricing-price { margin-top: auto; padding-top: 18px; }
.pricing-price strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.42rem; line-height: 1.25; }
.pricing-price span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 0.76rem; }
.pricing-note { max-width: 780px; margin: 24px auto 0; color: var(--ink-soft); text-align: center; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4dcce; }
.card h3 { margin: 16px 0 8px; }
.card p { font-size: 0.93rem; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary-dark);
}

.mini-list { list-style: none; margin-top: 6px; }
.mini-list li { font-size: 0.9rem; color: var(--ink-soft); padding: 5px 0 5px 22px; position: relative; }
.mini-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 13px; height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e9159' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy > p { font-size: 1.03rem; margin-bottom: 22px; }

.advantage-formula {
  display: inline-block; margin: 4px 0 22px; padding: 10px 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--primary);
  border-radius: 10px; background: var(--primary-soft);
  color: var(--ink); font-weight: 700; font-size: 0.97rem;
}
.advantage-label { color: var(--primary-dark); font-weight: 800; }
.advantage-formula .x { color: var(--primary); font-weight: 800; margin: 0 2px; }

.check-list { list-style: none; margin: 6px 0 30px; }
.check-list li { padding: 7px 0 7px 32px; position: relative; color: var(--ink); font-weight: 500; font-size: 0.97rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314683f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.check-list.light li { color: #eaf6ef; }
.check-list.light li::before { background-color: rgba(255, 255, 255, 0.14); }

/* ---------- Aperçu / captures ---------- */
.shots { max-width: 980px; margin: 0 auto; }
.shots-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.shot-tab {
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  padding: 10px 20px; border-radius: 100px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  cursor: pointer; transition: all 0.15s;
}
.shot-tab:hover { border-color: var(--primary); color: var(--primary-dark); }
.shot-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.shot-frame img { transition: opacity 0.25s; }
.shot-frame img.fading { opacity: 0; }
.shots-note { text-align: center; margin-top: 24px; font-size: 0.95rem; }

/* ---------- Assistant IA ---------- */
.ai { background:
  radial-gradient(800px 400px at 100% 0%, rgba(30, 145, 89, 0.08), transparent 60%),
  var(--bg); }
.ai-split { align-items: start; }
.ai-split .check-list li { padding-bottom: 11px; }
.ai-split .check-list li strong { color: var(--ink); }
.ai-highlights { text-align: left; }
.ai-caption { font-size: 0.86rem; color: #7d948a; margin-top: 14px; text-align: center; font-style: italic; }

/* ---------- Sécurité & infrastructure ---------- */
.security-teaser {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(111, 197, 153, 0.18), transparent 62%),
    linear-gradient(145deg, #0e2d1d 0%, #134d2f 58%, #167348 120%);
}
.security-teaser-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.security-teaser-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: #b9ebd0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.security-teaser-copy h2 { max-width: 680px; color: #fff; }
.security-teaser-copy > p { max-width: 720px; margin-top: 12px; color: #cce4d6; }
.security-assurances { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.security-assurances span {
  position: relative;
  padding: 7px 12px 7px 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #e5f5ec;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 600;
}
.security-assurances span::before {
  position: absolute;
  left: 11px;
  top: 50%;
  color: #8addae;
  content: '✓';
  font-weight: 800;
  transform: translateY(-50%);
}
.btn-security {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  color: #123d27;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.btn-security:hover { color: var(--primary-dark); box-shadow: 0 15px 36px rgba(0, 0, 0, 0.22); }
.btn-security .icon { flex: 0 0 auto; width: 19px; height: 19px; }

.security-page-hero {
  overflow: hidden;
  background:
    radial-gradient(560px 300px at 14% 0%, rgba(30, 145, 89, 0.13), transparent 65%),
    radial-gradient(700px 360px at 88% 0%, rgba(30, 145, 89, 0.10), transparent 62%),
    var(--bg-alt);
}
.security-hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 1px solid #c6dfcf;
  border-radius: 22px;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: var(--shadow);
}
.security-hero-mark .icon { width: 38px; height: 38px; }
.security-principles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.security-principles span {
  padding: 7px 13px;
  border: 1px solid #d4e5da;
  border-radius: 100px;
  color: #315c40;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 700;
}
.security-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.security-intro p { margin-top: 14px; font-size: 1.04rem; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.security-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 40, 28, 0.055);
}
.security-card::after {
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(30, 145, 89, 0.035);
  border-radius: 50%;
  content: '';
}
.security-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.security-card-icon .icon { width: 27px; height: 27px; }
.security-card-copy { position: relative; z-index: 1; }
.security-card h2 { margin: 2px 0 10px; font-size: 1.18rem; }
.security-card p { font-size: 0.94rem; }
.security-card-highlight {
  border-color: #b9d9c4;
  background: linear-gradient(145deg, #f7fcf9, #edf7f1);
}
.security-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 880px;
  margin: 34px auto 0;
  padding: 18px 20px;
  border: 1px solid #d6e5da;
  border-radius: 12px;
  background: var(--bg-alt);
}
.security-note .icon { flex: 0 0 auto; color: var(--primary); }
.security-note p { font-size: 0.88rem; }

/* ---------- Statut technique public ---------- */
.status-page { background: #f4f8f5; }
.status-hero {
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 360px at 88% -20%, rgba(30, 145, 89, 0.12), transparent 64%),
    #f8fbf9;
}
.status-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.status-hero-copy { max-width: 700px; }
.status-hero-copy h1 { margin-top: 4px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.status-hero-copy > p { margin-top: 14px; font-size: 1.03rem; }
.status-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #557065;
  font-size: 0.79rem;
  font-weight: 600;
}
.status-secure-note .icon { width: 17px; height: 17px; color: var(--primary); }
.status-hero-mark {
  display: flex;
  flex: 0 0 108px;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border: 1px solid #cae0d1;
  border-radius: 30px;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: var(--shadow);
}
.status-hero-mark .icon { width: 50px; height: 50px; }
.status-content { padding: 42px 0 88px; }
.status-overall {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid #c7dfcf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 40, 28, 0.07);
}
.status-overall-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #177244;
  background: #e3f4e9;
}
.status-overall-icon .icon { width: 26px; height: 26px; }
.status-overall-copy strong { display: block; font-family: var(--font-head); font-size: 1.12rem; }
.status-overall-copy span { display: block; margin-top: 3px; color: #718178; font-size: 0.84rem; }
.status-refresh { color: #718178; font-size: 0.78rem; text-align: right; }
.status-overall.status-degraded { border-color: #ecd79f; }
.status-overall.status-degraded .status-overall-icon { color: #986b08; background: #fff4d6; }
.status-overall.status-outage { border-color: #e5baba; }
.status-overall.status-outage .status-overall-icon { color: #a63434; background: #fdeaea; }
.status-overall.status-maintenance { border-color: #bfd4e8; }
.status-overall.status-maintenance .status-overall-icon { color: #326c9f; background: #eaf3fb; }
.status-overall.status-unknown { border-color: #d8dfda; }
.status-overall.status-unknown .status-overall-icon { color: #6c7770; background: #eef1ef; }
.status-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr); gap: 24px; }
.status-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 40, 28, 0.055);
}
.status-panel-head { padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.status-panel-head h2 { font-size: 1.12rem; }
.status-panel-head p { margin-top: 4px; font-size: 0.8rem; }
.status-service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #edf2ef;
}
.status-service:last-child { border-bottom: 0; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #1d985c; box-shadow: 0 0 0 4px #e4f5eb; }
.status-service-copy strong { display: block; font-family: var(--font-head); font-size: 0.94rem; }
.status-service-copy small { display: block; margin-top: 2px; color: #7c8b82; font-size: 0.76rem; }
.status-badge { padding: 5px 9px; border-radius: 100px; color: #177244; background: #e6f5eb; font-size: 0.7rem; font-weight: 800; }
.status-service.status-degraded .status-dot { background: #d69b16; box-shadow: 0 0 0 4px #fff3d5; }
.status-service.status-degraded .status-badge { color: #8b6208; background: #fff3d5; }
.status-service.status-outage .status-dot { background: #c84848; box-shadow: 0 0 0 4px #fde8e8; }
.status-service.status-outage .status-badge { color: #a23131; background: #fde8e8; }
.status-service.status-maintenance .status-dot { background: #4c86b9; box-shadow: 0 0 0 4px #e7f1fa; }
.status-service.status-maintenance .status-badge { color: #326b9c; background: #e7f1fa; }
.status-service.status-unknown .status-dot { background: #929c96; box-shadow: 0 0 0 4px #edf0ee; }
.status-service.status-unknown .status-badge { color: #69736d; background: #edf0ee; }
.status-incidents { padding: 22px; }
.status-empty { text-align: center; padding: 26px 12px; }
.status-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.status-empty-icon .icon { width: 24px; height: 24px; }
.status-empty strong { display: block; font-family: var(--font-head); font-size: 0.94rem; }
.status-empty p { margin-top: 5px; font-size: 0.78rem; }
.status-incident { padding: 14px 0; border-bottom: 1px solid #edf2ef; }
.status-incident:last-child { border-bottom: 0; }
.status-incident time { display: block; color: #829087; font-size: 0.7rem; }
.status-incident strong { display: block; margin-top: 3px; font-family: var(--font-head); font-size: 0.9rem; }
.status-incident p { margin-top: 4px; font-size: 0.78rem; }
.status-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #f9fbfa;
}
.status-disclosure .icon { flex: 0 0 auto; width: 19px; height: 19px; color: var(--primary); }
.status-disclosure p { font-size: 0.78rem; }

/* ---------- À propos ---------- */
.about-blocks { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.about-block { border-left: 3px solid var(--primary); padding-left: 18px; }
.about-block h3 { margin-bottom: 4px; font-size: 1.02rem; }
.about-block p { font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color 0.2s;
}
.faq-item[open] { border-color: #bcd9c9; box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 0.99rem;
  padding: 18px 52px 18px 22px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; font-size: 0.94rem; }

/* ---------- Démo ---------- */
.demo {
  background:
    radial-gradient(900px 500px at 110% 110%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(150deg, #123f28 0%, #14683f 55%, #1e9159 130%);
  color: #fff;
}
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.demo h2 { color: #fff; margin-bottom: 16px; }
.demo-copy > p { color: #d3ecdd; font-size: 1.05rem; margin-bottom: 24px; }

.demo-contact { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.demo-contact p { color: #d3ecdd; font-size: 0.95rem; }
.demo-contact strong { color: #fff; }
.demo-contact a { color: #a9e6c5; font-weight: 600; }

.demo-form-wrap { position: relative; }
.demo-form {
  background: #fff; border-radius: 18px; padding: 34px 32px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.demo-form h3 { margin-bottom: 22px; font-size: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; display: flex; flex-direction: column; }
.form-field label { font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: 9px;
  background: #fbfdfc; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 145, 89, 0.14);
}
.form-field input.invalid, .form-field select.invalid { border-color: #d0564a; }
textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 6px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--primary); flex-shrink: 0; }
.consent span { font-size: 0.82rem; color: var(--ink-soft); }

.form-notice {
  font-size: 0.78rem; color: #8a6d3b;
  background: #fdf6e7; border: 1px solid #f0e0bb; border-radius: 8px;
  padding: 9px 12px; margin: 12px 0 18px;
}
.form-error { margin-top: 14px; font-size: 0.88rem; color: #b3362a; }

.demo-confirm {
  background: #fff; border-radius: 18px; padding: 60px 40px;
  box-shadow: var(--shadow-lg); color: var(--ink); text-align: center;
}
.demo-confirm .icon.big { color: var(--primary); margin: 0 auto 18px; }
.demo-confirm h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2418; color: #b8cec1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-name small { color: #6fc599; }
.footer-brand p { color: #8fa89b; font-size: 0.9rem; max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; margin-bottom: 6px; }
.footer-col a { color: #8fa89b; text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-col a:hover { color: #a9e6c5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 24px; }
.footer-bottom p { font-size: 0.82rem; color: #6d8578; }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; z-index: 200;
  max-width: 440px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-header { display: flex; gap: 14px; align-items: flex-start; }
.cookie-banner-icon { flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; color: var(--primary); }
.cookie-banner-title { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.cookie-banner-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }
.cookie-banner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cookie-banner-list li { position: relative; padding-left: 20px; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.4; }
.cookie-banner-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.cookie-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cookie-banner-link { font-size: 0.82rem; color: var(--primary); font-weight: 500; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Pages légales ---------- */
.legal-page { padding: 60px 0 90px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: #7d948a; margin-bottom: 36px; }
.legal-page h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 0.96rem; color: var(--ink-soft); }
.legal-page ul { padding-left: 22px; margin: 10px 0; }
.legal-page table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 0.9rem; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; color: var(--ink-soft); }
.legal-page th { background: var(--bg-alt); color: var(--ink); font-family: var(--font-head); }
.placeholder { background: #fdf6e7; padding: 1px 6px; border-radius: 4px; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .cards-grid.three { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  #solution .split-visual { order: 2; }
  .demo-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .security-teaser-inner { grid-template-columns: auto minmax(0, 1fr); }
  .security-teaser-inner .btn-security { grid-column: 2; }
  .status-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .btn-header { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 24px 20px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--bg-alt); }
  .btn-nav-mobile { display: block; margin-top: 14px; border: none; padding: 14px 22px; border-radius: 10px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form { padding: 26px 20px; }
  .security-teaser-inner { grid-template-columns: 1fr; text-align: center; }
  .security-teaser-icon { margin: 0 auto; }
  .security-assurances { justify-content: center; }
  .security-teaser-inner .btn-security { grid-column: 1; justify-self: center; }
  .security-grid { grid-template-columns: 1fr; }
  .status-hero-inner { align-items: flex-start; }
  .status-hero-mark { flex-basis: 82px; width: 82px; height: 82px; border-radius: 23px; }
  .status-hero-mark .icon { width: 38px; height: 38px; }
}

@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 0; }
  .cards-grid.three, .cards-grid.four { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-cta .btn { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-name small { display: none; }
  .security-teaser { padding: 56px 0; }
  .security-teaser-icon { width: 70px; height: 70px; border-radius: 19px; }
  .security-assurances { align-items: stretch; flex-direction: column; }
  .security-assurances span { text-align: left; }
  .btn-security { width: 100%; max-width: none; justify-content: center; }
  .security-card { grid-template-columns: 1fr; min-height: 0; padding: 23px 21px; }
  .status-hero { padding: 42px 0 34px; }
  .status-hero-inner { flex-direction: column-reverse; }
  .status-content { padding: 28px 0 64px; }
  .status-overall { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .status-refresh { grid-column: 1 / -1; text-align: left; }
  .status-service { grid-template-columns: auto minmax(0, 1fr); }
  .status-badge { grid-column: 2; justify-self: start; }
}
.main-nav .nav-support { display: inline-flex; align-items: center; gap: 6px; }
.main-nav .nav-support svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
