/* ==========================================================================
   ONEVORY PRO — Feuille de style
   Sommaire :
   1. Variables
   2. Base
   3. Utilitaires et boutons
   4. En-tête et navigation
   5. Accueil
   6. Sections communes
   7. Problèmes
   8. Résultats recherchés
   9. Modules
   10. Parcours
   11. Confiance
   12. Diagnostic
   13. Tarifs
   14. Programme des testeurs
   15. FAQ
   16. Footer
   17. Animations
   18. Responsive
   19. Impression du plan d'action
   20. Page mentions légales
   21. Effets au survol
   ========================================================================== */


/* 1. Variables
   ========================================================================== */

/* Nunito (licence SIL Open Font License), hébergée sur le site :
   aucune requête vers Google Fonts. */
@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --ecru: #F8F7F4;
  --navy: #0B1F35;
  --navy-soft: #16304D;
  --copper: #B47149;
  --copper-dark: #94583A;
  --copper-light: #F3E6DD;
  --text: #0B1F35;
  --text-muted: #617080;
  --border: #E3E0D8;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-title: "Nunito", var(--font);
  --shadow-hover: 0 4px 8px rgba(11, 31, 53, 0.05), 0 16px 32px rgba(11, 31, 53, 0.1);

  --radius: 12px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgba(11, 31, 53, 0.04), 0 8px 24px rgba(11, 31, 53, 0.06);
  --container: 1160px;
  --header-height: 72px;
}


/* 2. Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4,
.diag-step legend,
.price-amount,
.flow-num,
.step-num {
  font-family: var(--font-title);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

h3,
h4 {
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

[hidden] {
  display: none !important;
}


/* 3. Utilitaires et boutons
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.accent {
  color: var(--copper);
}

.nowrap {
  white-space: nowrap;
}

.note {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.note-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

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

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover:not(:disabled) {
  background: var(--navy-soft);
}

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

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}

.btn-copper {
  background: var(--copper-dark);
  color: var(--white);
}

.btn-copper:hover {
  background: #7E4A30;
}

.btn-link {
  min-height: 48px;
  padding: 12px 8px;
  background: none;
  color: var(--text-muted);
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--navy);
  transform: none;
}

.btn-block {
  width: 100%;
}


/* 4. En-tête et navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(11, 31, 53, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand img {
  width: 176px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:not(.btn):hover,
.main-nav a.is-active {
  border-bottom-color: var(--copper);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle-bar {
  top: 21px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}


/* 5. Accueil
   ========================================================================== */

.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  display: block;
}

.lead {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.status-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-light);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--copper-light);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(243, 230, 221, 0.4);
  }
}

.hero-trades {
  margin: 20px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-diag {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.hero-diag a {
  font-weight: 600;
}

.hero-benefits {
  display: grid;
  gap: 16px;
}

.benefit-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--ecru);
  border: 1px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
}

.benefit-card h2 {
  font-size: 1.1875rem;
  margin-bottom: 4px;
}

.benefit-card p {
  margin: 0;
  font-size: 0.96875rem;
  color: var(--text-muted);
}

.benefit-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* 6. Sections communes
   ========================================================================== */

.section {
  padding: 96px 0;
}

.section-white {
  background: var(--white);
}

.section-ecru {
  background: var(--ecru);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  letter-spacing: -0.005em;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}


/* 7. Problèmes
   ========================================================================== */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.problem-card h3 {
  font-size: 1.125rem;
}

.problem-card p {
  margin: 0;
  color: var(--text-muted);
}

.problem-conclusion {
  max-width: 760px;
  margin: 48px 0 0;
  padding-left: 20px;
  font-size: 1.25rem;
  border-left: 4px solid var(--copper);
}


/* 8. Résultats recherchés
   ========================================================================== */

.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 24px;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
}

.compare-row strong {
  color: var(--navy);
}

.compare-header {
  border-top: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-header span:last-child {
  color: #E9B998;
}

.compare .before {
  color: var(--text-muted);
}

.compare .after {
  position: relative;
  padding-left: 26px;
}

.compare .after::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--copper);
  border-bottom: 2.5px solid var(--copper);
  transform: rotate(-45deg);
}

