:root {
  --ink: #18332c;
  --ink-soft: #31534a;
  --muted: #5f716b;
  --green-900: #173f35;
  --green-800: #1d5748;
  --green-700: #28725f;
  --green-100: #eaf2ee;
  --cream: #f6f3eb;
  --paper: #fffdf8;
  --line: #d8dfda;
  --gold: #c88a35;
  --gold-light: #e8bb72;
  --shadow: 0 18px 50px rgba(28, 59, 50, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(250, 247, 239, 0.82), rgba(244, 239, 226, 0.9)),
    url("assets/fond-alexandrie.webp") center top / cover fixed no-repeat;
  color: var(--ink);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--green-900);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(200, 138, 53, 0.62);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(216, 223, 218, 0.9);
  background: rgba(255, 252, 245, 0.93);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.05;
}
.brand img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(200, 138, 53, 0.45);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(47, 35, 19, 0.18);
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: 21px; }
.desktop-nav a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--green-800); border-color: var(--green-800); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: var(--green-800);
  color: white;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: 0 7px 18px rgba(29, 87, 72, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover { background: var(--green-700); transform: translateY(-1px); }
.button.gold { background: var(--gold-light); color: #283d36; }
.button.gold:hover { background: #f0c981; }
.button.ghost { border-color: #a9b9b3; background: rgba(255,255,255,0.78); color: var(--ink); box-shadow: none; }
.button.ghost:hover { border-color: var(--green-700); background: white; }
.button.large { min-height: 50px; padding-inline: 1.35rem; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--green-900);
  cursor: pointer;
  font-size: 0;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::before { content: "☰"; font-size: 1.4rem; }
.mobile-menu[open] summary::before { content: "×"; font-size: 1.8rem; }
.mobile-nav {
  position: absolute;
  top: 54px;
  right: 0;
  width: min(290px, calc(100vw - 30px));
  display: grid;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.mobile-nav a { padding: 0.72rem 0.8rem; border-radius: 0.55rem; font-weight: 680; }
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] { background: var(--green-100); color: var(--green-800); }

main { display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 78px 0; }
.section.compact { padding: 52px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.25rem); letter-spacing: -0.035em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.025em; }
h3 { margin: 0; font-size: 1.35rem; }
p { text-wrap: pretty; }
.lead { color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.7; }
.muted { color: var(--muted); }

.hero { padding: 64px 0 50px; }
.hero-panel {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(56, 126, 106, 0.95), transparent 36%),
    linear-gradient(135deg, #143a31, #245d4e);
  color: white;
  box-shadow: 0 24px 70px rgba(18, 57, 47, 0.24);
}
.hero-copy { max-width: 720px; }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero-copy p:not(.eyebrow) { max-width: 660px; color: #e1ece8; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.7rem; }
.hero-actions .ghost { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.08); color: white; }
.hero-actions .ghost:hover { background: rgba(255,255,255,0.16); }
.hero-emblem { display: grid; place-items: center; }
.hero-emblem img {
  width: min(100%, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(232,187,114,0.6);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 26px 60px rgba(4, 23, 18, 0.38);
}

.page-hero { padding: 72px 0 46px; }
.page-hero-inner {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(34px, 6vw, 62px);
  border: 1px solid rgba(216,223,218,0.95);
  border-radius: 1.35rem;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--shadow);
}
.page-hero .lead { margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 32px rgba(28, 59, 50, 0.07);
}
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.card p { margin-bottom: 0; color: var(--muted); }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.91);
}
.feature .card-icon { margin: 0; }
.feature h2 { font-size: 1.35rem; letter-spacing: 0; }
.feature p { margin: 0.55rem 0 0; color: var(--muted); }

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.5fr);
  gap: 35px;
  align-items: center;
  padding: clamp(32px, 6vw, 58px);
  border-radius: 1.3rem;
  background: var(--green-900);
  color: white;
  box-shadow: var(--shadow);
}
.privacy-band p { color: #dbe8e4; }
.privacy-band .eyebrow { color: var(--gold-light); }
.privacy-mark { text-align: center; font-family: var(--serif); font-size: clamp(4rem, 11vw, 8rem); color: var(--gold-light); opacity: 0.8; }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: 0 14px 34px rgba(28, 59, 50, 0.08);
}
.guide-card img { width: 100%; aspect-ratio: 16 / 8; display: block; object-fit: cover; border-bottom: 1px solid var(--line); }
.guide-content { padding: 27px; }
.guide-number { color: var(--gold); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.17em; }
.guide-content h2 { margin-top: 0.45rem; font-size: 1.55rem; }
.guide-content > p { color: var(--muted); }
.guide-content ol { margin: 1rem 0 0; padding-left: 1.25rem; }
.guide-content li + li { margin-top: 0.35rem; }
.notice { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 3px solid var(--gold); background: #fff7e8; color: #6e532b; font-size: 0.92rem; }

.prose {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid rgba(216,223,218,0.95);
  border-radius: 1.35rem;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}
.prose h2 { margin: 2.6rem 0 0.8rem; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.prose h2:first-of-type { margin-top: 1.2rem; }
.prose p { color: #334f47; }
.prose .manifesto { margin: 2.2rem 0; color: var(--green-800); font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; text-align: center; }
.signature { width: 128px; margin: 2.4rem auto 0; display: block; border-radius: 50%; }

.timeline { position: relative; max-width: 860px; margin: auto; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 20px; width: 2px; background: #b9c9c3; }
.timeline-item { position: relative; padding: 0 0 32px 66px; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 11px;
  width: 18px;
  height: 18px;
  border: 5px solid var(--cream);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px #b68a4c;
}
.timeline-item article { padding: 25px 27px; border: 1px solid var(--line); border-radius: 0.9rem; background: rgba(255,253,248,0.91); }
.timeline-item h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.timeline-item p { margin-bottom: 0; color: var(--muted); }

.contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-option { padding: 34px; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,253,248,0.92); }
.contact-option h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.contact-option p { color: var(--muted); }
.contact-option .button { margin-top: 0.5rem; }

code { padding: 0.12em 0.35em; border-radius: 0.3rem; background: var(--green-100); color: var(--green-900); font-size: 0.9em; }

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(32px, 6vw, 54px);
  border: 1px solid rgba(200,138,53,0.38);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(255,253,248,0.95), rgba(248,235,208,0.93));
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta p { margin-bottom: 0; color: var(--muted); }

.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: rgba(255,253,248,0.95); }
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 38px;
  padding: 45px 0 34px;
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.footer-inner h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 0.45rem; margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--green-800); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding: 17px 20px; color: var(--muted); font-size: 0.78rem; text-align: center; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-panel { grid-template-columns: 1fr; min-height: auto; }
  .hero-emblem { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .header-inner { width: min(100% - 28px, 1120px); min-height: 72px; gap: 12px; }
  .brand { font-size: 1.05rem; }
  .brand small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .header-inner > .button { display: none; }
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 58px 0; }
  .hero { padding-top: 30px; }
  .hero-panel { padding: 38px 27px; border-radius: 1.1rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .card-grid, .feature-list, .guide-grid, .contact-options { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; }
  .privacy-mark { display: none; }
  .prose { padding: 30px 24px; }
  .cta { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
