/* SegmenFrance — style inspiré TopPros */

:root {
  --navy:  #3E4F85;
  --orange: #E8A020;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --bg: #ffffff;
  --paper: #f7f7f7;
  --line: #e0e0e0;

  --font-head: "Enriqueta", Georgia, serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --max: 1100px;
  --gutter: 1.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* NAV */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  align-items: center;
}
.brand__dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 0.4rem; }
.brand__mark { color: inherit; }
.nav__links { display: flex; gap: 1.5rem; align-items: center; }
.nav__links a { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; }
.nav__links a:hover { color: var(--orange); }
.nav__cta {
  background: var(--orange);
  color: #fff;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 3px;
  font-family: var(--font-body);
}
.nav__cta:hover { background: #d08a10; }
.nav__burger { display: none; background: none; border: 0; padding: 0.4rem; cursor: pointer; color: #fff; }

/* HERO — plein écran magazine */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=70&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.2;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  text-align: center;
}
.hero__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.hero__logo span { color: var(--orange); }
.hero__tagline {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 400;
}
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: #d08a10; border-color: #d08a10; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--dark:hover { background: #2e3d6a; border-color: #2e3d6a; }

/* SECTION COMMUNE */
.section { padding: 4rem 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }

/* TITRE SECTION */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.section-title--light { color: #fff; }
.section-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 60ch;
}

/* SPLIT 2 colonnes — image + texte (style toppros) */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.split img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* LISTE D'AVANTAGES — orange bullet + navy heading */
.benefits { list-style: none; }
.benefits li { margin-bottom: 1.75rem; }
.benefits h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.benefits h4::before {
  content: "•";
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.benefits p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; padding-left: 1.4rem; }

/* STATS BAND */
.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-item__label { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

/* CTA BAND */
.cta-band {
  background: var(--orange);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.cta-band p { margin-bottom: 1.5rem; font-size: 1rem; opacity: 0.9; max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.7); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* FOOTER */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.88rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer__brand {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer__brand span { color: var(--orange); }
.footer__desc { color: rgba(255,255,255,0.65); max-width: 30ch; line-height: 1.55; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); margin-bottom: 0.75rem; font-weight: 700; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.4rem; }
.footer li a { color: rgba(255,255,255,0.7); }
.footer li a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,0.5); }
.footer__legal a:hover { color: var(--orange); }

/* PAGE HERO (pages secondaires) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}
.page-hero__breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.page-hero__title { font-family: var(--font-head); font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 0.75rem; }
.page-hero__lede { color: rgba(255,255,255,0.8); max-width: 55ch; }

/* LEGAL (pages légales) */
:root {
  --gold: var(--orange);
  --gold-deep: #c07010;
  --cream: #ffffff;
  --line-strong: #ccc;
  --ink-soft: #444;
  --paper: #f7f7f7;
  --line: #e0e0e0;
  --stone: #888;
  --font-display: "Enriqueta", Georgia, serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

/* PRICING (tarifs.html) */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2rem 0; }
.pricing-card { background: #fff; border: 1px solid var(--line); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; border-radius: 4px; }
.pricing-card--featured { border-color: var(--orange); border-width: 2px; }
.pricing-card__badge { display: inline-block; background: var(--orange); color: #fff; font-size: 0.72rem; padding: 0.2rem 0.55rem; border-radius: 2px; margin-bottom: 0.75rem; letter-spacing: 0.06em; font-weight: 700; }
.pricing-card__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.pricing-card__desc { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 1.25rem; }
.pricing-card__price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.pricing-card__price small { font-size: 0.8rem; color: var(--stone); font-weight: 400; margin-left: 0.4rem; font-family: var(--font-body); }
.pricing-card__meta { color: var(--ink-soft); font-size: 0.85rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.pricing-card ul { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.pricing-card li { padding: 0.35rem 0 0.35rem 1.3rem; position: relative; font-size: 0.88rem; color: var(--ink-soft); }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* Responsive */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .footer__top { grid-template-columns: 1fr 1fr; }

  .nav__cta { display: none; }

  .nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 200;
  }
  .nav__links.open { display: flex !important; }
  .nav__links a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    display: block;
    color: #fff;
  }

  .nav__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
  }

  .nav { position: sticky; top: 0; z-index: 100; }
  .nav__inner { position: relative; }
  .pricing__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
