/* ============================================================
   Pages internes (divisions) — composants additionnels
   S'appuie sur les variables et le design system de styles.css
   ============================================================ */

/* ---------- Language switcher (nav) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-left: 4px;
}
.lang-switch a {
  padding: 7px 11px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lang-switch a.is-active { background: var(--green); color: var(--paper); }
.lang-switch a:not(.is-active):hover { background: #E9E8DF; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 40px 0;
  font-size: 13px;
  color: rgba(244, 243, 237, 0.7);
}
.breadcrumb a { color: rgba(244, 243, 237, 0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.breadcrumb strong { color: var(--lime); font-weight: 700; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
}
.page-hero__stripes {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, transparent 0 58px, rgba(198, 242, 78, 0.06) 58px 60px);
  pointer-events: none;
}
.page-hero__glow {
  position: absolute; left: -140px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 40px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.page-hero__num {
  font-family: 'Anton';
  font-size: 22px;
  color: var(--lime);
  letter-spacing: 2px;
}
.page-hero__title {
  font-family: 'Anton'; font-weight: 400;
  font-size: 60px; line-height: 0.98; letter-spacing: -0.5px;
  text-transform: uppercase; margin: 14px 0 22px;
}
.page-hero__lead {
  font-size: 18.5px; line-height: 1.55;
  color: rgba(244, 243, 237, 0.82);
  max-width: 540px; margin: 0 0 32px;
}
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero__media { position: relative; }
.page-hero__media .image-slot { height: 420px; border-radius: 22px; }

/* ---------- Generic section scaffolding ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 92px 40px; }
.section--tight { padding: 64px 40px; }
.section--paper { background: var(--paper); }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .section__title { color: var(--paper); }

.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: 'Anton'; font-weight: 400;
  font-size: 42px; line-height: 1.04; letter-spacing: -0.4px;
  text-transform: uppercase; margin: 16px 0 0; color: var(--ink);
}
.section__intro {
  font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 18px 0 0;
}
.section--ink .section__intro { color: rgba(244, 243, 237, 0.75); }

/* ---------- Two-column intro ---------- */
.split {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: start;
}
.split__media .image-slot { height: 460px; border-radius: 22px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }

.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--lime); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}

/* ---------- Pillars / prestations grid ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillars--2 { grid-template-columns: repeat(2, 1fr); }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.section--ink .pillar { background: var(--card-dark); border-color: var(--card-border); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(11, 61, 46, 0.4); border-color: var(--green); }
.section--ink .pillar:hover { border-color: var(--lime); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: rgba(11, 61, 46, 0.08); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.section--ink .pillar__icon { background: rgba(198, 242, 78, 0.12); color: var(--lime); }
.pillar__title { font-size: 19px; font-weight: 800; margin: 0 0 10px; color: var(--ink); }
.section--ink .pillar__title { color: var(--paper); }
.pillar__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.section--ink .pillar__text { color: rgba(244, 243, 237, 0.72); }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process__step { position: relative; padding-top: 30px; }
.process__step::before {
  content: ""; position: absolute; top: 11px; left: 0; right: -20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.process__step:last-child::before { right: 0; }
.section--ink .process__step::before { background: repeating-linear-gradient(90deg, rgba(244,243,237,0.2) 0 8px, transparent 8px 14px); }
.process__num {
  position: absolute; top: 0; left: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime); color: var(--green-deep);
  font-family: 'Anton'; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.process__title { font-size: 16.5px; font-weight: 800; margin: 8px 0 8px; color: var(--ink); }
.section--ink .process__title { color: var(--paper); }
.process__text { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.section--ink .process__text { color: rgba(244, 243, 237, 0.7); }

/* ---------- Offer tabs ---------- */
.tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab-btn {
  padding: 12px 20px; border-radius: 100px;
  border: 1px solid var(--line); background: #fff;
  font-family: 'Archivo'; font-size: 14.5px; font-weight: 700;
  color: var(--ink-soft); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tab-btn:hover { border-color: var(--green); }
.tab-btn.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }
.tab-panel { display: none; animation: als-rise 0.3s ease both; }
.tab-panel.is-active { display: block; }
.tab-panel__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.tab-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px;
}
.tab-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: var(--ink); }
.tab-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  padding: 7px 13px; border-radius: 100px;
  background: rgba(11, 61, 46, 0.07); color: var(--green);
}

