/* ===== BaKotel — feuille de style principale ===== */
:root {
  --bg: #f6f0e3;
  --bg-alt: #faf6ed;
  --card: #fffdf7;
  --field: #fdfaf1;
  --line: #e3d8c2;
  --line-soft: #ece3d0;
  --line-strong: #c9b98f;
  --ink: #2b2318;
  --ink-2: #33291a;
  --body-c: #5c4f38;
  --muted: #6e5c3a;
  --soft: #7a6c54;
  --faint: #a89a7e;
  --gold: #a8842f;
  --gold-deep: #8a6a20;
  --gold-bright: #d9b45e;
  --dark: #2b2318;
  --dark-body: #d8cdb8;
  --dark-soft: #a89a7e;
  --ok: #4c7a3f;
  --serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --sans: 'Assistant', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: #6e5316; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
p { margin: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 9px; }
.brand .name { font-family: var(--serif); font-size: 26px; color: var(--ink-2); letter-spacing: 0.02em; }
.brand .place { font-size: 12px; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--body-c); }
.nav a:hover, .nav a.active { color: var(--gold-deep); }
.nav a.btn, .nav a.btn:hover, .nav a.btn.active { color: var(--card); }
.nav .btn { margin-left: 4px; }
.burger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold); color: var(--card);
  padding: 14px 26px; border-radius: 4px;
  font-weight: 700; font-size: 16px; font-family: var(--sans);
  border: none; cursor: pointer;
  box-shadow: 0 2px 10px rgba(138, 106, 32, 0.25);
  transition: background 0.15s ease;
}
.btn:hover { background: var(--gold-deep); color: var(--card); }
.btn.big { padding: 17px 32px; font-size: 18px; }
.btn.ghost {
  background: var(--card); color: var(--muted);
  border: 1.5px solid var(--line-strong); box-shadow: none;
}
.btn.ghost:hover { background: var(--bg-alt); color: var(--ink); }
.btn.block { width: 100%; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.soft { background: var(--bg-alt); }
.section.dark { background: var(--dark); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 44px; }
.kicker { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.section-head h1 { font-size: 44px; line-height: 1.12; }
.section-head h2 { font-size: 38px; line-height: 1.15; }
.section-head .sub { font-size: 17.5px; color: var(--soft); max-width: 640px; }
.section.dark h2, .section.dark h3 { color: var(--bg-alt); }
.section.dark .kicker { color: var(--gold-bright); }
.section.dark p { color: var(--dark-body); }

/* ===== Grilles & cartes ===== */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px;
}
.card.soft-bg { background: var(--bg-alt); border-color: var(--line-soft); }
.card h3 { font-size: 22px; }
.card .desc { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--body-c); }
.card ul li { padding-left: 26px; position: relative; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a8842f' stroke-width='1.8'%3E%3Cpath d='M2 8.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / contain;
}
.card .cta { margin-top: auto; }
.price { font-family: var(--serif); font-size: 42px; color: var(--gold); line-height: 1; }
.price .per { font-family: var(--sans); font-size: 15px; color: var(--soft); }
.card.featured {
  background: var(--dark); border-color: var(--dark); position: relative;
  box-shadow: 0 6px 24px rgba(43, 35, 24, 0.22);
}
.card.featured h3 { color: var(--bg-alt); }
.card.featured .price { color: var(--gold-bright); }
.card.featured ul { color: var(--dark-body); }
.card.featured .desc { color: var(--dark-body); }
.badge {
  position: absolute; top: -13px; left: 26px;
  background: var(--gold); color: var(--card);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px;
}
.note-line { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15.5px; color: var(--muted); margin-top: 36px; text-align: center; }

/* ===== Hero ===== */
.hero { padding: 84px 0 72px 0; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero .container { display: flex; align-items: center; gap: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 620px; }
.hero-copy h1 { font-size: 56px; line-height: 1.08; }
.hero-copy .lead { font-size: 20px; line-height: 1.55; color: var(--body-c); }
.hero-art { flex: 1; display: flex; justify-content: center; min-width: 0; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; color: var(--soft); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }

/* ===== Étapes ===== */
.step-num { font-size: 14px; color: var(--gold); font-weight: 700; }

/* ===== Bandeau annonce ===== */
.announce {
  background: var(--dark); color: var(--bg-alt);
  text-align: center; font-size: 14.5px; padding: 10px 20px;
}
.announce a { color: var(--gold-bright); font-weight: 700; }

/* ===== Formulaires ===== */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 700; color: var(--body-c); }
.field .hint { font-size: 13.5px; color: var(--faint); font-weight: 400; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #d8c8a6; border-radius: 4px;
  background: var(--field); font-family: var(--sans); font-size: 16px; color: var(--ink-2);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
::placeholder { color: var(--faint); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.form-msg { font-size: 15px; display: none; padding: 12px 16px; border-radius: 4px; }
.form-msg.ok { display: block; background: #eef3e9; color: var(--ok); border: 1px solid #cfdec7; }
.form-msg.err { display: block; background: #f7ece7; color: #9a4a2f; border: 1px solid #e6cabb; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ===== FAQ ===== */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 0 26px; }
.faq details + details { margin-top: 14px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 19px; color: var(--ink); padding: 22px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--gold); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 24px 0; color: var(--body-c); font-size: 16px; line-height: 1.65; }

/* ===== Timeline (preuve) ===== */
.timeline { display: flex; flex-direction: column; }
.timeline .t-item { display: flex; gap: 14px; }
.timeline .t-rail { display: flex; flex-direction: column; align-items: center; }
.timeline .t-dot {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.timeline .t-line { width: 2px; flex: 1; background: #d8c8a6; }
.timeline .t-body { padding-bottom: 20px; }
.timeline .t-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.timeline .t-meta { font-size: 13.5px; color: var(--soft); }

/* ===== Prose (pages légales) ===== */
.prose { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 26px; margin-top: 18px; }
.prose p, .prose li { color: var(--body-c); font-size: 16px; }
.placeholder { background: #f3ead6; border: 1px dashed var(--line-strong); border-radius: 4px; padding: 3px 8px; color: var(--gold-deep); font-size: 0.92em; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); padding: 52px 0 36px 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer-brand .name { font-family: var(--serif); font-size: 24px; color: var(--bg-alt); }
.footer-brand p { font-size: 14.5px; color: var(--dark-soft); line-height: 1.55; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col .head { color: var(--gold-bright); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-col a { color: var(--dark-body); }
.footer-col a:hover { color: var(--bg-alt); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #4a3f2c; margin-top: 32px; padding-top: 20px;
  font-size: 13px; color: #8a7a5e;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .container { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero-copy h1 { font-size: 42px; }
  .section-head h1 { font-size: 36px; }
  .section-head h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 10px 24px 20px 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin: 14px 0 0 0; }
  .burger { display: block; }
  .hero { padding: 56px 0 48px 0; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .lead { font-size: 18px; }
  .footer-cols { gap: 36px; }
  .form-card { padding: 24px 20px; }
}
