:root {
  --paper: #f6f1e7;
  --paper-alt: #ece4d3;
  --card: #fffdf8;
  --ink: #1d1b19;
  --muted: #6a645b;
  --red: #b3261e;
  --red-dark: #8c1d17;
  --line: #ddd2bd;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 700; }

.container { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.logo small { display: block; font: 500 .68rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: -.3rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn { display: inline-block; cursor: pointer; padding: .8rem 1.7rem; border: 2px solid var(--red); border-radius: 6px; background: var(--red); color: #fff !important; font: 600 1rem var(--sans); transition: background .2s, transform .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-small { padding: .45rem 1.1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--red) !important; }
.btn-ghost:hover { background: var(--red); color: #fff !important; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6.5rem 0 5rem; background: radial-gradient(circle at 85% 30%, rgba(179, 38, 30, .1), transparent 45%), var(--paper); }
.hero::after { content: ""; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); border: 26px solid rgba(179, 38, 30, .13); border-right-color: transparent; border-radius: 50%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { color: var(--red); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 1.2rem; max-width: 14ch; }
.accent { color: var(--red); font-style: italic; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; list-style: none; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); color: var(--muted); max-width: 640px; }
.hero-facts strong { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper-alt); }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 .6rem; }
.section-sub { color: var(--muted); max-width: 62ch; margin: 0 0 2.4rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(60, 40, 20, .1); }
.card h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.kanji { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--red); margin-bottom: .6rem; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.schedule { width: 100%; border-collapse: collapse; min-width: 520px; }
.schedule th, .schedule td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.schedule thead th { background: var(--ink); color: var(--paper); font-weight: 600; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.schedule tbody tr:last-child td { border-bottom: 0; }
.schedule tbody tr:hover { background: #faf4e6; }
.schedule td:first-child { font-weight: 600; }
.note { margin: 1.2rem 0 0; color: var(--muted); font-size: .95rem; }

/* Prices */
.price .amount { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); font-weight: 700; margin: .4rem 0 1rem; }
.price .amount span { font-size: 1rem; color: var(--muted); font-weight: 400; margin-left: .2rem; }
.price ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.price li { padding: .4rem 0 .4rem 1.5rem; border-top: 1px solid var(--line); position: relative; }
.price li::before { content: "•"; position: absolute; left: .3rem; color: var(--red); }
.price.featured { border: 2px solid var(--red); position: relative; }
.price.featured::before { content: "Le plus choisi"; position: absolute; top: -.8rem; left: 1.5rem; background: var(--red); color: #fff; font-size: .75rem; padding: .15rem .7rem; border-radius: 99px; letter-spacing: .05em; }

/* Team */
.person { text-align: center; }
.avatar { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 2.2rem var(--serif); }
.role { color: var(--red) !important; font-weight: 600; font-size: .92rem; margin-bottom: .6rem !important; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; color: var(--muted); }
.info strong { color: var(--ink); }
.form { display: grid; gap: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; padding: .75rem .9rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: 400 1rem var(--sans); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #1f7a3d; }
.form-status.err { color: var(--red); }

/* Footer */
.site-footer { background: var(--ink); color: #cfc7b8; padding: 2rem 0; text-align: center; font-size: .9rem; }
.site-footer p { margin: 0; }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 0 1rem; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .6rem 0; }
  .contact { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero::after { width: 340px; height: 340px; right: -170px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Carte d'appel à l'action (contact) */
.cta-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; justify-items: start; }
.cta-card h3 { margin: 0; font-size: 1.5rem; }
.cta-card p { margin: 0; color: var(--muted); }
.cta-card .cta-sep { margin-top: .4rem; font-size: .95rem; }
.cta-card .btn { font-size: 1.1rem; }

/* Lieu : carte + adresse */
.lieu { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: stretch; }
.map-wrap { min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-alt); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.address-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; align-content: center; justify-items: start; }
.address-card h3 { margin: 0; font-size: 1.5rem; }
.address-card address { font-style: normal; font-size: 1.1rem; line-height: 1.8; }

/* Contact : encadrés cliquables */
.contact-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.contact-box { display: grid; gap: .3rem; justify-items: center; text-align: center; padding: 2rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.contact-box:hover, .contact-box:focus-visible { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 14px 30px rgba(60, 40, 20, .12); }
.contact-box strong { font-family: var(--serif); font-size: 1.4rem; }
.contact-box span:last-child { color: var(--muted); font-size: .95rem; }
.contact-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #f8e3df; font-size: 1.7rem; margin-bottom: .6rem; }
.contact-icon-fb { background: #1877f2; color: #fff; font: 700 2rem Georgia, serif; }

/* Agenda des événements */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.agenda-item { display: flex; gap: 1.5rem; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 1.4rem 1.6rem; transition: transform .25s, box-shadow .25s; }
.agenda-item:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(60, 40, 20, .12); }
.agenda-date { flex: 0 0 auto; min-width: 84px; align-self: flex-start; padding: .7rem .4rem; text-align: center; background: var(--red); color: #fff; border-radius: 10px; line-height: 1.1; }
.agenda-day { display: block; font: 700 2rem var(--serif); white-space: nowrap; }
.agenda-month { display: block; margin-top: .2rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.agenda-body { min-width: 0; }
.agenda-body h3 { margin: .3rem 0 .6rem; font-size: 1.45rem; }
.agenda-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.agenda-tag { display: inline-block; padding: .15rem .75rem; border-radius: 99px; background: #f8e3df; color: var(--red-dark); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.agenda-tag-next { background: var(--ink); color: var(--paper); }
.agenda-meta { list-style: none; margin: 0 0 .7rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; color: var(--ink); font-weight: 500; }
.agenda-meta-item { display: flex; gap: .45rem; align-items: baseline; }
.agenda-desc { margin: 0; color: var(--muted); }
.agenda-empty { margin: 0; padding: 2.4rem 1.5rem; display: grid; gap: .35rem; justify-items: center; text-align: center; color: var(--muted); background: var(--card); border: 2px dashed var(--line); border-radius: var(--radius); }
.agenda-empty strong { color: var(--ink); font: 700 1.3rem var(--serif); }
.agenda-empty-icon { font-size: 2.2rem; }
@media (max-width: 600px) {
  .agenda-item { flex-direction: column; gap: 1rem; padding: 1.2rem; }
  .agenda-date { align-self: flex-start; }
}

@media (max-width: 800px) {
  .lieu { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 300px; }
}

/* Accueil : images à droite */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.hero-medias { display: grid; gap: 2.2rem; justify-self: end; width: 100%; max-width: 380px; }
.hero-media { position: relative; isolation: isolate; margin: 0; width: 100%; perspective: 1200px; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid rgba(179, 38, 30, .45); border-radius: 22px; transform: translate(16px, 16px); transition: transform .4s ease; }
.hero-media img { display: block; width: 100%; height: auto; border: 0; border-radius: 22px; box-shadow: 0 2px 4px rgba(60, 40, 20, .12), 0 14px 28px rgba(60, 40, 20, .18), 0 34px 60px rgba(60, 40, 20, .22); transform: rotateY(-4deg) rotateX(1deg); transition: transform .4s ease, box-shadow .4s ease; }
.hero-media:hover img { transform: rotateY(0) rotateX(0) translateY(-4px); }
.hero-media:hover::before { transform: translate(10px, 10px); }
.hero-media-2 img { transform: rotateY(4deg) rotateX(1deg); }
.hero-media-2:hover img { transform: rotateY(0) rotateX(0) translateY(-4px); }
.hero-media-2::before { transform: translate(-16px, 16px); }
.hero-media-2:hover::before { transform: translate(-10px, 10px); }
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-medias { justify-self: start; max-width: 300px; }
  .hero-media img, .hero-media-2 img { transform: none; }
  .hero-media::before { transform: translate(10px, 10px); }
  .hero-media-2::before { transform: translate(-10px, 10px); }
}
