/* Site de présentation Copilotr@ce */
:root {
  --bg: #f6f7f9; --surface: #fff; --ink: #111827; --ink2: #374151; --muted: #6b7280; --line: #e5e7eb;
  --accent: #F59E0B; --accent-h: #D48809; --accent-soft: #FEF3C7; --dark: #78350F; --accent-ink: #B45309; --accent-active: #F97316; --on-accent: #1F1300;
  --radius: 20px; --shadow: 0 1px 2px rgba(17,24,39,.06), 0 6px 20px rgba(17,24,39,.06); --shadow-h: 0 4px 8px rgba(17,24,39,.08), 0 18px 40px rgba(17,24,39,.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--surface); color: var(--ink); line-height: 1.6; font-size: 17px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(180,83,9,.6); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 9px 13px; border-radius: 999px; color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { background: #f3f4f6; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: var(--on-accent) !important; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover { background: var(--accent-h); box-shadow: 0 8px 20px rgba(245,158,11,.3); transform: translateY(-1px); }
.btn:active { background: var(--accent-h); box-shadow: 0 0 0 3px var(--accent-active); transform: none; }
.btn.ghost { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { background: #f3f4f6; box-shadow: none; }
.btn.light { background: #fff; color: var(--dark) !important; }
.btn.light:hover { background: #FFFBEB; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* accroche */
.hero { background: linear-gradient(160deg, #FFFBEB 0%, #f6f7f9 55%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero p.lead { font-size: 19px; color: var(--ink2); max-width: 560px; margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art video, .hero-art img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-h); background: #d1d1d1; }
.devises { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 15px; font-weight: 600; }
.devises span::before { content: "•"; color: var(--accent-ink); margin-right: 8px; }

/* sections */
section { padding: 84px 0; }
section.alt { background: var(--bg); }
.head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.head p { color: var(--ink2); font-size: 18px; margin: 0; }
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: #d1d5db; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink2); font-size: 16px; margin: 0; }
.ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px; }
.ico svg { width: 26px; height: 26px; }
.more { display: inline-block; margin-top: 14px; color: var(--accent-ink); font-weight: 700; font-size: 15px; }
a.card:hover .more { text-decoration: underline; }

/* blocs texte + visuel */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo + .duo { margin-top: 84px; }
.duo.inv .duo-art { order: -1; }
.duo h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 14px; }
.duo p { color: var(--ink2); }
.duo ul { margin: 0; padding: 0; list-style: none; }
.duo li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink2); }
.duo li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.duo-art img { border-radius: 18px; box-shadow: var(--shadow-h); border: 1px solid var(--line); width: 100%; }
.tablettes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.tablettes .cadre:nth-child(2) { margin-top: 48px; }
.cadre { background: #111827; padding: 10px; border-radius: 22px; box-shadow: var(--shadow-h); }
.cadre img { border-radius: 12px; border: 0; box-shadow: none; }

/* galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.galerie figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.galerie img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; background: #eef0f3; cursor: zoom-in; }
.galerie figcaption { padding: 14px 18px 16px; font-size: 15px; color: var(--ink2); }
.galerie figcaption b { display: block; color: var(--ink); font-size: 16px; }
.video { max-width: 900px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-h); background: #000; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* publics */
.publics .card { padding: 32px; }
.publics h3 { font-size: 22px; }

/* appel final */
.final { background: linear-gradient(135deg, var(--dark), #B45309); color: #fff; text-align: center; }
.final h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 12px; }
.final p { color: rgba(255,255,255,.86); font-size: 18px; max-width: 620px; margin: 0 auto 26px; }
.final .cta { justify-content: center; }

/* pied */
footer { background: #0b1220; color: #cbd5e1; padding: 44px 0 30px; font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot b { color: #fff; display: block; margin-bottom: 8px; font-size: 16px; }
.foot a { display: block; color: #cbd5e1; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.copy { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #94a3b8; font-size: 14px; }

/* pages de texte */
.page-head { background: linear-gradient(160deg, #FFFBEB, #f6f7f9); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-head p { color: var(--ink2); margin: 10px 0 0; max-width: 700px; }
.prose { max-width: 800px; margin: 0 auto; padding: 48px 24px 84px; color: var(--ink2); }
.prose h2 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose a { font-weight: 600; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; padding: 48px 24px 84px; }

/* bandeau cookies */
.cookie-disclaimer { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: #111827; color: #e5e7eb; padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow-h); font-size: 15px; }
.cookie-disclaimer p { margin: 0; flex: 1 1 320px; }
.cookie-disclaimer a { color: #FCD34D; }
.cookie-disclaimer[hidden] { display: none; }

/* agrandissement d'un visuel */
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,20,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-h); }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vu { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-in, .duo { grid-template-columns: 1fr; gap: 32px; }
  .duo.inv .duo-art { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); } .g3, .galerie { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; } .hero-in { padding-top: 48px; padding-bottom: 56px; }
}
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.ouvert { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .btn { margin-top: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; } .wrap { padding: 0 18px; }
  .g4, .g3, .g2, .galerie { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .tablettes .cadre:nth-child(2) { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; }
}
