/* ═══════════════════════════════════════
   LEADERECOM — Components
   (nav, buttons, cards, badges...)
═══════════════════════════════════════ */


/* ── HEADER WRAPPER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
}

.site-header.scrolled .nav {
  box-shadow: 0 2px 24px rgba(9, 65, 150, .09);
}

/* ── NAV BAR ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 2.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  gap: 1.5rem;
  transition: box-shadow .3s;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── LIENS DESKTOP ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  display: block;
  padding: 0 1.1rem;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
  line-height: 68px;
  font-weight: 600;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.nav-links li a:hover {
  color: var(--orange);
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

/* ── ACTIONS DESKTOP ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}

.nav-btn-login {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 8px;
  border: 1.5px solid var(--blue);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.nav-btn-login:hover {
  border-color: var(--blue);
  color: white;
  background-color: var(--blue);
}

.nav-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(254, 124, 2, .22);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}

.nav-btn-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(254, 124, 2, .32);
}

.nav-btn-cta i {
  font-size: .78rem;
}

/* ── BURGER ── */
.nav-burger {
  display: none;
  /* caché sur desktop */
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .2s;
}

.nav-burger:hover {
  background: var(--cream);
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s, width .3s;
}

.nav-burger span:nth-child(1) {
  width: 22px;
}

.nav-burger span:nth-child(2) {
  width: 15px;
}

.nav-burger span:nth-child(3) {
  width: 22px;
}

/* État ouvert → croix */
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* ── DRAWER MOBILE ── */
.nav-drawer {
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(9, 65, 150, .08);
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.22, 1, .36, 1);
  /* PAS de display:none ici ! */
}

.nav-drawer.open {
  max-height: 500px;
}

.nav-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer-links li a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.75rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s;
}

.nav-drawer-links li:last-child a {
  border-bottom: none;
}

.nav-drawer-links li a i {
  width: 16px;
  text-align: center;
  color: var(--blue-light);
  font-size: .85rem;
}

.nav-drawer-links li a:hover {
  color: var(--blue);
  background: #f4f7ff;
}

.nav-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1rem 1.75rem 1rem;
}

.nav-drawer-actions .nav-btn-login,
.nav-drawer-actions .nav-btn-cta {
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: .75rem 1rem;
  font-size: .9rem;
  border-radius: 8px;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (min-width: 961px) {

  /* Desktop : drawer complètement caché */
  .nav-drawer {
    display: none;
  }

  .nav-burger {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }

  /* visible mais fermé (max-height:0) */
  .nav {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 75px;
  }
}

/* ── BUTTONS ── */
.btn-ghost {
  padding: .45rem 1rem;
  font-size: 14px;
  color: #0b54a7;
  background: none;
  border: 1.5px solid #0750a6;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color .2s;
}

.btn-ghost:hover {
  border-color: #0750a6;
  color: white;
  background-color: #0750a6;
  ;
}

.btn-solid {
  padding: .45rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s;
}

.btn-solid:hover {
  opacity: .88
}

.btn-hero {
  padding: .9rem 2rem;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: transform .15s, opacity .2s;
}

.btn-hero.primary {
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  color: #fff
}

.btn-hero.primary:hover {
  opacity: .9;
  transform: translateY(-2px)
}

.btn-hero.secondary {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .85);
  border: 1.5px solid rgba(255, 255, 255, .15);
}

.btn-hero.secondary:hover {
  background: rgba(255, 255, 255, .1)
}

.btn-pricing {
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.btn-pricing:hover {
  opacity: .9;
  transform: translateY(-2px)
}

.btn-cw {
  padding: 1rem 2.2rem;
  background: #fff;
  color: var(--blue-light);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.btn-cw:hover {
  opacity: .93;
  transform: translateY(-2px)
}

.btn-co {
  padding: 1rem 2.2rem;
  background: transparent;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s;
}

.btn-co:hover {
  border-color: rgba(255, 255, 255, .7)
}

/* ── SECTION COMMONS ── */
.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: .6rem;
}

.sec-h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #083e91;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.sec-h2 em {
  color: var(--blue-light);
  font-style: normal
}

.sec-p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto
}

/* ── FLOATING CARDS (hero) ── */
.float-card {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem;
}

.fc-main {
  width: 320px;
  top: 40px;
  left: 0;
  animation: float1 4s ease-in-out infinite
}

.fc-small {
  width: 210px;
  bottom: 80px;
  right: 0;
  animation: float2 5s ease-in-out infinite
}

.fc-tag {
  width: 165px;
  top: 10px;
  right: 30px;
  padding: .85rem 1rem;
  animation: float3 3.5s ease-in-out infinite
}

.fc-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .9rem
}

.fc-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: 1rem
}

.fc-kpi {
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: .7rem
}

.fc-kpi-v {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff
}

.fc-kpi-l {
  font-size: .65rem;
  color: rgba(255, 255, 255, .45);
  margin-top: .15rem
}

.fc-kpi-t {
  font-size: .65rem;
  color: #6FE3A2;
  margin-top: .2rem
}

.fc-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px
}

.fcb {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, .15)
}

.fcb.on {
  background: var(--orange)
}

.fc-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: .45rem .6rem;
  margin-top: .5rem;
}

.ob {
  padding: .18rem .5rem;
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 700
}

.ob.g {
  background: rgba(111, 227, 162, .2);
  color: #6FE3A2
}

.ob.a {
  background: rgba(249, 184, 78, .2);
  color: #F9B84E
}

.fc-tag-ico {
  font-size: 1.5rem;
  margin-bottom: .35rem
}

.fc-tag-val {
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange)
}

.fc-tag-lbl {
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  margin-top: .15rem
}

.fc-sm-lbl {
  font-size: .65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: .75rem
}

.comm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
}

.comm-row:last-child {
  border: none
}

.comm-amt {
  color: var(--orange);
  font-weight: 700
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--blue-light)
}

.faq-q {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-q span {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 24px;
    font-size: .95rem;
    color: var(--ink);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: all .25s;
}

.faq-item.open .faq-icon {
  background: var(--blue-light);
  color: #fff;
  transform: rotate(45deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0 1.5rem;
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem
}


