/* ─────────────────────────────────────────────────────────────────────
   impot-invisible.css — Landing lead magnet (mobile-first)
   Repose sur /base.css pour variables, reset, nav, layout.
   ───────────────────────────────────────────────────────────────────── */

:root { --or: #c66a3f; }

/* Nav simplifié : pas de menu burger ici (un seul CTA "Retour au site") */
.nav-cta { display: inline-flex; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  padding: 110px 0 60px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(13,110,100,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(198,106,63,.06) 0%, transparent 60%);
}
@media (min-width: 768px)  { .hero { padding: 130px 0 70px; } }
@media (min-width: 1024px) { .hero { padding: 140px 0 80px; } }

.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center;
}
@media (min-width: 900px)  { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
@media (min-width: 1100px) { .hero-grid { gap: 64px; } }

.hero-label {
  font-family: var(--ff-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-label::before { content: ''; width: 24px; height: 1px; background: var(--ac); }
@media (min-width: 768px) { .hero-label { margin-bottom: 22px; } .hero-label::before { width: 28px; } }

.hero-h1 {
  font-family: var(--ff-d); font-weight: 300; letter-spacing: -.02em;
  font-size: clamp(40px, 9vw, 64px); line-height: 1.05; margin-bottom: 20px;
}
@media (min-width: 768px)  { .hero-h1 { font-size: clamp(48px, 7vw, 72px); margin-bottom: 24px; } }
@media (min-width: 1024px) { .hero-h1 { font-size: clamp(56px, 6vw, 82px); } }
.hero-h1 em { color: var(--ac); font-style: italic; }

.hero-sub {
  font-size: 16px; color: var(--tx2); margin-bottom: 24px; max-width: 100%;
  line-height: 1.65;
}
@media (min-width: 768px) { .hero-sub { font-size: 17px; max-width: 460px; margin-bottom: 28px; } }
.hero-sub strong { color: var(--tx); font-weight: 500; }

.hero-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
@media (min-width: 768px) { .hero-bullets { margin-bottom: 36px; } }
.hero-bullet {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--tx2); line-height: 1.55;
}
@media (min-width: 768px) { .hero-bullet { font-size: 14.5px; } }
.hero-bullet::before {
  content: '→'; color: var(--or); font-weight: 500; font-family: var(--ff-m);
  font-size: 14px; line-height: 1.65; flex-shrink: 0;
}

/* ─── PDF cover mockup ───────────────────────────────────────────────── */
.hero-aside {
  order: -1;
  margin-bottom: 8px;
}
@media (min-width: 900px) { .hero-aside { order: 0; margin-bottom: 0; } }

.cover {
  background: var(--bg-warm);
  border: 1px solid var(--br); border-radius: 3px;
  padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 24px 60px rgba(17,17,17,.07), 0 4px 12px rgba(17,17,17,.04);
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform .3s ease;
  aspect-ratio: 1/1.414;
  justify-content: space-between;
  max-width: 320px;
  margin: 0 auto;
}
@media (min-width: 600px) { .cover { max-width: 380px; padding: 28px 26px 24px; } }
@media (min-width: 900px) { .cover { padding: 32px 30px 28px; gap: 18px; max-width: 100%; } }
@media (hover: hover) {
  .cover:hover { transform: rotate(0deg) translateY(-4px); }
}

.cover-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.cover-logo {
  width: 36px; height: 36px;
  border: 1px solid var(--tx); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-d); font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
@media (min-width: 768px) { .cover-logo { width: 38px; height: 38px; font-size: 14px; } }
.cover-meta {
  font-family: var(--ff-m); font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx2); text-align: right; line-height: 1.7;
}
@media (min-width: 768px) { .cover-meta { font-size: 9.5px; } }
.cover-meta strong { color: var(--tx); font-weight: 500; }
.cover-body { margin-top: auto; }
.cover-eyebrow {
  font-family: var(--ff-m); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.cover-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--or); }
@media (min-width: 768px) { .cover-eyebrow { font-size: 10px; margin-bottom: 14px; } .cover-eyebrow::before { width: 22px; } }

.cover-title {
  font-family: var(--ff-d); font-weight: 300; letter-spacing: -.02em;
  font-size: clamp(24px, 6vw, 44px); line-height: 1.05;
}
.cover-title em { font-style: italic; color: var(--ac); font-weight: 400; }
.cover-sub {
  font-size: 12px; color: var(--tx2); margin-top: 14px; max-width: 90%; line-height: 1.55;
}
@media (min-width: 768px) { .cover-sub { font-size: 13px; margin-top: 16px; } }
.cover-sub strong { color: var(--tx); font-weight: 500; }
.cover-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--br);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-m); font-size: 9.5px; color: var(--tx2);
  gap: 8px; flex-wrap: wrap;
}
@media (min-width: 768px) { .cover-foot { font-size: 10.5px; margin-top: 18px; padding-top: 16px; } }
.cover-foot strong { color: var(--tx); font-weight: 500; }

