:root {
  --pf-marine: #132970;
  --pf-marine-fonce: #0b1b4d;
  --pf-or: #ffc300;
  --pf-or-fonce: #e0a800;
  --pf-bg: #f7f8fc;
  --pf-text: #1f2937;
  --pf-muted: #6b7280;
  --pf-border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--pf-text);
  background: #fff;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Barre de navigation ─────────────────────────────────────────────── */
.pf-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--pf-border);
}

.pf-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.pf-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pf-marine);
}

.pf-nav-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.pf-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.pf-nav-links a:not(.pf-btn) {
  text-decoration: none;
  color: var(--pf-text);
}

.pf-nav-links a:not(.pf-btn):hover {
  color: var(--pf-marine);
}

/* ── Boutons ──────────────────────────────────────────────────────────── */
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.pf-btn-primary {
  background: var(--pf-marine);
  color: #fff;
}

.pf-btn-primary:hover {
  background: var(--pf-marine-fonce);
}

.pf-btn-accent {
  background: var(--pf-or);
  color: var(--pf-marine-fonce);
}

.pf-btn-accent:hover {
  background: var(--pf-or-fonce);
}

.pf-btn-outline {
  background: #fff;
  color: var(--pf-marine);
  border: 1.5px solid var(--pf-marine);
}

.pf-btn-outline:hover {
  background: var(--pf-marine);
  color: #fff;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.pf-hero {
  background: linear-gradient(135deg, var(--pf-marine) 0%, var(--pf-marine-fonce) 100%);
  color: #fff;
  padding: 5rem 0 6rem;
}

.pf-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.pf-hero-eyebrow {
  display: inline-block;
  background: rgba(255, 195, 0, 0.15);
  color: var(--pf-or);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.pf-hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 1.1rem;
}

.pf-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.pf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pf-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-hero-logo img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ── Sections génériques ──────────────────────────────────────────────── */
.pf-section {
  padding: 4.5rem 0;
}

.pf-section-alt {
  background: var(--pf-bg);
}

.pf-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.pf-section-head .pf-eyebrow {
  display: block;
  color: var(--pf-or-fonce);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.pf-section-head h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  color: var(--pf-marine-fonce);
}

.pf-section-head p {
  color: var(--pf-muted);
  margin: 0;
}

/* ── Grille formations ────────────────────────────────────────────────── */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pf-card {
  background: #fff;
  border: 1px solid var(--pf-border);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pf-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(19, 41, 112, 0.08);
  color: var(--pf-marine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pf-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--pf-marine-fonce);
}

.pf-card p {
  color: var(--pf-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.pf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.pf-chip {
  background: var(--pf-bg);
  border: 1px solid var(--pf-border);
  color: var(--pf-marine-fonce);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.pf-tarifs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--pf-border);
  padding-top: 1rem;
}

.pf-tarif {
  flex: 1;
  min-width: 5.5rem;
  text-align: center;
  background: var(--pf-bg);
  border-radius: 8px;
  padding: 0.55rem 0.4rem;
}

.pf-tarif .duree {
  display: block;
  font-size: 0.72rem;
  color: var(--pf-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.pf-tarif .montant {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pf-marine);
}

/* ── Bandeau téléchargement ───────────────────────────────────────────── */
.pf-download {
  background: var(--pf-marine-fonce);
  color: #fff;
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.pf-download h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.pf-download p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
}

.pf-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ── Pourquoi nous ────────────────────────────────────────────────────── */
.pf-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pf-feature {
  text-align: center;
}

.pf-feature .pf-card-icon {
  margin: 0 auto 1rem;
}

.pf-feature h3 {
  margin: 0 0 0.4rem;
  color: var(--pf-marine-fonce);
  font-size: 1.05rem;
}

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

/* ── Footer ───────────────────────────────────────────────────────────── */
.pf-footer {
  background: var(--pf-marine-fonce);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.pf-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pf-footer-top {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pf-footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.82rem;
}

.pf-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pf-footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
}

.pf-footer-contact a:hover {
  color: var(--pf-or);
}

.pf-footer-bottom strong {
  color: var(--pf-or);
}

.pf-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
}

.pf-footer-brand img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .pf-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pf-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .pf-hero-actions {
    justify-content: center;
  }

  .pf-hero-logo {
    order: -1;
  }

  .pf-hero-logo img {
    max-width: 220px;
  }

  .pf-nav-links {
    gap: 1rem;
  }

  .pf-nav-links span {
    display: none;
  }

  .pf-download {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .pf-download-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .pf-hero h1 {
    font-size: 2rem;
  }

  .pf-nav-links a:not(.pf-btn) {
    display: none;
  }
}
