/* ===================================================================
   go.eliotnedelec.fr — Landing page
   Palette noir/blanc + accent terracotta. Mobile first.
   =================================================================== */

/* ----- Polices auto-hébergées (RGPD : aucun appel Google) -----
   Fraunces & Inter = polices variables, un fichier couvre tous les poids. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----- Reset ----- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --ink:        #141210;
  --ink-soft:   #443f3a;
  --paper:      #faf8f5;
  --paper-2:    #f0ece5;
  --line:       #e2dcd2;
  --accent:     #d2693c;
  --accent-dk:  #b4542c;
  --white:      #ffffff;

  /* Blocs "inversés" (sombres en mode clair) */
  --invert-bg:      #141210;
  --invert-fg:      #faf8f5;
  --invert-fg-soft: rgba(250, 248, 245, 0.78);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1440px;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(20, 18, 16, 0.35);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ----- Layout ----- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.wrap--narrow { max-width: 760px; }

section { padding: 76px 0; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 14px auto 0;
}

/* ----- Buttons ----- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--paper-2); }

.btn--lg { padding: 16px 34px; font-size: 1.03rem; }
.btn--small { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* primary accent for featured CTAs */
.offer--featured .btn:not(.btn--ghost),
#submit-btn,
[data-cal-link] {
  --bg: var(--accent);
  border-color: var(--accent);
}
.offer--featured .btn:not(.btn--ghost):hover,
#submit-btn:hover,
[data-cal-link]:hover { background: var(--accent-dk); border-color: var(--accent-dk); }

/* ----- Nav ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.btn { color: var(--paper); }
.nav__links a:nth-child(1),
.nav__links a:nth-child(2),
.nav__links a:nth-child(3) { display: none; }

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 88px;
  min-height: 60dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 6.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 16px auto 0;
  max-width: 18ch;
}
.hero__sub {
  margin: 20px auto 0;
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 48px;
}
.hero__trust li {
  display: flex;
  flex-direction: column;
}
.hero__trust strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}
.hero__trust span {
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(210, 105, 60, 0.16), transparent 62%);
  z-index: 1;
  pointer-events: none;
}

/* ----- Problème / Solution ----- */
.ps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ps__grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.ps__col {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.ps__col h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ps__col ul { list-style: none; display: grid; gap: 12px; }
.ps__col li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.ps__col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.ps__col--problem { background: var(--paper-2); }
.ps__col--problem li::before { content: "✕"; color: #b23b3b; }
.ps__col--solution { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
.ps__col--solution li { color: var(--invert-fg-soft); }
.ps__col--solution li::before { content: "✓"; color: var(--accent); }

/* ----- Preuves sociales ----- */
.proof__grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card__quote {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}
.card__meta { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.card__id { display: flex; flex-direction: column; }
.card__meta strong { font-size: 0.98rem; }
.card__meta span { font-size: 0.85rem; color: var(--ink-soft); }
.card__meta a { color: var(--accent); }
.proof__link { text-align: center; margin-top: 32px; }
.proof__link a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.proof__link a:hover { text-decoration: underline; }

/* ----- Offres ----- */
.offers { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offers__grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  align-items: start;
}
.offer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.offer--featured {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-color: var(--invert-bg);
  box-shadow: var(--shadow);
}
.offer__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.offer__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
}
.offer__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.offer__price span { font-size: 0.95rem; color: var(--ink-soft); }
.offer--featured .offer__price span { color: var(--invert-fg-soft); }
.offer__delay {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}
.offer__list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 22px 0 26px;
}
.offer__list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
}
.offer__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.offer .btn { margin-top: auto; }

/* ----- FAQ ----- */
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 0 20px;
  color: var(--ink-soft);
}

/* ----- Double CTA ----- */
.cta { background: var(--white); border-top: 1px solid var(--line); }
.cta__grid {
  display: grid;
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}
.cta__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--paper);
}
.cta__card--alt {
  background: var(--invert-bg);
  color: var(--invert-fg);
  border-color: var(--invert-bg);
}
.cta__tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
}
.cta__card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 4px;
}
.cta__desc { margin-top: 8px; color: var(--ink-soft); }
.cta__card--alt .cta__desc { color: var(--invert-fg-soft); }
.cta__perks {
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.cta__perks li {
  padding-left: 28px;
  position: relative;
}
.cta__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.cta__note {
  font-size: 0.82rem;
  text-align: center;
  margin-top: 12px;
  color: var(--invert-fg-soft);
}

/* ----- Formulaire ----- */
.form { margin-top: 22px; display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.form__field { display: grid; gap: 6px; }
.form__field label {
  font-size: 0.86rem;
  font-weight: 600;
}
.form__opt { font-weight: 400; color: var(--ink-soft); }
.form__field input,
.form__field textarea,
.form__field select {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form__field textarea { resize: vertical; }
.form__field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23d2693c' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 105, 60, 0.15);
}
.form__field input.invalid,
.form__field textarea.invalid { border-color: #b23b3b; }

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.form__consent input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form__consent a { color: var(--accent); }

.form__feedback {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form__feedback.success { color: var(--accent-dk); }
.form__feedback.error { color: #b23b3b; }

/* button loader */
.btn__loader {
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Footer ----- */
.footer {
  background: var(--invert-bg);
  color: var(--invert-fg-soft);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
}
.footer__links { display: flex; gap: 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--invert-fg); }

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----- Responsive ----- */
@media (min-width: 620px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .nav__links a:nth-child(1),
  .nav__links a:nth-child(2),
  .nav__links a:nth-child(3) { display: inline; }
}
@media (min-width: 860px) {
  section { padding: 96px 0; }
  .ps__grid { grid-template-columns: 1fr 1fr; }
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
  .offers__grid { grid-template-columns: repeat(3, 1fr); }
  .offer--featured { transform: translateY(-14px); }
  .cta__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

/* ----- Accessibilité ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ----- Dark mode (préférence système) ----- */
@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #ece7e0;
    --ink-soft:   #a39c92;
    --paper:      #15120f;
    --paper-2:    #211c18;
    --line:       #332e28;
    --white:      #1c1815;
    --accent:     #e07a4d;
    --accent-dk:  #c9683c;

    --invert-bg:      #241f1a;
    --invert-fg:      #ece7e0;
    --invert-fg-soft: rgba(236, 231, 224, 0.72);

    --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  }

  .nav { background: rgba(21, 18, 15, 0.88); }

  .hero__glow {
    background: radial-gradient(ellipse at center, rgba(224, 122, 77, 0.14), transparent 62%);
  }

  /* photos un peu adoucies sur fond sombre */
  .card__avatar { border-color: var(--line); }
}

/* ----- Pages légales ----- */
.legal { padding: 56px 0 84px; }
.legal h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.legal__updated {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 8px;
}
.legal h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-top: 40px;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
}
.legal p,
.legal li { color: var(--ink-soft); margin-top: 10px; }
.legal ul { margin: 4px 0 0 22px; }
.legal a { color: var(--accent); }
.legal__back {
  display: inline-block;
  margin-top: 36px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.legal__back:hover { text-decoration: underline; }

.ph {
  padding: 1px 5px;
  color: var(--ink);
  font-weight: 500;
}
