/* ============================================================
   Standard Reference — Cabinet d'expertise comptable
   Design system + global styles
   ============================================================ */

:root {
  /* Couleurs principales */
  --green:        #006600;
  --green-deep:   #004d00;
  --green-light:  #1a7a1a;
  --green-mid:    #c7e0c7;
  --green-pale:   #f0f7f0;
  --green-dark:   #0b1f0b;

  /* Noir / encre */
  --black:        #000000;
  --ink:          #1a1a1a;
  --grey:         #5a5a5a;
  --grey-soft:    #8a8a8a;

  /* Beige & sable (ajoutés) */
  --beige:        #f5efe3;
  --beige-deep:   #e8dec9;
  --beige-warm:   #d9caa6;
  --ivory:        #faf6ef;
  --cream:        #fafaf7;
  --paper:        #f7f4ec;

  /* Lignes & blanc */
  --line:         #e5e3dc;
  --line-light:   #f0ede5;
  --white:        #ffffff;

  /* Layout */
  --nav-h:        72px;
  --radius:       4px;
  --radius-lg:    14px;
  --max:          1280px;

  /* Easings */
  --ease:         cubic-bezier(.22, .61, .36, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease-in-out:  cubic-bezier(.65, 0, .35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.serif, h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

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

.mono-tag {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  z-index: 200;
  transition: width 0.08s linear;
}

/* ============ NAV ============ */
nav.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: space-between;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
nav.topnav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.04);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}
.brand-logo {
  height: 40px;
  width: auto;
  max-width: 220px;
  display: block;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease-out);
}
.brand:hover .brand-logo { opacity: 0.85; }
@media (max-width: 1280px) {
  .brand-logo { height: 36px; max-width: 200px; }
  .nav-links { gap: 24px; }
  .nav-links a:not(.nav-cta) { font-size: 13.5px; }
}
@media (max-width: 720px) {
  .brand-logo { height: 34px; max-width: 170px; }
  nav.topnav { padding: 0 18px; }
}
@media (max-width: 380px) {
  .brand-logo { max-width: 140px; height: 30px; }
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--grey);
  font-weight: 500;
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 13px 28px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(0, 102, 0, 0.22);
}
.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 102, 0, 0.32);
}
.nav-cta::after { display: none !important; }
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
  border: none;
  padding: 15px 30px;
  border-radius: 999px;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 102, 0, 0.18);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 102, 0, 0.28);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 15px 4px;
  gap: 12px;
}
.btn-ghost:hover { color: var(--green); gap: 18px; }
.btn-ghost::after {
  content: '→';
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-beige {
  background: var(--beige);
  color: var(--ink);
  border: 1px solid var(--beige-deep);
}
.btn-beige:hover {
  background: var(--beige-deep);
  transform: translateY(-1px);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 110%;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 14px,
    rgba(0, 102, 0, 0.045) 14px,
    rgba(0, 102, 0, 0.045) 16px
  );
  transform: skewY(-6deg);
  transform-origin: top right;
  pointer-events: none;
  animation: heroLines 20s linear infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 102, 0, 0.08), transparent 70%);
  pointer-events: none;
  animation: float 16s ease-in-out infinite;
}
@keyframes heroLines {
  0% { background-position: 0 0; }
  100% { background-position: 0 32px; }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -40px); }
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--green);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.02;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}
.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--green-deep);
  margin-bottom: 28px;
  font-weight: 400;
  min-height: 1.6em;
  line-height: 1.4;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 24px 22px;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, rgba(0,102,0,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 102, 0, 0.10);
}
.stat-card:hover::after { opacity: 1; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.4;
}
.stat-label strong {
  color: var(--black);
  font-weight: 600;
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* ============ PAGE HEADER (sub-pages) ============ */
.page-header {
  padding: calc(var(--nav-h) + 80px) 0 70px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 102, 0, 0.07), transparent 70%);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}
