/* Mise en page : en-tête blanc collant, bandes pleine largeur alternant blanc / bleu très clair / marine,
   contenu centré à 1200 px avec gouttière de sécurité. Charte claire et institutionnelle. */
:root {
  --navy: #0b2545;      /* bleu marine — titres, bandes fortes */
  --navy-2: #13315c;
  --blue: #1d6fe0;      /* bleu électrique — actions */
  --cyan: #19b8d6;      /* cyan — accents technologiques */
  --green: #2e9e4f;     /* vert agricole */
  --gold: #c9a227;      /* or — touches discrètes */
  --gold-soft: #fbf4dd;
  --bg: #ffffff;
  --tint: #f2f6fb;
  --line: #dce5ef;
  --ink: #15243a;
  --muted: #55657b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11,37,69,.08);
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1232px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: .9rem; }
.placeholder { color: #8a6d00; background: var(--gold-soft); border: 1px dashed var(--gold); border-radius: 6px; padding: 0 .45em; font-style: italic; }
.eyebrow, .kicker { font-family: var(--display); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.h-sub { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; }
.caption { font-size: .82rem; color: var(--muted); text-align: right; padding: .4rem max(16px, env(safe-area-inset-right, 0px)) 0; margin: 0; }
.caption--light { color: #a9bdd6; padding-inline: 0; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 30px; height: 30px; color: var(--blue); }
.ico--xl { width: 64px; height: 64px; }

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.45em; border-radius: 10px; border: 2px solid transparent; font-family: var(--display); font-weight: 700; font-size: .92rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .55em 1.05em; font-size: .85rem; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--navy); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #dbb53a; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn--outline:hover { background: var(--tint); }
.btn--light { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--light:hover { border-color: var(--blue); }
.btn--wa { background: #25d366; color: #063d1c; margin-top: 1.2rem; }
.btn--wa:hover { background: #1fbe5a; }

/* ===== En-tête ===== */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header.scrolled { box-shadow: 0 6px 20px rgba(11,37,69,.08); }
.header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); min-width: 0; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; white-space: nowrap; }
.brand__text small { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 1.15rem; margin-left: auto; }
.nav a { font-family: var(--display); font-size: .84rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a.btn { color: var(--white); }
.nav__drop { position: relative; }
.nav__droplink { display: inline-flex; align-items: center; gap: .25em; }
.nav__menu { position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; display: none; }
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__menu a { display: block; padding: .6rem .8rem; border-radius: 8px; }
.nav__menu a:hover { background: var(--tint); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: block; }
.header__tools { display: flex; align-items: center; gap: .5rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { background: var(--white); border: 0; padding: .45em .62em; font: 700 .76rem var(--display); color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

/* ===== Accueil ===== */
.hero { background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 70%); position: relative; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.hero h1 { margin-bottom: .5em; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__badge { justify-self: center; width: min(100%, 400px); }
.hero__badge img { width: 100%; filter: drop-shadow(0 18px 34px rgba(11,37,69,.18)); }
.hero__scene { margin: 0; }
.hero__scene img { display: block; width: 100%; height: clamp(180px, 30vw, 420px); object-fit: cover; object-position: center 62%; }
.facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .2rem; }
.facts strong { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.facts li:nth-child(2) strong { color: var(--green); }
.facts li:nth-child(3) strong { color: var(--gold); }
.facts li:nth-child(4) strong { color: var(--blue); }
.facts span { font-size: .92rem; color: var(--muted); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-block: 2.2rem 3.5rem; }
.glance > div { border-top: 3px solid var(--cyan); padding-top: .9rem; }
.glance > div:nth-child(2) { border-color: var(--green); }
.glance > div:nth-child(3) { border-color: var(--blue); }
.glance > div:nth-child(4) { border-color: var(--gold); }
.glance__t { font-size: 1rem; margin-bottom: .35em; }
.glance p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ===== Sections ===== */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe6f3; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--cyan); }
.section--navy .lead { color: #b8cbe2; }
.head { max-width: 760px; margin-bottom: 2.6rem; }
.head--left { margin-bottom: 1.4rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.grid { display: grid; gap: 1.2rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card--flat { background: var(--tint); border-color: transparent; }
.card--navy { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #dbe6f3; }
.card--navy p { color: #c3d3e6; }
.tag { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--cyan); color: var(--navy); font: 800 .95rem var(--display); margin-bottom: 1rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.ticks li { position: relative; padding-left: 1.7em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/65% no-repeat; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.ticks--light li { color: #dbe6f3; }
.ticks--light li::before { background-color: var(--cyan); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #e8f5ec; color: #1d6b37; border-radius: 999px; padding: .35em .9em; font-weight: 600; font-size: .93rem; }
.chips--blue li { background: #e6f0fd; color: var(--navy); }

/* À propos */
.mvv { display: grid; gap: 1rem; }
.mvv > div { background: var(--tint); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.mvv h3 { margin-bottom: .25em; font-size: 1.05rem; color: var(--blue); }
.mvv p { margin: 0; color: var(--muted); }
.chain { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.chain li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.chain h3 { font-size: 1rem; margin-bottom: .2em; }
.chain p { margin: 0; font-size: .92rem; color: var(--muted); }
.chain__n { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font: 800 .95rem var(--display); }
.chain--planned { border-style: dashed !important; border-color: var(--gold) !important; }
.chain--planned .chain__n { background: var(--gold); color: var(--navy); }

/* Entreprises */
.profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.3rem, 3vw, 2.2rem); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.profile__visual { border-radius: 14px; display: grid; place-items: center; align-content: center; gap: .6rem; min-height: 220px; align-self: start; }
.profile__visual--agri { background: linear-gradient(150deg, #2e9e4f, #1b6e37); color: var(--white); font: 700 .95rem var(--display); text-align: center; padding: 1.5rem; }
.profile__visual--logo { background: var(--white); border: 1px solid var(--line); padding: 1.2rem; }
.profile__visual--logo img { width: 100%; max-width: 200px; }
.profile__visual--round img { border-radius: 50%; }
.profile__role { font: 700 .76rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.profile h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.profile__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.meta { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.meta div { display: grid; gap: .1rem; }
.meta dt { font: 700 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; }
.bags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: .4rem 0 1.2rem; }
.bags figure { margin: 0; background: var(--tint); border-radius: 12px; padding: .8rem .6rem .7rem; display: grid; justify-items: center; gap: .4rem; text-align: center; }
.bags img { height: 190px; width: auto; max-width: 100%; object-fit: contain; transition: transform .3s; }
.bags figure:hover img { transform: translateY(-4px) scale(1.03); }
.bags figcaption { font-size: .85rem; font-weight: 600; color: var(--navy); }
.flow { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.flow li { display: grid; gap: .4rem; justify-items: start; padding: .8rem; border-radius: 10px; background: var(--tint); font-size: .9rem; font-weight: 600; color: var(--navy); }
.flow .ico { color: var(--blue); }

/* Catalogue */
.catalogue { margin-top: 3rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter { border: 1px solid var(--line); background: var(--white); color: var(--navy); padding: .5em 1em; border-radius: 999px; font: 600 .88rem var(--display); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.product { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product__visual { height: 120px; display: grid; place-items: center; background: linear-gradient(135deg, #eaf3fc, #f4faf6); color: var(--blue); }
.product__visual .ico { width: 44px; height: 44px; }
.product__visual--photo { height: 220px; background: var(--white); border-bottom: 1px solid var(--line); padding: .8rem; }
.product__visual--photo img { height: 196px; width: auto; max-width: 100%; object-fit: contain; }
.product__visual--views { position: relative; display: block; height: 220px; padding: 0; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.product__visual--views .view { margin: 0; height: 100%; display: grid; place-items: center; padding: .8rem .8rem 2.4rem; }
.product__visual--views .view img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product__visual--views .view--cover { padding: 0; display: block; }
.product__visual--views .view--cover img { width: 100%; height: 100%; object-fit: cover; }
.product__visual--views .ill-tag { bottom: 2.6rem; }
.view-tabs { position: absolute; left: 0; right: 0; bottom: .5rem; display: flex; justify-content: center; gap: .35rem; }
.view-tabs button { border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--navy); font: 600 .74rem var(--display); padding: .25em .75em; border-radius: 999px; cursor: pointer; }
.view-tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.product__visual--cover { padding: 0; position: relative; display: block; overflow: hidden; }
.product__visual--cover img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.product__visual--ill { position: relative; height: 220px; padding: 0; border-bottom: 1px solid var(--line); background: var(--tint); }
.product__visual--ill svg { display: block; width: 100%; height: 100%; }
.ill-tag { position: absolute; left: .6rem; bottom: .6rem; background: rgba(11,37,69,.78); color: var(--white); font: 600 .68rem var(--display); letter-spacing: .06em; padding: .25em .6em; border-radius: 6px; }
.product__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product__cat { font: 700 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.product h4 { margin: .35em 0 .4em; font-size: 1rem; }
.product p { color: var(--muted); font-size: .93rem; flex: 1; }
.product__meta { font-size: .85rem; background: var(--tint); border-radius: 8px; padding: .45em .7em; margin-bottom: .9rem; }
.planned { position: absolute; top: .7rem; right: .7rem; background: var(--gold); color: var(--navy); font: 800 .68rem var(--display); letter-spacing: .08em; text-transform: uppercase; padding: .3em .6em; border-radius: 6px; }

/* Agriculture */
.projectfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.projectfacts > div { display: grid; gap: .25rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--tint); }
.projectfacts .ico { color: var(--green); }
.projectfacts span { font-size: .85rem; color: var(--muted); }
.projectfacts strong { font-family: var(--display); color: var(--navy); font-size: 1rem; }
.twocol { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.2rem; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.panel h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.panel h3 .ico { color: var(--green); }
.genetics { margin-top: 3.2rem; }
.genetics__intro { max-width: 780px; margin-bottom: 1.6rem; }
.genetics .card h4 { margin-top: .8rem; }
.gallery-head { margin-top: 3.2rem; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery li { min-width: 0; }
.gallery__wide { grid-column: span 2; }
.gallery { grid-auto-flow: dense; }
.gallery button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery__wide img { aspect-ratio: auto; max-height: 100%; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; text-align: left; color: var(--white); font: 600 .9rem var(--font); background: linear-gradient(transparent, rgba(11,37,69,.82)); }
.genetics__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.genetics__photos figure { margin: 0; }
.genetics__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.genetics__photos figcaption { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.profile__visual--photo { padding: 0; overflow: hidden; }
.profile__visual--photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.modal--photo { background: rgba(5,15,30,.9); }
.lightbox { position: relative; margin: 0; max-width: min(1100px, 100%); display: grid; gap: .6rem; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 10px; }
.lightbox figcaption { color: #e3ecf7; text-align: center; }
.lightbox .modal__close { top: -.4rem; right: -.4rem; background: var(--white); }
.expansion { margin-top: 3.5rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 18px; background: linear-gradient(140deg, #eef7f1, #eef4fb); border: 1px solid var(--line); }
.status { background: var(--gold-soft); border: 1px solid #e7cf7c; border-radius: 10px; padding: .8rem 1rem; font-size: .95rem; color: #5a4700; }
.expansion__why { background: var(--white); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); align-self: start; }
.expansion__why ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .6rem; color: var(--muted); }

/* Agro-industrie */
.badge-planned { display: inline-flex; align-items: center; gap: .5rem; background: var(--gold); color: var(--navy); font: 700 .85rem var(--display); padding: .5em 1em; border-radius: 999px; }
.mill { margin: 0 0 2rem; }
.mill svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.status-table { margin-top: 2rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; }
.status-table > div { display: grid; grid-template-columns: 1fr 1fr; }
.status-table span { padding: .85rem 1.1rem; border-top: 1px solid rgba(255,255,255,.12); }
.status-table span + span { border-left: 1px solid rgba(255,255,255,.12); }
.status-table__head span { font: 700 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; border-top: 0; }
.status-table__head span:first-child { background: rgba(46,158,79,.25); color: #bff0cf; }
.status-table__head span:last-child { background: rgba(201,162,39,.25); color: #f6e3a1; }

/* Partenariats */
.turkey { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid #e30a17; }
.turkey__flag { display: inline-grid; place-items: center; width: 44px; height: 30px; background: #e30a17; color: var(--white); font: 800 .8rem var(--display); border-radius: 4px; margin-bottom: .8rem; }
.turkey__others { align-self: center; }
.whycm { margin-block: 3rem; }
.opps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; }
.opps li { display: flex; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .2s; }
.opps li:hover { border-color: var(--blue); }
.opps span { font: 800 1rem var(--display); color: var(--cyan); min-width: 2ch; font-variant-numeric: tabular-nums; }
.opps p { margin: 0; font-weight: 600; color: var(--navy); }
.cta-band { border-radius: 20px; padding: clamp(1.8rem, 5vw, 3.2rem); background: linear-gradient(120deg, var(--navy), #164a8a 60%, #0f6f8a); color: #dbe6f3; text-align: center; display: grid; justify-items: center; gap: .4rem; }
.cta-band h3 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2.1rem); max-width: 26ch; text-transform: uppercase; letter-spacing: .01em; }
.cta-band p { max-width: 56ch; margin-bottom: 1.2rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; gap: .15rem; }
.label { font: 700 .72rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.copyable { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.copyable a { font-size: 1.12rem; font-weight: 700; color: var(--navy); text-decoration: none; user-select: all; }
.copy { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: .15em .6em; font: 600 .78rem var(--display); color: var(--blue); cursor: pointer; }
.formbox { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs button { background: var(--tint); border: 0; border-bottom: 3px solid transparent; padding: 1rem .6rem; font: 700 .9rem var(--display); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--navy); border-bottom-color: var(--blue); }
.form { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--navy); min-width: 0; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: #f8fafd; border: 1px solid #cfdae7; border-radius: 10px; padding: .72em .85em; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; background: var(--white); }
.form .invalid { border-color: #c62828; background: #fff6f6; }
.form__error { margin: 0; color: #b71c1c; font-weight: 600; min-height: 1em; }
.form .btn { justify-self: start; }
.sent { display: grid; gap: .7rem; padding: 1rem; border-radius: 12px; background: #eaf7ef; border: 1px solid #9ad3ab; }
.sent p { margin: 0; }
.sent textarea { font-size: .88rem; background: var(--white); }
.sent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.sent__actions .btn--wa { margin-top: 0; }

/* Pied de page */
.footer { background: var(--navy); color: #c3d3e6; padding-block: 3.5rem 2rem; }
.footer a { color: #e3ecf7; text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand p { margin: 1rem 0 0; font-size: .95rem; max-width: 40ch; }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__logo { width: 56px; height: 56px; background: var(--white); }
.brand--light small { color: var(--gold); }
.footer__col { display: grid; gap: .45rem; align-content: start; font-size: .95rem; min-width: 0; overflow-wrap: anywhere; }
.footer__col .label { color: var(--gold); margin-bottom: .3rem; }
.footer__legal { padding-top: 1.5rem; font-size: .88rem; color: #9fb4cd; }
.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: .9rem; }
.footer__links button { background: none; border: 0; padding: 0; color: #e3ecf7; font: 600 .9rem var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__links button:hover { color: var(--cyan); }
.footer__copy { margin: 0; color: #8098b5; }

/* Fenêtre légale */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(11,37,69,.55); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal__box { position: relative; background: var(--white); border-radius: 16px; width: min(720px, 100%); max-height: 85vh; overflow-y: auto; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.modal__close { position: absolute; top: .7rem; right: .8rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); }
.modal__body p { color: var(--ink); }
.modal__body h3 { font-size: 1rem; margin-top: 1.2em; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 180%); background: var(--navy); color: var(--white); padding: .9em 1.3em; border-radius: 12px; box-shadow: var(--shadow); z-index: 95; transition: transform .3s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green)); z-index: 61; }

/* ===== Assistant (chat) ===== */
.cb { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; font-family: var(--font); }
.cb__launch { display: inline-flex; align-items: center; gap: .55rem; border: 0; cursor: pointer; background: var(--navy); color: var(--white); padding: .85rem 1.15rem; border-radius: 999px; font: 700 .88rem var(--display); box-shadow: 0 10px 28px rgba(11,37,69,.32); transition: transform .15s, background .2s; }
.cb__launch:hover { transform: translateY(-2px); background: var(--blue); }
.cb__launch .ico { width: 22px; height: 22px; }
.cb--open .cb__launch { display: none; }
.cb__panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(11,37,69,.28); overflow: hidden; }
.cb__panel[hidden] { display: none; }
.cb__head { display: flex; align-items: center; gap: .7rem; padding: .8rem .9rem; background: var(--navy); color: var(--white); }
.cb__logo { width: 36px; height: 36px; border-radius: 50%; background: var(--white); flex-shrink: 0; }
.cb__id { display: grid; min-width: 0; flex: 1; }
.cb__id strong { font: 700 .95rem var(--display); }
.cb__phone { color: #9fe3f2; font-size: .82rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__phone:hover { text-decoration: underline; }
.cb__x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.cb__log { flex: 1; overflow-y: auto; padding: 1rem .9rem; display: flex; flex-direction: column; gap: .7rem; background: var(--tint); }
.cb__msg { max-width: 88%; display: grid; gap: .45rem; }
.cb__msg p { margin: 0; padding: .65rem .85rem; border-radius: 14px; font-size: .94rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cb__msg--bot p { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--ink); }
.cb__msg--user { align-self: flex-end; }
.cb__msg--user p { background: var(--blue); color: var(--white); border-top-right-radius: 4px; }
.cb__msg small { font-size: .74rem; color: var(--muted); }
.cb__msg--team p { border-color: #e7cf7c; background: #fffbea; }
.cb__teamtag { font: 700 .72rem var(--display); color: #8a6d00; letter-spacing: .02em; }
.cb__wa--big { padding: .55em 1em; font-size: .84rem; }
.cb__ask { border: 0; cursor: pointer; background: var(--navy); color: var(--white); font: 700 .84rem var(--display); padding: .55em 1em; border-radius: 999px; }
.cb__ask:hover { background: var(--blue); }
.cb__ask:disabled { opacity: .6; cursor: wait; }
.cb__msg--fromteam p { border-color: #9ad3ab; background: #eaf7ef; }
.cb__teamtag--ok { color: #1d6b37; }
.cb--unread .cb__launch::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e53935; margin-left: .2rem; }
.cb__bar { display: flex; justify-content: flex-end; padding: .35rem .9rem 0; background: var(--white); border-top: 1px solid var(--line); }
.cb__new { border: 0; background: none; color: var(--blue); font: 600 .76rem var(--display); cursor: pointer; padding: .2em 0; }
.cb__new:hover { text-decoration: underline; }
.cb__acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.cb__wa { display: inline-flex; align-items: center; background: #25d366; color: #063d1c; font: 700 .78rem var(--display); padding: .4em .8em; border-radius: 999px; text-decoration: none; }
.cb__go { display: inline-grid; place-items: center; width: 30px; height: 28px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--blue); text-decoration: none; font-weight: 700; }
.cb__chips { display: flex; gap: .4rem; overflow-x: auto; padding: .6rem .9rem; border-top: 1px solid var(--line); background: var(--white); scrollbar-width: thin; }
.cb__chip { flex-shrink: 0; border: 1px solid var(--line); background: var(--white); color: var(--navy); font: 600 .78rem var(--display); padding: .4em .8em; border-radius: 999px; cursor: pointer; }
.cb__chip:hover { border-color: var(--blue); color: var(--blue); }
.cb__form { display: flex; gap: .5rem; padding: .7rem .9rem .9rem; background: var(--white); }
.cb__form input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: .65em .8em; border: 1px solid #cfdae7; border-radius: 10px; background: #f8fafd; }
.cb__form input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; background: var(--white); }
.cb__send { width: 44px; border: 0; border-radius: 10px; background: var(--blue); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.cb__send .ico { width: 20px; height: 20px; }
.cb__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .cb__launch-t { display: none; }
  .cb__launch { padding: .9rem; }
  .cb--open { left: 0; right: 0; bottom: 0; }
  .cb__panel { width: 100%; height: min(78vh, 600px); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* Animations sobres : le contenu est visible au repos, il glisse doucement en arrivant à l'écran */
.anim .reveal.in { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.anim .hero__badge img { animation: badge-in 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes badge-in { from { opacity: 0; transform: scale(.88); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1440px) {
  .brand__text small { display: none; }
  .nav { gap: .95rem; }
  .nav a { font-size: .8rem; }
}
@media (max-width: 1320px) {
  .nav-toggle { display: block; }
  .header__tools { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .4rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav__menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
  .nav__menu::before { display: none; }
  .nav__menu a { border-radius: 0; padding: .6rem 0; font-weight: 500; }
  .nav__droplink .ico { display: none; }
  .nav a.btn { margin-top: .9rem; border-bottom: 0; }
}
@media (max-width: 1000px) {
  .grid--4, .facts, .glance, .chain, .projectfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero__inner, .split, .twocol, .expansion, .turkey, .profile { grid-template-columns: minmax(0, 1fr); }
  .hero__badge { order: -1; width: min(60vw, 240px); }
  .grid--3, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile__visual { min-height: 0; padding-block: 1.4rem; }
  .profile__visual--logo img { max-width: 140px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: .95rem; }
  .brand__logo { width: 42px; height: 42px; }
  .grid--3, .grid--4, .gallery, .facts, .glance, .chain, .projectfacts, .row, .opps, .ticks--2, .footer__top, .genetics__photos { grid-template-columns: minmax(0, 1fr); }
  .gallery__wide { grid-column: auto; }
  .gallery__wide img { aspect-ratio: 4 / 3; }
  .bags { gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bags img { height: 130px; }
  .bags figcaption { font-size: .75rem; }
  .status-table > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: .9rem; }
  .status-table span { padding: .7rem .7rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .lang button { padding: .45em .5em; }
}
@media (max-width: 400px) {
  .header__inner { gap: .6rem; }
  .brand { gap: .45rem; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__text strong { font-size: .78rem; letter-spacing: .01em; }
  .lang button { padding: .4em .42em; font-size: .7rem; }
  .nav-toggle { padding: 10px 2px; }
}
