:root {
  --ap-accent: #0F56B3;
  --ap-accent-deep: #0B3F8A;
  --ap-ink: #12161F;
  --ap-soft: #5A6473;
  --ap-line: #E3E7EE;
  --ap-bg-alt: #F6F8FB;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ap-ink);
  background: #fff;
  line-height: 1.7;
}

a {
  color: var(--ap-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.ap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ap-line);
}

.ap-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ap-ink);
}

.ap-brand:hover {
  text-decoration: none;
}

.ap-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ap-accent-deep), var(--ap-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
}

.ap-brand-text {
  font-weight: 800;
}

.ap-nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Hero */
.ap-hero {
  background: var(--ap-bg-alt);
  border-bottom: 1px solid var(--ap-line);
}

.ap-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.ap-photo {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ap-accent-deep), var(--ap-accent));
  box-shadow: 0 6px 24px rgba(15, 86, 179, 0.18);
}

.ap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ap-photo-fallback::after {
  content: "AM";
  color: #fff;
  font-weight: 900;
  font-size: 2.4rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ap-accent);
}

.ap-hero h1 {
  margin: 0 0 6px;
  font-size: 2.2rem;
  line-height: 1.15;
}

.ap-role {
  margin: 0;
  color: var(--ap-soft);
  font-size: 1.02rem;
}

/* Sections */
.ap-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 24px;
}

.ap-lead {
  font-size: 1.16rem;
  line-height: 1.65;
  color: #1B2230;
  border-left: 3px solid var(--ap-accent);
  padding-left: 20px;
  margin: 0 0 34px;
}

.ap-section h2 {
  font-size: 1.32rem;
  margin: 34px 0 12px;
}

.ap-section p {
  color: #2A3140;
}

/* Repères */
.ap-facts {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
  padding: 28px 0;
}

.ap-fact {
  text-align: center;
}

.ap-fact strong {
  display: block;
  font-size: 1.25rem;
  color: var(--ap-accent-deep);
}

.ap-fact span {
  font-size: 0.87rem;
  color: var(--ap-soft);
}

/* Contact */
.ap-contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.ap-btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.ap-btn svg {
  width: 19px;
  height: 19px;
}

.ap-btn-wa {
  background: #25D366;
  color: #fff;
}

.ap-btn-tel {
  background: var(--ap-accent);
  color: #fff;
}

/* Footer */
.ap-footer {
  border-top: 1px solid var(--ap-line);
  margin-top: 30px;
  padding: 24px;
  text-align: center;
  color: var(--ap-soft);
  font-size: 0.88rem;
}

.ap-footer nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* Mobile */
@media (max-width: 640px) {
  .ap-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
    padding: 40px 20px;
  }

  .ap-photo {
    width: 118px;
    height: 118px;
  }

  .ap-hero h1 {
    font-size: 1.7rem;
  }

  .ap-lead {
    font-size: 1.05rem;
    padding-left: 16px;
  }
}