/* ============================================================
   style.css — colmars1700.fr/dvd-bluray
   Design : fond noir, bleu ardoise, beige — Cormorant SC + Gotham/Montserrat
   ============================================================ */

:root {
  /* ── Fonds ── */
  --bg:          #0c0c0c;
  --bg-card:     #151515;
  --bg-section:  #111111;
  --bg-light:    #1c1c1c;

  /* ── Textes ── */
  --text:        #f0ece2;      /* crème chaud */
  --text-muted:  #d1cabb;
  --text-light:  #6e6455;

  /* ── Bleu ardoise ── */
  --blue:        #4a8ab5;
  --blue-dark:   #2d6090;
  --blue-light:  rgba(74,138,181,0.12);
  --blue-mid:    rgba(74,138,181,0.3);

  /* ── Chaleur ── */
  --warm:        #c8a96e;      /* or doux */
  --warm-light:  rgba(200,169,110,0.12);

  /* ── Bords ── */
  --border:      rgba(255,255,255,0.1);
  --border-blue: rgba(74,138,181,0.35);
  --border-white: rgba(255, 255, 255, 0.35);

  /* ── UI ── */
  --radius:      8px;
  --radius-sm:   4px;
  --shadow:      0 2px 16px rgba(0,0,0,0.4);
  --shadow-md:   0 6px 32px rgba(0,0,0,0.55);

  /* ── Polices ── */
  --font-title:  'Cormorant SC', 'Georgia', serif;
  --font-body:   'Montserrat', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Twemoji — emojis inline à la bonne taille */
img.emoji {
  height: 1.1em;
  width: 1.1em;
  vertical-align: -0.15em;
  display: inline-block;
}
html { scroll-behavior: smooth; scroll-padding-top: 62px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: #7ab0d4; text-decoration: none; }
strong { font-weight: 600; }

/* ── SANDBOX BANNER ─────────────────────────────────────── */
.sandbox-banner {
  background: #7a1010;
  color: #ffcccc;
  text-align: center;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 400px) {
  .container { padding: 0 14px; }
}

/* ── NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,12,0.97);
  border-bottom: 1px solid var(--border-blue);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-brand:hover { opacity: 0.8; }
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
  /* Forcer le logo en blanc/clair sur fond noir */
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: var(--blue-light);
  color: var(--text);
}
.nav-links li.nav-cta a {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-links li.nav-cta a:hover { background: var(--blue-dark); }

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: #111;
    flex-direction: column;
    border-bottom: 1px solid var(--border-blue);
    padding: 8px 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; font-size: 0.85rem; border-radius: 0; }
  .nav-brand { font-size: 0.82rem; }
}

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  background: #4a1e1e;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 448px;
  max-width: 1200px;
  margin: 0 auto;
}
.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 52px 48px 52px 40px;
  text-align: right;
}
.header-text .badges { justify-content: flex-end; }
.header-text .logo-title { margin: 0 0 14px auto; }
.header-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.header-hero-img {
  width: 600px;
  max-width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .header-inner { grid-template-columns: 1fr; min-height: auto; }
  .header-text { padding: 20px 24px 10px; text-align: center; align-items: center; }
  .header-text .badges { justify-content: center; }
  .header-text .logo-title { margin: 0 auto 14px; }
  .header-visual { padding: 16px 24px 32px; }
  .header-hero-img { max-height: 220px; }
}
.logo { max-height: 70px; margin-bottom: 18px; }
.logo-title {
  display: block;
  max-width: 480px;
  max-height: 160px;
  width: auto;
  height: auto;
  margin: 0 auto 14px;
}
.site-edition {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 14px;
}
.site-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--warm);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.site-title span {
  display: block;
  font-size: 0.48em;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.14em;
  margin-top: 10px;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.site-subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
  font-family: var(--font-title);
  font-weight: 300;
  letter-spacing: 0.03em;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.badge {
  background: var(--blue-light);
  border: 1px solid var(--border-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

/* ── FEEDBACK PAYPAL ─────────────────────────────────────── */
.feedback-success,
.feedback-cancel {
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.feedback-success { background: rgba(40,100,40,0.25); border-bottom: 2px solid #3a7a3a; color: #80cc80; }
.feedback-cancel  { background: rgba(140,80,0,0.25);  border-bottom: 2px solid #a06020; color: #e0a060; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-section); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--blue);
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-text {
  max-width: 660px;
  margin: 20px auto 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.separator { width: 100%; height: 1px; background: var(--border); }

/* ── HOW GRID ────────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.how-icon { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.how-card h3 {
  font-family: var(--font-title);
  color: var(--warm);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.how-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTENT LAYOUT ─────────────────────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 640px) { .content-layout { grid-template-columns: 1fr; } }
.content-img {
  width: 100%;
}
.content-list h3 {
  font-family: var(--font-body);
  color: #c0aa7f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content-list h3:first-child { margin-top: 0; }
.content-list ul { list-style: none; padding: 0; }
.content-list ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 0.93rem;
}
.content-list ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}
.subtitle-mention {
  margin: 18px 0 10px;
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(74,138,181,0.12), rgba(74,138,181,0.06));
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.subtitle-mention strong { color: var(--text); }
.exclusive-mention {
  margin-top: 22px;
  padding: 14px 18px;
  background: #4a1e1e;
  border-left: 2px solid #c0aa7f;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── FORMAT CARDS ────────────────────────────────────────── */
.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.format-card:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.format-disc-logo { display: flex; justify-content: center; align-items: center; margin-bottom: 4px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); height: 60px; }
.format-disc-logo svg { height: 60px; width: auto; }
.format-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.format-badge-blu { background: #2a6090; }
.format-card h3 {
  font-family: var(--font-title);
  color: var(--text);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.format-features { list-style: none; padding: 0; text-align: left; }
.format-features li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.format-features li::before { content: '✓'; color: var(--blue); font-weight: bold; flex-shrink: 0; }
.format-features li:last-child { border-bottom: none; }
.format-price {
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--warm);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.format-progress { text-align: left; }
.progress-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.progress-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  border-radius: 4px;
  transition: width 0.7s ease, background 0.6s ease;
}
.progress-fill.--reached {
  background: linear-gradient(90deg, #2d7a3a, #3fb050, #2d7a3a);
  background-size: 200% 100%;
  animation: shimmer-green 2.5s ease-in-out infinite;
}
@keyframes shimmer-green {
  0%   { background-position: 100% 0; }
  50%  { background-position:   0% 0; }
  100% { background-position: 100% 0; }
}
.format-progress.--reached .progress-label {
  color: #3fb050;
  font-weight: 600;
}
.format-progress.--reached .progress-label::after {
  content: ' ✓ Objectif atteint !';
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all 0.18s;
  text-decoration: none;
  text-align: center;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn-gold { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-gold:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-large { width: 100%; font-size: 0.85rem; padding: 17px; margin-top: 12px; }

/* ── FORMULAIRE ──────────────────────────────────────────── */
.form-container { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-group legend,
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
fieldset { border: none; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,138,181,0.15);
}
textarea { resize: vertical; min-height: 80px; }

.radio-cards { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
@media (max-width: 480px) { .radio-cards { display: grid; grid-template-columns: 1fr; } }

/* Quantités */
.qty-grid { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.qty-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; flex: 1 1 160px; min-width: 0; text-align: center; }
.qty-label { font-size: 0.95rem; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: background 0.2s, border-color 0.2s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
#qty-dvd, #qty-blu { width: 44px; text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 1.1rem; font-weight: 600; padding: 4px; pointer-events: none; }
.field-error { color: #e05c5c; font-size: 0.88rem; margin-top: 6px; }
.radio-card { flex: 1 1 140px; cursor: pointer; display: flex; flex-direction: column; }
.radio-card input { display: none; }
.radio-card span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
  transition: all 0.18s;
  color: var(--text-muted);
  line-height: 1.4;
}
.radio-card input:checked + span {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--text);
  font-weight: 600;
}
.radio-card span small { display: block; color: var(--text-light); margin-top: 2px; }

.total-display {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0 14px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--warm);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.total-display small {
  display: block;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.payment-mention {
  margin-top: 16px;
  text-align: center;
  cursor: default;
  user-select: none;
}

/* ── PAYPAL SDK ──────────────────────────────────────────── */
.paypal-trust-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}
.paypal-trust-note p { margin: 0; }
@keyframes pp-spin { to { transform: rotate(360deg); } }
.pp-spin { animation: pp-spin 0.8s linear infinite; transform-origin: center; }

/* ── CAMPAGNE CLOSE ──────────────────────────────────────── */
.campaign-closed-block {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  background: var(--blue-light);
}
.campaign-closed-block p { font-size: 1.1rem; color: var(--text); font-style: italic; font-family: var(--font-title); letter-spacing: 0.03em; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 36px auto 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-blue); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); line-height: 1; transition: transform 0.2s; font-family: var(--font-body); font-weight: 300; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); color: var(--blue); }
.faq-item p { padding: 18px 22px 10px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-item p + p { padding-top: 0; }
.faq-item ul { margin: 0 22px 6px 22px; padding-left: 0; list-style: none; }
.faq-item ul li { position: relative; padding: 5px 0 5px 18px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; border-bottom: 1px solid var(--border); }
.faq-item ul li:last-child { border-bottom: none; }
.faq-item ul li::before { content: '›'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.faq-item a { color: var(--blue); }
.faq-item a:hover { color: #7ab0d4; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #080808;
  color: var(--text-muted);
  text-align: center;
  padding: 56px 24px 40px;
  font-size: 0.88rem;
  line-height: 2;
  border-top: 1px solid var(--border);
}
.footer-logo {
  max-height: 60px;
  margin-bottom: 18px;
  opacity: 0.7;
}
.site-footer a { color: var(--blue); }

/* Récap total panier */
.total-display { margin: 8px 0 18px; }
.total-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.total-table td { padding: 5px 8px; border-bottom: 1px solid var(--border); }
.total-table td:first-child { color: var(--text-muted); }
.total-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-table tr.total-row td { border-bottom: none; padding-top: 10px; font-size: 1.05rem; color: var(--gold); }
.total-table em { color: var(--text-muted); font-style: italic; font-size: 0.88rem; }
.site-footer a:hover { color: #7ab0d4; }
.footer-legal { font-size: 0.75rem; margin-top: 16px; opacity: 0.4; letter-spacing: 0.02em; }

/* ── EMOJIS MOBILE ───────────────────────────────────────── */
/* Sur iOS/Android les glyphes emoji ignorent les petits font-size */
.badge {
  line-height: 1.6;
  vertical-align: middle;
}
.exclusive-mention {
  line-height: 1.7;
}
.format-features li {
  line-height: 1.6;
}
@media (max-width: 720px) {
  .how-icon { font-size: 1.6rem; }
  /* Réduire la taille de police pour que le rendu emoji soit proportionnel */
  .badge { font-size: 0.82rem; }
  .exclusive-mention { font-size: 0.85rem; }
}
