:root {
  --navy: #0b3c5d;
  --navy-soft: #155a85;
  --navy-deep: #072b43;
  --gold: #e79607;
  --gold-dark: #b97705;
  --milk: #f8edca;
  --cream: #f8edca;
  --pearl: #f3f2ee;
  --cream-card: #fff;
  --white: #fff;
  --ink: #1c2b38;
  --muted: #8a8a8a;
  --line: #ece3d0;
  --shadow: 0 10px 34px rgba(11, 60, 93, .14);
  --shadow-lg: 0 22px 60px rgba(11, 60, 93, .28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.home { background: var(--pearl); }
h1, h2, h3 { font-family: "Barlow Semi Condensed", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Top header (admin / pages d'erreur ; masqué sur la home) */
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 16px 20px; }
.brand { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: 1px; text-decoration: none; }
.brand span { color: var(--gold); font-weight: 600; margin-left: 4px; }
.site-header nav { display: flex; gap: 16px; align-items: center; }
.site-header nav a { text-decoration: none; font-weight: 500; }
.btn-ghost { border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
body.home .site-header, body.home .site-footer { display: none; }

/* ---------- Vitrine ---------- */
.v-hero {
  background: linear-gradient(160deg, #114e78, var(--navy) 60%, var(--navy-deep));
  color: var(--milk); text-align: center; padding: 46px 20px 40px;
  position: relative; overflow: hidden;
}
.v-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(231, 150, 7, .20), transparent 45%),
    radial-gradient(circle at 90% 110%, rgba(118, 170, 219, .20), transparent 45%);
}
.v-hero > * { position: relative; z-index: 1; }
.v-logo-wrap {
  display: inline-flex; background: var(--milk); border-radius: 18px;
  padding: 16px 24px; box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}
.v-logo-wrap img { height: 62px; }
.v-hero h1 {
  font-size: clamp(1.625rem, 5vw, 2.875rem); font-weight: 800;
  letter-spacing: -.5px; margin-top: 22px;
}
.v-tagline {
  color: var(--gold); font-weight: 700;
  font-size: clamp(1.06rem, 3vw, 1.5rem); margin-top: 6px;
  font-family: "Barlow Semi Condensed", sans-serif;
}
.v-sub { color: #d6e2ee; max-width: 620px; margin: 16px auto 0; line-height: 1.6; font-size: .97rem; }

.v-main { max-width: 1080px; margin: 0 auto; padding: 50px 20px 30px; }

.v-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.v-col { display: flex; flex-direction: column; align-items: center; }

.v-annot {
  height: 92px; display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; margin-bottom: 4px;
}
.v-hand {
  font-family: "Caveat", cursive; color: var(--gold-dark); font-size: 27px;
  line-height: 1; font-weight: 700; transform: rotate(-3deg);
}
.v-col:nth-child(2) .v-hand { transform: rotate(2deg); }
.v-arr { margin-top: 2px; }
.v-col:nth-child(2) .v-arr { transform: scaleX(-1); }

.v-card {
  width: 100%; flex: 1; align-self: stretch;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.v-card:hover,
.v-card:visited,
.v-card h2,
.v-card p,
.v-card span { text-decoration: none; }
.v-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.v-card-top { height: 10px; }
.v-card-navy .v-card-top { background: linear-gradient(90deg, var(--navy), var(--navy-soft)); }
.v-card-gold .v-card-top { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.v-card-body {
  padding: 30px 28px 26px; display: flex; flex-direction: column; flex: 1;
}
.v-card h2 {
  font-size: clamp(1.625rem, 3.4vw, 2.125rem); font-weight: 800;
  color: var(--navy); line-height: 1.05;
}
.v-card-gold h2 { color: var(--gold-dark); }
.v-card p { color: #3a4855; line-height: 1.6; margin-top: 12px; flex: 1; font-size: .94rem; }
.v-badge {
  align-self: flex-start; text-transform: uppercase; letter-spacing: .04em;
  font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  font-family: "Barlow Semi Condensed", sans-serif;
}
.v-badge-navy { background: var(--navy); color: #fff; }
.v-badge-gold { background: var(--gold); color: #fff; }
.v-btn {
  margin-top: 22px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 13px; color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif; font-size: 1rem;
}
.v-btn-navy { background: var(--navy); }
.v-btn-gold { background: var(--gold); }
.v-card:hover .v-btn { filter: brightness(1.07); }
.v-ar { font-size: 1.25rem; transition: transform .2s; }
.v-card:hover .v-ar { transform: translateX(5px); }

.v-team {
  max-width: 760px; margin: 46px auto 0; padding: 26px 28px; background: var(--white);
  border-radius: 22px; box-shadow: var(--shadow);
  display: flex; gap: 26px; align-items: center; border: 1px solid var(--line);
}
.v-team-photos { display: flex; flex-shrink: 0; }
.v-team-photos img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 6px 18px rgba(11,60,93,.2);
}
.v-team-photos img:nth-child(2) { margin-left: -26px; }
.v-team-text h3 { color: var(--navy); font-size: 1.3rem; font-weight: 800; }
.v-team-text p { color: #3a4855; margin: 6px 0 0; line-height: 1.55; font-size: .9rem; }
.v-team-text .v-hand { font-size: 22px; display: inline-block; transform: rotate(-2deg); margin-top: 4px; }

.v-footer { text-align: center; padding: 34px 20px 40px; }
.v-footer-tag {
  font-family: "Barlow Semi Condensed", sans-serif; color: var(--gold-dark);
  font-size: 1.125rem; font-weight: 700; margin: 0 0 8px;
}
.v-footer-meta { color: var(--muted); font-size: .82rem; }
.v-footer-meta a { color: var(--navy-soft); text-decoration: none; }

/* ---------- Admin / erreurs ---------- */
.admin { max-width: 760px; margin: 0 auto; padding: 20px; }
.admin-box { background: var(--cream-card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-top: 18px; }
.admin-box + .admin-box { margin-top: 14px; }
.admin-box button { margin-top: 4px; }
.btn-primary { display: inline-block; background: var(--gold); color: #fff; border: none; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
.muted { color: var(--muted); }
.push-status { margin-top: 14px; font-weight: 600; min-height: 1.3em; }
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 4rem; color: var(--gold); margin: 0; }
.site-footer { text-align: center; color: var(--muted); padding: 30px; font-size: .85rem; }

@media (max-width: 720px) {
  .v-cards { grid-template-columns: 1fr; gap: 20px; }
  .v-annot { height: 82px; }
  .v-team { flex-direction: column; text-align: center; }
  .v-team-photos img:nth-child(2) { margin-left: -22px; }
}