.crumbs {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  letter-spacing: 0.02em;
}
.crumbs a { color: var(--grey); transition: color 0.2s; }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { color: var(--grey-soft); }
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.04;
  margin-bottom: 22px;
  color: var(--black);
}
.page-header h1 em { color: var(--green); font-style: italic; }
.page-lead {
  font-size: 18px;
  color: var(--grey);
  max-width: 720px;
  line-height: 1.7;
}

/* ============ SEPARATOR ============ */
.separator {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--green-mid) 20%, var(--green-mid) 80%, transparent);
  position: relative;
}
.separator::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--white);
}

/* ============ SECTION BASE ============ */
section { padding: 110px 0; position: relative; }
section.light  { background: var(--paper); }
section.white  { background: var(--white); }
section.cream  { background: var(--cream); }
section.beige  { background: var(--beige); }
section.ivory  { background: var(--ivory); }
section.dark   { background: var(--green-dark); color: white; }

.section-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}
.section-header.left { text-align: left; margin-left: 0; }
.section-tag {
  color: var(--green);
  margin-bottom: 22px;
  display: inline-block;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 22px;
}
.section-title em { font-style: italic; color: var(--green); font-weight: 400; }
.section-sub {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}
.section-header.left .section-sub { margin-left: 0; }

/* ============ APPROCHE ============ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.approach-cell {
  background: var(--white);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.approach-cell:hover { background: var(--ivory); }
.approach-num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 38px;
  font-style: italic;
}
.approach-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.approach-text {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
}

/* ============ MISSIONS ============ */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mission {
  padding: 50px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: relative;
  transition: background 0.35s var(--ease);
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,102,0,0.03));
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.mission:hover { background: var(--ivory); }
.mission:hover::before { opacity: 1; }
.mission:hover .mission-icon { transform: scale(1.06) rotate(-3deg); }
.mission-num {
  position: absolute;
  top: 26px;
  right: 32px;
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--green);
  font-style: italic;
}
.mission-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  stroke: var(--green);
  stroke-width: 1.2;
  fill: none;
  transition: transform 0.4s var(--ease-out);
}
.mission-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.22;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.mission-desc {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}
.mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mission-tag {
  font-size: 11.5px;
  color: var(--green-deep);
  background: var(--green-mid);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* ============ ASSOCIES ============ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.associe {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border-radius: var(--radius);
}
.associe::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
}
.associe:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 102, 0, 0.10);
}
.associe-head {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.associe-photo-wrap {
  width: 140px;
  height: 170px;
  flex-shrink: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--green-pale), var(--beige));
  position: relative;
  overflow: hidden;
}
.associe-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.associe:hover .associe-photo { transform: scale(1.04); }
.associe-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 64px;
  font-weight: 500;
  color: var(--green);
  font-style: italic;
}
.associe-photo-wrap.fallback .associe-photo { display: none; }
.associe-photo-wrap.fallback .associe-photo-fallback { display: flex; }
.associe-info { flex: 1; padding-top: 4px; }
.associe-role {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.associe-name {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.associe-title {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}
.associe-bio {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 22px;
}
.associe-skills {
  margin-bottom: 28px;
  padding: 20px 22px;
  background: var(--green-pale);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
}
.skills-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-chip {
  font-size: 12px;
  color: var(--green-deep);
  background: var(--white);
  border: 1px solid var(--green-mid);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.25s;
  cursor: default;
}
.skill-chip:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-1px);
}
.associe-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s;
}
.contact-link:hover {
  background: var(--green-pale);
  border-color: var(--green);
  color: var(--green-deep);
}

/* ============ ACTUALITES ============ */
.actu-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
  padding: 18px 22px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.actu-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.actu-filter {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.actu-filter:hover { border-color: var(--green); color: var(--green); }
.actu-filter.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.actu-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  min-width: 240px;
}
.actu-search input {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  flex: 1;
  color: var(--ink);
}

