/* InnoRenov – site vitrine
   Couleurs de la marque : vert #379237, lime #AFC80A, encre #0C1406 */

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-style: normal; font-display: swap; src: url("../fonts/opensans.woff2") format("woff2"); }

:root {
  --ink: #0C1406;
  --ink-2: #16220e;
  --ink-3: #223318;
  --green: #379237;
  --green-700: #2B7A2B;      /* texte/boutons sur fond clair (contraste 5.3:1) */
  --green-800: #20601f;
  --lime: #AFC80A;
  --lime-300: #c9de3a;
  --mint: #EDFBE2;
  --mint-2: #D5EAD8;
  --text: #1c2616;
  --muted: #55604f;
  --line: #e2e8dc;
  --bg: #ffffff;
  --surface: #f5f8f1;
  --danger: #c62828;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12,20,6,.06), 0 2px 8px rgba(12,20,6,.05);
  --shadow: 0 10px 30px -10px rgba(12,20,6,.18);
  --font-h: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

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

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .7em 1.3em; border-radius: 999px; font-family: var(--font-h); font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-300); color: var(--ink); box-shadow: 0 6px 20px -6px rgba(175,200,10,.6); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-family: var(--font-h); text-decoration: none; }
.link-arrow .ico { width: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(12,20,6,.88); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); transition: background-color .25s var(--ease); }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: rgba(12,20,6,.35); }
.has-hero .site-header.scrolled, .site-header.scrolled { background: rgba(12,20,6,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 10px 14px; color: rgba(255,255,255,.86); text-decoration: none; font-family: var(--font-h); font-weight: 600; font-size: .95rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.main-nav ul a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav ul a[aria-current="page"] { color: var(--lime); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 24px 20px 40px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { font-size: 1.25rem; padding: 14px 12px; border-radius: 12px; }
  .nav-cta { margin-top: 20px; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--ink); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,20,6,.55) 0%, rgba(12,20,6,.35) 35%, rgba(12,20,6,.88) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: 72px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .hl { color: var(--lime); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 60ch; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow { display: inline-block; font-family: var(--font-h); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.eyebrow.dark { color: var(--green-700); }

.page-hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(175,200,10,.22), transparent 60%), var(--ink); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 22ch; }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero.slim { padding: 56px 0 40px; }
.page-hero.tall { padding: 120px 0; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill-nav a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; transition: background-color .2s, border-color .2s; }
.pill-nav a:hover { background: rgba(175,200,10,.15); border-color: var(--lime); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-family: var(--font-h); font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--lime); line-height: 1.1; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.78); }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--surface); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.86); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.media-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 320px; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(12,20,6,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-weight: 600; font-size: .92rem; border: 1px solid rgba(255,255,255,.15); }
.media-badge .ico { color: var(--lime); width: 22px; height: 22px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ico { color: var(--green); width: 20px; height: 20px; margin-top: 3px; background: var(--mint); border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* ---------- Cartes ---------- */
.cards-4, .cards-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 800px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card p { color: var(--muted); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); color: var(--text); }
.card-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-h); font-weight: 700; color: var(--mint-2); font-size: 1.6rem; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mint); color: var(--green-700); margin-bottom: 18px; flex: none; }
.card-icon .ico { width: 26px; height: 26px; }
.card-icon.lg { width: 72px; height: 72px; border-radius: 20px; }
.card-icon.lg .ico { width: 36px; height: 36px; }
.card-more { margin-top: auto; display: inline-flex; gap: .4em; align-items: center; font-family: var(--font-h); font-weight: 600; color: var(--green-700); font-size: .92rem; }
.card-more .ico { width: 1em; transition: transform .2s var(--ease); }
a.card:hover .card-more .ico { transform: translateX(4px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); counter-increment: s; }
.step::before { content: "0" counter(s); position: absolute; right: 20px; top: 18px; font-family: var(--font-h); font-weight: 700; color: var(--lime); font-size: 1.1rem; }
.step-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); align-items: center; justify-content: center; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }

.feature { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }
.feature > .ico { width: 32px; height: 32px; color: var(--lime); margin-bottom: 14px; }
.feature p { margin: 0; color: rgba(255,255,255,.75); }

.audience { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.aud { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); font-family: var(--font-h); font-weight: 600; color: var(--ink); }
.aud .ico { width: 26px; height: 26px; color: var(--green); }

.cta-band { background: var(--lime); padding: 56px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; color: var(--ink-3); font-size: 1.05rem; }

