/* PROTOCOLE TDAH ADULTE — Design système */
/* Mobile-first, sobre, crédible */

:root {
  --blue: #1B4D8E;
  --teal: #00B4A6;
  --dark: #1A1A2E;
  --grey: #6B7280;
  --light: #F7F9FC;
  --white: #ffffff;
  --border: #E5E7EB;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.2rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

/* Layout */
.container { max-width: 720px; margin: 0 auto; padding: 0 1.2rem; }
.container--wide { max-width: 960px; }
.section { padding: 3rem 0; }
.section--sm { padding: 2rem 0; }

/* HEADER */
.site-header {
  background: var(--blue);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
}
.logo span { color: var(--teal); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.nav-links a:hover { color: var(--white); text-decoration: none; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0D2E5E 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 0; }
.hero .badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* OPTIN FORM */
.optin-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 1.5rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}
.optin-box p {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 1rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.75rem; }
.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--teal); }
.form-note {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
  margin-top: 0.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  text-align: center;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { opacity: 0.92; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--block { display: block; width: 100%; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
@media (max-width: 639px) {
  .btn--lg { min-height: 52px; padding: 1.25rem 1.5rem; }
}

/* CARDS */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card--highlight { border-color: var(--teal); }

/* TRUST BAR */
.trust-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--grey);
}
.trust-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
}
.trust-bar li::before { content: '✓ '; color: var(--teal); font-weight: 700; }

/* PAYMENT BADGES */
.payment-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--grey);
}
.payment-badges svg { vertical-align: middle; opacity: 0.7; }
.payment-badges .sep { opacity: 0.35; }

/* PROOF / TESTIMONIAL */
.testimonial {
  background: var(--light);
  border-left: 4px solid var(--teal);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.testimonial p { margin: 0; font-style: italic; }
.testimonial cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--grey);
}

/* TIMER */
.timer-box {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.timer-box p { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.timer-digits {
  font-size: 2.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  margin: 0.25rem 0;
}

/* VALUE STACK */
.value-stack { list-style: none; padding: 0; margin: 1rem 0; }
.value-stack li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.value-stack li:last-child { border-bottom: none; }
.value-stack .strikethrough { color: var(--grey); text-decoration: line-through; }
.value-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--dark);
}

/* PRICE BOX */
.price-box {
  text-align: center;
  background: linear-gradient(135deg, var(--blue), #0D2E5E);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}
.price-old { font-size: 1rem; color: rgba(255,255,255,0.6); text-decoration: line-through; margin-bottom: 0; }
.price-current { font-size: 3rem; font-weight: 700; margin: 0.25rem 0; }
.price-currency { font-size: 1.5rem; vertical-align: super; }
.price-note { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* GUARANTEE */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #F0FBF9;
  border: 1.5px solid #00B4A6;
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.5rem 0;
}
.guarantee-icon { font-size: 2rem; flex-shrink: 0; }
.guarantee h4 { margin: 0 0 0.3rem; color: var(--blue); }
.guarantee p { margin: 0; font-size: 0.9rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--teal); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: 0.75rem; color: var(--grey); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 2rem 0;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }

/* ALERT / NOTICE */
.notice {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  margin: 1rem 0;
}

/* PROGRESS BAR */
.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.5rem 0 1rem;
}
.progress-bar__fill {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* QUIZ */
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 0.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.quiz-option:hover, .quiz-option.selected {
  border-color: var(--teal);
  background: #F0FDFB;
}

/* CHECKMARK LIST */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { padding: 0.35rem 0 0.35rem 1.8rem; position: relative; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* Utilities */
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.text-sm { font-size: 0.875rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.bold { font-weight: 700; }
.highlight { color: var(--teal); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Responsive */
@media (min-width: 640px) {
  .form-row { flex-direction: row; }
  .form-row .form-input { flex: 1; }
  .form-row .btn { white-space: nowrap; }
}

/* ===== MOCKUP EBOOK 3D ===== */
.ebook-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  perspective: 900px;
}
.ebook-3d {
  position: relative;
  width: 160px;
  height: 220px;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.38));
  transition: transform 0.4s ease;
}
.ebook-3d:hover {
  transform: rotateY(-10deg) rotateX(2deg) scale(1.04);
}
.ebook-face {
  position: absolute;
  top: 0; left: 0;
  width: 160px;
  height: 220px;
  background: linear-gradient(145deg, #7C6EEA 0%, #5A4BD1 50%, #3B2FAB 100%);
  border-radius: 3px 8px 8px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  text-align: center;
  backface-visibility: hidden;
  overflow: hidden;
}
.ebook-face::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}
.ebook-face .ebook-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.ebook-face .ebook-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  line-height: 1;
}
.ebook-face .ebook-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}
.ebook-face .ebook-sub {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.ebook-face .ebook-pages {
  position: absolute;
  bottom: 10px;
  font-size: 0.52rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.ebook-spine {
  position: absolute;
  top: 0;
  left: -20px;
  width: 20px;
  height: 220px;
  background: linear-gradient(to right, #2A1E8A, #4535C8);
  transform: rotateY(-90deg);
  transform-origin: right center;
  backface-visibility: hidden;
  border-radius: 3px 0 0 3px;
}
.ebook-bottom {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 160px;
  height: 8px;
  background: linear-gradient(to bottom, #3B2FAB, #2A1E8A);
  transform: rotateX(-90deg);
  transform-origin: top center;
  backface-visibility: hidden;
}
/* Badge "3D" ribbon */
.ebook-face .ebook-badge {
  position: absolute;
  top: 10px;
  right: -3px;
  background: #FF6B35;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 2px 0 0 2px;
}
@media (min-width: 640px) {
  .ebook-3d { width: 190px; height: 260px; }
  .ebook-face { width: 190px; height: 260px; }
  .ebook-spine { width: 24px; left: -24px; height: 260px; }
  .ebook-bottom { width: 190px; }
  .ebook-face .ebook-title { font-size: 0.92rem; }
  .ebook-face .ebook-icon { font-size: 2.5rem; }
  .ebook-face .ebook-sub { font-size: 0.68rem; }
}
