/* Reo — site vitrine / pages légales
   Sobre, sans dépendance externe, typo système. */

:root {
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e4e4e4;
  --accent: #0b5cab;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --maxw: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

/* --- Layout --- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 48px 0 64px;
}

/* --- Header / nav --- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Home logo --- */
.home-logo {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  margin: 0 0 20px;
}

/* --- Typography --- */
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--accent);
}

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
}

.meta-date {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

/* Placeholders à remplir (visuellement repérables) */
.ph {
  background: #fff4d6;
  border-radius: 3px;
  padding: 0 4px;
  font-style: normal;
  white-space: nowrap;
}

/* Encadré transparence IA / points importants */
.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Table sous-traitants */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 600;
  background: var(--bg-soft);
}

/* --- Home cards --- */
.home-links {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  background: var(--bg-soft);
}

.card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 2px;
}

.card span {
  color: var(--muted);
  font-size: 15px;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .container {
  padding-top: 28px;
  padding-bottom: 28px;
}

.site-footer .nav {
  margin-bottom: 12px;
}

.site-footer .nav a {
  font-size: 14px;
}

.site-footer .copyright {
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 26px;
  }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   LANDING PAGE (index) — scopé .landing pour ne pas toucher les pages légales
   Direction : lagon polynésien. Signature : conversation Messenger du hero.
   ════════════════════════════════════════════════════════════════════════ */
.landing {
  --ocean: #0b5cab;
  --ocean-deep: #073d73;
  --lagoon: #11b3a6;
  --coral: #f6663f;
  --sand: #fbf7f0;
  --ink: #14253a;
  --muted: #5b6a7a;
  --line2: #e7ebf0;
  --maxw2: 1080px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
.landing main {
  padding: 0; /* neutralise le padding global réservé aux pages légales */
}
.landing .wrap {
  max-width: var(--maxw2);
  margin: 0 auto;
  padding: 0 24px;
}
.landing h1,
.landing h2,
.landing h3,
.landing .price-num {
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 700;
}
.landing .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(17, 179, 166, 0.28), transparent 60%),
    radial-gradient(700px 480px at 8% 92%, rgba(17, 179, 166, 0.14), transparent 55%),
    linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean) 62%, #0a66bd 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 120px;
}
.hero .eyebrow {
  color: #8ff0e4;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 20px;
  color: #fff;
}
.hero .sub {
  font-size: clamp(17px, 2.1vw, 20px);
  color: #d6e6f6;
  margin: 0 0 32px;
  max-width: 30em;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(246, 102, 63, 0.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -8px rgba(246, 102, 63, 0.7);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.hero .trust {
  margin: 22px 0 0;
  font-size: 14px;
  color: #b9d2ea;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Carte conversation (signature) ─────────────────────────────────────── */
.chat {
  background: #fff;
  border-radius: 22px;
  padding: 18px 18px 22px;
  box-shadow: 0 30px 70px -24px rgba(4, 30, 60, 0.55);
  color: var(--ink);
  max-width: 380px;
  margin-left: auto;
  width: 100%;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line2);
  margin-bottom: 16px;
}
.chat-ava {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--ocean), var(--lagoon));
  padding: 7px;
  flex: none;
}
.chat-ava img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
}
.chat-head b {
  font-size: 15px;
}
.chat-head span {
  display: block;
  font-size: 12px;
  color: var(--lagoon);
  font-weight: 600;
}
.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.bubble.them {
  background: #eef1f5;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.bubble.me {
  background: var(--ocean);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}
.bubble.order {
  background: #fff;
  border: 1.5px solid var(--lagoon);
  color: var(--ink);
  max-width: 100%;
  border-radius: 14px;
  font-size: 13.5px;
}
.bubble.order b {
  color: var(--ocean-deep);
}
.bubble.order .ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lagoon);
  font-weight: 600;
  margin-top: 6px;
}

/* ── Vague de transition ────────────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: -1px;
}

/* ── Sections génériques ────────────────────────────────────────────────── */
.section {
  padding: 84px 0;
}
.section.sand {
  background: var(--sand);
}
.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head.left {
  text-align: left;
  margin-left: 0;
}
.section h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* Promesse */
.promise {
  text-align: center;
}
.promise p {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  max-width: 18em;
  margin: 0 auto;
  color: var(--ink);
}
.promise .hl {
  color: var(--ocean);
  font-weight: 700;
}

/* Bénéfices */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 16px;
  padding: 26px 22px;
}
.feature .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(17, 179, 166, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature .ic svg {
  width: 24px;
  height: 24px;
  stroke: var(--ocean);
}
.feature h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Comment ça marche — séquence 01/02/03 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step {
  position: relative;
  padding-top: 20px;
}
.step .n {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--lagoon));
}
.step h3 {
  font-size: 19px;
  margin: 0 0 9px;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Types de commerce */
.commerce {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ctype {
  border: 1px solid var(--line2);
  border-radius: 16px;
  padding: 28px 26px;
  background: #fff;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ctype .ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: rgba(11, 92, 171, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctype .ic svg {
  width: 24px;
  height: 24px;
  stroke: var(--ocean);
}
.ctype h3 {
  font-size: 18px;
  margin: 2px 0 6px;
}
.ctype p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ── Tarifs ─────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
}
.plan.feat {
  border: 2px solid var(--ocean);
  box-shadow: 0 24px 50px -22px rgba(11, 92, 171, 0.4);
  transform: translateY(-8px);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan h3 {
  font-size: 20px;
  margin: 0 0 4px;
}
.plan .desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
  min-height: 20px;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.price-num {
  font-size: 38px;
  color: var(--ink);
}
.price .unit {
  color: var(--muted);
  font-size: 14px;
}
.plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.plan li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: rgba(17, 179, 166, 0.15);
  border-radius: 50%;
}
.plan li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 6px;
  height: 9px;
  border-right: 2px solid var(--lagoon);
  border-bottom: 2px solid var(--lagoon);
  transform: rotate(40deg);
}
.plan li.inherit {
  font-weight: 600;
}
.plan .btn {
  display: block;
  text-align: center;
  width: 100%;
}
.plan:not(.feat) .btn {
  background: var(--ocean);
  color: #fff;
}
.plan:not(.feat) .btn:hover {
  background: var(--ocean-deep);
}
.plan .note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* ── CTA final ──────────────────────────────────────────────────────────── */
.final {
  background:
    radial-gradient(700px 400px at 80% 20%, rgba(17, 179, 166, 0.3), transparent 60%),
    linear-gradient(150deg, var(--ocean-deep), var(--ocean));
  color: #fff;
  text-align: center;
}
.final h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  margin: 0 0 14px;
}
.final p {
  color: #cfe3f6;
  font-size: 18px;
  margin: 0 0 30px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 64px;
    padding-bottom: 96px;
  }
  .chat {
    margin: 0 auto;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .plan.feat {
    transform: none;
    order: -1;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .commerce {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    text-align: center;
  }
}
