/* La French Caviste — association. Direction artistique reprise du site précédent.
   Police manuscrite de l'identité : Allison (celle du logo). */
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Allison"; src: url("fonts/Allison-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #f7f3ee; --bg-soft: #efe9e0; --paper: #fdfaf5;
  --ink: #0b1d3d; --ink-soft: rgba(11, 29, 61, 0.72); --ink-muted: rgba(11, 29, 61, 0.55);
  --line: rgba(11, 29, 61, 0.12); --line-strong: rgba(11, 29, 61, 0.28);
  --red: #cb102e; --red-dark: #a30e26; --gold: #d4b06a;
  --flag-blue: #0055a4; --flag-red: #ef4135;
  --wrap: 1120px; --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* Typo */
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: .9em; }
.script { font-family: "Allison", cursive; font-weight: 400; letter-spacing: 0; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 680px; }
.muted { color: var(--ink-muted); }
.flag { display: flex; width: 120px; height: 5px; border-radius: 3px; overflow: hidden; margin: 18px 0 26px; }
.flag span { flex: 1; } .flag span:nth-child(1) { background: var(--flag-blue); } .flag span:nth-child(2) { background: #fff; } .flag span:nth-child(3) { background: var(--flag-red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 238, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; font: 600 .9rem "Manrope"; color: var(--ink); cursor: pointer; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > .nav-group { position: relative; }
.nav a, .nav button.nav-top { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: 10px; display: block; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: inherit; }
.nav a:hover, .nav button.nav-top:hover { background: var(--bg-soft); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 12px 30px rgba(11, 29, 61, 0.08); }
.nav .nav-group:hover .sub, .nav .nav-group:focus-within .sub { display: block; }
.nav .sub a { font-weight: 500; }
.nav .cta { background: var(--red); color: #fff; margin-left: 8px; }
.nav .cta:hover { background: var(--red-dark); }
.nav a[aria-current="page"] { color: var(--red); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 0; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; }
  .nav .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 12px; background: none; }
  .nav button.nav-top { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 14px; cursor: default; }
  .nav .cta { margin: 12px 0 0; text-align: center; }
}

/* Sections */
section { padding: 72px 0; }
.hero { padding: 84px 0 64px; }
.hero .script-title { font-size: clamp(2.6rem, 7vw, 4.6rem); color: var(--ink); line-height: 1; margin-bottom: .2em; }
.band-dark { background: var(--ink); color: var(--bg); }
.band-dark .lead, .band-dark .muted { color: rgba(247, 243, 238, 0.78); }
.band-dark .eyebrow { color: var(--gold); }
.band-soft { background: var(--bg-soft); }
.quote { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.5; font-weight: 600; border-left: 4px solid var(--red); padding-left: 22px; margin: 0; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); background: transparent; font-family: inherit; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.band-dark .btn { border-color: var(--bg); color: var(--bg); }
.band-dark .btn:hover { background: var(--bg); color: var(--ink); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 30px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 700; color: var(--red); text-decoration: none; }
.card .num { font-weight: 800; color: var(--gold); font-size: .9rem; letter-spacing: .12em; margin-bottom: 10px; }
a.card { text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.band-dark .card { background: rgba(247, 243, 238, 0.06); border-color: rgba(247, 243, 238, 0.16); }
.band-dark .card p { color: rgba(247, 243, 238, 0.78); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* Empty state & notes */
.empty { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 34px; text-align: center; background: var(--paper); }
.empty h3 { margin-bottom: .3em; }
.todo { background: #fff3c4; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.note { font-size: .9rem; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }

/* Forms */
form.form { display: grid; gap: 14px; margin-top: 22px; max-width: 620px; }
.form label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: 400 1rem "Manrope", sans-serif; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form .consent { font-weight: 400; font-size: .85rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { margin-top: 4px; }
.hidden { display: none; }

/* Themes */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; background: var(--paper); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 243, 238, 0.85); padding: 56px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--gold); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: rgba(247, 243, 238, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .script { font-size: 3.2rem; color: var(--bg); line-height: 1; }
.site-footer .legal { border-top: 1px solid rgba(247, 243, 238, 0.16); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: .85rem; color: rgba(247, 243, 238, 0.65); }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(11, 29, 61, 0.96); display: grid; place-items: center; padding: 22px; }
.age-gate .box { background: var(--bg); border-radius: 18px; padding: 34px 28px; max-width: 440px; text-align: center; }
.age-gate .script { font-size: 3.4rem; line-height: 1; }
.age-gate .btns { justify-content: center; }
.age-gate.hidden { display: none; }

/* Legal pages */
.legal-page h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal-page dt { font-weight: 700; }
.legal-page dd { margin: 0; }

/* Décor : fonds illustrés de l'identité (vignes, éclaboussures, coup de pinceau) */
.hero { background: var(--bg) url("img/fond-creme.jpg") center bottom / 100% auto no-repeat; padding-top: 72px; padding-bottom: clamp(110px, 18vw, 260px); }
.band-dark { background: var(--ink) url("img/fond-navy.jpg") center bottom / 100% auto no-repeat; }
.band-dark { padding: 88px 0 clamp(110px, 18vw, 260px); }
.legal-page { background: var(--bg) url("img/fond-creme.jpg") center bottom / 100% auto no-repeat; padding-bottom: clamp(110px, 18vw, 260px); }

/* Personnage */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.mascot { margin: 0; }
.mascot img { width: 100%; max-width: 420px; margin: 0 auto; }
.mascot.wide img { max-width: 580px; }
@media (max-width: 820px) {
  .hero, .legal-page, .band-dark { background-size: cover; background-position: 70% bottom; }
  .hero-grid { grid-template-columns: 1fr; }
  .mascot img { max-width: 280px; }
}

/* Visuels des cartes « Nos actions » */
.card-img { width: calc(100% + 52px); max-width: none; height: 190px; margin: -26px -26px 18px; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius) var(--radius) 0 0; padding: 8px 0 0; }
a.card:hover .card-img { filter: saturate(1.08); }

/* Icônes des missions */
.mission-img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 14px; }

/* Réseaux sociaux */
.socials { margin: 4px 0 14px; display: flex; gap: 12px; }
.site-footer .social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(247, 243, 238, 0.4); color: var(--bg); }
.site-footer .social:hover { background: var(--bg); color: var(--ink); }


.card-img.cover { object-fit: cover; padding: 0; height: 200px; }
.article-figure{margin:28px 0}
.article-figure img{width:100%;height:auto;border-radius:16px;border:4px solid var(--navy, #0b1d3d)}
.small{font-size:.85rem}