.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.actu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.actu:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0, 102, 0, 0.10);
}
.actu-header {
  padding: 22px 26px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.actu-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.actu-cat[data-cat="social"]    { color: #8a4500; }
.actu-cat[data-cat="juridique"] { color: #224466; }
.actu-cat[data-cat="comptable"] { color: #5a2d6e; }
.actu-date {
  font-size: 11px;
  color: var(--grey-soft);
  font-family: 'Fraunces', serif;
  font-style: italic;
}
.actu-body {
  padding: 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.actu-title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.actu-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 22px;
}
.actu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.actu-source {
  font-size: 11px;
  color: var(--grey-soft);
  letter-spacing: 0.05em;
}
.actu-read {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.actu-read::after {
  content: '↗';
  transition: transform 0.25s var(--ease-out);
}
.actu:hover .actu-read::after { transform: translate(3px, -3px); }

.actu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 30px;
  color: var(--grey);
  background: var(--ivory);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ========== ARTICLE PAGE ========== */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0 100px;
}
.article-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 30px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 48px;
}
.article-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  font-size: 12px;
  color: var(--grey);
}
.article-meta .actu-cat { font-size: 10px; }
.article-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 18px;
}
.article-lead {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.65;
  font-style: italic;
  font-family: 'Fraunces', serif;
}
.article-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  padding: 0 48px;
}
.article-body h2 {
  font-size: 28px;
  margin: 48px 0 18px;
  line-height: 1.25;
  color: var(--black);
}
.article-body h3 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--black);
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 3px solid var(--green);
  background: var(--green-pale);
  padding: 18px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--green-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body a {
  color: var(--green-deep);
  border-bottom: 1px solid var(--green-mid);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.article-body a:hover { background: var(--green); color: white; border-color: var(--green); }
.article-source-box {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--grey);
}
.article-source-box strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 6px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--grey);
  font-weight: 500;
  transition: color 0.2s, gap 0.25s;
}
.article-back:hover { color: var(--green); gap: 12px; }

/* ============ OUTILS PAGE ============ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0,102,0,0.05));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-mid);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.tool-card:hover::after { opacity: 1; }
.tool-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tool-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--green-deep);
  flex-shrink: 0;
}
.tool-name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.01em;
}
.tool-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 2px;
}
.tool-desc {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
  flex-grow: 1;
}
.tool-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-feature {
  font-size: 11.5px;
  color: var(--ink);
  background: var(--beige);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.tool-cta {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s;
}
.tool-cta::after { content: '↗'; }
.tool-cta:hover { gap: 12px; }

.tools-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  color: white;
  padding: 56px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.tools-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199, 224, 199, 0.15), transparent 60%);
  pointer-events: none;
}
.tools-banner h3 {
  font-size: 32px;
  font-family: 'Fraunces', serif;
  margin-bottom: 12px;
  font-weight: 500;
  color: white;
}
.tools-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.tools-banner .btn-primary {
  background: white;
  color: var(--green-deep);
  white-space: nowrap;
}
.tools-banner .btn-primary:hover { background: var(--beige); }

/* ============ SIMULATEURS ============ */
.sim-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}
.sim-notice p { margin: 0; }
.sim-notice-tag {
  flex-shrink: 0;
  background: var(--green-deep);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: center;
}
.sim-notice strong { color: var(--green-deep); }
.sim-notice a { color: var(--green-deep); border-bottom: 1px solid var(--green); }
.sim-notice a:hover { background: var(--green); color: white; }

.sim-container {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 640px;
  overflow: hidden;
}
.sim-sidebar {
  background: var(--black);
  color: white;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.sim-sidebar-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}