.others-title {
  margin: 56px 0 20px;
  font-size: 1.25rem;
}

.others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.others-card {
  padding: 24px;
  background: var(--ecru);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius-small);
}

.others-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.others-card p {
  margin: 0;
  color: var(--text-muted);
}


/* 9. Modules
   ========================================================================== */

.modules {
  display: grid;
  gap: 24px;
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.module-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 78px;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.module-tab:hover {
  border-color: var(--copper);
}

.module-tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.tab-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}

.module-tab[aria-selected="true"] .tab-num {
  color: #E9B998;
}

.module-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  align-items: start;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: panel-in 0.3s ease;
}

.module-panel h3 {
  grid-column: 1 / -1;
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.panel-benefit {
  grid-column: 1 / -1;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--copper-dark);
  margin-bottom: 28px;
}

/* Sur grand écran, le problème, les fonctionnalités et l'exemple
   s'alignent sur trois colonnes du panneau. */
.panel-grid {
  display: contents;
}

.panel-grid h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.panel-grid ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.panel-grid ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--copper);
}

.panel-example {
  margin: 0;
  padding: 18px 20px;
  background: var(--ecru);
  border-radius: var(--radius-small);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* 10. Parcours
   ========================================================================== */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: none;
}

.flow-step {
  position: relative;
  padding: 28px 22px;
  background: var(--ecru);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -13px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid var(--copper);
  border-right: 2.5px solid var(--copper);
  transform: rotate(45deg);
}

.flow-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
}

.flow-step h3 {
  font-size: 1.125rem;
}

