/* ===== CAP 26-07 — Public styles ===== */
:root {
  /* Charte graphique : teal (principal) + corail (accent) + ambre (tertiaire) */
  --green: #15807c;          /* teal principal */
  --green-dark: #0e5f5c;
  --green-light: #e3f1ef;
  --pink: #ec8a6d;           /* corail accent */
  --pink-dark: #d96a49;
  --amber: #f2b34e;          /* ambre */
  --amber-light: #fdf1dd;
  --ink: #23343a;
  --muted: #5f7378;
  --bg: #ffffff;
  --bg-alt: #f2f8f6;
  --border: #e0ece9;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(20, 70, 66, 0.10);
  --shadow-sm: 0 5px 16px rgba(20, 70, 66, 0.08);
  --max: 1180px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-block; cursor: pointer; border: 0; text-decoration: none;
  font-weight: 600; font-size: 1rem; padding: .8rem 1.6rem; border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dark); }
.btn-coral { background: var(--pink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-coral:hover { background: var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.btn-ghost:hover { background: var(--green-light); }
.btn-light { background: #fff; color: var(--pink-dark); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; border-radius: 10px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 112px; }
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); }
.brand-logo-img { height: 100px; width: 100px; object-fit: contain; }
.brand-text strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--green-dark); letter-spacing: .3px; }
.brand-text small { color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; padding: .5rem .85rem;
  border-radius: 8px; font-size: .95rem; position: relative;
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a.active { color: var(--green-dark); font-weight: 600; }
.main-nav a.active::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--pink);
}
.btn-nav { background: var(--green); color: #fff !important; margin-left: .5rem; border-radius: 10px; }
.btn-nav:hover { background: var(--green-dark); }
.btn-nav.active::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .3s; }