.sim-sidebar-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.sim-tab {
  background: none;
  border: none;
  color: rgba(255,255,255,0.72);
  text-align: left;
  padding: 16px 0;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sim-tab:hover { color: white; padding-left: 6px; }
.sim-tab.active { color: var(--green-mid); font-weight: 600; }
.sim-tab.active::after { content: '→'; color: var(--green-mid); }
.sim-panel { display: none; padding: 48px; }
.sim-panel.active { display: block; animation: fadeIn 0.4s var(--ease-out); }
.sim-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sim-panel-eyebrow { color: var(--green); margin-bottom: 12px; display: block; }
.sim-title {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.sim-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 620px;
}
.sim-source-box {
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  padding: 14px 18px;
  margin-bottom: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.6;
}
.sim-source-box strong {
  color: var(--green-deep);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}
.sim-source-box a {
  color: var(--green-deep);
  border-bottom: 1px solid var(--green);
  font-weight: 500;
}
.sim-source-box a:hover { background: var(--green); color: white; }
.sim-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.sim-field { display: flex; flex-direction: column; gap: 8px; }
.sim-field.full { grid-column: 1 / -1; }
.sim-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.sim-field input,
.sim-field select {
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 15px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.sim-field input:focus,
.sim-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 102, 0, 0.10);
}
.sim-calc-btn {
  grid-column: 1 / -1;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
}
.sim-calc-btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.sim-result, .sim-tns-result {
  margin-top: 28px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--green-mid);
  display: none;
  border-radius: var(--radius);
  animation: fadeIn 0.4s var(--ease-out);
}
.sim-result.show, .sim-tns-result.show { display: block; }
.statut-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 980px) {
  .statut-grid:not(.two) { grid-template-columns: repeat(4, 1fr); }
}
.statut-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 20px;
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}
.statut-card:hover { transform: translateY(-2px); }
.statut-card.winner { border-color: var(--green); border-width: 2px; }
.statut-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}
.statut-card.winner .statut-title { color: var(--green-deep); }
.statut-value {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.statut-detail {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}
.statut-summary {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px;
  color: var(--ink);
}
.statut-summary strong { color: var(--green-deep); }
.sim-result-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.sim-result-head::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.sim-result-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-deep);
}
.sim-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sim-res-item { background: var(--white); padding: 22px 18px; }
.sim-res-val {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.sim-res-label {
  font-size: 11px;
  color: var(--grey);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sim-disclaimer {
  font-size: 11.5px;
  color: var(--grey);
  margin-top: 16px;
  line-height: 1.6;
  font-style: italic;
}
.tns-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.tns-compare-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.tns-compare-card:hover { transform: translateY(-2px); }
.tns-compare-card.winner { border-color: var(--green); border-width: 2px; }
.tns-compare-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}
.tns-compare-card.winner .tns-compare-title { color: var(--green-deep); }
.tns-compare-value {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.tns-compare-detail {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}
.tns-winner-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ============ CONTACT ============ */
#contact, .contact-section {
  background: var(--green-dark);
  color: white;
}
#contact .section-title, .contact-section .section-title { color: white; }
#contact .section-title em, .contact-section .section-title em { color: var(--green-mid); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.contact-left .section-tag { color: rgba(255, 255, 255, 0.55); }
.contact-intro {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 22px 0 44px;
  max-width: 480px;
}
.contact-infos {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-info-ic {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.contact-info-row:hover .contact-info-ic {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--green-mid);
}
.contact-info-ic svg { stroke: rgba(255,255,255,0.85); width: 18px; height: 18px; fill: none; stroke-width: 1.5; }
.contact-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.contact-info-val { font-size: 15px; color: white; line-height: 1.5; }
.contact-info-val a {
  color: white;
  border-bottom: 1px dotted rgba(255,255,255,0.35);
}
.contact-info-val a:hover { border-color: var(--green-mid); }
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  color: white;
}
.contact-form-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 14px;
  color: white;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-mid);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(199, 224, 199, 0.15);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form select option { background: var(--green-dark); color: white; }
