/* LCC marketing — site.css
   Tokens repris du design system v4 (thème "main" : light bg + navy chrome + gold accents) */

:root {
  --bg-primary:   #f8f6f2;
  --bg-secondary: #ffffff;
  --bg-tertiary:  #0d1b2a;
  --bg-card:      #ffffff;
  --bg-card-hover: rgba(13, 27, 42, 0.04);
  --bg-overlay:   rgba(13, 27, 42, 0.97);
  --text-primary: #0d1b2a;
  --text-body:    #1a2d42;
  --text-muted:   #2c4a6e;
  --text-faint:   rgba(44, 74, 110, 0.38);
  --accent:       #c9a84c;
  --accent-light: #e8c97a;
  --accent-dim:   rgba(201, 168, 76, 0.10);
  --accent-border:rgba(201, 168, 76, 0.35);
  --border:       rgba(13, 27, 42, 0.08);
  --border-mid:   rgba(13, 27, 42, 0.16);
  --border-strong:rgba(13, 27, 42, 0.42);
  --navy-mid:     #2c4a6e;
  --grid-line:    rgba(13, 27, 42, 0.04);
  --shadow-sm:    0 2px 8px rgba(13, 27, 42, 0.07);
  --shadow-md:    0 8px 32px rgba(13, 27, 42, 0.13);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.serif { font-family: 'Libre Baskerville', serif; font-weight: 300; }
.serif em { font-style: italic; color: var(--accent-light); }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--accent); display: block;
}

.rule {
  width: 64px; height: 1px; background: var(--accent);
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  padding: 0.95rem 2rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.btn span { position: relative; z-index: 1; }
.btn.primary {
  background: var(--accent);
  color: var(--bg-tertiary);
}
.btn.primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-light);
  transform: translateX(-101%);
  transition: transform 0.35s ease;
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,168,76,0.32); }
.btn.primary:hover::before { transform: translateX(0); }
.btn.ghost {
  background: transparent;
  border-color: var(--border-mid);
  color: var(--text-primary);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ============================================================
   TOPNAV — navy bar with gold accent
   ============================================================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 3rem;
  background: var(--bg-overlay);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.14);
}
.brand {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #f4f0e8;
}
.brand em { font-style: italic; color: var(--accent); }
.topnav-links { display: flex; gap: 0.4rem; list-style: none; }
.topnav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a9bb0;
  padding: 0.45rem 0.9rem;
  transition: color 0.2s, background 0.2s;
}
.topnav-links a:hover { color: var(--accent); background: rgba(201, 168, 76, 0.1); }
.nav-login {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a9bb0;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(201,168,76,0.25);
  transition: all 0.2s;
}
.nav-login:hover { color: var(--accent); border-color: var(--accent); background: rgba(201, 168, 76, 0.08); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 7rem 2rem 6rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.grid-bg {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 720px; height: 420px;
  background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0;
}
.hero-title em { color: var(--accent); }
.hero .rule { margin-left: auto; margin-right: auto; }
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.trust {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.section {
  padding: 6rem 3rem;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }
.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0.6rem auto 0;
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two   { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; background: transparent; }

.card-num-host {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  position: relative;
}
.card-num-host:hover { background: var(--bg-card-hover); }
.card-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.28);
  line-height: 1;
  margin-bottom: 1rem;
}
.card-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}
.card-body {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   OFFRE — 3 cards with featured center
   ============================================================ */
.offre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 1180px;
  margin: 0 auto;
}
.offre-card {
  background: var(--bg-card);
  padding: 2.75rem 2rem;
  position: relative;
}
.offre-card.featured {
  background: #0d1b2a;
  color: #c8d4e0;
}
.offre-card.featured .offre-step { color: var(--accent-light); }
.offre-card.featured .offre-title { color: #f4f0e8; }
.offre-card.featured .offre-tag   { color: rgba(201,168,76,0.7); }
.offre-card.featured .offre-list  { color: rgba(200,212,224,0.85); }
.offre-card.featured .offre-list li::before { background: var(--accent); }

.offre-step {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.offre-title {
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.offre-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.offre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-body);
}
.offre-list li {
  position: relative;
  padding-left: 1.1rem;
}
.offre-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 1px;
  background: var(--accent);
}
.offre-list strong { font-weight: 600; color: inherit; }

/* ============================================================
   ECOSYSTEM
   ============================================================ */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}
.eco-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  transition: background 0.25s;
}
.eco-card:hover { background: var(--bg-card-hover); }
.eco-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.eco-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   SEGMENTS — navy cards
   ============================================================ */
.section-segments { background: var(--bg-secondary); }
.card-navy {
  background: #0d1b2a;
  color: #c8d4e0;
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
}
.card-navy::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.card-navy:hover::after { transform: scaleX(1); }
.navy-tag {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.navy-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  font-size: 1.45rem;
  color: #f4f0e8;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.navy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(200, 212, 224, 0.85);
}
.navy-list li { position: relative; padding-left: 1rem; }
.navy-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 1px; background: var(--accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about { background: var(--bg-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.frame-deco {
  position: absolute; inset: -14px -14px auto auto;
  width: 100%; height: 100%;
  border: 1px solid var(--accent-border);
  pointer-events: none;
  transition: all 0.4s;
}
.about-frame:hover .frame-deco { inset: -22px -22px auto auto; border-color: rgba(201,168,76,0.55); }
.frame-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2d42 100%);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 5rem; letter-spacing: 0.08em;
  position: relative; z-index: 1;
}
.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 1.5rem 0 2rem;
  max-width: 560px;
}
.about-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.about-points li {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.about-pt-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.about-pt-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--bg-tertiary);
  color: #c8d4e0;
  text-align: center;
}
.section-contact .eyebrow { color: var(--accent); }
.section-contact .section-title { color: #f4f0e8; }
.section-contact .section-title em { color: var(--accent-light); }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-sub {
  color: rgba(200, 212, 224, 0.85);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 1rem auto 2.5rem;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.section-contact .btn.ghost {
  border-color: rgba(201,168,76,0.3);
  color: rgba(200,212,224,0.85);
}
.section-contact .btn.ghost:hover { color: var(--accent); border-color: var(--accent); background: rgba(201,168,76,0.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  padding: 2.5rem 3rem;
  background: #0a1520;
  color: rgba(200, 212, 224, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.foot-brand {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #f4f0e8;
}
.foot-brand em { color: var(--accent); }
.foot-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.foot-links a {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(138, 155, 176, 0.85);
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--accent); }
.foot-fine {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 1.25rem;
  font-size: 0.72rem;
  color: rgba(138, 155, 176, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .topnav { padding: 0.85rem 1.25rem; flex-wrap: wrap; gap: 0.5rem; }
  .topnav-links { gap: 0; }
  .topnav-links a { padding: 0.4rem 0.55rem; }
  .nav-login { padding: 0.45rem 0.85rem; }

  .hero { padding: 4.5rem 1.25rem 4rem; }
  .section { padding: 4rem 1.25rem; }

  .card-grid.three, .offre-grid, .eco-grid { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-points { grid-template-columns: 1fr; }
  .about-frame { max-width: 240px; margin: 0 auto; }
}
