/* Breaking Change — site one-page, sans build.
   Pour changer la marque : voir le commentaire en tête de index.html. */

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3f2ef;
  --bg-alt: #ebeae6;
  --surface: #fbfbfa;
  --ink: #1c1814;
  --muted: #5a534b;
  --line: #d6d4cf;
  --accent: #1b4f7a;
  --accent-hover: #153e61;
  --accent-soft: #e4ebf2;
  --pine: #2c4a3e;
  --pine-soft: #e7eeea;
  --max: 70rem;
  --pad: clamp(1.2rem, 4vw, 2rem);
  --radius: 1rem;
  --shadow: 0 1px 2px rgba(28, 24, 20, 0.04), 0 12px 32px rgba(28, 24, 20, 0.06);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  color: #fff;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(246 241 234 / 92%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  position: relative;
}

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

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

.brand-mark {
  display: block;
  width: auto;
  height: 2rem;
  flex-shrink: 0;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-burger:hover {
  background: var(--bg-alt);
}

.burger-icon,
.burger-icon::before,
.burger-icon::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-icon::before,
.burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-icon::before {
  top: -6px;
}

.burger-icon::after {
  top: 6px;
}

.nav-toggle:checked + .nav-burger .burger-icon {
  background: transparent;
}

.nav-toggle:checked + .nav-burger .burger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-burger .burger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--pad));
  right: calc(-1 * var(--pad));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 1.15rem;
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 0.35rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
}

.site-nav .btn {
  margin-top: 0.4rem;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.55rem 1.25rem;
}

@media (min-width: 880px) {
  .nav-burger,
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.35rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav a:not(.btn) {
    padding: 0.25rem 0;
    font-size: 1rem;
  }

  .site-nav .btn {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.55rem 1.25rem;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fbfbfa;
}

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

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: #c8c6c1;
}

/* ---------- Sections ---------- */

.section {
  padding: 4.25rem 0;
}

@media (min-width: 800px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-alt {
  background: var(--bg-alt);
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lede {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 3.25rem 0 4rem;
}

@media (min-width: 800px) {
  .hero {
    padding: 4.75rem 0 5.5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.7fr);
    align-items: center;
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.15rem, 6vw, 3.55rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 14em;
}

.hero-hook {
  display: block;
  color: var(--accent);
  margin-top: 0.15em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero-aside {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portrait {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--line);
}

.hero-aside p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.hero-aside strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.05rem;
}

/* ---------- Example cards ---------- */

.cards-3 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.example h3,
.offer h3,
.step h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ba {
  margin: 0;
}

.ba + .ba {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.ba dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
  color: var(--muted);
}

.ba-after dt {
  color: var(--pine);
}

.ba dd {
  margin: 0;
  color: var(--ink);
}

.ba-after {
  padding-left: 0.85rem;
  border-left: 3px solid var(--pine);
}

.ba-after + .ba-after,
.ba + .ba-after {
  /* keep top border from .ba+.ba, plus left bar */
}

/* ---------- Offers ---------- */

.offer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.offer p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  flex: 1;
}

.price-list {
  margin: 0;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.price-list dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.price-list dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-align: right;
}

.price-block {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.price-block .amount {
  display: block;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.price-block .hint {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-featured {
  border-color: #c5cfd8;
  box-shadow: var(--shadow), 0 0 0 1px rgb(27 79 122 / 12%);
}

.footnote {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Method ---------- */

.steps {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.4rem 1.25rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step h3 {
  padding-top: 0.15rem;
}

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

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Proofs ---------- */

.proofs-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 760px) {
  .proofs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.proof {
  padding: 1.4rem 1.35rem 1.5rem;
}

.proof-logo {
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
}

.proof-logo-box {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.proof-name {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.proof p {
  margin: 0;
  color: var(--muted);
}

.quote {
  margin: 1rem 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.quote footer {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
}

.facts {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fact {
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fact strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.fact span {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
  }
}

.about-portrait {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--line);
}

@media (min-width: 800px) {
  .about-portrait {
    width: 7.5rem;
    height: 7.5rem;
  }
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 40rem;
}

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

/* The photo is only 100px; keep display modest on retina by not stretching too far on tiny screens */
@media (max-width: 799px) {
  .about-portrait {
    width: 7rem;
    height: 7rem;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 46rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.8rem 1rem 1.2rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  position: relative;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-card {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.25rem 2.15rem;
    gap: 2rem;
  }
}

.contact-card h2 {
  margin: 0 0 0.4rem;
}

.contact-card .lede {
  margin-bottom: 1.15rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-list span {
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.35rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}

@media (min-width: 800px) {
  .contact-actions {
    min-width: 14rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

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

.site-footer a:hover {
  color: var(--accent);
}

/* ---------- Legal page ---------- */

.legal-main {
  padding: 3rem 0 4.5rem;
}

.legal-main h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.legal-main h2 {
  margin: 2.1rem 0 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-main p,
.legal-main address {
  margin: 0 0 0.85rem;
  max-width: 42rem;
  font-style: normal;
}

.placeholder-host {
  max-width: 42rem;
  padding: 0.9rem 1rem;
  border: 2px dashed #c9a227;
  background: #fff6d8;
  color: #3b2f0b;
  border-radius: 0.6rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.legal-back:hover {
  color: var(--accent);
}
