/* =========================================================
   SERRES MAGUEUR — Site vitrine
   Direction artistique : premium / cinématographique
   Réalisation : Viryma.ai
   ========================================================= */

/* ---------- TOKENS ---------- */
:root {
  --bg:        #0c0a09;
  --bg-2:      #14100d;
  --surface:   #1b1612;
  --surface-2: #241c16;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);

  --red:        #e63426;
  --red-bright: #ff5034;
  --green:      #7cb342;
  --green-soft: #a4d76a;
  --cream:      #f3ead9;
  --gold:       #e8c97e;

  --text:  #f2ede4;
  --muted: #a89d8f;
  --wa:    #25d366;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body:    "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --radius:   18px;
  --radius-s: 12px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.accent { color: var(--red-bright); font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-soft);
  margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.eyebrow .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(230, 52, 38, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px rgba(230, 52, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 52, 38, 0); }
}

.note {
  font-size: .82rem; color: var(--muted); font-style: italic;
  margin-top: .9rem; opacity: .75;
}
.note.center { text-align: center; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

.section { padding: clamp(70px, 10vw, 140px) 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

/* ---------- BUTTONS ---------- */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; border: var(--bw) solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--sm  { padding: .65rem 1.2rem; font-size: .85rem; }
.btn--full { width: 100%; }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(230, 52, 38, .65);
}
.btn--primary:hover { box-shadow: 0 18px 44px -10px rgba(230, 52, 38, .8); }

.btn--outline { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--outline:hover { border-color: var(--green-soft); color: var(--green-soft); }

.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__mark { display: inline-block; animation: floaty 2.4s ease-in-out infinite; }
.pl-tomato { fill: var(--red); }
.pl-leaf  { fill: var(--green); }
.preloader__text {
  font-family: var(--ff-display); font-size: 1.1rem;
  letter-spacing: .4em; margin: 1.2rem 0 1rem; color: var(--cream);
  padding-left: .4em;
}
.preloader__bar {
  width: 180px; height: 2px; background: var(--line-2);
  margin-inline: auto; overflow: hidden; border-radius: 2px;
}
.preloader__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--red));
  animation: load 1.5s var(--ease) forwards;
}
@keyframes load   { to { width: 100%; } }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--red));
  z-index: 1000; transition: width .1s linear;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 10px 0;
}
.header.is-scrolled {
  background: rgba(12, 10, 9, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  filter: drop-shadow(0 6px 14px rgba(230, 52, 38, .35));
  transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name strong { font-family: var(--ff-display); font-size: 1.18rem; font-weight: 600; }
.brand__name em {
  font-style: normal; font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; gap: 30px; }
.nav a {
  position: relative; font-size: .94rem; font-weight: 500;
  color: var(--text); padding: 4px 0; opacity: .82;
  transition: opacity .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 0; background: var(--red);
  transition: width .3s var(--ease);
}
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.icon-link {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text);
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
}
.icon-link:hover {
  background: var(--red); border-color: var(--red); color: #fff;
  transform: translateY(-3px);
}

/* ---------- BURGER ---------- */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 12px; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero__glow {
  position: absolute; z-index: 1;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -12%; right: -10%;
  background: radial-gradient(circle, rgba(230,52,38,.34), transparent 62%);
  filter: blur(40px); pointer-events: none;
}
.hero__media {
  position: absolute; inset: -8% 0 0; z-index: 0;
  will-change: transform;
}
.hero__media .media-placeholder { width: 100%; height: 116%; border-radius: 0; }
.hero__media .photo { height: 118%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(12,10,9,.55) 0%, rgba(12,10,9,.35) 38%, var(--bg) 96%),
    linear-gradient(90deg, rgba(12,10,9,.85) 0%, rgba(12,10,9,.2) 70%);
}

