
:root{
  --bg:#ffffff;
  --card:#ffffff;
  --text:#1b1b1b;
  --muted:#5b5b5b;
  --line:rgba(0,0,0,.08);
  --blue:#000091; /* Bleu France */
  --red:#E1000F;  /* Rouge Marianne */
  --shadow: 0 24px 60px rgba(0,0,0,.08);
  --radius: 18px;
  --maxw: 740px;
}

[data-theme="dark"]{
  --bg:#0c0f14;
  --card:#111622;
  --text:#f3f5f7;
  --muted:#b7c0cc;
  --line:rgba(255,255,255,.10);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Helvetica, Arial, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans", sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  min-height:100%;
  padding: 28px 16px 90px;
  display:flex;
  justify-content:center;
}
.container{
  width:100%;
  max-width:var(--maxw);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 18px;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{ width:46px; height:46px; }
.brand .title{
  font-weight:700;
  letter-spacing:.2px;
  font-size: 18px;
  line-height:1.1;
}
.brand .subtitle{
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
}

.controls{
  display:flex; gap:10px; align-items:center;
}
.pill{
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor:pointer;
}
.pill:hover{ border-color: rgba(0,0,0,.18); }
[data-theme="dark"] .pill:hover{ border-color: rgba(255,255,255,.18); }

.card{
  background:linear-gradient(180deg, var(--card), color-mix(in srgb, var(--card) 92%, transparent));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hero{
  padding: 34px 26px 18px;
  text-align:left;
}
.kicker{
  color:var(--muted);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.h1{
  margin: 12px 0 10px;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height:1.08;
  font-weight:700;
}
.h1 .accent{ color:var(--red); }
.lead{
  margin:0;
  max-width: 54ch;
  color:var(--muted);
  font-size: 16px;
  line-height:1.55;
}

.divider{
  height:1px;
  background:var(--line);
}

.fact{
  padding: 18px 26px 22px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fact h2{
  margin:0;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.factbox{
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  margin-top: 6px;
  background:var(--blue);
  flex:0 0 auto;
}
.facttext{
  margin:0;
  line-height:1.55;
  font-size: 15px;
}
.fade{ animation: fadeIn .55s ease; }
@keyframes fadeIn{ from{ opacity:.25; transform:translateY(2px);} to{ opacity:1; transform:none;} }

.links{
  padding: 18px 26px 22px;
}
.links h2{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
.linkgrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.link{
  border:1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display:flex; justify-content:space-between; align-items:center;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
}
.link .label{ font-weight:600; }
.link .meta{ color:var(--muted); font-size:13px; }

.contact{
  padding: 18px 26px 26px;
}
.contact h2{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
}
form{ display:grid; gap:10px; }
input, textarea{
  width:100%;
  border:1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  color:var(--text);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
}
textarea{ min-height: 110px; resize: vertical; }

.row{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
@media(min-width:640px){
  .row{ grid-template-columns: 1fr 1fr; }
  .linkgrid{ grid-template-columns: 1fr 1fr; }
}

.btn{
  border:none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight:700;
  cursor:pointer;
  background:var(--blue);
  color:#fff;
}
.btn:hover{ filter: brightness(.97); }
.btn.secondary{
  background:transparent;
  color:var(--blue);
  border:1px solid var(--line);
}
.btn.secondary:hover{ border-color: rgba(0,0,0,.18); }
[data-theme="dark"] .btn.secondary:hover{ border-color: rgba(255,255,255,.18); }

.notice{
  font-size: 12px;
  color:var(--muted);
  line-height:1.45;
}
.error{
  border-left: 3px solid var(--red);
  padding-left: 10px;
}
.success{
  border-left: 3px solid var(--blue);
  padding-left: 10px;
}

.footer{
  margin-top: 14px;
  text-align:center;
  color:var(--muted);
  font-size: 12px;
}
.footer a{ color:var(--muted); }
.footer a:hover{ color:var(--text); }

.cookie-banner{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px;
  display:none;
  z-index: 9999;
}
.cookie-banner .cb-row{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cookie-banner .cb-actions{
  display:flex; flex-wrap:wrap; gap:10px;
}
@media(min-width:760px){
  .cookie-banner .cb-row{ flex-direction:row; align-items:center; justify-content:space-between; }
  .cookie-banner .cb-actions{ justify-content:flex-end; }
}
.cookie-banner p{
  margin:0;
  color:var(--muted);
  font-size: 13px;
  line-height:1.45;
  max-width: 70ch;
}