/* ---------- Activités ---------- */
.service-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: 180px 1fr; gap: 56px; } }
.service-side { display: flex; align-items: center; gap: 18px; }
@media (min-width: 900px) { .service-side { flex-direction: column; align-items: flex-start; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.big-num { font-family: var(--font-h); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--lime); }
.service-body h2 small { display: block; font-size: 1.05rem; font-weight: 600; color: var(--green-700); margin-top: 8px; letter-spacing: 0; }
.service-body h3 { margin-top: 1.2em; }
.cols-2 { display: grid; gap: 8px 40px; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
blockquote { margin: 28px 0 0; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--mint); color: var(--ink); font-family: var(--font-h); font-weight: 600; font-size: 1.1rem; line-height: 1.45; display: flex; gap: 14px; }
blockquote .ico { color: var(--green); width: 24px; height: 24px; flex: none; margin-top: 2px; }
blockquote.on-dark { background: var(--ink-2); color: #fff; border-left: 4px solid var(--lime); }
blockquote.on-dark .ico { color: var(--lime); }
.section-tint blockquote { background: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; }
.tags span { padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--green-800); font-weight: 600; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); }
.info-item h2 { font-size: 1.05rem; margin: 6px 0 4px; }
.info-item p { margin: 0 0 6px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-title { font-size: 1.4rem; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff; border: 1.5px solid #cfd8c7; border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(55,146,55,.15); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.form-alert { background: #fdecea; color: #8a1c1c; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success:focus { outline: none; }
.success-ico { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--green-700); align-items: center; justify-content: center; margin-bottom: 16px; }
.success-ico .ico { width: 32px; height: 32px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pages texte ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.todo { color: var(--danger); font-style: normal; background: #fdecea; padding: 0 6px; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-title { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico, .footer-links .ico { color: var(--lime); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 40; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--ink); background: var(--lime-300); }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Cookies / RGPD ---------- */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.85); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--lime); }
.btn-cc { background: var(--lime); color: var(--ink); min-height: 46px; }
.btn-cc:hover { background: var(--lime-300); color: var(--ink); }
.btn-cc-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); min-height: 46px; }
.btn-cc-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.cc-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 1080px; margin: 0 auto; background: rgba(12,20,6,.97); color: rgba(255,255,255,.88); border: 1px solid rgba(175,200,10,.35); border-radius: 18px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); padding: 20px; animation: ccUp .35s var(--ease); }
.cc-inner { display: grid; gap: 16px; }
@media (min-width: 900px) { .cc-inner { grid-template-columns: 1fr auto; align-items: center; gap: 28px; } }
.cc-title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.1rem; margin: 0 0 6px; }
.cc-title .ico { color: var(--lime); width: 24px; height: 24px; }
.cc-text p { margin: 0; font-size: .93rem; line-height: 1.55; }
.cc-text a { color: var(--lime); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-actions [data-cc="open"] { grid-column: 1 / -1; order: 3; }
@media (min-width: 560px) { .cc-actions { display: flex; flex-wrap: wrap; } .cc-actions [data-cc="open"] { order: 0; } }
.cc-open .to-top { display: none; }
@keyframes ccUp { from { transform: translateY(24px); opacity: 0; } }

.cc-modal { width: min(640px, calc(100% - 24px)); max-height: min(88vh, 760px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); color: var(--text); }
.cc-modal::backdrop { background: rgba(12,20,6,.6); }
.cc-form { display: flex; flex-direction: column; max-height: min(88vh, 760px); }
.cc-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.cc-modal-head h2 { font-size: 1.2rem; margin: 0; }
.cc-x { width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.cc-x:hover { background: var(--surface); }
.cc-modal-body { padding: 18px 24px; overflow-y: auto; font-size: .95rem; }
.cc-cat { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 12px; }
.cc-cat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cc-cat h3 { font-size: 1rem; margin: 0 0 4px; }
.cc-cat p { margin: 0; color: var(--muted); font-size: .9rem; }
.cc-always { flex: none; font-size: .78rem; font-weight: 700; color: var(--green-800); background: var(--mint); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.cc-cat details { margin-top: 10px; font-size: .88rem; }
.cc-cat summary { cursor: pointer; color: var(--green-700); font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.cc-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.cc-table th, .cc-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cc-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cc-switch { flex: none; cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; }
.cc-switch input { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 999px; background: #cfd8c7; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cc-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.cc-switch input:checked { background: var(--green-700); }
.cc-switch input:checked::after { transform: translateX(20px); }
.cc-switch input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.cc-modal-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--line); }
.cc-modal-foot .btn { flex: 1 1 150px; }
.cc-modal .btn-cc-ghost { color: var(--ink); border-color: #b9c5ae; }
.cc-modal .btn-cc-ghost:hover { border-color: var(--green); background: var(--surface); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Carte (contenu externe soumis au consentement) */
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 11; margin-top: 4px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px; background: repeating-linear-gradient(45deg, #f5f8f1, #f5f8f1 12px, #eef3e8 12px, #eef3e8 24px); }
.consent-placeholder > .ico { width: 36px; height: 36px; color: var(--green); }
.consent-placeholder p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 38ch; }
.consent-placeholder .link-btn { color: var(--green-700); font-size: .88rem; }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .92rem; }

/* Demande RGPD */
.prose .rights, .rights { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0 0 1.5em; padding: 0; list-style: none; }
@media (min-width: 640px) { .rights { grid-template-columns: 1fr 1fr; } }
.rights li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: .95rem; }
.rights .ico { color: var(--green); width: 20px; height: 20px; margin-top: 3px; }
.prose .form-card { margin-top: 12px; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.prose h3 { font-size: 1.2rem; }

@media print {
  .site-header, .site-footer, .to-top, .cta-band, .cc-banner { display: none; }
}
