/* Nação Capoeira Arte e Cultura — feuille de style */
:root {
  --green-900: #0e2a1f;
  --green-700: #155b3e;
  --green-500: #1f8a5b;
  --yellow: #f6c445;
  --yellow-soft: #fbf0cf;
  --terra: #c85a32;
  --ink: #1b1d1c;
  --muted: #5a625e;
  --line: #e4e0d6;
  --paper: #faf7f0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 34px -16px rgba(14, 42, 31, .35);
  --max: 1160px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-500); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 84px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: .75rem; }
.hero .eyebrow { color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--yellow); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* Icônes : trait fin, monochrome */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-lg { width: 34px; height: 34px; color: var(--green-900); margin-bottom: 1rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, background .15s; line-height: 1.2; white-space: nowrap; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--green-900); }
.btn-primary:hover { background: #ffd35f; color: var(--green-900); }
.btn-dark { background: var(--green-900); color: var(--white); }
.btn-dark:hover { background: var(--green-700); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { color: inherit; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn-outline:hover { background: var(--green-900); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); font-family: var(--font-display); font-weight: 800; line-height: 1.05; font-size: 1.05rem; }
.brand small { display: block; font: 500 .72rem var(--font-body); color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.brand img { height: 48px; width: auto; border-radius: 3px; }
.nav-list { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { display: block; padding: .5rem .7rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .94rem; white-space: nowrap; }
.nav-list a:hover { background: var(--yellow-soft); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--green-900); color: var(--white); }
.nav-cta { margin-left: .4rem; }
.nav-list .nav-cta a.btn { padding: .6rem 1.1rem; background: var(--yellow); color: var(--green-900); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--green-900); }
.nav-toggle .ico { width: 28px; height: 28px; }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 68px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100dvh - 68px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: .75rem 16px 1.25rem; gap: .15rem; }
  .nav-list a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* Héros avec photo */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: var(--white); padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,42,31,.95) 0%, rgba(14,42,31,.84) 45%, rgba(14,42,31,.5) 100%); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-home { padding-top: clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-logo { width: clamp(120px, 16vw, 190px); height: auto; border-radius: 4px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); }
@media (max-width: 700px) { .hero-grid { grid-template-columns: 1fr; } .hero-logo { width: 96px; } }
.hero h1 { max-width: 16ch; }
.hero h1 .h1-sub { display: block; font-size: .42em; letter-spacing: 0; font-weight: 700; color: var(--yellow); margin-top: .7rem; line-height: 1.25; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.hero-badges li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: .4rem .85rem; border-radius: 999px; font-size: .9rem; }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 5vw, 3.4rem); }

/* Fil d'Ariane */
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb [aria-current] { color: var(--yellow); }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1.1fr .9fr; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: .4rem; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

.photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-stack img { aspect-ratio: 1; }
.photo-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .25em; width: 1.2rem; height: 1.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Galerie */
.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-flow: dense; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a.wide { grid-column: span 2; }
.gallery a.wide img { aspect-ratio: auto; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Planning */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: .5rem 1rem; font: 600 .92rem var(--font-body); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.schedule { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.day { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.day h3 { font-size: 1.1rem; border-bottom: 1px dashed var(--line); padding-bottom: .6rem; margin-bottom: .8rem; }
.slot { padding: .7rem .8rem; border-radius: 12px; margin-bottom: .6rem; border-left: 3px solid var(--green-700); background: #f3f6f2; }
.slot:last-child { margin-bottom: 0; }
.slot[data-type="samba"] { border-color: var(--terra); background: #fbf1ec; }
.slot[data-type="batucada"] { border-color: var(--yellow); background: var(--yellow-soft); }
.slot time { font-weight: 800; font-variant-numeric: tabular-nums; display: block; }
.slot .who { font-weight: 600; }
.slot .where { font-size: .85rem; color: var(--muted); display: block; }

/* Tarifs */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--green-900); box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -12px; left: 1.6rem; background: var(--yellow); color: var(--green-900); font-size: .75rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--green-900); line-height: 1; margin: .5rem 0 .25rem; }
.price small { font: 500 1rem var(--font-body); color: var(--muted); }
.price-lines { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.price-lines li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.price-lines strong { white-space: nowrap; text-align: right; }
.note { background: var(--yellow-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; }

/* Témoignages */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.quote blockquote::before { content: "“"; display: block; font: 800 3.5rem/0.6 var(--font-display); color: var(--terra); margin-bottom: .4rem; }
.quote figcaption { font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Équipe */
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.member { text-align: center; padding: 0; overflow: hidden; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.member .body { padding: 1.1rem 1rem 1.3rem; }
.member h3 { margin-bottom: .2rem; }
.member p { color: var(--muted); margin: 0; }

/* Frise des événements : une seule ligne */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline > li { position: relative; padding: 0 0 3rem 3.25rem; }
.timeline > li.event::before { content: ""; position: absolute; left: 8px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green-900); }
.timeline > li.year { padding: 0 0 2rem 0; }
.timeline > li.year span { display: inline-block; position: relative; background: var(--green-900); color: var(--white); font: 800 1.05rem var(--font-display); padding: .35rem .9rem; border-radius: 999px; }
.timeline time { font-weight: 700; color: var(--terra); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.timeline h3 { margin: .25rem 0 .5rem; font-size: 1.4rem; }
.ev-photos { display: grid; gap: .5rem; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; }
.ev-photos a { display: block; position: relative; border-radius: 10px; overflow: hidden; background: var(--line); }
.ev-photos img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.ev-photos a:hover img { transform: scale(1.05); }
.ev-photos a:first-child { grid-column: span 2; grid-row: span 2; }
.ev-photos.n1 { grid-template-columns: 1fr; max-width: 560px; }
.ev-photos.n1 a:first-child { grid-column: auto; grid-row: auto; }
.ev-photos.n1 img { aspect-ratio: 4 / 3; }
.ev-photos.n2 { grid-template-columns: 1fr 1fr; }
.ev-photos.n2 a:first-child { grid-column: auto; grid-row: auto; }
.ev-photos.n2 img { aspect-ratio: 4 / 3; }
.ev-photos a[data-more]::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,42,31,.62); color: #fff; font: 800 1.4rem var(--font-display); }
.ev-photos a.extra { display: none; }
.ev-video { margin-top: .5rem; }
@media (max-width: 560px) { .ev-photos { grid-template-columns: repeat(3, 1fr); } .ev-photos a:first-child { grid-column: 1 / -1; grid-row: auto; } .ev-photos a:first-child img { aspect-ratio: 16 / 10; } .timeline > li { padding-left: 2.6rem; } }

/* Instruments */
.instruments { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.instrument { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.instrument .pic { height: 240px; display: flex; justify-content: center; background: linear-gradient(to bottom, #d8c8b6 0%, #d5c3ae 64%, #c49d78 67%, #a67a50 74%, #b6895c 100%); }
.instrument .pic img { height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.instrument .body { padding: 1rem 1.2rem 1.3rem; }
.instrument h3 { font-size: 1.15rem; margin-bottom: .1rem; }
.instrument .role { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: .5rem; display: block; }
.instrument p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Chansons */
.song-tools { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-bottom: 1.75rem; }
.search { flex: 1 1 280px; position: relative; max-width: 520px; }
.search input { width: 100%; padding: .85rem 1rem .85rem 2.75rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: inherit; color: var(--ink); }
.search input:focus { outline: none; border-color: var(--green-900); }
.search .ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.song-count { color: var(--muted); font-size: .95rem; }
.songs { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 2rem; }
.songs li { break-inside: avoid; }
.songs li.letter { font: 800 1.15rem var(--font-display); color: var(--terra); padding: 1.1rem 0 .2rem; }
.songs li.letter:first-child { padding-top: 0; }
.songs a { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .6rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; }
.songs a:hover { color: var(--green-700); }
.songs a .ico { color: var(--muted); width: 1em; height: 1em; }
.empty { color: var(--muted); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .ico-lg { margin: 0; }
.contact-list a { font-weight: 700; font-size: 1.1rem; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--line); }
.place h3 { margin-top: 1rem; }

/* Bandeau CTA */
.cta-band { background: var(--green-900); color: var(--white); border-radius: calc(var(--radius) * 1.5); padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; grid-template-columns: 1fr auto; align-items: center; }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 20, 15, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; }
.lightbox img { max-height: calc(100vh - 120px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: .8rem; font-size: .95rem; text-align: center; }
.lightbox iframe { width: min(900px, 100%); height: calc(100vh - 110px); border: 0; border-radius: 12px; background: #fff; }
.lb-btn { position: fixed; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 60px 8px 76px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } }

/* Pied de page */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 3.5rem 0 6rem; font-size: .95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; color: #fff; font: 800 1.05rem/1.15 var(--font-display); margin-bottom: 1rem; }
.footer-brand img { height: 60px; width: auto; border-radius: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }

/* Barre d'action mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(250,247,240,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mobile-bar .btn { justify-content: center; padding: .75rem; font-size: .95rem; }
}

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
