/* AquaBase -- vitrine. Identite sobre : eau (accroche), pierre, marine.
   Marine et turquoise comme le CRM ; la pierre (margelle) est propre au site. */
:root {
  --deep: #0B2130;
  --deep-2: #12303F;
  --deep-3: #1d4357;
  --ink: #12232e;
  --ink-2: #3d5260;
  --muted: #6a7c88;
  --teal: #0EA5A0;
  --teal-deep: #0A6B67;
  --foam: #7FE3DE;
  --water-1: #dff4f2;
  --water-2: #bfe9e6;
  --stone: #f4efe6;
  --stone-2: #e9e1d3;
  --stone-line: #ddd3c2;
  --rope: #e4574b;
  --max: 1120px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--stone); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; }

/* ---------- En-tete : discret, transparent sur l'eau ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; color: var(--deep); }
.brand img { width: 32px; height: 32px; }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.top-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.top-links a:hover { color: var(--teal-deep); }
.top-links .lang { font-weight: 600; letter-spacing: .06em; font-size: 13px; }
.top-links .login { color: var(--deep); font-weight: 600; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

/* ---------- Accroche : la surface de l'eau ---------- */
.hero { position: relative; text-align: center; padding: 150px 0 0; background: linear-gradient(180deg, #f7fcfb 0%, var(--water-1) 55%, var(--water-2) 100%); }
.hero .kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 22px; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.04; margin: 0 auto 26px; max-width: 13em; color: var(--deep); }
.hero h1 .wave { position: relative; white-space: nowrap; }
.hero h1 .wave::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.12em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6c10 0 10-5 20-5s10 5 20 5 10-5 20-5 10 5 20 5 10-5 20-5 10 5 20 5' fill='none' stroke='%230EA5A0' stroke-width='3'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero .lead { font-size: 19.5px; color: var(--ink-2); max-width: 36em; margin: 0 auto 36px; }
.hero .actions { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero .made { margin: 44px auto 0; font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.hero .made span::before { content: '~'; color: var(--teal); font-weight: 700; margin-right: 8px; }
.hero .surface { display: block; width: 100%; height: 120px; margin-top: 70px; }

.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 15.5px; text-decoration: none; padding: 15px 28px; border-radius: 999px; transition: .15s; }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--teal-deep); }
.btn-foam { background: var(--foam); color: var(--deep); }
.btn-foam:hover { background: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--deep); }
.link-arrow::after { content: ' \2192'; color: var(--teal); }
.link-arrow:hover { color: var(--teal-deep); }

/* ---------- Le parcours : ligne du temps ---------- */
.journey { background: var(--deep); color: #d8e6ed; padding: 30px 0 110px; }
.journey .head { text-align: center; margin-bottom: 46px; }
.journey h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; line-height: 1.12; }
.journey .head p { color: #9fb9c7; font-size: 17.5px; max-width: 38em; margin: 0 auto; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 14px; }
.journey .eyebrow { color: var(--foam); }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 10px; }
.st { position: relative; padding: 34px 22px 0 0; border-top: 1px solid var(--deep-3); }
.st::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--foam); box-shadow: 0 0 0 4px var(--deep); }
.st .n { font-family: var(--serif); font-size: 15px; color: var(--foam); letter-spacing: .04em; }
.st h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: #fff; margin: 6px 0 10px; }
.st p { margin: 0; font-size: 14.5px; color: #a9c1cd; }
/* ---------- Fonctionnalites : liste editoriale ---------- */
.features { padding: 110px 0; }
.features .intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; margin-bottom: 56px; align-items: end; }
.features h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0; color: var(--deep); }
.features .intro p { font-size: 17.5px; color: var(--ink-2); margin: 0; }
.flist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 1px solid var(--stone-line); }
.fitem { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--stone-line); }
.fitem .drop { width: 26px; height: 26px; margin-top: 4px; color: var(--teal); }
.fitem h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 0 0 6px; color: var(--deep); }
.fitem p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- IA : sous la surface ---------- */
.ai { background: #fff; padding: 110px 0; }
.ai .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ai h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 0 0 18px; color: var(--deep); }
.ai .sub { font-size: 17.5px; color: var(--ink-2); margin: 0; }
.ai ol { list-style: none; counter-reset: a; margin: 0; padding: 0; }
.ai li { counter-increment: a; position: relative; padding: 0 0 26px 62px; font-size: 15.5px; color: var(--ink-2); }
.ai li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: -4px; font-family: var(--serif); font-size: 30px; color: var(--teal); line-height: 1; }
.ai li b { display: block; color: var(--deep); font-size: 17px; margin-bottom: 3px; }

/* ---------- Origine : citation ---------- */
.story { padding: 110px 0; text-align: center; }
.story blockquote { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--deep); max-width: 30em; margin: 0 auto 26px; font-weight: 400; }
.story blockquote::before { content: '\201C'; display: block; font-size: 80px; line-height: .6; color: var(--teal); margin-bottom: 10px; }
.story .by { font-size: 15px; color: var(--ink-2); }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.badges span { border: 1px solid var(--stone-line); background: #fffaf2; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink-2); }

/* ---------- Appel final : grand bain ---------- */
.final { background: linear-gradient(180deg, var(--teal-deep) 0%, var(--deep) 100%); color: #fff; text-align: center; padding: 0 0 100px; }
.final .surface { display: block; width: 100%; height: 90px; }
.final h2 { font-size: clamp(30px, 4vw, 48px); margin: 40px 0 14px; }
.final p { color: #bcd3dd; font-size: 17.5px; max-width: 34em; margin: 0 auto 34px; }
.final .actions { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; align-items: center; }
.final .link-arrow { color: #fff; }
.final .link-arrow::after { color: var(--foam); }

footer { background: #06141d; color: #8aa3b1; font-size: 14px; padding: 30px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer a { color: #cfe0ea; text-decoration: none; }
footer a:hover { color: var(--foam); }
footer .brand { color: #fff; font-size: 19px; }
footer .brand img { width: 26px; height: 26px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Petits ecrans ---------- */
@media (max-width: 900px) {
  .features .intro, .ai .wrap, .flist { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
}
@media (max-width: 600px) {
  .top-links .demo { display: none; }
  .hero { padding-top: 120px; }
  .hero .surface { height: 70px; margin-top: 50px; }
  .steps { grid-template-columns: 1fr; row-gap: 34px; }
  .features, .ai, .story { padding: 76px 0; }
}
