/* Fluxpro — feuille de style commune
   Version de travail, non publiée. */

:root {
  --ink: #17231f;
  --muted: #596560;
  --paper: #fbfaf6;
  --card: #ffffff;
  --line: #dfe5e0;
  --brand: #155c46;
  --brand-dark: #0e4032;
  --brand-soft: #e7f0eb;
  --accent: #b25a2c;
  --accent-soft: #fdf0e7;
  --todo-ink: #7a4212;
  --todo-bg: #fff1dc;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(23, 35, 31, 0.07);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--brand);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--brand-dark);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.2rem;
}

.brand:hover {
  color: var(--brand);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1;
}

.brand small {
  display: block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 1px;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-block;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.main-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-block: 28px 0;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 26px;
  background: var(--brand-dark);
  color: #f7fbf8;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -190px;
  border-radius: 50%;
  background: rgba(196, 101, 52, 0.28);
  filter: blur(6px);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 0.35em;
  color: #fff;
}

.hero .lead {
  max-width: 55ch;
  color: #d9e8e0;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.hero .eyebrow {
  color: #f3c6a8;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #97451f;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--brand-dark);
}

.btn-light:hover {
  background: #eef5f0;
  color: var(--brand-dark);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.hero-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-card p {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
  color: #d9e8e0;
  font-size: 0.97rem;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #f3c6a8;
  font-weight: 700;
}

.section {
  padding-block: clamp(44px, 7vw, 76px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card .card-foot {
  margin-top: auto;
  padding-top: 14px;
}

.price {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.price small {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-accent {
  background: var(--accent-soft);
  color: #8d431c;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: " →";
  transition: margin 120ms ease;
}

.link-arrow:hover::after {
  margin-left: 3px;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 22px 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.03rem;
}

.steps span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
}

.callout {
  padding: 24px 26px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft);
}

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

.archive-note {
  margin-top: 24px;
}

.archive-note p {
  margin: 0;
}

.callout h2,
.callout h3 {
  margin-bottom: 6px;
}

.note {
  color: var(--muted);
  font-size: 0.94rem;
}

.spaced-top {
  margin-top: 20px;
}

.section-gap {
  margin-top: 30px;
}

.subsection-gap {
  margin-top: 24px;
}

.note-gap {
  margin-top: 18px;
}

.page-head {
  padding-block: clamp(30px, 5vw, 56px) 0;
}

.page-head .lead {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
}

.breadcrumb {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb li {
  display: inline;
  margin: 0;
}

.breadcrumb li + li::before {
  content: " / ";
  color: var(--line);
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-block: 30px 0;
}

.offer-body > section {
  margin-bottom: 38px;
}

.offer-body h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
}

.check-list,
.cross-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.cross-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.cross-list li::before {
  content: "–";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--muted);
  font-weight: 700;
}

.buy-box {
  position: sticky;
  top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.buy-box .price {
  font-size: 2.5rem;
}

.buy-box p {
  color: var(--muted);
  font-size: 0.95rem;
}

.buy-box .btn {
  width: 100%;
  margin-top: 8px;
}

.buy-box .note {
  margin: 14px 0 0;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--brand);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 18px;
  padding-right: 28px;
  color: var(--muted);
}

.cta-band {
  margin-block: clamp(44px, 7vw, 76px) 0;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
}

.cta-band h2 {
  max-width: 22ch;
  color: #fff;
}

.cta-band p {
  max-width: 58ch;
  color: #d9e8e0;
}

.cta-band .btn {
  margin-top: 10px;
}

.placeholder {
  padding: 1px 5px;
  border-bottom: 2px dashed var(--accent);
  background: var(--accent-soft);
  color: var(--todo-ink);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.todo {
  display: inline;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--todo-bg);
  color: var(--todo-ink);
  font-weight: 600;
}

.legal {
  max-width: 780px;
  padding-block: 26px 0;
}

.legal h2 {
  margin-top: 1.9em;
  padding-top: 0.2em;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.legal h3 {
  margin-top: 1.4em;
  font-size: 1.15rem;
}

.legal ul,
.legal ol {
  color: var(--ink);
}

.legal .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal table,
.price-table {
  width: 100%;
  margin: 16px 0 22px;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.price-table {
  margin-top: 0;
}

.legal th,
.legal td,
.price-table th,
.price-table td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th,
.price-table th {
  background: var(--brand-soft);
  font-weight: 700;
}

.legal td:last-child,
.price-table td:last-child {
  white-space: nowrap;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 26px;
  align-items: start;
  padding-block: 30px 0;
}

.contact-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.email-line {
  display: block;
  margin: 10px 0 4px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.message-model {
  margin: 18px 0 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.side-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--brand-soft);
}

.side-card h3 {
  font-size: 1.1rem;
}

.side-card ul {
  margin-bottom: 0;
}

.site-footer {
  margin-top: clamp(52px, 8vw, 90px);
  padding-block: 34px;
  background: var(--ink);
  color: #cfd9d3;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.site-footer a {
  color: #eef5f0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer a:hover {
  color: #f3c6a8;
}

.site-footer p {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb0a7;
  font-size: 0.85rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .offer-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .buy-box {
    position: static;
    order: -1;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-inline: 0;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 4px;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero {
    margin-block-start: 20px;
    border-radius: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-card {
    max-width: 460px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 42px 0;
  }

  .card {
    padding: 22px;
  }

  .legal td:last-child {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .buy-box .btn,
  .cta-band {
    display: none;
  }

  body {
    background: #fff;
  }

  .card,
  .buy-box {
    box-shadow: none;
  }
}

/* Formulaire de contact */
.contact-form{margin-top:6px}
.contact-form .field{margin-bottom:14px}
.contact-form label{display:block;font-weight:600;font-size:14px;margin-bottom:5px}
.contact-form input,
.contact-form select,
.contact-form textarea{width:100%;padding:11px 13px;border:1px solid #d6dbe4;
  border-radius:10px;font:inherit;font-size:15px;background:#fff;color:#1a1a2e}
.contact-form textarea{min-height:130px;resize:vertical}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{outline:2px solid rgba(31,78,216,.25);border-color:#1f4ed8}
.contact-form .btn{margin-top:4px}
