/* =====================================================================
   Padeo — site public
   Pages autonomes, sans compilation : a deposer telles quelles en FTP.
   ===================================================================== */

:root {
  --deep:      #12291F;
  --court:     #1F4A34;
  --ink:       #14201A;
  --sand:      #E7DAC1;
  --limestone: #F3EFE6;
  --ball:      #DCE64A;
  --muted:     #6B7D77;
  --line:      #D8D2C6;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--limestone);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2rem); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.05rem; margin-bottom: .5rem; }
p  { margin: 0 0 1rem; }

.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--ball); margin-bottom: .6rem;
}
.eyebrow.dark { color: var(--court); }
.lead { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.on-dark { color: var(--limestone); }
.lead.on-dark { color: rgba(243,239,230,.72); }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 1.6rem; }

/* Le motif : trois places prises, une libre */
.mark { position: relative; display: inline-block; width: 34px; height: 34px; flex: none; }
.mark i, .mark u { position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.mark i { background: var(--limestone); }
.mark i:nth-child(2) { left: 20px; }
.mark i:nth-child(3) { top: 20px; }
.mark u { left: 20px; top: 20px; border: 3px solid var(--ball); }
.mark.big { width: 64px; height: 64px; margin-bottom: 1.4rem; }
.mark.big i, .mark.big u { width: 26px; height: 26px; }
.mark.big i:nth-child(2) { left: 38px; }
.mark.big i:nth-child(3) { top: 38px; }
.mark.big u { left: 38px; top: 38px; border-width: 5px; }

/* ------------------------------ en-tete ------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: .9rem clamp(1.2rem, 5vw, 2rem);
  background: var(--deep);
  border-bottom: 1px solid rgba(243,239,230,.1);
}
.nav-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav-name { color: var(--limestone); font-weight: 800; letter-spacing: .18em; font-size: 1rem; }
.nav-name em { color: var(--ball); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { color: rgba(243,239,230,.7); text-decoration: none; font-size: .88rem; }
.nav-links a:hover { color: var(--ball); }
.nav-cta {
  background: var(--ball); color: var(--deep) !important;
  padding: .5rem .95rem; border-radius: 8px; font-weight: 700;
}
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ------------------------------ accroche ------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--limestone);
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(3.5rem, 10vw, 7rem);
}
.hero-in { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2rem); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 800; margin: .4rem 0 1.2rem; color: var(--limestone); }
.hero h1 em { color: var(--ball); font-style: normal; }
.hero-lead { font-size: clamp(1.02rem, 2.3vw, 1.25rem); color: rgba(243,239,230,.75); max-width: 50ch; line-height: 1.6; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.hero-cta.center { justify-content: center; }
.hero-note { font-size: .85rem; color: rgba(243,239,230,.45); margin: 0; }

.btn {
  display: inline-block; background: var(--ball); color: var(--deep);
  padding: .9rem 1.6rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: .95rem;
  transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ball); border: 1px solid var(--ball); }

/* Le motif en filigrane, a droite */
.hero-art {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; opacity: .07; z-index: 1;
}
.hero-art span { position: absolute; width: 170px; height: 170px; border-radius: 50%; }
.big-dot { background: var(--limestone); }
.big-dot:nth-child(2) { left: 220px; }
.big-dot:nth-child(3) { top: 220px; }
.big-ring { left: 220px; top: 220px; border: 26px solid var(--ball); }
@media (max-width: 900px) { .hero-art { display: none; } }

/* ------------------------------ sections ------------------------------ */
.section { padding: clamp(3rem, 8vw, 5rem) 0; }
.band { padding: clamp(3rem, 8vw, 5rem) 0; background: #fff; }
.band.alt { background: var(--sand); }
.band.dark-band { background: var(--court); color: var(--limestone); }
.band.dark-band h3 { color: var(--limestone); }
.band.dark-band p  { color: rgba(243,239,230,.72); }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem 2.4rem; margin-top: 2rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; margin-top: 2rem; }

.prob .num { display: block; font-size: .78rem; letter-spacing: .16em; color: var(--ball); font-weight: 800; margin-bottom: .6rem; }
.prob h3 { color: var(--court); }
.prob p  { color: var(--muted); font-size: .94rem; margin: 0; }

.feat h3 { color: var(--court); }
.feat p  { color: var(--muted); font-size: .94rem; margin: 0; }
.feat.on-dark h3 { color: var(--ball); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.card h3 { color: var(--court); }
.card p  { color: var(--muted); font-size: .93rem; margin: 0; }

/* --------------------------- les trois etapes --------------------------- */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.6rem; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ball); color: var(--deep);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.steps h3 { color: var(--court); }
.steps p  { color: var(--muted); margin: 0; font-size: .96rem; max-width: 62ch; }

/* ------------------------------ televiseur ------------------------------ */
.tv { margin-top: 2.6rem; background: var(--deep); color: var(--limestone); border-radius: 18px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.tv-in { max-width: 60ch; }
.tv h3 { color: var(--limestone); font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.tv p  { color: rgba(243,239,230,.7); margin: 0; }

.club-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.4rem; }

/* ------------------------------ appel final ------------------------------ */
.final { background: var(--deep); color: var(--limestone); text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 0; }
.final .mark { margin-inline: auto; }
.final h2 { color: var(--limestone); }
.final > .wrap > p { color: rgba(243,239,230,.65); }

/* ------------------------------ pied ------------------------------ */
.foot { background: var(--deep); border-top: 1px solid rgba(243,239,230,.12); padding: 1.4rem 0 2rem; }
.foot-in {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: rgba(243,239,230,.45);
}
.foot-in nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-in a { color: rgba(243,239,230,.45); text-decoration: none; }
.foot-in a:hover { color: var(--ball); }

/* --------------------------- pages juridiques --------------------------- */
body.legal { background: #fff; color: var(--ink); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 2.5rem clamp(1.2rem, 5vw, 2rem) 4rem; }
.legal-back { color: var(--court); text-decoration: none; font-weight: 700; font-size: .9rem; }
.legal-wrap h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 1rem 0 .3rem; color: var(--court); }
.legal-date { color: var(--muted); font-size: .88rem; margin: 0 0 2rem; }
.legal-wrap h2 { font-size: 1.15rem; margin: 2rem 0 .6rem; color: var(--court); }
.legal-wrap p, .legal-wrap li { font-size: .98rem; line-height: 1.65; }
.legal-wrap ul { padding-left: 1.2rem; }
.legal-wrap li { margin-bottom: .4rem; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; font-size: .9rem; }
.legal-wrap th { background: var(--court); color: #fff; text-align: left; padding: .6rem .7rem; font-weight: 600; }
.legal-wrap td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-wrap tr:nth-child(even) td { background: var(--limestone); }
.legal-wrap footer { display: flex; gap: 1.2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.2rem; font-size: .88rem; }
.legal-wrap footer a { color: var(--court); }
