/* ═══════════════════════════════════════════
   toutorganiser.fr — Global Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500&display=swap');

:root {
  --bg: #F5F2ED;
  --surface: #FFFFFF;
  --ink: #1A1A18;
  --ink-muted: #5A5750;
  --accent: #2C4A6E;
  --accent-light: #E8F0F8;
  --accent-warm: #E8A020;
  --accent-warm-light: #FEF4E0;
  --border: #DEDAD4;
  --mono: 'DM Mono', monospace;
  --head: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }

/* ── NAV ── */
nav {
  background: var(--ink); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; display: block; }
.nav-logo-text { font-family: var(--head); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav-logo-text span { color: #7BAFD4; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ── AD BANNER ── */
.ad-banner { background: #e8e4de; border-bottom: 1px solid var(--border); text-align: center; padding: 8px; font-size: 12px; color: var(--ink-muted); font-family: var(--mono); }

/* ── BREADCRUMB ── */
.breadcrumb { max-width: 900px; margin: 0 auto; padding: 12px 24px 0; font-size: 13px; color: var(--ink-muted); font-family: var(--mono); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── PAGE HERO ── */
.page-hero { max-width: 900px; margin: 0 auto; padding: 40px 24px 32px; }
.cat-tag { display: inline-block; padding: 3px 10px; border-radius: 2px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.cat-demenagement { background: #E8F0F8; color: #2C4A6E; }
.cat-adresse { background: #FEF4E0; color: #E8A020; }
.cat-voyage { background: #E8F5E8; color: #2D6A2D; }
.cat-evenement { background: #F3E8FF; color: #7C3AED; }
.page-hero h1 { font-family: var(--head); font-size: clamp(32px, 7vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -1px; margin-bottom: 14px; }
.page-hero .subtitle { font-size: 17px; color: var(--ink-muted); max-width: 560px; line-height: 1.5; }

/* ── PAGE MAIN ── */
.page-main { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
@media (max-width: 720px) { .page-main { grid-template-columns: 1fr; padding: 0 16px 40px; } }

/* ── CALC CARD ── */
.calc-main-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.calc-main-card h2 { font-family: var(--head); font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--ink); }

/* ── FIELD GROUP ── */
.field-group { margin-bottom: 14px; }
.field-group label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); margin-bottom: 5px; }
.field-group input, .field-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 15px; font-family: var(--body);
  background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .15s;
}
.field-group input:focus, .field-group select:focus { border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── RADIO GROUP ── */
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group input[type=radio] { display: none; }
.radio-group label {
  padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 20px;
  font-family: var(--head); font-size: 15px; font-weight: 600;
  color: var(--ink-muted); cursor: pointer; transition: all .15s;
}
.radio-group input[type=radio]:checked + label {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.radio-group label:hover { border-color: var(--accent); color: var(--accent); }

/* ── SUBMIT ── */
.calc-submit {
  width: 100%; padding: 14px; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; font-family: var(--head);
  font-size: 20px; font-weight: 700; cursor: pointer;
  transition: background .15s; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.calc-submit:hover { background: #1e3450; }

/* ── CHECKLIST ── */
.checklist-wrap { margin-top: 24px; }
.checklist-phase {
  margin-bottom: 28px;
}
.checklist-phase-title {
  font-family: var(--head); font-size: 18px; font-weight: 800;
  color: var(--ink); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent-light);
}
.checklist-phase-title .phase-badge {
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  padding: 3px 8px; border-radius: 3px; letter-spacing: 0.5px;
}
.checklist-group { margin-bottom: 16px; }
.checklist-group-title {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--ink-muted); margin-bottom: 8px;
}
.checklist-items { display: flex; flex-direction: column; gap: 6px; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px;
  cursor: pointer; transition: all .15s; user-select: none;
}
.checklist-item:hover { border-color: var(--accent); background: var(--accent-light); }
.checklist-item.done { background: #f0f7f0; border-color: #a8d5a8; }
.checklist-item.done .ci-text { text-decoration: line-through; color: var(--ink-muted); }
.checklist-item .ci-box {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 2px solid var(--border); border-radius: 4px;
  margin-top: 1px; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.checklist-item.done .ci-box {
  background: #2D6A2D; border-color: #2D6A2D;
}
.checklist-item.done .ci-box::after {
  content: '✓'; color: #fff; font-size: 13px; font-weight: 700;
}
.ci-text { font-size: 15px; color: var(--ink); line-height: 1.4; flex: 1; }
.ci-tip { font-size: 12px; color: var(--ink-muted); margin-top: 2px; font-style: italic; }

/* ── PROGRESS BAR ── */
.checklist-progress {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.progress-bar-wrap { flex: 1; background: var(--accent-light); border-radius: 4px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--accent); border-radius: 4px; transition: width .3s ease; }
.progress-text { font-family: var(--head); font-size: 18px; font-weight: 800; color: var(--accent); flex-shrink: 0; }

/* ── RESULT BOX ── */
.result-box {
  display: none; background: var(--accent-light);
  border: 2px solid #a8c4e0; border-radius: 10px;
  padding: 20px 24px; margin-top: 20px;
  animation: fadeUp .25s ease;
}
.result-box.show { display: block; }
.result-number { font-family: var(--head); font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.result-detail { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.result-tip { margin-top: 10px; font-size: 13px; color: #1e3450; background: #d0e4f4; border-radius: 6px; padding: 8px 12px; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.sidebar-card h3 { font-family: var(--head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sidebar-card ul li a { color: var(--accent); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.sidebar-card ul li a::before { content: '→'; font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }
.sidebar-card ul li a:hover { text-decoration: underline; }

/* ── ETSY / MOSEL3D STRIP ── */
.sidebar-etsy {
  background: linear-gradient(135deg, var(--accent-warm-light) 0%, #fff8f0 100%);
  border: 1px solid #f0c89a; border-radius: 12px;
  padding: 20px; text-decoration: none; display: block; transition: all .15s;
}
.sidebar-etsy:hover { box-shadow: 0 4px 12px rgba(232,160,32,.15); }
.etsy-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-warm); display: block; margin-bottom: 6px; }
.sidebar-etsy h3 { font-family: var(--head); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.sidebar-etsy p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; margin-bottom: 10px; }
.etsy-btn { display: inline-block; background: var(--accent-warm); color: #fff; padding: 7px 14px; border-radius: 5px; font-family: var(--head); font-size: 14px; font-weight: 700; }

/* ── SEO BLOCK ── */
.seo-block { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; }
.seo-block h2 { font-family: var(--head); font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.seo-block p { font-size: 15px; color: var(--ink-muted); line-height: 1.7; margin-bottom: 12px; }

/* ── FOOTER ── */
footer { background: var(--ink); color: #aaa; padding: 48px 24px 24px; margin-top: 40px; }
.footer-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer-logo { font-family: var(--head); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: #7BAFD4; }
.footer-col p { font-size: 13px; line-height: 1.6; color: #888; }
.footer-col h5 { font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-col ul li a { color: #888; text-decoration: none; font-size: 13px; transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { max-width: 960px; margin: 0 auto; padding-top: 20px; border-top: 1px solid #333; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #555; }
.footer-bottom a { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #aaa; }

/* ── COMING SOON ── */
.coming-soon {
  max-width: 640px; margin: 80px auto; padding: 0 24px;
  text-align: center;
}
.coming-soon .cs-icon { font-size: 56px; margin-bottom: 20px; display: block; }
.coming-soon h1 { font-family: var(--head); font-size: clamp(28px, 6vw, 48px); font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.coming-soon p { font-size: 16px; color: var(--ink-muted); line-height: 1.6; margin-bottom: 28px; }
.coming-soon a { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 6px; font-family: var(--head); font-size: 18px; font-weight: 700; text-decoration: none; transition: background .15s; }
.coming-soon a:hover { background: #1e3450; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeUp .4s ease both; }

/* ── UTILITAIRES ── */
.ad-slot-h { text-align: center; padding: 16px; font-size: 12px; color: var(--ink-muted); font-family: var(--mono); background: #eee; border-radius: 6px; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