/* ---------- Audience cards ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud-card {
  border-radius: 16px; padding: 24px; background: #fff; border: 1px solid var(--line);
}
.aud-card__k { font-family: 'Anton'; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--green); margin: 0 0 8px; }
.aud-card__v { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-strip__item { text-align: center; }
.stat-strip__num { font-family: 'Anton'; font-size: 50px; line-height: 1; color: var(--lime); }
.stat-strip__label { font-size: 14px; margin-top: 10px; color: rgba(244, 243, 237, 0.78); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-family: 'Archivo'; font-size: 18px; font-weight: 700; color: var(--ink);
}
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--green); transition: transform 0.25s; line-height: 1;
}
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a-inner { padding: 0 44px 24px 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); padding: 0 0 90px; }
.cta-band__panel {
  max-width: var(--maxw); margin: 0 auto;
  background: linear-gradient(120deg, #0B3D2E, #0f5238);
  border-radius: 28px; padding: 56px 64px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band__glow {
  position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 242, 78, 0.18), transparent 70%);
}
.cta-band__text { position: relative; max-width: 620px; }
.cta-band__title {
  font-family: 'Anton'; font-weight: 400; font-size: 38px; line-height: 1.02;
  letter-spacing: -0.4px; text-transform: uppercase; margin: 0 0 12px; color: var(--paper);
}
.cta-band__sub { font-size: 16px; line-height: 1.55; color: rgba(244, 243, 237, 0.82); margin: 0; }
.cta-band__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Cross-links (autres divisions) ---------- */
.crosslinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.crosslink {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 28px; border-radius: 16px; text-decoration: none;
  background: var(--card-dark); border: 1px solid var(--card-border);
  transition: transform 0.2s, border-color 0.2s;
}
.crosslink:hover { transform: translateY(-4px); border-color: var(--lime); }
.crosslink__k { font-family: 'Anton'; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lime); }
.crosslink__t { font-size: 19px; font-weight: 800; color: var(--paper); margin-top: 6px; }
.crosslink__arrow { font-size: 26px; color: var(--lime); }

/* ---------- Grilles utilitaires ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Filtres (portfolio / blog) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.filter-item.is-hidden { display: none; }

/* ---------- Cartes article (blog) ---------- */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .image-slot { height: 210px; border-radius: 16px; }
.post-card__body { padding-top: 18px; display: flex; flex-direction: column; }
.post-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.post-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; color: var(--ink); transition: color 0.15s; }
.post-card:hover .post-card__title { color: var(--green); }
.post-card__excerpt { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Étude de cas (featured) ---------- */
.casestudy { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.casestudy .image-slot { height: 420px; border-radius: 22px; }
.casestudy__tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}

/* ---------- Partenaires ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.partner {
  flex: 1 1 160px; min-width: 140px; height: 92px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Anton'; font-size: 18px; letter-spacing: 1px; color: var(--muted);
  text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
}
.partner:hover { border-color: var(--green); color: var(--green); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.info-card + .info-card { margin-top: 18px; }
.info-card__title { font-family: 'Anton'; font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink); margin: 0 0 18px; }
.info-row { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.info-row:last-child { margin-bottom: 0; }
.info-row__icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: rgba(11, 61, 46, 0.08); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.form-card .field { width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: block; }
.form-grid { display: flex; flex-direction: column; gap: 16px; }

.map { width: 100%; height: 360px; border: 0; border-radius: 18px; filter: grayscale(0.15); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .page-hero__title { font-size: 48px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process__step::before { display: none; }
}
@media (max-width: 880px) {
  .breadcrumb, .section, .page-hero__inner { padding-left: 24px; padding-right: 24px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
  .page-hero__title { font-size: 40px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .pillars, .pillars--2, .audience { grid-template-columns: 1fr; }
  .tab-panel__grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .cta-band__panel { padding: 36px 28px; }
  .crosslinks { grid-template-columns: 1fr; }
  .section__title { font-size: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .casestudy { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