/* ---- Hero ---- */
.hero {
  color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden;
  background-color: #0e5f5c;
  background-image:
    linear-gradient(100deg, rgba(9,52,50,0.80) 0%, rgba(12,66,63,0.60) 40%, rgba(15,88,82,0.28) 68%, rgba(18,110,100,0.08) 100%),
    url('/static/img/hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero h1, .hero .lead { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 700; color: var(--pink); }
.hero .eyebrow { color: #ffd9c9; }
.hero h1 { font-size: 2.9rem; margin: .6rem 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .lead strong { color: #fff; }
.hero-cta { display: flex; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-badges { display: grid; gap: 1rem; justify-items: end; }
.badge-card {
  background: rgba(255,255,255,.96); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 1rem;
}
.badge-card .big { font-size: 1.7rem; font-weight: 800; color: var(--green); }
.badge-card span:last-child { color: var(--muted); font-size: .92rem; }

/* Carte "Adhésion" mise en avant */
.badge-price {
  flex-direction: column; align-items: flex-start; gap: .2rem; text-align: left;
  width: fit-content; max-width: 100%;
  background: rgba(255, 255, 255, .80);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, .5);
}
.bp-title { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.bp-line { color: var(--ink); font-size: .95rem; }
.bp-amount { font-size: 1.35rem; font-weight: 800; color: var(--green); display: inline-block; margin-right: .15rem; }
.badge-price .price-note { color: var(--muted); }

/* ---- Sections ---- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2rem; margin: 0 0 2rem; position: relative; }
.section-title::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--pink); margin-top: .7rem;
}
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: .5rem; }
.section-head .section-title { margin: 0; }
.link-more { color: var(--pink-dark); font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

.page-hero {
  background: linear-gradient(130deg, #0e5f5c, #15807c); color: #fff; padding: 3.2rem 0 2.8rem;
}
.page-hero h1 { color: #fff; font-size: 2.5rem; margin: .4rem 0 .6rem; }
.page-hero .eyebrow { color: #ffd9c9; }
.page-hero .lead { color: rgba(255,255,255,.9); }

/* ---- Cards grids ---- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); text-align: center;
}
.feature-icon {
  width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  background: var(--green-light);
}
.cards-3 .feature:nth-child(1) .feature-icon { background: var(--green-light); }
.cards-3 .feature:nth-child(2) .feature-icon { background: #fbe4da; }
.cards-3 .feature:nth-child(3) .feature-icon { background: var(--amber-light); }
.feature h3 { margin: .3rem 0 .5rem; }

.activity {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm);
}
.activity-emoji {
  font-size: 1.6rem; background: var(--green-light); width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.cards-2 .activity:nth-child(3n+2) .activity-emoji { background: #fbe4da; }
.cards-2 .activity:nth-child(3n+3) .activity-emoji { background: var(--amber-light); }
.activity h3 { margin: 0 0 .3rem; }

/* ---- Event cards (mise en page inspirée de la maquette) ---- */
.event-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.event-card.is-past { opacity: .82; }
.event-card.is-past .event-card-top { padding-bottom: 1.2rem; }
.event-card-top { display: flex; gap: 1rem; padding: 1.2rem 1.2rem .6rem; }
.event-date {
  flex: 0 0 auto; align-self: flex-start; width: 84px; border-radius: 14px; color: #fff;
  text-align: center; padding: .7rem .3rem; display: flex; flex-direction: column;
  justify-content: center; background: var(--green);
}
.event-date .wd { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.event-date .d { font-size: 2rem; font-weight: 800; line-height: 1.05; }
.event-date .m { font-size: .74rem; text-transform: uppercase; font-weight: 600; }
.event-date .y { font-size: .7rem; opacity: .88; }
.event-info { min-width: 0; }
.event-info h3 { margin: .1rem 0 .55rem; font-size: 1.18rem; }
.event-info h3 a { text-decoration: none; color: var(--ink); }
.event-info h3 a:hover { color: var(--green-dark); }
.event-info .meta { margin: .18rem 0; font-size: .92rem; color: var(--muted); }
.event-cta {
  display: block; text-align: center; padding: .85rem; margin-top: auto;
  color: #fff; font-weight: 700; text-decoration: none; background: var(--green);
  transition: filter .15s ease;
}
.event-cta:hover { filter: brightness(.92); }
.event-foot { padding: .9rem 1.2rem 1.2rem; }
/* Alternance des couleurs (teal / corail / ambre) — pastille + bouton assortis */
.cards-3 .event-card:nth-child(3n+2) .event-date,
.cards-3 .event-card:nth-child(3n+2) .event-cta { background: var(--pink); }
.cards-3 .event-card:nth-child(3n+3) .event-date,
.cards-3 .event-card:nth-child(3n+3) .event-cta { background: var(--amber); color: #6a4a12; }

.news-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.news-date { font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--pink-dark); letter-spacing: 1px; }
.news-card h3 { margin: .5rem 0 .6rem; font-size: 1.2rem; }
.news-card h3 a { text-decoration: none; color: var(--ink); }
.news-card h3 a:hover { color: var(--green-dark); }

.tag { display: inline-block; background: var(--border); color: var(--muted); border-radius: 20px; padding: .2rem .8rem; font-size: .78rem; font-weight: 600; }
.tag-open { background: var(--green-light); color: var(--green-dark); }

/* ---- Prose / articles ---- */
.prose-2col { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.5rem; align-items: start; }
.prose h2 { margin-top: 1.6rem; }
.side-card { background: var(--green-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: 96px; }
.facts { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.facts li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.facts li span { color: var(--muted); }
.facts li.facts-note { display: block; padding-top: .2rem; border-bottom: 0; }

/* Mention "en petit" sous le prix d'adhésion */
.price-note { display: block; font-size: .75rem; color: var(--muted); font-weight: 400; line-height: 1.3; margin-top: .15rem; }

.article-narrow { max-width: 760px; }
.article-title { font-size: 2.1rem; margin: .5rem 0 1.2rem; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--green-dark); }
.rich-content { font-size: 1.08rem; }
.rich-content h2, .rich-content h3 { margin-top: 1.6rem; }
.rich-content img { border-radius: 12px; margin: .6rem 0; }
.event-meta-box { background: var(--green-light); border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 1.5rem; }
.event-meta-box p { margin: .3rem 0; }

/* ---- Forms ---- */
.form-2col { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.5rem; align-items: start; }
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-wide { max-width: 720px; margin: 0 auto; }
.form .field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light);
}
.field-narrow { max-width: 220px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-aside { background: var(--green-light); border-radius: var(--radius); padding: 1.8rem; }
.aside-note { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,.08); }
.cta-inline { margin-top: 2rem; padding: 1.5rem; background: var(--amber-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.empty-state { text-align: center; padding: 3rem; background: var(--bg-alt); border-radius: var(--radius); }

/* ---- Actions dans les en-têtes de section ---- */
.head-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

/* ---- Bandeau "Planning des activités" (à part) ---- */
.planning-band { background: var(--amber-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.planning-inner { display: flex; align-items: center; justify-content: center; gap: 1.4rem 2rem; flex-wrap: wrap; text-align: center; }
.planning-text { margin: 0; font-weight: 600; color: var(--ink); }

/* ---- Bandeau "Soutenir notre association" (teal) ---- */
.support-band { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; padding: 3rem 0; }
.support-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.support-band h2 { color: #fff; margin: 0 0 .4rem; }
.support-band p { margin: 0; opacity: .95; max-width: 620px; }
.support-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.support-actions .btn { font-weight: 700; }

/* ---- CTA band (corail) ---- */
.cta-band { background: linear-gradient(120deg, var(--pink), var(--pink-dark)); color: #fff; padding: 3rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { margin: 0; opacity: .95; }

/* ---- Le bureau ---- */
.board-intro { color: var(--muted); margin: -1rem 0 2rem; max-width: 640px; }
.board-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-weight: 800; letter-spacing: .5px;
}
.board-avatar--lg { width: 76px; height: 76px; font-size: 1.4rem; }
.board-featured {
  display: flex; align-items: center; gap: 1.4rem; background: #fff;
  border: 1px solid var(--border); border-left: 5px solid var(--green);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}
.board-featured-body h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.board-role { display: inline-block; font-size: .9rem; color: var(--muted); font-weight: 600; }
.board-role--president { color: var(--pink-dark); }
.board-contact { margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.board-contact a { text-decoration: none; font-weight: 600; }
.board-contact a:hover { text-decoration: underline; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.board-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.3rem; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.board-card .board-avatar { margin-bottom: .3rem; }
.board-card h3 { margin: 0; font-size: 1.08rem; }
/* Avatars aux couleurs alternées */
.board-grid .board-card:nth-child(3n+2) .board-avatar { background: var(--pink); }
.board-grid .board-card:nth-child(3n+3) .board-avatar { background: var(--amber); color: #6a4a12; }

/* ---- Galerie photo (carrousel) ---- */
.gallery-hint { text-align: center; color: var(--muted); margin: -1rem 0 2rem; }
.carousel { position: relative; display: flex; align-items: center; gap: .5rem; }
.carousel-viewport {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: .5rem; scrollbar-width: thin; flex: 1;
}
.carousel-viewport::-webkit-scrollbar { height: 8px; }
.carousel-viewport::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
.carousel-slide {
  flex: 0 0 auto; width: 340px; max-width: 82vw; margin: 0; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.carousel-slide img {
  display: block; width: 100%; height: 230px; object-fit: cover; cursor: zoom-in;
  transition: transform .3s ease;
}
.carousel-slide:hover img { transform: scale(1.04); }
.carousel-slide figcaption {
  padding: .8rem 1rem; font-size: .9rem; color: var(--ink); font-weight: 500;
  border-top: 1px solid var(--border);
}
.carousel-btn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: #fff; font-size: 1.6rem; line-height: 1; font-weight: 700;
  box-shadow: var(--shadow-sm); transition: background .15s ease, transform .15s ease;
}
.carousel-btn:hover { background: var(--green-dark); transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15, 30, 28, .92);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { margin: 0; max-width: 92vw; max-height: 92vh; text-align: center; }
.lightbox-inner img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-cap { color: #fff; margin-top: 1rem; font-size: 1.05rem; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.6rem; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }

/* ---- Partenaires & financeurs ---- */
.partners-section { background: #fff; }
.section-title--center { text-align: center; }
.section-title--center::after { margin-left: auto; margin-right: auto; }
.partners-intro { text-align: center; color: var(--muted); margin: -1rem auto 2.4rem; max-width: 640px; }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.partner {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; min-height: 128px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.partner img { max-height: 74px; max-width: 100%; width: auto; object-fit: contain; }

/* Page détail partenaire */
.partner-detail-head { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.partner-detail-logo {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.4rem; box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.partner-detail-logo img { max-height: 90px; max-width: 220px; width: auto; }
.partner-detail-head .article-title { margin: 0; }
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Flash ---- */
.flash { padding: 1rem 1.2rem; border-radius: 12px; margin: 1.5rem 0; font-weight: 500; }
.flash-success { background: #e3f6ec; color: #1c7a4b; border: 1px solid #b6e6c9; }
.flash-error { background: #fdeaea; color: #b52a2a; border: 1px solid #f5c2c2; }
.flash ul { margin: 0; padding-left: 1.2rem; }

/* ---- Footer (fond clair, image du logo, comme la maquette) ---- */
.site-footer { background: #f7f2ec; color: #55676a; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3.2rem 20px; }
.footer-logo { width: 132px; height: 132px; object-fit: contain; margin-bottom: 1rem; }
.site-footer h3 { color: var(--green-dark); margin: 0 0 .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .4rem 0; }
.site-footer a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--pink-dark); text-decoration: underline; }
.footer-bottom { background: var(--green-dark); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 20px; font-size: .88rem; flex-wrap: wrap; gap: .5rem; color: #e3f1ee; }
.footer-admin { color: #ffd9c9 !important; }
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a { color: #e3f1ee; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.error-page h1 { font-size: 5rem; margin: 0; color: var(--green); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner, .prose-2col, .form-2col { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .hero h1 { font-size: 2.3rem; }
  .hero-badges { justify-items: start; }
  /* Texte empilé sur toute la largeur : voile plus uniforme pour la lisibilité */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(9,52,50,0.74) 0%, rgba(11,60,58,0.58) 55%, rgba(13,70,66,0.68) 100%),
      url('/static/img/hero.jpg');
    background-position: center;
  }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .brand-text small { display: none; }
  .header-inner { height: 84px; }
  .brand-logo-img { height: 66px; width: 66px; }
  .brand-text strong { font-size: 1.05rem; }
  .main-nav {
    position: absolute; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem; border-radius: 8px; }
  .main-nav a.active::after { display: none; }
  .btn-nav { margin: .3rem 0 0; text-align: center; }
  .cards-3, .cards-2, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
}