.flow-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.flow-summary {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 4px solid var(--copper);
  background: var(--copper-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.flow-summary p {
  margin: 0;
}


/* 11. Confiance
   ========================================================================== */

/* Bloc fondateur, en tête de la section Confiance */
.founder {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  margin-bottom: 80px;
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
}

.founder-avatar {
  width: 120px;
  height: 120px;
}

.founder-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.founder h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.founder p {
  max-width: 720px;
  color: var(--text-muted);
}

.founder .eyebrow {
  color: var(--copper-dark);
}

.founder .founder-key {
  color: var(--navy);
}

.founder .founder-sign {
  margin: 0;
  font-weight: 700;
  color: var(--copper-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-card h3 {
  font-size: 1.125rem;
}

.trust-card p {
  margin: 0;
  color: var(--text-muted);
}


/* 12. Diagnostic
   ========================================================================== */

.diag,
.diag-result {
  padding: 40px;
  background: var(--ecru);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.diag-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.diag-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--copper);
  transition: width 0.3s ease;
}

.diag-counter {
  margin: 12px 0 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.diag-step {
  margin: 0;
  padding: 0;
  border: 0;
}

.diag-step legend {
  margin-bottom: 20px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.choice:hover {
  border-color: var(--copper);
}

.choice input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--navy);
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.diag-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.diag-nav #diag-next {
  margin-left: auto;
}

.diag-result h3 {
  font-size: 1.75rem;
}

.diag-reco {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.reco-item {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-small);
}

.reco-item.is-ok {
  border-left-color: var(--navy);
}

.reco-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.reco-item p {
  margin: 0;
  color: var(--text-muted);
}

.reco-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
  color: var(--copper-dark);
  background: var(--copper-light);
  border-radius: 20px;
}

.reco-item.is-ok .reco-tag {
  color: var(--navy);
  background: #E3E8EE;
}

.diag-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.kit {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 24px;
  background: var(--navy);
  color: #D5DCE4;
  border-radius: var(--radius);
}

.kit h4 {
  margin-bottom: 6px;
  font-size: 1.1875rem;
  color: var(--white);
}

.kit p {
  margin: 0;
  font-size: 0.9375rem;
}

.kit .kit-label {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E9B998;
}

.kit .btn {
  flex-shrink: 0;
}

.diag-bridge {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--copper-light);
  border-radius: var(--radius-small);
}

.diag-bridge p:last-child {
  margin: 0;
}


/* 13. Tarifs
   ========================================================================== */

.billing-toggle {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.billing-toggle button {
  min-height: 42px;
  padding: 8px 22px;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.billing-toggle button[aria-checked="true"] {
  background: var(--navy);
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-card-featured {
  border: 2px solid var(--copper);
  box-shadow: var(--shadow);
}

/* Le badge est posé sur la bordure pour que titres et prix
   restent alignés d'une carte à l'autre. */
.price-badge {
  position: absolute;
  top: -14px;
  left: 26px;
  margin: 0;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--copper-dark);
  border-radius: 20px;
}

.price-cta {
  margin-top: auto;
}

.price-card h3 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.price-for {
  min-height: 3.3em;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.price {
  margin: 8px 0 4px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-unit {
  font-weight: 400;
  color: var(--text-muted);
}

.price-detail {
  min-height: 1.6em;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-features {
  margin-top: 12px;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.price-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--copper);
  border-bottom: 2.5px solid var(--copper);
  transform: rotate(-45deg);
}

.price-value {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 20px 24px;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--copper);
  border-radius: var(--radius);
}

.price-feedback {
  margin-top: 48px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.price-feedback h3 {
  font-size: 1.25rem;
}

.price-feedback > p {
  color: var(--text-muted);
}

.feedback-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.feedback-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.feedback-label {
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
}

.chip {
  min-height: 40px;
  padding: 6px 18px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.chip:hover {
  border-color: var(--copper);
}

.chip[aria-checked="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.feedback-msg {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--copper-dark);
}

.feedback-msg:empty {
  display: none;
}


/* 14. Programme des testeurs
   ========================================================================== */

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-now {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--copper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.steps li {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--ecru);
  border-radius: var(--radius);
}

.steps h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 700;
  color: var(--white);
  background: var(--copper-dark);
  border-radius: 50%;
}

.program-block {
  margin-bottom: 32px;
}

.program-block h3 {
  font-size: 1.25rem;
}

.check-list li,
.dot-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--copper);
  border-bottom: 2.5px solid var(--copper);
  transform: rotate(-45deg);
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.program-facts {
  padding: 24px;
  background: var(--ecru);
  border-radius: var(--radius);
}

.program-facts h3 {
  font-size: 1.125rem;
}

.program-facts .check-list {
  margin-bottom: 16px;
}

.program-facts p:last-child {
  margin: 0;
}

.contact-form {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.form-intro {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #CFCBC1;
  border-radius: var(--radius-small);
  transition: border-color 0.2s;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 53, 0.12);
}

.field input[aria-invalid="true"] {
  border-color: #B3261E;
}

.consent {
  display: flex;
  gap: 12px;
  margin: 8px 0 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}

.form-error {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #B3261E;
}

.form-error:empty {
  display: none;
}

.form-error a {
  color: inherit;
}

.form-success {
  padding: 24px 0;
  text-align: center;
}

.form-success h3 {
  color: var(--navy);
}

.form-success p {
  margin: 0;
  color: var(--text-muted);
}

.consent a {
  color: var(--copper-dark);
}

.form-hint {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--text-muted);
}


/* 15. FAQ
   ========================================================================== */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
}

.faq-item summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
  transform: translateY(-50%);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.final-cta {
  margin-top: 56px;
  padding: 40px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.final-cta h3 {
  font-size: 1.5rem;
}

.final-cta p {
  color: var(--text-muted);
}


/* 16. Footer
   ========================================================================== */

.site-footer {
  padding: 64px 0 24px;
  background: var(--navy);
  color: #C9D1DA;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 176px;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-bottom: 6px;
}

.footer-status {
  font-size: 0.875rem;
  color: #9AA7B5;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E9B998;
}

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

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: #9AA7B5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #C9D1DA;
}

.footer-social {
  margin-top: 28px;
}


/* 17. Animations
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}


/* 18. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav ul {
    gap: 20px;
  }

  .flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-step:nth-child(3)::after {
    display: none;
  }

  .module-panel {
    grid-template-columns: 1fr 1fr;
  }

  .panel-example {
    grid-column: 1 / -1;
    margin-top: 28px;
  }

  /* Sur 2 colonnes, la 9e question prend toute la largeur. */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11, 31, 53, 0.08);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .btn {
    width: 100%;
    margin-top: 16px;
  }

  .hero-grid,
  .program-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .module-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .module-tab {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 10px 12px;
  }

  .module-panel {
    display: block;
  }

  .panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .panel-example {
    margin-top: 28px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .others-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .founder {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
  }

  .founder-avatar {
    width: 72px;
    height: 72px;
  }

  .price-for {
    min-height: 0;
  }

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

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

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .problem-grid,
  .trust-grid,
  .panel-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .compare-header {
    display: none;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .compare-row:nth-child(2) {
    border-top: 0;
  }

  .compare .before::before {
    content: "Aujourd'hui : ";
    font-weight: 600;
  }

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

  .flow-step:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -13px;
    right: 50%;
    transform: rotate(135deg);
  }

  .module-panel,
  .diag,
  .diag-result,
  .contact-form,
  .final-cta {
    padding: 24px 20px;
  }

  .diag-step legend {
    font-size: 1.1875rem;
  }

  .kit {
    flex-direction: column;
    align-items: stretch;
  }

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


/* 19. Impression du plan d'action
   ========================================================================== */

@media print {
  body.print-diag > *:not(main),
  body.print-diag main > section:not(#diagnostic),
  body.print-diag #diagnostic .section-head,
  body.print-diag .diag-result-actions,
  body.print-diag .kit .btn {
    display: none !important;
  }

  body.print-diag #diagnostic {
    padding: 0;
  }

  body.print-diag .diag-result {
    border: 0;
    padding: 0;
    background: none;
  }

  body.print-diag .kit {
    color: var(--navy);
    background: none;
    border: 1px solid var(--border);
  }

  body.print-diag .kit h4 {
    color: var(--navy);
  }
}


/* 20. Page mentions légales
   ========================================================================== */

.legal {
  padding: 64px 0 96px;
}

.legal h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
}

.legal h2 {
  margin-top: 48px;
  font-size: 1.375rem;
}

.legal h3 {
  margin-top: 28px;
  font-size: 1.0625rem;
}

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

.legal-updated {
  font-size: 0.9375rem;
}

.legal-back {
  margin-top: 56px;
}

.site-footer-compact {
  padding: 24px 0;
}

.site-footer-compact .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Repère visuel des informations à compléter avant la mise en ligne */
.todo {
  padding: 0 4px;
  color: var(--navy);
  background: #FFF1B8;
  border-radius: 3px;
}


/* 21. Effets au survol
   Uniquement sur les écrans avec souris, et désactivés si le visiteur
   a demandé à réduire les animations.
   ========================================================================== */

.problem-card,
.trust-card,
.others-card,
.price-card,
.flow-step,
.benefit-card,
.steps li,
.faq-item,
.module-tab,
.compare-row {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

/* Fine ligne cuivre qui se dessine en haut des cartes */
.problem-card,
.trust-card {
  position: relative;
  overflow: hidden;
}

.problem-card::before,
.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.benefit-icon,
.flow-num {
  transition: transform 0.25s ease, background-color 0.25s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .problem-card:hover,
  .trust-card:hover,
  .price-card:hover,
  .flow-step:hover,
  .steps li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #D9C3B4;
  }

  .problem-card:hover::before,
  .trust-card:hover::before {
    transform: scaleX(1);
  }

  .others-card:hover,
  .benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }

  .benefit-card:hover .benefit-icon {
    background: var(--copper-dark);
    transform: rotate(-6deg) scale(1.06);
  }

  .flow-step:hover .flow-num {
    background: var(--copper-dark);
    transform: scale(1.1);
  }

  .module-tab:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }

  .module-tab[aria-selected="true"]:hover {
    transform: translateY(-1px);
  }

  .compare-row:not(.compare-header):hover {
    background: var(--ecru);
  }

  .faq-item:hover {
    border-color: var(--copper);
  }

  .btn-primary:hover:not(:disabled),
  .btn-copper:hover {
    box-shadow: 0 8px 20px rgba(11, 31, 53, 0.18);
  }
}