.hero__content {
  position: relative; z-index: 4;
  max-width: var(--container); width: 100%;
  margin-inline: auto; padding-inline: 28px;
}
.hero__eyebrow {
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green-soft); display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: 1.4rem;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 12px var(--red);
}
.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 500; letter-spacing: -.02em;
  margin-bottom: 1.6rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__lead {
  max-width: 540px; color: #d8d0c4; font-size: 1.12rem;
  margin-bottom: 2.2rem;
}
.hero__lead strong { color: var(--cream); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; z-index: 4;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 50px; background: var(--line-2); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--green-soft); animation: scrolldown 1.8s var(--ease) infinite;
}
@keyframes scrolldown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: linear-gradient(90deg, var(--red), #b9261b);
  padding: 16px 0; overflow: hidden; white-space: nowrap;
  border-block: 1px solid rgba(0,0,0,.2);
}
.marquee__track {
  display: inline-flex; gap: 28px; align-items: center;
  animation: scrollx 32s linear infinite;
}
.marquee__track span {
  font-family: var(--ff-display); font-size: 1.15rem; font-style: italic;
  color: #fff;
}
.marquee__track .sep { color: rgba(255,255,255,.55); font-size: .8rem; font-style: normal; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.hero__title .line > span {
  opacity: 0; transform: translateY(105%);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
}
.hero__title .line.is-in > span { opacity: 1; transform: none; }

/* ---------- MEDIA PLACEHOLDER ---------- */
.media-placeholder {
  position: relative; width: 100%; height: 100%;
  min-height: 220px; border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px dashed var(--line-2);
  display: grid; place-items: center; overflow: hidden;
}
.media-placeholder::before {
  content: ""; position: absolute; width: 56px; height: 56px;
  border-radius: 50%; background: radial-gradient(circle at 38% 35%, var(--red-bright), var(--red));
  top: 50%; left: 50%; transform: translate(-50%, calc(-50% - 28px));
  box-shadow: 0 10px 30px -8px rgba(230,52,38,.6);
  opacity: .9;
}
.media-placeholder span {
  position: relative; margin-top: 40px;
  font-size: .82rem; letter-spacing: .04em; color: var(--muted);
  text-align: center; padding: 0 16px;
}
.media-placeholder--map { min-height: 380px; }

/* ---------- PHOTOS RÉELLES ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- EXPLOITATION ---------- */
.exploitation__media { position: relative; }
.exploitation__frame {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85);
  border: 1px solid var(--line);
}
.exploitation__badge {
  position: absolute; right: -22px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  padding: 16px 20px; border-radius: var(--radius-s);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.8);
}
.exploitation__badge svg { color: var(--gold); flex-shrink: 0; }
.exploitation__badge strong { font-family: var(--ff-display); font-size: 1.5rem; display: block; }
.exploitation__badge span { font-size: .78rem; color: var(--muted); }

.exploitation__text p { color: var(--muted); margin-top: 1.1rem; }
.exploitation__text p strong { color: var(--cream); font-weight: 600; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 2.4rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.stat strong {
  font-family: var(--ff-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text); display: block;
}
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- CARDS (tomates) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease),
              box-shadow .4s var(--ease);
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: 0 36px 60px -30px rgba(0,0,0,.85);
}
.card__media { aspect-ratio: 1 / 1; }
.card__media .media-placeholder { border: none; border-radius: 0; }
.card__body { padding: 22px 22px 26px; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .92rem; color: var(--muted); }

/* ---------- ENGAGEMENTS ---------- */
.engagements { background: var(--bg-2); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-8px); border-color: var(--green-soft); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(124,179,66,.22), rgba(124,179,66,.05));
  color: var(--green-soft); border: 1px solid rgba(124,179,66,.25);
}
.feature h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ---------- SAVÉOL BANNER ---------- */
.saveol {
  background:
    radial-gradient(circle at 80% 0%, rgba(124,179,66,.16), transparent 55%),
    var(--surface);
  border-block: 1px solid var(--line);
  padding: clamp(60px, 8vw, 110px) 0;
}
.saveol__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.saveol__text p:last-child { color: var(--muted); margin-top: 1rem; }
.saveol__text h2 { margin-top: .3rem; }
.saveol__logo-panel {
  background: #fff; border-radius: var(--radius);
  padding: 13% 12%;
  box-shadow: 0 34px 64px -26px rgba(0,0,0,.75);
}
.saveol__logo-panel img { width: 100%; height: auto; display: block; }

/* ---------- RECRUTEMENT ---------- */
.recrutement {
  background:
    radial-gradient(circle at 10% 0%, rgba(230,52,38,.12), transparent 45%),
    var(--bg);
}
.grid-recrutement {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 64px); align-items: start;
}
.why h3, .offers h3 { margin-bottom: 1.4rem; }
.why__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.why__list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: #ded6c9; font-size: .98rem;
}
.why__list svg { color: var(--green-soft); flex-shrink: 0; margin-top: 3px; }
.why__media {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 10; border: 1px solid var(--line);
}
.why__media .media-placeholder { aspect-ratio: 16 / 10; }

