/* Pages de présentation des options (registre EPI, location de matériel, photos des sorties).
   Pages HTML statiques, lisibles par les moteurs de recherche ; même palette que la page d'accueil. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --ink: #12323f;
  --ink-soft: #4a5d66;
  --muted: #74858c;
  --brand: #1a5f7a;
  --brand-dark: #134a60;
  --accent: #e8962e;
  --cream: #f6f1e5;
  --cream-deep: #efe7d8;
  --line: #e4ddd0;
  --white: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; color: var(--ink-soft); }
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btnPrimary { background: var(--brand); color: var(--white); }
.btnPrimary:hover { background: var(--brand-dark); }
.btnSecondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btnSecondary:hover { border-color: var(--brand); color: var(--brand); }
.btnLight { background: var(--white); color: var(--brand-dark); }
.btnLight:hover { background: var(--cream); }
.btnOutlineLight { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btnOutlineLight:hover { border-color: var(--white); }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(6px);
}

.headerInner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; }

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.headerCta { padding: 9px 16px; font-size: 0.95rem; }

/* ---------- Fil d'Ariane ---------- */
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted); }

/* ---------- Accroche ---------- */
.hero {
  background: var(--cream);
  padding: 48px 0 64px;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.lead { font-size: 1.15rem; }

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}

.heroNote { font-size: 0.9rem; color: var(--muted); margin: 0; }

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 30px 60px -25px rgba(18, 50, 63, 0.45);
  border: 1px solid var(--line);
}

.shotBar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--cream-deep);
}

.shotBar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6ccb9;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.sectionTinted { background: var(--cream); }

.sectionHead {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p { margin: 0; }

.cardIcon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split + .split { margin-top: 64px; }
.splitReverse .splitMedia { order: -1; }

.checks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.audience span {
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 500;
}

/* ---------- Comparatif ---------- */
.tableWrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare th, .compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
}

.compare thead th:last-child { color: var(--brand); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; }
.compare .yes { color: #15803d; font-weight: 600; }
.compare .no { color: var(--muted); }
/* Tableau à côté d'un texte : il tient dans sa colonne (défilement seulement sur petit écran) */
.split .compare { min-width: 0; }
.split .compare th, .split .compare td { padding: 12px; }
@media (max-width: 480px) { .split .compare { min-width: 460px; } }
.tableNote { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

/* ---------- Tarif ---------- */
.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.price {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.priceFeatured { border: 2px solid var(--brand); }

.priceAmount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 6px 0;
}

.priceAmount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.priceNote { text-align: center; max-width: 700px; margin: 24px auto 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}

.faq details p { margin: 12px 0 0; }

/* ---------- Autres options ---------- */
.others {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.others a {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
}

.others a:hover { border-color: var(--brand); }
.others a strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.others a span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Appel final et pied de page ---------- */
.finalCta {
  background: var(--brand-dark);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.finalCta h2 { color: var(--white); }
.finalCta p { color: rgba(255, 255, 255, 0.85); }
.finalCta .heroActions { justify-content: center; }

.footer {
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footerInner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--muted); }

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  .heroGrid, .split { grid-template-columns: 1fr; gap: 28px; }
  .splitReverse .splitMedia { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .nav { display: none; }
  .headerCta { margin-left: auto; }
  .section { padding: 52px 0; }
  .container, .headerInner { padding-left: 16px; padding-right: 16px; }
}
