/* ============================================
   MATTHIAS FORT — CONSEIL & COACHING VENTE
   Design system
   ============================================ */

:root {
  --navy: #16283A;
  --gold: #C9A24C;
  --cream: #F5F3ED;
  --cream-dark: #EDEAE1;
  --grey-text: #5F5E5A;
  --grey-light: #8A8880;
  --border-color: rgba(22, 40, 58, 0.12);
  --white: #FFFFFF;

  --font-main: 'Poppins', sans-serif;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--grey-text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.2px;
}

h1 {
  font-size: 26px;
  line-height: 1.3;
}

h2 {
  font-size: 22px;
  line-height: 1.35;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.gold-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 0 0 18px;
}

.hero-logo-full {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 auto 20px;
}

.gold-rule.centered {
  margin: 0 auto 18px;
}

p {
  color: var(--grey-text);
  font-size: 14px;
}

.lede {
  font-size: 15px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: 6px;
  padding: 12px 26px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border: none;
}

.btn-primary:hover {
  background: #1f3a52;
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-compact {
  padding: 9px 20px;
  font-size: 12px;
}

.btn-block {
  display: block;
  text-align: center;
}

/* ---------- Badges / Pills ---------- */
.pill {
  display: inline-block;
  background: var(--cream-dark);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--navy);
  font-weight: 500;
}

.pill-link {
  background: var(--white);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pill-link:hover {
  border-color: var(--gold);
  background: var(--cream-dark);
}

.pill-link svg {
  width: 13px;
  height: 13px;
  color: var(--navy);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 0.5px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

.card-featured {
  background: var(--navy);
  color: var(--cream);
  position: relative;
}

.card-featured h3,
.card-featured .price {
  color: #fff;
}

.card-featured p {
  color: rgba(245, 243, 237, 0.75);
}

.badge-corner {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--grey-text);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav a.active {
  color: var(--navy);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--cream-dark);
  padding: 56px 0 24px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 13px;
  color: var(--grey-text);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.social-circle:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.social-circle svg {
  width: 13px;
  height: 13px;
  color: var(--cream);
}

.legal-links li {
  margin-bottom: 8px;
}

.legal-links a {
  font-size: 13px;
  color: var(--grey-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links a:hover {
  color: var(--navy);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--grey-light);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ============================================
   HERO (index)
   ============================================ */
.hero {
  padding: 64px 0 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-content p {
  margin-bottom: 22px;
  max-width: 440px;
}

.hero-content .pill {
  margin-bottom: 26px;
}

.hero-content .pill,
.hero-actions {
  display: block;
}

.hero-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 40, 58, 0.10), transparent 35%);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head h1,
.section-head h2 {
  margin-bottom: 10px;
}

.section-head p {
  max-width: 520px;
  margin: 0 auto;
}

/* Formules grid */
.formules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.formule-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.formule-card:hover {
  transform: translateY(-4px);
}

.formule-card h3 {
  font-size: 16px;
}

.formule-card .price {
  font-size: 20px;
  color: var(--navy);
  font-weight: 600;
  margin: 4px 0;
}

.formule-card.card-featured .price {
  color: #fff;
}

#pack-transformation-price {
  color: #fff;
}

.formule-card p {
  font-size: 13px;
  flex-grow: 1;
}

.formule-card .btn {
  margin-top: 8px;
  text-align: center;
}

/* Reassurance band */
.reassurance-band {
  background: var(--cream-dark);
  padding: 44px 0;
  text-align: center;
}

.reassurance-band p {
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}

.reassurance-band p.secondary {
  font-size: 13px;
  color: var(--grey-text);
  font-weight: 400;
  margin-top: 6px;
}

/* ============================================
   A PROPOS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 16px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-top: 20px;
}

.timeline-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  margin: 0 auto 16px;
}

.timeline-circle.navy { background: var(--navy); }
.timeline-circle.gold { background: var(--gold); }

.timeline-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 13px;
}

.quote-block {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  padding: 8px 0;
}

.cta-center {
  text-align: center;
}

/* ============================================
   COACHING
   ============================================ */
.formule-card-detailed {
  padding: 24px 20px;
}

.formule-card-detailed .desc {
  font-size: 13px;
  margin: 8px 0 14px;
}

.cta-band {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 56px 24px;
  border-radius: 12px;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

/* ============================================
   RDV
   ============================================ */
.rdv-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.rdv-info h1 {
  margin-bottom: 14px;
}

.rdv-info > p {
  margin-bottom: 28px;
}

.reassurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--navy);
}

.reassurance-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.calendly-embed-wrap {
  background: var(--white);
  border: 0.5px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.card-featured .contact-icon-circle {
  background: rgba(245, 243, 237, 0.15);
}

.contact-icon-circle svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
}

.card-featured .contact-icon-circle svg {
  stroke: var(--cream);
}

.contact-card .main-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  word-break: break-word;
}

.card-featured .main-value {
  color: var(--cream);
}

.contact-card .sub-value {
  font-size: 12px;
  color: var(--grey-light);
}

.card-featured .sub-value {
  color: rgba(245, 243, 237, 0.7);
}

.social-follow {
  text-align: center;
}

.social-follow .pill-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ============================================
   PAGES LEGALES
   ============================================ */
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 0.5px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
}

.legal-nav .footer-col-title {
  margin-bottom: 12px;
}

.legal-nav li {
  margin-bottom: 10px;
}

.legal-nav a {
  font-size: 13px;
  color: var(--grey-text);
  display: block;
  padding: 4px 0;
}

.legal-nav a.active {
  color: var(--navy);
  font-weight: 600;
}

.legal-content {
  background: var(--white);
  border: 0.5px solid var(--border-color);
  border-radius: 10px;
  padding: 40px;
}

.legal-content .updated-date {
  font-size: 12px;
  color: var(--grey-light);
  margin-bottom: 24px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .part-title {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 48px 0 6px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.legal-content .part-title:first-of-type {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

.legal-content h2 {
  font-size: 20px;
  margin: 4px 0 20px;
  color: var(--navy);
}

.legal-content h3 {
  font-size: 15px;
  margin: 26px 0 8px;
  color: var(--navy);
}

.legal-content h3:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 12px;
}

.legal-content .field-line {
  font-size: 14px;
  margin-bottom: 6px;
}

.legal-content .field-line strong {
  color: var(--navy);
  font-weight: 600;
}

.legal-content .intro-note {
  font-size: 12px;
  color: var(--grey-light);
  font-style: italic;
  margin-bottom: 8px;
}

.placeholder {
  color: var(--gold);
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .formules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }

  .hero .container,
  .about-grid,
  .rdv-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .formules-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-nav {
    position: static;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .site-header .container {
    height: 68px;
  }
}
