/* Page « Floowr pour les IA » : même identité que la landing (vert #1E4426,
   jaune #FFDA0F, fond blanc, Figtree et MuseoModerno). Lisible sans JavaScript :
   ni script, ni contenu masqué. */

:root {
  color-scheme: light;
  --green: #1E4426;
  --green-2: #2A5A34;
  --yellow: #FFDA0F;
  --cream: #FFF4C2;
  --text: #36503C;
  --line: rgba(30, 68, 38, 0.14);
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'MuseoModerno', 'Figtree', system-ui, sans-serif;
  --gutter: max(20px, (100% - 960px) / 2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--green);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--green); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 12px 20px; z-index: 10; }
.skip:focus { left: 0; }

/* barre du haut */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.top nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.brand { display: inline-block; text-decoration: none; line-height: 0; }
.logo { display: block; height: 25px; width: auto; }

/* boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border-radius: 999px; background: var(--green); color: #fff;
  font-size: 15.5px; font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 32px -18px rgba(110, 50, 0, 0.6);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--green-2); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn--ghost:hover { background: var(--cream); }
.top nav a:not(.btn) { text-decoration: none; }
.top nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--yellow); }

/* contenu */
main { padding: 0 var(--gutter) 40px; }
section { padding: 36px 0 8px; }

.hero {
  margin: 0 calc(-1 * var(--gutter)); padding: 56px var(--gutter) 48px;
  background: radial-gradient(ellipse 70% 120% at 85% 0%, rgba(255, 218, 15, 0.45), rgba(255, 218, 15, 0) 70%), #FFFFFF;
}
.lbl { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; color: var(--green); margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; max-width: 17em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin-bottom: 18px; }
h3 { font-size: 18.5px; line-height: 1.35; margin: 0 0 8px; font-weight: 800; }
p { margin: 0 0 16px; color: var(--text); max-width: 46em; }
.lead { font-size: 19.5px; line-height: 1.6; margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.upd { font-size: 14px; color: var(--text); margin-top: 22px; }
ul, ol { padding-left: 1.2em; margin: 0 0 16px; max-width: 46em; color: var(--text); }
li { margin-bottom: 8px; }
li::marker { color: var(--green); font-weight: 800; }
b, strong { color: var(--green); }

/* fiche d'identité */
.id { margin: 0; border-top: 1.5px solid var(--line); }
.id > div { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: 20px; padding: 13px 0; border-bottom: 1.5px solid var(--line); }
.id dt { font-weight: 800; }
.id dd { margin: 0; color: var(--text); }

/* étapes */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; max-width: none; }
.steps li {
  counter-increment: s; position: relative; margin: 0; padding: 20px 22px 20px 70px;
  border: 1.5px solid var(--line); border-radius: 20px; background: #fff;
}
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--yellow); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps b { display: block; font-size: 18px; margin-bottom: 2px; }

/* tableau */
table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; }
caption { text-align: left; font-weight: 800; padding-bottom: 10px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1.5px solid var(--line); color: var(--text); }
thead th { background: var(--cream); color: var(--green); font-weight: 800; }
tbody th { color: var(--green); font-weight: 800; width: 22%; }

/* FAQ */
.faq { border-top: 1.5px solid var(--line); }
.qa { padding: 20px 0; border-bottom: 1.5px solid var(--line); }
.qa p { margin: 0; }

/* pied */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding: 30px var(--gutter) 40px; border-top: 1.5px solid var(--line); margin-top: 24px;
}
.foot p { margin: 0; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 36px var(--gutter) 36px; }
  .id > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .steps li { padding: 18px 18px 18px 62px; }
  .steps li::before { left: 16px; }
  /* tableau en cartes : chaque ligne devient un bloc lisible à 390 px */
  table, tbody, tr, th, td, caption { display: block; width: 100%; }
  thead { position: absolute; left: -9999px; }
  tbody tr { border: 1.5px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; }
  tbody th { background: var(--cream); width: 100%; border-bottom: 0; padding: 12px 16px; }
  td { border-bottom: 0; padding: 4px 16px 12px; }
  td:nth-of-type(1)::before { content: "Plateforme : "; font-weight: 800; color: var(--green); }
  td:nth-of-type(2)::before { content: "Floowr : "; font-weight: 800; color: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
