/* Styles partagés du blog HITSUYO — reprend l'identité de reservations/index.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:    #F8F5F0;
  --white: #FDFCFA;
  --ink:   #1C1A17;
  --muted: #8A7E72;
  --line:  #E2D9CE;
  --gold:  #B8916A;
  --dark:  #221C15;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; filter: brightness(0); }

header nav { display: flex; align-items: center; gap: 40px; }
header nav a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
  font-weight: 400;
}
header nav a:hover { color: var(--gold) !important; }
header nav a.active { color: var(--ink); }

.nav-book {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 24px;
  border: 1px solid var(--ink);
  transition: all 0.3s;
}
.nav-book:hover { background: var(--ink); color: white; }
.header-cta-mob { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); }

/* ── COMMUNS ── */
.label {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: block;
  margin-bottom: 20px;
}
.btn-ink {
  display: inline-block;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s;
}
.btn-ink:hover { background: transparent; color: var(--ink); }

/* ── EN-TÊTE DE PAGE (hub et article) ── */
.page-intro {
  padding: 140px 24px 72px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-intro h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto 20px;
}
.page-intro h1 em { font-style: italic; }
.page-intro p.lede {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}
.crumbs {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 300;
}

/* ── HUB : liste des articles ── */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 24px 96px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 30px 30px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s;
}
.post-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.post-card .label { margin-bottom: 16px; }
.post-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin-bottom: 14px;
  color: var(--ink);
}
.post-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 22px;
  flex-grow: 1;
}
.post-card .meta { font-size: 10.5px; letter-spacing: 0.1em; padding-top: 18px; border-top: 1px solid var(--line); }
.post-card .read { display: block; margin-top: 14px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.post-card:hover .read { color: var(--gold); }

/* ── ARTICLE ── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 64px 24px 40px; }
.toc {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.toc .label { margin-bottom: 12px; }
.toc ol { padding-left: 18px; }
.toc li { font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--gold); }

.article { font-size: 16px; line-height: 1.85; font-weight: 300; color: var(--ink); }
.article p { margin-bottom: 22px; }
.article h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  margin: 56px 0 20px;
  scroll-margin-top: 88px;
}
.article h3 {
  font-family: 'Cormorant', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 12px;
}
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 400; }
.article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article a:hover { color: var(--gold); }
.article blockquote {
  border-left: 1px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
}
.note {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin: 32px 0;
  font-size: 14.5px;
}
.note p:last-child { margin-bottom: 0; }

/* FAQ : réponses toujours présentes dans le HTML */
.faq { margin-top: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 18px; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* Encadré final : seule mention commerciale de l'article */
.cta-box {
  max-width: 720px;
  margin: 24px auto 96px;
  padding: 48px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.cta-box .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0 auto 20px;
}
.cta-box .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; display: block; }
.cta-box h2 {
  font-family: 'Cormorant', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.cta-box p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(248,245,240,0.4); padding: 48px 80px 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; max-width: 800px; margin: 0 auto 36px; }
.foot-col h5 {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
}
.foot-col a {
  display: block;
  font-size: 13px;
  color: rgba(248,245,240,0.35);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
  font-weight: 300;
}
.foot-col a:hover { color: rgba(248,245,240,0.75); }
.foot-col a.foot-mail { color: rgba(248,245,240,0.4); margin-bottom: 6px; }
.foot-tagline {
  text-align: center;
  font-size: 11px;
  color: rgba(248,245,240,0.25);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.foot-bottom { text-align: center; font-size: 10.5px; color: rgba(248,245,240,0.2); letter-spacing: 0.05em; }


/* Pied de page identique à la page d'accueil */
.foot-mail { font-size: 13px; color: rgba(248,245,240,0.4); text-decoration: none; display: block; margin-bottom: 6px; transition: color 0.3s; }
.foot-mail:hover { color: var(--gold); }
.foot-soc { display: flex; gap: 16px; margin-top: 20px; align-items: center; }
.foot-soc img { width: 16px; height: 16px; filter: brightness(0) invert(1) opacity(0.3); transition: opacity 0.3s; }
.foot-soc a:hover img { opacity: 0.7; }
.foot-soc a { font-size: 11px; color: rgba(248,245,240,0.3); text-decoration: none; transition: color 0.3s; }
.foot-soc a:hover { color: rgba(248,245,240,0.7); }
.foot-bottom { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
@media (max-width: 768px) {
  footer div[style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 28px !important; text-align: center !important; }
  .foot-soc { justify-content: center; }
}


/* ── EN-TÊTE DU BLOG + FILTRES (même en-tête que la page Réservations) ── */
.blog-head { background: var(--white); border-bottom: 1px solid var(--line); text-align: center; padding: 140px 24px 72px; }
.blog-head h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.blog-head h1 em { font-style: italic; font-weight: 600; }
.blog-head .lede { font-size: 14px; line-height: 1.8; color: var(--muted); font-weight: 300; max-width: 560px; margin: 0 auto; }
.blog-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 56px 24px 0; }
.blog-filters button {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.25s;
}
.blog-filters button:hover { color: var(--ink); border-color: var(--ink); }
.blog-filters button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.post-card[hidden] { display: none; }
@media (max-width: 768px) { .blog-head { padding: 104px 20px 52px; } .blog-filters { padding-top: 40px; } }


/* ── PAGE ARTICLE (même style d'en-tête que le journal) ── */
.article-head { background: var(--white); border-bottom: 1px solid var(--line); text-align: center; padding: 128px 24px 64px; }
.article-head .back-link { display: inline-block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.article-head .back-link:hover { color: var(--gold); }
.article-head .label { margin-bottom: 16px; }
.article-head h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0 auto 20px;
}
.article-head h1 em { font-style: italic; font-weight: 600; }
.article-head .meta { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Mise en page : sommaire collant à gauche, texte à droite */
.article-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 660px);
  gap: 64px;
  justify-content: center;
  max-width: 1100px;
  padding: 56px 24px 32px;
}
.article-wrap .toc {
  position: sticky;
  top: 96px;
  align-self: start;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.article-wrap .toc .label { margin-bottom: 16px; }
.article-wrap .toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.article-wrap .toc li { counter-increment: toc; margin: 0; }
.article-wrap .toc a {
  display: flex; gap: 10px; align-items: baseline;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 1px solid transparent;
  border-bottom: none;
  font-size: 12px; line-height: 1.45;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.article-wrap .toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 9.5px; letter-spacing: 0.08em; color: var(--gold); flex-shrink: 0;
}
.article-wrap .toc a:hover { color: var(--ink); }
.article-wrap .toc a.active { color: var(--ink); border-left-color: var(--gold); }

/* Corps de l'article */
.article { font-size: 14.5px; line-height: 1.8; }
.article p { margin-bottom: 16px; }
.article li { margin-bottom: 6px; }
.article > p:first-of-type { font-family: 'Cormorant', serif; font-size: 19px; line-height: 1.6; font-weight: 400; color: var(--ink); }
.article h2 { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; margin: 40px 0 14px; padding-top: 0; border-top: none; }
.article h3 { font-family: 'DM Sans', sans-serif; font-size: 14.5px; font-weight: 600; letter-spacing: 0; text-transform: none; margin: 24px 0 6px; }
.article ul { list-style: none; margin-left: 0; }
.article ul li { position: relative; padding-left: 22px; }
.article ul li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }
.article blockquote { font-size: 22px; text-align: center; border-left: none; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 22px 12px; margin: 32px 0; }
.note { background: var(--white); border: none; border-left: 2px solid var(--gold); }
.faq { margin-top: 48px; }
.faq h2 { margin-top: 0; }
.faq details { padding: 11px 0; }
.faq summary { font-size: 14.5px; }
.faq details p { margin-top: 10px; font-size: 14px; }

@media (max-width: 960px) {
  .article-wrap { grid-template-columns: minmax(0, 680px); gap: 0; padding-top: 48px; }
  .article-wrap .toc { position: static; margin-bottom: 36px; }
}
@media (max-width: 768px) {
  .article-head { padding: 100px 20px 48px; }
  .article > p:first-of-type { font-size: 18px; }
  .article blockquote { font-size: 20px; }
}


/* Encadré final : bande blanche pleine largeur, comme « Tu ne sais pas par où commencer ? » sur l'accueil */
.cta-box { max-width: none; margin: 48px 0 0; padding: 72px 24px 80px; background: #fff; border: none; border-top: 1px solid var(--line); }
.cta-box .label { margin-bottom: 14px; }
.cta-box h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 2.5vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; }
.cta-box h2 em { font-style: italic; font-weight: 400; }
.cta-box p { font-size: 13.5px; max-width: 560px; margin: 0 auto 32px; }
.cta-box .btn-ink { padding: 14px 36px; }
.cta-box p.cta-note { font-size: 12px; margin: 18px auto 0; color: var(--muted); }
@media (max-width: 768px) { .cta-box { margin: 32px 0 0; padding: 56px 20px 64px; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  header { padding: 0 28px; }
  footer { padding: 60px 40px 32px; }
}
@media (max-width: 768px) {
  header { padding: 0 20px; height: 56px; }
  header nav { display: none; }
  header nav.open {
    display: flex; flex-direction: column; position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(248,245,240,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 16px 0; z-index: 99;
  }
  header nav.open a { padding: 14px 28px; color: var(--muted) !important; font-size: 11px; border-bottom: 1px solid var(--line); }
  .nav-book { display: none; }
  .burger { display: flex; }
  .header-cta-mob {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--ink);
    padding: 7px 12px;
    white-space: nowrap;
  }
  .page-intro { padding: 104px 20px 56px; }
  .article { font-size: 14.5px; }
  .cta-box { margin: 24px 16px 72px; padding: 40px 22px; }
  footer { padding: 48px 24px 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
}

/* Menu : bascule en mode mobile sous 1024px (le menu complet ne tient plus) */
@media (max-width: 1280px) {
  header nav { gap: 26px; }
  header nav a { white-space: nowrap; }
}
@media (max-width: 1024px) {
  header nav { display: none; }
  header nav.open {
    display: flex; flex-direction: column; position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(248,245,240,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 16px 0; z-index: 99;
  }
  header nav.open a { padding: 14px 28px; color: var(--muted) !important; font-size: 11px; border-bottom: 1px solid var(--line); }
  .nav-book { display: none; }
  .burger { display: flex; }
  .header-cta-mob {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--ink);
    padding: 7px 12px;
    white-space: nowrap;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  header nav.open { top: 64px; }
}