/* ─── Form ───────────────────────────────────────────────────────────── */
.form-wrap {
  background: #fff; border: 1px solid var(--br); border-radius: 4px;
  padding: 24px 22px;
  max-width: 100%;
  box-shadow: 0 8px 28px rgba(17,17,17,.04);
}
@media (min-width: 480px) { .form-wrap { padding: 28px 30px; max-width: 480px; } }
.form-title {
  font-family: var(--ff-d); font-size: 20px; font-weight: 400; letter-spacing: -.01em;
  margin-bottom: 6px;
}
@media (min-width: 768px) { .form-title { font-size: 21px; } }
.form-sub { font-size: 13.5px; color: var(--tx2); margin-bottom: 22px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 480px) { .row { grid-template-columns: 1fr 1fr; } }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fl {
  font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tx2);
}
.fl .opt { color: var(--tx2); opacity: .55; text-transform: none; letter-spacing: 0; font-family: var(--ff-b); }
.fl .req { color: var(--or); margin-left: 4px; }
.fi {
  background: var(--bg); color: var(--tx);
  border: 1px solid var(--br); border-radius: 3px;
  padding: 13px 14px; font: 16px/1.5 var(--ff-b);
  transition: border-color .2s, background .2s;
  width: 100%;
  min-height: 48px;
}
@media (min-width: 768px) { .fi { padding: 11px 14px; font-size: 14.5px; min-height: 44px; } }
.fi::placeholder { color: rgba(17,17,17,.32); }
.fi:focus { outline: none; border-color: var(--tx); background: #fff; }
.fi.err { border-color: var(--or); background: rgba(198,106,63,.05); }
.rgpd-note {
  font-family: var(--ff-m); font-size: 10.5px; color: var(--tx2);
  line-height: 1.5; opacity: .85;
  background: var(--bg); padding: 10px 12px; border-radius: 3px;
}
.rgpd-note a { color: var(--ac); text-decoration: underline; }
.fsub {
  padding: 14px 22px; background: var(--ac); color: #fff; border-radius: 3px;
  font-size: 14.5px; font-weight: 500; transition: opacity .2s, transform .1s;
  min-height: 48px;
}
.fsub:hover { opacity: .9; }
.fsub:active { transform: scale(.985); }
.fsub:disabled { opacity: .55; cursor: default; }

.form-success, .form-error { display: none; }
.form-wrap.is-success .form { display: none; }
.form-wrap.is-success .form-title { display: none; }
.form-wrap.is-success .form-sub { display: none; }
.form-wrap.is-success .form-success { display: flex; flex-direction: column; gap: 14px; }
.form-wrap.is-error .form-error { display: block; color: var(--or); font-size: 13px; margin-top: 8px; }

.success-title { font-family: var(--ff-d); font-size: 22px; font-weight: 400; letter-spacing: -.01em; }
.success-p { font-size: 14px; color: var(--tx2); line-height: 1.6; }
.success-btn {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 13px 22px; background: var(--ac); color: #fff;
  border-radius: 3px; font-size: 14px; font-weight: 500;
  min-height: 48px;
}
.success-btn:hover { opacity: .88; }

/* ─── Section "Au programme" ─────────────────────────────────────────── */
.sec { padding: 56px 0; border-top: 1px solid var(--br); }
@media (min-width: 768px)  { .sec { padding: 72px 0; } }
@media (min-width: 1024px) { .sec { padding: 90px 0; } }

.slabel {
  font-family: var(--ff-m); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tx2); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 12px;
}
.slabel::after { content: ''; width: 32px; height: 1px; background: var(--tx2); }
@media (min-width: 768px) { .slabel { margin-bottom: 18px; } }

.sec h2 {
  font-family: var(--ff-d); font-weight: 300; letter-spacing: -.02em;
  font-size: clamp(24px, 5vw, 42px); line-height: 1.15; margin-bottom: 16px;
  max-width: 720px;
}
@media (min-width: 768px) { .sec h2 { line-height: 1.1; margin-bottom: 18px; } }
.sec h2 em { color: var(--ac); font-style: italic; }
.sec-lead {
  font-size: 15.5px; color: var(--tx2); max-width: 640px;
  line-height: 1.7; margin-bottom: 40px;
}
@media (min-width: 768px) { .sec-lead { font-size: 16px; margin-bottom: 56px; } }

.movements {
  display: grid; grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px)  { .movements { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .movements { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.move { border-left: 2px solid var(--ac); padding: 4px 0 4px 20px; }
.move-n {
  font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tx2); margin-bottom: 12px;
}
.move-h {
  font-family: var(--ff-d); font-size: 20px; font-weight: 400; letter-spacing: -.01em;
  margin-bottom: 8px; line-height: 1.25;
}
@media (min-width: 768px) { .move-h { font-size: 22px; } }
.move-h em { color: var(--ac); font-style: italic; }
.move-p { font-size: 14px; color: var(--tx2); line-height: 1.65; }

/* ─── Section "Pour qui" ─────────────────────────────────────────────── */
.who {
  background: var(--bg-warm);
  border-top: 1px solid var(--br); border-bottom: 1px solid var(--br);
}
.who-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 28px; align-items: start;
}
@media (min-width: 900px)  { .who-grid { grid-template-columns: 1fr 1.5fr; gap: 48px; } }
@media (min-width: 1100px) { .who-grid { gap: 56px; } }

.who-h {
  font-family: var(--ff-d); font-size: clamp(22px, 5vw, 38px);
  font-weight: 300; letter-spacing: -.02em; line-height: 1.2;
}
@media (min-width: 768px) { .who-h { line-height: 1.1; } }
.who-h em { color: var(--ac); font-style: italic; }
.who-list { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .who-list { gap: 18px; } }
.who-li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--tx); line-height: 1.55;
}
@media (min-width: 768px) { .who-li { font-size: 15.5px; } }
.who-li::before {
  content: ''; flex-shrink: 0; margin-top: 9px;
  width: 8px; height: 8px; background: var(--or); border-radius: 50%;
}
.who-li strong { font-weight: 500; }

/* ─── Footer ─────────────────────────────────────────────────────────── */
footer { padding: 28px 0; border-top: 1px solid var(--br); }
.footer-in {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--tx2);
}
@media (min-width: 600px) {
  .footer-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; }
@media (min-width: 768px) { .footer-links { gap: 24px; } }
.footer-links a:hover { color: var(--tx); }
.siret { font-family: var(--ff-m); font-size: 11px; color: var(--tx2); }