.contact-submit {
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.contact-submit:hover { background: var(--green-light); transform: translateY(-1px); }
.contact-rgpd {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  line-height: 1.5;
}
#form-confirm {
  display: none;
  font-size: 13.5px;
  color: var(--green-mid);
  padding: 14px 16px;
  background: rgba(0, 102, 0, 0.18);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-mid);
  line-height: 1.55;
  animation: fadeIn 0.4s var(--ease-out);
}
#form-confirm.show { display: block; }
#form-confirm.error {
  color: #ffb4b4;
  background: rgba(180, 30, 30, 0.18);
  border-left-color: #ff8888;
}
.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============ FOOTER ============ */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name { color: white; }
.footer-brand img {
  height: 52px;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.25s;
}
.footer-col a:hover { color: var(--green-mid); padding-left: 6px; }
.footer-legal {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-legal-links a:hover { color: white; }

/* ============ TEMOIGNAGES ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.testi::before {
  content: '"';
  position: absolute;
  top: -28px;
  right: 18px;
  font-family: 'Fraunces', serif;
  font-size: 180px;
  color: var(--green-pale);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.testi:hover {
  transform: translateY(-4px);
  border-color: var(--green-mid);
  box-shadow: 0 18px 44px rgba(0, 102, 0, 0.10);
}
.testi-stars {
  font-size: 16px;
  color: var(--green);
  letter-spacing: 0.1em;
}
.testi-quote {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  margin: 0;
  position: relative;
  z-index: 1;
}
.testi-highlight {
  font-size: 13px;
  color: var(--green-deep);
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--green-pale);
  padding: 8px 14px;
  border-radius: 999px;
  align-self: flex-start;
}
.testi-author {
  background: transparent;
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.testi-author::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 22px;
  height: 1px;
  background: var(--green);
}
.testi-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--green-deep);
  letter-spacing: -0.005em;
  line-height: 1.2;
  padding-left: 32px;
  transition: color 0.3s;
}
.testi:hover .testi-name { color: var(--green); }
.testi-role {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--grey);
  padding-left: 32px;
  letter-spacing: 0.01em;
}

/* ============ HOME — TEASER CARDS ============ */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.teaser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 0.4s var(--ease-out);
}
.teaser:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.06); border-color: var(--green-mid); }
.teaser:hover::before { width: 100%; }
.teaser-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 12px;
  margin-bottom: 6px;
}
.teaser-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.5; }
.teaser-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: -0.015em;
}
.teaser-desc {
  font-size: 14.5px;
  color: var(--grey);
  line-height: 1.7;
  flex-grow: 1;
}
.teaser-arrow {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  transition: gap 0.25s;
}
.teaser-arrow::after { content: '→'; transition: transform 0.25s; }
.teaser:hover .teaser-arrow { gap: 12px; }
.teaser:hover .teaser-arrow::after { transform: translateX(4px); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  color: white;
  padding: 70px 56px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(199, 224, 199, 0.12), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
  color: white;
  position: relative;
  z-index: 2;
}
.cta-banner h2 em { color: var(--green-mid); font-style: italic; }
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-banner .btn-primary {
  background: white;
  color: var(--green-deep);
}
.cta-banner .btn-primary:hover { background: var(--beige); }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero h1, .hero-eyebrow, .hero-sub, .hero-actions, .hero-tagline {
  animation: fadeInUp 0.9s var(--ease-out) both;
}
.hero-eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-tagline { animation-delay: 0.30s; }
.hero-sub { animation-delay: 0.40s; }
.hero-actions { animation-delay: 0.55s; }
.hero-stats { animation: fadeInUp 1.1s var(--ease-out) 0.50s both; }

/* Typewriter */
.tw {
  display: inline-block;
  white-space: pre-wrap;
  letter-spacing: -0.01em;
}
.tw-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--green);
  font-weight: 400;
  animation: tw-blink 0.9s steps(2) infinite;
  transform: translateY(-1px);
}
.tw-cursor--typing { animation: none; opacity: 1; }
@keyframes tw-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }
.reveal.delay-6 { transition-delay: 0.48s; }

