:root{
  --bg-main:rgb(74, 79, 94);
  --bg-deep:#323749;

  --green-main:#2f8554;
  --green-soft:#8AC5A1;

  --text-main:#EAF0F6;
  --text-muted:#B2BECE;

  --card-top: rgba(255,255,255,0.16);
  --card-bot: rgba(255,255,255,0.08);
  --card-border: rgba(10, 59, 44, 0.26);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-soft: 0 22px 70px rgba(0,0,0,0.50);
  --shadow-card: 0 12px 32px rgba(0,0,0,0.30);

  --max-w: 1000px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html, body { overflow-x: hidden; }

img{ max-width:100%; height:auto; display:block; }

body {
  background:
    linear-gradient(
      rgba(74, 79, 94, 0.79),
      rgba(74, 79, 94, 0.79)
    ),
    radial-gradient(
      900px 600px at 70% 20%,
      rgba(138, 197, 161, 0.18),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #5f6774 0%,
      #545c68 45%,
      #4a515c 100%
    );

  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, auto;
  background-position: center, 70% 20%, center;
  background-attachment: scroll;

  color: #f1f6f4;
  margin: 0;
}

/* Container (manquait : c'est lui qui resserre le contenu) */
.container{
  width: min(var(--max-w), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header{ padding: 26px 0 44px; }

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:inherit;
}

/* Logo très grand */
.brand-mark{
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow:hidden;
  flex: 0 0 200px;

  border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  box-shadow: 0 18px 44px rgba(63,162,106,0.28);
}

.brand-logo{
  width:100%;
  height:100%;
  object-fit: cover;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.08;
}

.brand-name{
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -0.2px;
  line-height: 1.05;
}

.brand-tagline{
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.15;
}

/* Nav actions */
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav-link{
  color:var(--text-main);
  text-decoration:none;
  opacity:0.92;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}

.nav-link:hover{
  opacity:1;
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius: var(--radius-md);
  font-weight:800;
  text-decoration:none;
  border:1px solid var(--card-border);
  background: rgba(255,255,255,0.04);
  color:var(--text-main);
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{ transform: translateY(-1px); filter: brightness(1.04); }

.btn-primary{
  border:none;
  color:#07110C;
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  box-shadow: 0 14px 26px rgba(63,162,106,0.20);
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

/* Hero (corrigé) */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap:22px;
  margin-top: 22px;
  align-items:start;

  background: radial-gradient(
    800px 500px at 65% 30%,
    rgba(138, 197, 161, 0.12),
    transparent 50%
  );
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  padding:6px 12px;
  border-radius:999px;
  color:var(--text-muted);
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.14);
}

h1{
  font-size: clamp(34px, 3.4vw, 56px);
  line-height:1.06;
  margin:16px 0 12px;
  letter-spacing:-0.3px;
}

.accent{ color: var(--green-soft); }

.lead{
  margin:0 0 10px;
  font-size: 1.15rem;
  color: rgba(234,240,246,0.90);
}

/* Intro + repères */
.intro{
  margin: 12px 0 12px;
  max-width: 72ch;
  color: rgba(234,240,246,0.92);
  font-size: 1.05rem;
}

.intro-points{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.intro-points li{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.intro-points .k{
  color: rgba(178,190,206,0.95);
  font-size: 0.9rem;
}

.intro-points .v{
  font-weight: 900;
  color: #fff;
  font-size: 0.95rem;
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 16px 0 8px;
}

/* Chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 16px;
}

.chip{
  font-size:12px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(234,240,246,0.96);
}

/* Trust */
.trust{
  margin-top: 14px;
  display:grid;
  gap:8px;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color: var(--text-muted);
}

.dot{
  width: 7px;
  height: 7px;
  border-radius:50%;
  background: var(--green-main);
  box-shadow: 0 0 0 4px rgba(63,162,106,0.14);
}

/* Cards */
.card{
  position:relative;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(138,197,161,0.28), transparent 58%),
    radial-gradient(120% 90% at 90% 12%, rgba(63,162,106,0.22), transparent 62%),
    linear-gradient(180deg, var(--card-top), var(--card-bot));
  border:1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.card h3{
  margin:0 0 6px;
  font-size:15px;
  color:#fff;
}

.card p{ margin:0; color: rgba(234,240,246,0.90); }

.card:hover{
  border-color: rgba(138,197,161,0.32);
}

/* Sections */
.section{ padding: 44px 0; }

.section-head{
  max-width: 74ch;
  margin-bottom: 16px;
}

.section-head h2{
  margin:0 0 10px;
  font-size: 28px;
  letter-spacing:-0.1px;
}

.section-head p{
  margin:0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Lists */
.list{
  margin: 8px 0 0;
  padding-left: 18px;
  color: rgba(234,240,246,0.94);
}

.list li{ margin: 5px 0; }
.list li::marker{ color: var(--green-soft); }

/* Corporate */
.card-corporate{
  border-color: rgba(138,197,161,0.40);
  background:
    radial-gradient(130% 95% at 30% 0%, rgba(63,162,106,0.34), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.12));
}

.card-sub{
  margin: 6px 0 10px;
  color: rgba(234,240,246,0.90);
  font-size: 0.98rem;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}

.divider{
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin: 14px 0;
}

.muted{ color: var(--text-muted); }
.small{ font-size: 12px; }

/* Footer */
.footer{
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* Responsive */
@media (max-width: 900px){
  .nav{ flex-direction:column; align-items:flex-start; }
  .nav-actions{ justify-content:flex-start; }
}

@media (max-width: 760px){
  .grid-3{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }

  .brand-mark{
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    border-radius: 22px;
  }

  .brand-name{ font-size: 22px; }
  .brand-tagline{ font-size: 14px; }

  h1{ font-size: clamp(28px, 7.2vw, 40px); }
}

/* === Formats → Contact bridge === */
.formats-bridge {
  max-width: 720px;
  margin: 3.5rem auto 2.5rem;
  padding: 1.6rem 2.2rem;
  text-align: center;

  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);

  background: linear-gradient(
    180deg,
    rgba(63, 162, 106, 0.32),
    rgba(63, 162, 106, 0.20)
  );

  box-shadow:
    inset 0 0 0 1px rgba(138, 197, 161, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.35);

  border-radius: 20px;
  backdrop-filter: blur(8px);
}

/* === Carte fondatrice / Pourquoi TerraJob === */
.card-founder {
  max-width: 820px;
  margin: 3.5rem auto 3rem;
  padding: 2.2rem 2.6rem;

  background: linear-gradient(
    180deg,
    rgba(63, 162, 106, 0.22),
    rgba(63, 162, 106, 0.12)
  );

  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(138, 197, 161, 0.35),
    0 18px 42px rgba(0, 0, 0, 0.38);

  backdrop-filter: blur(10px);
}

.card-founder .card-title {
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #E8FFF3;
}

.card-founder .card-sub {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.2rem;
}

.card-founder strong {
  font-weight: 600;
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
  .card-founder {
    padding: 1.8rem 1.6rem;
    margin: 2.5rem 1rem 2.5rem;
  }

  .card-founder .card-title {
    font-size: 1.25rem;
  }
}

/* === Listes avec ✓ cerclés + animation douce === */
.card .list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.card .list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.55rem;
  line-height: 1.5;
}

.card .list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;

  width: 1.15rem;
  height: 1.15rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid rgba(138, 197, 161, 0.9);

  color: #3FA26A;
  font-size: 0.75rem;
  font-weight: 700;

  background: rgba(138, 197, 161, 0.18);

  transition: all 0.25s ease;
}

.card:hover .list li::before {
  transform: scale(1.08);
  background: rgba(63, 162, 106, 0.28);
  box-shadow: 0 0 0 4px rgba(63, 162, 106, 0.12);
}

/* === Filigrane mycélium global (stable, non étiré) === */
.bg-mycelium {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("mycelium.png");
  background-repeat: repeat;
  background-size: 1200px auto;
  background-position: center top;

  opacity: 0.22;
  pointer-events: none;
}