.offers { display: flex; flex-direction: column; gap: 16px; }
.offer {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-s); padding: 22px 24px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.offer:hover { transform: translateX(6px); background: var(--surface-2); }
.offer__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.offer__top h4 { font-size: 1.18rem; font-family: var(--ff-display); }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 100px;
  background: rgba(230,52,38,.16); color: var(--red-bright);
  border: 1px solid rgba(230,52,38,.3); white-space: nowrap;
}
.tag--alt {
  background: rgba(124,179,66,.16); color: var(--green-soft);
  border-color: rgba(124,179,66,.3);
}
.offer__meta { font-size: .8rem; color: var(--muted); margin: .4rem 0 .6rem; }
.offer p { font-size: .92rem; color: var(--muted); }
.offer__apply {
  display: inline-block; margin-top: .9rem;
  font-weight: 600; font-size: .9rem; color: var(--green-soft);
  transition: transform .25s var(--ease);
}
.offer__apply:hover { transform: translateX(4px); }

/* ---------- APPLY CARD + FORMS ---------- */
.apply-card {
  margin-top: 48px;
  display: grid; grid-template-columns: .85fr 1.15fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.apply-card__intro {
  padding: clamp(30px, 4vw, 48px);
  background:
    radial-gradient(circle at 100% 100%, rgba(37,211,102,.14), transparent 60%),
    var(--surface-2);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
.apply-card__intro p { color: var(--muted); }

.wa-inline {
  display: inline-flex; align-items: center; gap: .6rem;
  align-self: flex-start; margin-top: .4rem;
  padding: .8rem 1.3rem; border-radius: 100px;
  background: var(--wa); color: #06311b; font-weight: 700; font-size: .9rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 12px 28px -10px rgba(37,211,102,.6);
}
.wa-inline:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(37,211,102,.75); }

.apply-form, .contact__form { padding: clamp(28px, 4vw, 44px); }
.contact__form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact__form h3, .apply-form h3 { margin-bottom: 1.3rem; }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-s); color: var(--text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(124,179,66,.16);
}
.field input.invalid, .field textarea.invalid { border-color: var(--red-bright); }
.field select { appearance: none; cursor: pointer; }

.form-status { font-size: .88rem; margin-top: .9rem; min-height: 1.2em; }
.form-status.ok  { color: var(--green-soft); }
.form-status.err { color: var(--red-bright); }

/* ---------- GALERIE ---------- */
.galerie { background: var(--bg-2); }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px; gap: 18px;
  grid-auto-flow: dense;
}
.gallery__item { border-radius: var(--radius); overflow: hidden; }
.gallery__item .media-placeholder { border: none; border-radius: 0; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item .media-placeholder,
.gallery__item .photo { transition: transform .6s var(--ease); }
.gallery__item:hover .media-placeholder,
.gallery__item:hover .photo { transform: scale(1.06); }

/* ---------- CONTACT ---------- */
.grid-2--contact { align-items: start; }
.contact__info > p { color: var(--muted); margin-top: 1rem; }

.contact__list { margin: 2.2rem 0; display: flex; flex-direction: column; gap: 6px; }
.contact__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.contact__ico {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(230,52,38,.12); color: var(--red-bright);
  border: 1px solid rgba(230,52,38,.22);
}
.contact__list strong {
  display: block; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.contact__list a, .contact__list div > a { font-size: 1.02rem; color: var(--text); }
.contact__list a[href]:hover { color: var(--green-soft); }

.social { display: flex; align-items: center; gap: 12px; }
.social span {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-right: 4px;
}

.map { margin-top: 60px; }
.map__frame {
  display: block; width: 100%; height: 440px; border: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
}

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; padding: 70px 0 50px;
}
.footer__brand p { color: var(--muted); font-size: .92rem; margin: 1rem 0 1.4rem; max-width: 340px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer h4 {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.footer__nav a, .footer__contact a, .footer__contact p {
  color: #cfc7ba; font-size: .94rem;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--green-soft); }

.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}
.footer__bottom a { color: var(--green-soft); }

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 950;
  display: flex; align-items: center; gap: 0;
  height: 62px; padding: 0; border-radius: 100px;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.7);
  overflow: hidden; max-width: 62px;
  transition: max-width .45s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.wa-float svg { width: 62px; min-width: 62px; height: 62px; padding: 16px; }
.wa-float__label {
  font-weight: 700; font-size: .92rem; white-space: nowrap;
  padding-right: 22px;
}
.wa-float:hover { max-width: 320px; transform: translateY(-3px); }
.wa-float.is-nudge { animation: nudge 1.2s var(--ease); }
@keyframes nudge {
  0%,100% { transform: scale(1); }
  30%     { transform: scale(1.12); }
  60%     { transform: scale(.97); }
}

/* ---------- BACK TO TOP ---------- */
.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 940;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--text); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              background .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); border-color: var(--red); }