/* Page-transition: fade-in body */
.page-fade {
  animation: fadeIn 0.5s var(--ease-out);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero-inner, .team-grid, .contact-grid, .tools-banner { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { justify-self: stretch; max-width: 100%; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .missions-grid, .actu-grid, .tools-grid, .teasers, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-container { grid-template-columns: 1fr; }
  .sim-sidebar { padding: 24px; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sim-sidebar > .sim-tab { width: auto; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; }
  .sim-sidebar-title, .sim-sidebar-sub { width: 100%; }
}
@media (max-width: 1100px) {
  .container, .hero-inner, .page-header-inner, .article-hero-inner, .article-body { padding-left: 24px; padding-right: 24px; }
  nav.topnav { padding: 0 22px; }
  .burger { display: block; }
  .brand-logo { max-width: 240px; height: 40px; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--ivory) 0%, var(--beige) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 100px 32px 40px;
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease-out);
    z-index: 99;
    overflow-y: auto;
    list-style: none;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-links::after {
    content: '';
    position: absolute;
    top: 50%; right: -25vw;
    width: 70vw; height: 70vw;
    background: radial-gradient(circle, rgba(0, 102, 0, 0.08), transparent 65%);
    pointer-events: none;
    transform: translateY(-50%);
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .nav-links li:last-child { border-bottom: 0; padding-top: 24px; }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.24s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.30s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.36s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.42s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.48s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.54s; }
  .nav-links.open li:nth-child(8) { transition-delay: 0.60s; }
  .nav-links a {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--black) !important;
    width: 100%;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    position: relative;
  }
  .nav-links a::before {
    content: counter(menu, decimal-leading-zero);
    counter-increment: menu;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 0.18em;
    position: absolute;
    left: 0;
    top: 22px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-12px);
  }
  .nav-links { counter-reset: menu; }
  .nav-links a:hover, .nav-links a.active { padding-left: 36px; color: var(--green) !important; }
  .nav-links a:hover::before, .nav-links a.active::before { opacity: 1; transform: translateX(0); }
  .nav-links a::after {
    content: '→';
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    color: var(--grey-soft);
    transition: transform 0.3s, color 0.3s;
  }
  .nav-links a:hover::after { color: var(--green); transform: translateX(6px); }
  .nav-links a.active::after { color: var(--green); }
  .nav-links a.nav-cta {
    background: var(--green);
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 18px 28px !important;
    border-radius: 999px;
    width: auto;
    align-self: flex-start;
    box-shadow: 0 6px 22px rgba(0, 102, 0, 0.22);
  }
  .nav-links a.nav-cta:hover { color: white !important; padding-left: 28px !important; background: var(--green-deep); }
  .nav-links a.nav-cta::before, .nav-links a.nav-cta::after { display: none; }
  body.menu-open { overflow: hidden; }
  section { padding: 70px 0; }
  .hero { padding: calc(var(--nav-h) + 50px) 0 60px; }
  .approach-grid, .missions-grid, .actu-grid, .tools-grid, .teasers,
  .testimonials-grid, .sim-form, .footer-grid, .tns-compare-grid, .statut-grid {
    grid-template-columns: 1fr;
  }
  .sim-result-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-res-val { font-size: 22px; }
  .sim-res-item { padding: 18px 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .associe { padding: 28px 22px; }
  .associe-head { flex-direction: column; gap: 18px; }
  .associe-photo { width: 120px; height: 150px; }
  .associe-contact { grid-template-columns: 1fr; }
  .sim-panel { padding: 28px 20px; }
  .contact-form { padding: 28px 22px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .actu-toolbar { flex-direction: column; align-items: stretch; }
  .actu-search { min-width: 0; }
  .tools-banner { padding: 36px 28px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 42px; }
  .page-header h1 { font-size: 36px; }
  .sim-result-grid { grid-template-columns: 1fr; }
  .sim-res-val { font-size: 24px; word-break: break-word; }
  .sim-res-item { padding: 16px 14px; }
  .sim-result, .sim-tns-result { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  nav.topnav, .contact-form, .scroll-progress, .cta-banner { display: none; }
}
