/* ═══════════════════════════════════════════
   toutorganiser.fr — Global Stylesheet v2
   Objectif : plus clair, plus direct, plus fiable visuellement
   Compatible avec la structure actuelle
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #F7F4EF;
  --surface: #FFFFFF;
  --surface-2: #FCFBF8;
  --ink: #171715;
  --ink-muted: #5E5A53;
  --accent: #234A75;
  --accent-strong: #17324F;
  --accent-light: #EAF2FA;
  --accent-warm: #D79218;
  --accent-warm-light: #FFF3DE;
  --border: #DED8CF;
  --border-strong: #CFC8BE;
  --shadow-sm: 0 4px 14px rgba(20, 24, 28, 0.05);
  --shadow-md: 0 10px 32px rgba(20, 24, 28, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --mono: 'DM Mono', monospace;
  --head: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
  --container: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.75) 0, rgba(255,255,255,0) 36%),
    linear-gradient(180deg, #F8F5F0 0%, var(--bg) 100%);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

/* ── NAV ── */
nav {
  background: rgba(23, 23, 21, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 38px; width: auto; display: block; }
.nav-logo-text { font-family: var(--head); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.4px; }
.nav-logo-text span { color: #8CB7D9; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color .15s, opacity .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: 24px; height: 2px; background: #fff; border-radius: 2px; }

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

/* ── BREADCRUMB ── */
.breadcrumb { max-width: var(--container); margin: 0 auto; padding: 16px 24px 0; font-size: 12px; 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: var(--container); margin: 0 auto; padding: 38px 24px 28px; }
.cat-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.cat-demenagement { background: #E8F0F8; color: #234A75; }
.cat-adresse { background: #FFF3DE; color: #C77A00; }
.cat-voyage { background: #EAF6EA; color: #2D6A2D; }
.cat-evenement { background: #F3E8FF; color: #7C3AED; }
.page-hero h1 { font-family: var(--head); font-size: clamp(36px, 7vw, 62px); font-weight: 800; line-height: 0.95; letter-spacing: -1.3px; margin-bottom: 14px; max-width: 760px; }
.page-hero .subtitle { font-size: 18px; color: var(--ink-muted); max-width: 700px; line-height: 1.55; }

/* ── PAGE MAIN ── */
.page-main { max-width: var(--container); margin: 0 auto; padding: 0 24px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 820px) { .page-main { grid-template-columns: 1fr; padding: 0 16px 44px; } }

/* ── CALC CARD ── */
.calc-main-card { background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.calc-main-card h2 { font-family: var(--head); font-size: 24px; font-weight: 700; margin-bottom: 22px; color: var(--ink); }

/* ── FIELD GROUP ── */
.field-group { margin-bottom: 16px; }
.field-group label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); margin-bottom: 7px; }
.field-group input, .field-group select, .field-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 15px; font-family: var(--body);
  background: var(--surface); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(35, 74, 117, 0.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ── RADIO GROUP ── */
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-group input[type=radio] { display: none; }
.radio-group label {
  padding: 9px 15px; border: 1.5px solid var(--border); border-radius: 999px; font-family: var(--head); font-size: 16px; font-weight: 600;
  color: var(--ink-muted); background: var(--surface); cursor: pointer; transition: all .15s ease; line-height: 1.2;
}
.radio-group input[type=radio]:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(35, 74, 117, 0.18); }
.radio-group label:hover { border-color: var(--accent); color: var(--accent); background: #fff; }

/* ── SUBMIT ── */
.calc-submit {
  width: 100%; padding: 15px 16px; background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%); color: #fff; border: none; border-radius: 12px;
  font-family: var(--head); font-size: 22px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 22px rgba(35, 74, 117, 0.18);
}
.calc-submit:hover { transform: translateY(-1px); filter: brightness(1.02); }
.calc-submit:active { transform: translateY(0); filter: brightness(0.98); }

/* ── CHECKLIST ── */
.checklist-wrap { margin-top: 24px; }
.checklist-phase { margin-bottom: 30px; }
.checklist-phase-title { font-family: var(--head); font-size: 21px; 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: 4px 8px; border-radius: 999px; 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: 8px; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
  cursor: pointer; transition: all .15s ease; user-select: none; box-shadow: var(--shadow-sm);
}
.checklist-item:hover { border-color: #B9C9DA; background: #FBFDFF; }
.checklist-item.done { background: #F2F8F1; border-color: #B8D8B8; }
.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-strong); border-radius: 5px; margin-top: 1px; transition: all .15s; display: flex; align-items: center; justify-content: center; background: #fff; }
.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.45; flex: 1; }
.ci-tip { font-size: 12px; color: var(--ink-muted); margin-top: 4px; font-style: italic; }

/* ── PROGRESS BAR ── */
.checklist-progress { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-sm); }
.progress-bar-wrap { flex: 1; background: var(--accent-light); border-radius: 999px; height: 10px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent) 0%, #346292 100%); border-radius: 999px; transition: width .3s ease; }
.progress-text { font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--accent); flex-shrink: 0; }

/* ── RESULT BOX ── */
.result-box { display: none; background: linear-gradient(180deg, var(--accent-light) 0%, #F6FAFE 100%); border: 1.5px solid #BFD3E5; border-radius: 14px; padding: 22px 24px; margin-top: 20px; animation: fadeUp .25s ease; }
.result-box.show { display: block; }
.result-number { font-family: var(--head); font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.result-detail { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }
.result-tip { margin-top: 12px; font-size: 13px; color: var(--accent-strong); background: rgba(255,255,255,0.65); border-radius: 8px; padding: 9px 12px; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 82px; }
@media (max-width: 820px) { .sidebar { position: static; } }
.sidebar-card { background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-family: var(--head); font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.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%, #FFF9EF 100%); border: 1px solid #F2D2A1; border-radius: 16px; padding: 20px; text-decoration: none; display: block;
  transition: all .15s; box-shadow: var(--shadow-sm);
}
.sidebar-etsy:hover { box-shadow: 0 6px 16px rgba(215, 146, 24, .12); }
.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: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.sidebar-etsy p { font-size: 13px; color: var(--ink-muted); line-height: 1.55; margin-bottom: 12px; }
.etsy-btn { display: inline-block; background: var(--accent-warm); color: #fff; padding: 8px 14px; border-radius: 999px; font-family: var(--head); font-size: 14px; font-weight: 700; }

/* ── SEO BLOCK ── */
.seo-block { max-width: var(--container); margin: 0 auto; padding: 0 24px 72px; }
.seo-block h2 { font-family: var(--head); font-size: 30px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.seo-block p { font-size: 16px; color: var(--ink-muted); line-height: 1.75; margin-bottom: 14px; max-width: 840px; }
@media (max-width: 720px) { .seo-block { padding: 0 16px 44px; } }

/* ── FOOTER ── */
footer { background: var(--ink); color: #AAA; padding: 52px 24px 24px; margin-top: 42px; }
.footer-inner { max-width: var(--container); margin: 0 auto 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer-logo { font-family: var(--head); font-size: 24px; font-weight: 800; color: #FFF; margin-bottom: 10px; }
.footer-logo span { color: #8CB7D9; }
.footer-col p { font-size: 13px; line-height: 1.65; color: #9D9A93; }
.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: 7px; }
.footer-col ul li a { color: #9D9A93; text-decoration: none; font-size: 13px; transition: color .15s; }
.footer-col ul li a:hover { color: #FFF; }
.footer-bottom { max-width: var(--container); margin: 0 auto; padding-top: 20px; border-top: 1px solid #33322E; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #66625C; }
.footer-bottom a { color: #7E7A73; text-decoration: none; }
.footer-bottom a:hover { color: #B5B1AB; }

/* ── COMING SOON ── */
.coming-soon { max-width: 660px; margin: 84px auto; padding: 0 24px; text-align: center; }
.coming-soon .cs-icon { font-size: 58px; margin-bottom: 20px; display: block; }
.coming-soon h1 { font-family: var(--head); font-size: clamp(30px, 6vw, 50px); font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.8px; }
.coming-soon p { font-size: 16px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 28px; }
.coming-soon a { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%); color: #fff; padding: 12px 24px; border-radius: 12px; font-family: var(--head); font-size: 18px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px rgba(35, 74, 117, 0.18); }

/* ── 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: #EFE9E1; border: 1px dashed #D5CDC2; border-radius: 10px; }

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