/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }

  /* mobile nav panel */
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0;
    width: min(82vw, 360px); height: 100svh;
    background: var(--surface); border-left: 1px solid var(--line);
    padding: 110px 32px 40px; z-index: 880;
    box-shadow: -30px 0 60px -20px rgba(0,0,0,.8);
  }
  .nav.is-open a {
    font-family: var(--ff-display); font-size: 1.5rem; opacity: 1;
    padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  .nav.is-open a::after { display: none; }

  .cards    { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }

  .grid-2, .saveol__inner, .grid-recrutement,
  .grid-2--contact { grid-template-columns: 1fr; }

  .exploitation__media { order: 2; max-width: 520px; }
  .saveol__logo { max-width: 420px; }

  .apply-card { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 640px) {
  .container, .header__inner, .hero__content { padding-inline: 20px; }

  .hero { padding-top: 120px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .brand__name em { display: none; }

  .cards, .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .field-row { grid-template-columns: 1fr; }

  .exploitation__badge { right: 12px; bottom: 12px; padding: 12px 16px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; }

  .wa-float { right: 16px; bottom: 16px; }
  .wa-float:hover { max-width: 62px; }
  .to-top { left: 16px; bottom: 16px; }

  .map__frame { height: 320px; }

  .marquee__track span { font-size: 1rem; }
}

/* =========================================================
   ACCESSIBILITÉ — réduction des animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero__title .line > span { opacity: 1; transform: none; }
}

/* =========================================================
   RGPD — BANDEAU COOKIES & CARTE SOUS CONSENTEMENT
   ========================================================= */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 990; width: min(880px, calc(100% - 32px));
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px -16px rgba(0, 0, 0, .85);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  display: flex; align-items: center; gap: 22px; padding: 18px 22px;
}
.cookie-banner__text strong {
  font-family: var(--ff-display); font-size: 1.05rem;
  display: block; margin-bottom: 3px; color: var(--text);
}
.cookie-banner__text p { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.cookie-banner__text a { color: var(--green-soft); }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

.map-consent {
  min-height: 380px; border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: grid; place-items: center; text-align: center; padding: 40px 24px;
}
.map-consent__inner { max-width: 440px; }
.map-consent__inner svg { color: var(--red-bright); margin-bottom: 14px; }
.map-consent__inner h3 { font-size: 1.15rem; margin-bottom: 8px; }
.map-consent__inner p { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }

@media (max-width: 640px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* =========================================================
   PAGES LÉGALES (mentions légales, confidentialité)
   ========================================================= */
.legal-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: rgba(12, 10, 9, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.legal-back { font-size: .9rem; color: var(--muted); }
.legal-back:hover { color: var(--green-soft); }
.legal { max-width: 820px; margin: 0 auto; padding: 56px 28px 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.legal__updated { color: var(--muted); font-size: .84rem; margin-bottom: 38px; }
.legal h2 {
  font-size: 1.25rem; margin: 34px 0 10px; color: var(--green-soft);
  padding-top: 18px; border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.legal p, .legal li { color: #cfc7ba; font-size: .95rem; line-height: 1.7; }
.legal p { margin-bottom: 11px; }
.legal ul { padding-left: 22px; margin-bottom: 11px; list-style: disc; }
.legal li { margin-bottom: 5px; }
.legal a { color: var(--green-soft); }
.legal .ph {
  background: rgba(230, 52, 38, .12); border: 1px dashed rgba(230, 52, 38, .45);
  border-radius: 5px; padding: 1px 7px; color: #f0a89f; font-size: .9em;
}
.legal-footer {
  border-top: 1px solid var(--line); padding: 28px;
  text-align: center; color: var(--muted); font-size: .82rem;
}
.legal-footer a { color: var(--green-soft); }
