/* ═══════════════════════════════════════════════════════════════════
   Les Domaines du Terroir — Feuille de styles principale
   DA2 : Vivant & Zen — validée client
   ═══════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────── */
:root {
  --fond:        #F4F0E6;
  --fond2:       #EBE4D2;
  --vert:        #3D6B44;
  --vert2:       #2A4D30;
  --vert-pale:   #7BA882;
  --vert-light:  #B8D4BB;
  --encre:       #253028;
  --mangue:      #F5A623;
  --papaye:      #E8652A;
  --ananas:      #D4C020;
  --passion:     #8B3A8C;
  --goyave:      #E8607A;
  --banane:      #F2D44A;
  --citron:      #B8D400;
  --coco:        #C8A878;
  --sable:       #F9F4E8;
  --blanc:       #FDFCF8;
  --gris:        #8A9185;
  --terre:       #C07A3A;
}

/* ── Reset & Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--fond);
  color: var(--encre);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ── Cursor organique ────────────────────────────────────────────── */
#cursor {
  position: fixed; width: 12px; height: 12px;
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  background: var(--vert);
  transition: width .3s, height .3s, background .4s;
  mix-blend-mode: multiply;
}
#cursor.big { width: 48px; height: 48px; background: rgba(61,107,68,.15); }
.cursor-trail {
  position: fixed; pointer-events: none; z-index: 9998;
  border-radius: 50%; transform: translate(-50%, -50%);
  animation: trail-fade .8s forwards;
}
@keyframes trail-fade {
  from { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 0;  transform: translate(-50%,-50%) scale(.2); }
}

/* ── Canvas feuilles ─────────────────────────────────────────────── */
#leaves-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 1; }

/* ── Fond vivant ─────────────────────────────────────────────────── */
.living-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 65% at 15% 25%, rgba(184,212,187,.4) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 85% 75%, rgba(232,184,144,.2) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 75% 15%, rgba(212,192,32,.08) 0%, transparent 50%),
    var(--fond);
  animation: bg-shift 12s ease-in-out infinite;
}
@keyframes bg-shift {
  0%,100% { filter: hue-rotate(0deg) brightness(1); }
  33%     { filter: hue-rotate(8deg) brightness(1.02); }
  66%     { filter: hue-rotate(-5deg) brightness(.98); }
}

/* ── Navigation ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 clamp(2rem,5vw,5rem);
  display: flex; align-items: center; justify-content: space-between;
}
nav::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(244,240,230,.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61,107,68,.08);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s; z-index: -1;
}
nav.scrolled::after { transform: scaleY(1); }
.nav-logo {
  font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 500;
  color: var(--vert2); letter-spacing: .03em;
}
.nav-logo small {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: .6rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gris); margin-top: .1rem;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--gris);
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--vert);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--vert); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-btn {
  font-size: .75rem; font-weight: 700; background: var(--vert); color: var(--sable);
  padding: .55rem 1.5rem; border-radius: 100px;
  transition: background .3s, transform .2s, box-shadow .3s;
  box-shadow: 0 3px 12px rgba(61,107,68,.25);
}
.nav-btn:hover { background: var(--vert-pale); transform: translateY(-2px); }
.nav-mobile-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem;
}
.nav-mobile-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--vert2); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
@media(max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* ── Page hero (pages intérieures) ───────────────────────────────── */
.page-hero {
  padding: calc(6rem + 80px) clamp(2rem,6vw,5rem) clamp(4rem,8vw,6rem);
  position: relative; z-index: 10; overflow: hidden;
  min-height: 50vh; display: flex; align-items: flex-end;
}
.page-hero-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: blob-morph 10s ease-in-out infinite;
}
@keyframes blob-morph {
  0%,100% { transform: scale(1) rotate(0deg); border-radius: 50%; }
  33%     { transform: scale(1.06) rotate(4deg); border-radius: 55% 45% 60% 40%/50% 55% 45% 50%; }
  66%     { transform: scale(.96) rotate(-3deg); border-radius: 45% 55% 40% 60%/55% 45% 55% 45%; }
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(61,107,68,.1); border: 1px solid rgba(61,107,68,.2);
  border-radius: 100px; padding: .35rem 1rem;
  font-size: .7rem; font-weight: 600; color: var(--vert);
  margin-bottom: 1.5rem;
  opacity: 0; animation: up .6s .2s forwards;
}
.page-hero-tag::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--vert);
  animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}
.page-hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem,6vw,5rem); font-weight: 400; line-height: 1.05;
  color: var(--encre);
  opacity: 0; animation: up .7s .35s forwards;
}
.page-hero h1 em { font-style: italic; color: var(--vert); }
.page-hero-sub {
  margin-top: 1.25rem; font-size: 1rem; font-weight: 400;
  color: var(--gris); line-height: 1.75; max-width: 520px;
  opacity: 0; animation: up .7s .5s forwards;
}

/* ── Fruit strip ─────────────────────────────────────────────────── */
.fruit-strip {
  position: relative; z-index: 10;
  padding: .8rem 0; background: var(--encre);
  overflow: hidden;
}
.fruit-strip-inner {
  display: flex; white-space: nowrap;
  animation: strip-scroll 28s linear infinite;
}
.fruit-item {
  display: flex; align-items: center; gap: 1rem; padding: 0 2rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.fruit-emoji { font-size: 1.1rem; }
@keyframes strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section utilitaires ─────────────────────────────────────────── */
.section-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--vert); margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem,4vw,3.2rem); font-weight: 400;
  color: var(--encre); line-height: 1.2;
}
.section-header h2 em { font-style: italic; color: var(--vert); }
.section-header p {
  margin-top: 1rem; font-size: .9rem; color: var(--gris);
  max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ── Boutons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; font-size: .875rem; font-weight: 700;
  background: var(--vert); color: var(--sable);
  padding: 1rem 2.25rem; border-radius: 100px;
  transition: all .3s; box-shadow: 0 4px 20px rgba(61,107,68,.25);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; border-radius: 100px;
  background: linear-gradient(135deg, var(--mangue), var(--papaye));
  opacity: 0; transition: opacity .4s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(232,101,42,.3); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; color: var(--vert);
  padding: 1rem 1.75rem; border-radius: 100px;
  border: 1.5px solid rgba(61,107,68,.25); transition: all .3s;
}
.btn-outline:hover { border-color: var(--vert); background: rgba(61,107,68,.06); gap: .9rem; }

.btn-wa {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 700;
  background: #25D366; color: #fff;
  padding: 1rem 2rem; border-radius: 100px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.4); }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ── WhatsApp flottant ───────────────────────────────────────────── */
.wa-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  background: #25D366; color: white; border-radius: 100px;
  padding: .75rem 1.25rem .75rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Nunito', sans-serif; font-size: .85rem; font-weight: 700;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
  transition: transform .3s, box-shadow .3s; cursor: none;
  animation: wa-bounce 3s 3s infinite;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 35px rgba(37,211,102,.45);
  animation: none;
}
.wa-fab svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
@keyframes wa-bounce {
  0%,80%,100% { transform: translateY(0); }
  90%         { transform: translateY(-5px); }
}
@media(max-width: 400px) { .wa-fab span { display: none; } }

/* ── Value cards ─────────────────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
@media(max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--blanc); border-radius: 24px; padding: 2.5rem 2rem;
  box-shadow: 0 2px 20px rgba(61,107,68,.05);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  position: relative; overflow: hidden; cursor: none;
}
.value-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 20px 50px rgba(61,107,68,.12); }
.value-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 24px;
  opacity: 0; transition: opacity .4s;
}
.vc1::before { background: linear-gradient(135deg,rgba(184,212,187,.2) 0%,transparent 60%); }
.vc2::before { background: linear-gradient(135deg,rgba(245,166,35,.1) 0%,transparent 60%); }
.vc3::before { background: linear-gradient(135deg,rgba(141,198,63,.12) 0%,transparent 60%); }
.value-card:hover::before { opacity: 1; }
.value-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  position: relative;
}
.value-icon-wrap::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid transparent; transition: border-color .4s, transform .4s;
}
.value-card:hover .value-icon-wrap::after { transform: rotate(45deg); }
.vc1 .value-icon-wrap { background: rgba(61,107,68,.1); }
.vc1:hover .value-icon-wrap::after { border-color: rgba(61,107,68,.3); }
.vc2 .value-icon-wrap { background: rgba(245,166,35,.12); }
.vc2:hover .value-icon-wrap::after { border-color: rgba(245,166,35,.4); }
.vc3 .value-icon-wrap { background: rgba(141,198,63,.12); }
.vc3:hover .value-icon-wrap::after { border-color: rgba(141,198,63,.4); }
.value-card h3 { font-family: 'Lora',serif; font-size: 1.25rem; font-weight: 500; color: var(--encre); margin-bottom: .75rem; }
.value-card p  { font-size: .875rem; color: var(--gris); line-height: 1.7; }

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonials-section {
  padding: clamp(5rem,10vw,9rem) clamp(2rem,6vw,5rem);
  background: var(--vert2); position: relative; z-index: 10; overflow: hidden;
}
.testimonials-section::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,.03); top: -200px; right: -150px;
}
.testimonials-section::after {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(245,166,35,.06); bottom: -80px; left: -60px;
}
.t-header { text-align: center; margin-bottom: 3.5rem; position: relative; z-index: 1; }
.t-header .section-tag { color: var(--vert-light); }
.t-header h2 { font-family: 'Lora',serif; font-size: clamp(2rem,4vw,3rem); font-weight: 400; color: var(--sable); }
.t-header h2 em { font-style: italic; color: var(--mangue); }
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; position: relative; z-index: 1; }
@media(max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }
.t-card {
  background: rgba(255,255,255,.06); border-radius: 20px; padding: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .35s; cursor: none;
}
.t-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(255,255,255,.15); }
.t-stars { font-size: .9rem; letter-spacing: .12em; margin-bottom: 1rem; }
.t-text  { font-family: 'Lora',serif; font-style: italic; font-size: .975rem; color: rgba(253,250,244,.85); line-height: 1.65; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: .85rem; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.t-name { font-size: .875rem; font-weight: 600; color: var(--sable); }
.t-role { font-size: .7rem; color: rgba(253,250,244,.4); margin-top: .1rem; }

/* ── Instagram section ───────────────────────────────────────────── */
.instagram-section { padding: clamp(5rem,10vw,9rem) clamp(2rem,6vw,5rem); position: relative; z-index: 10; }
.ig-header, .ig-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.ig-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1.5rem; }
.ig-header h2 { font-family: 'Lora',serif; font-size: clamp(2rem,4vw,3rem); font-weight: 400; color: var(--encre); }
.ig-header h2 em { font-style: italic; color: var(--vert); }
.ig-handle {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--vert); border: 1.5px solid rgba(61,107,68,.25);
  padding: .5rem 1rem; border-radius: 100px; transition: all .3s;
  display: flex; align-items: center; gap: .4rem;
}
.ig-handle:hover { background: rgba(61,107,68,.07); border-color: var(--vert); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(2,390px);
  gap: .75rem;
}
@media(max-width: 600px) { .ig-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,160px); } }
.ig-item {
  border-radius: 16px; overflow: hidden; position: relative;
  cursor: none; background: var(--fond2); transition: transform .35s;
  aspect-ratio: 1 / 1;
}
.ig-item:hover { transform: scale(1.02); }
.ig-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ig-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.ig-item:nth-child(1) .ig-inner { font-size: 5rem; }
.ig-hover-overlay {
  position: absolute; inset: 0; border-radius: 16px;
  background: rgba(37,48,40,.7);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .5rem;
  opacity: 0; transition: opacity .3s;
}
.ig-item:hover .ig-hover-overlay { opacity: 1; }
.ig-hover-text { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sable); }
.ig-hover-icon { font-size: 1.5rem; }
.ig-item:nth-child(1) { background: linear-gradient(135deg,#1C3A20 0%,#2A4D30 100%); }
.ig-item:nth-child(2) { background: linear-gradient(135deg,#4A2810 0%,#7A4020 100%); }
.ig-item:nth-child(3) { background: linear-gradient(135deg,#2A3A10 0%,#3D5018 100%); }
.ig-item:nth-child(4) { background: linear-gradient(135deg,#3A1A2A 0%,#5A2840 100%); }
.ig-item:nth-child(5) { background: linear-gradient(135deg,#1E3A1A 0%,#2A5020 100%); }

/* ── Newsletter ──────────────────────────────────────────────────── */
.newsletter-section {
  margin: 0 clamp(2rem,6vw,5rem) clamp(4rem,8vw,7rem);
  border-radius: 32px; overflow: hidden; position: relative; z-index: 10;
}
.nl-inner {
  background: linear-gradient(135deg, var(--vert2) 0%, #1A3520 100%);
  padding: clamp(3rem,6vw,5rem); text-align: center; position: relative; overflow: hidden;
}
.nl-fruit { position: absolute; font-size: 3rem; opacity: .08; pointer-events: none; animation: nl-float var(--d,6s) ease-in-out infinite; }
@keyframes nl-float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(10deg); } }
.nlf1{top:1rem;left:5%;--d:7s} .nlf2{top:2rem;right:8%;--d:9s;animation-delay:1s}
.nlf3{bottom:1rem;left:15%;--d:6s;animation-delay:2s} .nlf4{bottom:.5rem;right:20%;--d:8s;animation-delay:.5s}
.nl-inner .section-tag { color: var(--vert-light); }
.nl-inner h2 { font-family: 'Lora',serif; font-size: clamp(1.75rem,3.5vw,2.8rem); font-weight: 400; color: var(--sable); margin-bottom: .75rem; }
.nl-inner h2 em { font-style: italic; color: var(--mangue); }
.nl-inner p { font-size: .9rem; color: rgba(249,244,232,.5); max-width: 400px; margin: 0 auto 2rem; line-height: 1.7; }
.nl-form { display: flex; gap: .75rem; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; position: relative; }
.nl-honey { position: absolute; left: -9999px; visibility: hidden; }
.nl-input {
  flex: 1; min-width: 220px; padding: .9rem 1.25rem; border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: var(--sable);
  font-family: 'Nunito',sans-serif; font-size: .875rem; outline: none;
  transition: border-color .3s, background .3s;
}
.nl-input:focus { border-color: rgba(245,166,35,.6); background: rgba(255,255,255,.12); }
.nl-input::placeholder { color: rgba(249,244,232,.3); }
.nl-btn {
  padding: .9rem 1.75rem; border-radius: 100px; border: none; cursor: none;
  background: linear-gradient(135deg, var(--mangue), var(--papaye));
  color: var(--blanc); font-family: 'Nunito',sans-serif; font-size: .875rem; font-weight: 700;
  transition: all .3s; box-shadow: 0 4px 20px rgba(245,166,35,.3);
}
.nl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,.4); }
.nl-msg { display: none; margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--vert-light); }
.nl-msg.show { display: block; }

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  background: var(--encre);
  padding: clamp(4rem,8vw,6rem) clamp(2rem,6vw,5rem) 2rem;
  position: relative; z-index: 10;
}
.footer-fruit-bar {
  height: 3px;
  background: linear-gradient(90deg,var(--mangue),var(--papaye),var(--goyave),var(--passion),var(--ananas),var(--citron),var(--vert-pale),var(--mangue));
  background-size: 200% auto;
  animation: fruit-bar-move 6s linear infinite;
  margin-bottom: 4rem; border-radius: 2px;
}
@keyframes fruit-bar-move { from { background-position: 0 0; } to { background-position: 200% 0; } }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
@media(max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer-logo { font-family: 'Lora',serif; font-size: 1.1rem; color: var(--sable); font-weight: 500; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.3); margin-top: .5rem; line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--vert-pale); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.3); transition: color .3s; }
.footer-col a:hover { color: var(--sable); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; color: rgba(255,255,255,.18); flex-wrap: wrap; gap: .5rem;
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: rgba(255,255,255,.25); font-size: .75rem; font-weight: 600; transition: color .3s; }
.footer-socials a:hover { color: var(--vert-pale); }

/* ── Plantes déco ────────────────────────────────────────────────── */
.plant-deco { position: absolute; pointer-events: none; animation: plant-sway 6s ease-in-out infinite; transform-origin: bottom center; }
.plant-deco.p-left  { bottom: 0; left: -20px; width: 180px; animation-delay: 0s; }
.plant-deco.p-right { bottom: 0; right: 0; width: 220px; animation-delay: 1.5s; transform-origin: bottom right; }
.plant-deco.p-top   { top: 80px; right: 80px; width: 120px; animation: plant-float 8s ease-in-out infinite; }
@keyframes plant-sway {
  0%,100% { transform: rotate(0deg); } 25% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); }
}
@keyframes plant-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%     { transform: translateY(-12px) rotate(4deg); }
  66%     { transform: translateY(-6px) rotate(-3deg); }
}

/* ── Fruit badges flottants ──────────────────────────────────────── */
.fruit-badge {
  position: absolute; border-radius: 100px;
  font-size: .7rem; font-weight: 700; padding: .4rem .9rem;
  display: flex; align-items: center; gap: .35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  animation: badge-float 4s ease-in-out infinite;
  white-space: nowrap; z-index: 2;
}
.fb1 { bottom: 2rem; right: -1.5rem; background: var(--blanc); color: var(--vert); animation-delay: 0s; }
.fb2 { top: 3rem; left: -1.5rem; background: var(--mangue); color: #fff; animation-delay: 1.5s; }
.fb3 { top: 45%; right: -2rem; background: var(--goyave); color: #fff; animation-delay: .8s; font-size: .65rem; }
@keyframes badge-float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-8px) rotate(1deg); }
}

/* ── Prod cards ──────────────────────────────────────────────────── */
.prod-card {
  background: var(--blanc); border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(61,107,68,.06);
  transition: transform .4s, box-shadow .4s; cursor: none;
}
.prod-card:hover { transform: translateY(-6px) rotate(.3deg); box-shadow: 0 16px 40px rgba(61,107,68,.12); }
.prod-img-wrap { height: 200px; overflow: hidden; position: relative; background: var(--fond2); }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: saturate(.85); }
.prod-card:hover .prod-img-wrap img { transform: scale(1.08); filter: saturate(1.15); }
.prod-color-bar { height: 4px; width: 100%; }
.prod-body { padding: 1.5rem; }
.prod-name { font-family: 'Lora',serif; font-size: 1.1rem; font-weight: 500; color: var(--encre); margin-bottom: .2rem; }
.prod-role { font-size: .75rem; color: var(--gris); margin-bottom: .75rem; }
.prod-tag  { display: inline-block; font-size: .65rem; font-weight: 700; padding: .25rem .7rem; border-radius: 100px; margin-right: .3rem; margin-bottom: .3rem; }

/* ── Forms ───────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--encre); margin-bottom: .4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .85rem 1.1rem;
  border: 1.5px solid rgba(61,107,68,.18);
  border-radius: 12px; background: var(--blanc);
  font-family: 'Nunito',sans-serif; font-size: .875rem; color: var(--encre);
  outline: none; transition: border-color .3s, box-shadow .3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--vert); box-shadow: 0 0 0 4px rgba(61,107,68,.08);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gris); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-honey { position: absolute; left: -9999px; visibility: hidden; }
.form-submit {
  width: 100%; padding: 1rem; border: none; border-radius: 100px; cursor: none;
  background: linear-gradient(135deg, var(--mangue), var(--papaye));
  color: #fff; font-family: 'Nunito',sans-serif; font-size: .95rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,166,35,.3); transition: all .3s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,.4); }
.form-msg { display: none; margin-top: 1rem; padding: .75rem 1rem; border-radius: 12px; font-size: .85rem; font-weight: 600; }
.form-msg.success { display: block; background: rgba(61,107,68,.1); color: var(--vert); }
.form-msg.error   { display: block; background: rgba(232,96,122,.1); color: var(--goyave); }

/* ── Info cards ──────────────────────────────────────────────────── */
.info-card {
  background: var(--blanc); border-radius: 20px; padding: 2rem;
  box-shadow: 0 4px 20px rgba(61,107,68,.06);
  display: flex; flex-direction: column; gap: .75rem;
}
.info-card-icon { font-size: 2rem; }
.info-card h3 { font-family: 'Lora',serif; font-size: 1.1rem; font-weight: 500; color: var(--encre); }
.info-card p  { font-size: .85rem; color: var(--gris); line-height: 1.65; }
.info-card a  { font-size: .85rem; font-weight: 600; color: var(--vert); }

/* ── Fruits carousel ─────────────────────────────────────────────── */
.fruits-carousel {
  display: flex; gap: 1.25rem;
  padding: 0 clamp(2rem,6vw,5rem) 1.5rem;
  overflow-x: auto; scrollbar-width: none; cursor: grab;
}
.fruits-carousel::-webkit-scrollbar { display: none; }
.fruits-carousel:active { cursor: grabbing; }
.fruit-card { flex-shrink: 0; border-radius: 24px; overflow: hidden; position: relative; cursor: none; transition: transform .4s; }
.fruit-card:hover { transform: scale(1.03) translateY(-4px); }
.fc-img { width: 240px; height: 320px; object-fit: cover; display: block; transition: transform .6s; filter: saturate(.8); }
.fruit-card:hover .fc-img { transform: scale(1.08); filter: saturate(1.2); }
.fc-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(37,48,40,.95) 0%,transparent 55%); }
.fc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; transform: translateY(6px); transition: transform .4s; }
.fruit-card:hover .fc-body { transform: none; }
.fc-tag { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .35rem; }
.fc-name { font-family: 'Lora',serif; font-size: 1.3rem; font-weight: 500; color: var(--sable); line-height: 1.1; }
.fc-origin { font-size: .7rem; color: rgba(249,244,232,.45); margin-top: .3rem; }
.fc-btn {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem;
  background: rgba(255,255,255,.12); color: var(--sable);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s .1s, transform .3s .1s, background .3s;
}
.fruit-card:hover .fc-btn { opacity: 1; transform: none; }
.fc-btn:hover { background: rgba(255,255,255,.2); }

/* ── Growth stat ─────────────────────────────────────────────────── */
.growth-stat {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--blanc); border-radius: 16px; padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 30px rgba(61,107,68,.12); z-index: 2; min-width: 160px;
}
.gs-num { font-family: 'Lora',serif; font-size: 2rem; font-weight: 600; color: var(--vert); line-height: 1; }
.gs-label { font-size: .65rem; color: var(--gris); margin-top: .2rem; }
.gs-bar { margin-top: .75rem; height: 4px; background: rgba(61,107,68,.12); border-radius: 2px; overflow: hidden; }
.gs-fill { height: 100%; background: linear-gradient(90deg,var(--vert),var(--citron)); width: 0; border-radius: 2px; transition: width 1.5s cubic-bezier(.4,0,.2,1); }

/* ── Stat band ───────────────────────────────────────────────────── */
.stat-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--vert2); position: relative; z-index: 10;
}
@media(max-width:700px) { .stat-band { grid-template-columns: repeat(2,1fr); } }
.stat-item {
  padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08);
  opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s;
}
.stat-item:last-child { border-right: none; }
.stat-item.on { opacity: 1; transform: none; }
.stat-num { font-family: 'Lora',serif; font-size: clamp(2.5rem,5vw,4rem); font-weight: 600; color: var(--mangue); line-height: 1; }
.stat-label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: .5rem; }

/* ── Tabs ────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.tab-btn {
  font-size: .8rem; font-weight: 600; padding: .6rem 1.5rem;
  border-radius: 100px; border: 1.5px solid rgba(61,107,68,.2);
  background: transparent; color: var(--gris); cursor: none;
  transition: all .3s;
}
.tab-btn.active { background: var(--vert); color: var(--sable); border-color: var(--vert); }
.tab-btn:hover:not(.active) { border-color: var(--vert); color: var(--vert); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Quote block ─────────────────────────────────────────────────── */
.quote-block {
  background: linear-gradient(135deg,rgba(61,107,68,.06) 0%,rgba(245,166,35,.05) 100%);
  border-left: 3px solid var(--vert); border-radius: 0 14px 14px 0;
  padding: 1.25rem 1.5rem; margin: 1.75rem 0;
  font-family: 'Lora',serif; font-style: italic; font-size: 1rem;
  color: var(--vert); line-height: 1.6;
}
.quote-author { font-family: 'Nunito',sans-serif; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--gris); margin-top: .5rem; display: block; }

/* ── Reveal animations ───────────────────────────────────────────── */
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.reveal   { opacity: 0; transform: translateY(24px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-l { opacity: 0; transform: translateX(-24px); transition: opacity .7s, transform .7s; }
.reveal-r { opacity: 0; transform: translateX(24px);  transition: opacity .7s, transform .7s; }
.reveal.on, .reveal-l.on, .reveal-r.on { opacity: 1; transform: none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s} .d4{transition-delay:.4s}

/* ── Sections padding ────────────────────────────────────────────── */
.section { padding: clamp(5rem,10vw,9rem) clamp(2rem,6vw,5rem); position: relative; z-index: 10; }
.section-dark { background: var(--encre); }
.section-sand { background: var(--fond2); }
.section-fruits { background: var(--encre); }


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — Les Domaines du Terroir
   Ajouts purement mobiles, desktop intact
   ═══════════════════════════════════════════════════════════════════ */

/* ── Désactiver curseur custom sur tactile ───────────────────────── */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  #cursor, .cursor-trail { display: none !important; }
  * { cursor: auto !important; }
}

/* ── Nav mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav {
    height: 64px;
    padding: 0 1.25rem;
  }
  .nav-logo-img img {
    height: 52px;
  }
  .nav-btn { display: none; }
  .nav-mobile-btn { display: flex; cursor: pointer; }

  /* Hamburger animation */
  .nav-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Menu mobile overlay ─────────────────────────────────────────── */
/*
 * NOTE: on n'utilise PAS display:none ici car ça bloque la transition CSS.
 * Le menu est toujours dans le flux (position:fixed), masqué via
 * visibility + opacity. Sur desktop (≥769px) on force display:none car
 * le hamburger n'y est de toute façon pas visible.
 */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 190;
  background: rgba(244,240,230,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(61,107,68,.1);
  padding: 2rem 1.5rem 2.5rem;
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  /* visibility se referme après la transition opacity (délai = durée) */
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              opacity .3s,
              visibility 0s linear .35s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* à l'ouverture, visibility s'applique immédiatement */
  transition: transform .35s cubic-bezier(.4,0,.2,1),
              opacity .3s,
              visibility 0s linear 0s;
}
/* Sur desktop le hamburger est caché, inutile d'avoir le menu dans le rendu */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}
.mobile-nav-links {
  list-style: none;
  display: flex; flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.mobile-nav-links a {
  display: block;
  font-size: 1.15rem; font-weight: 500;
  color: var(--encre);
  padding: .85rem .5rem;
  border-bottom: 1px solid rgba(61,107,68,.07);
  transition: color .25s, padding-left .25s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--vert); padding-left: .75rem; }
.mobile-nav-cta {
  display: inline-block;
  background: var(--vert); color: var(--sable);
  font-size: .9rem; font-weight: 700;
  padding: .8rem 2rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 12px rgba(61,107,68,.25);
  transition: background .3s;
}
.mobile-nav-cta:hover { background: var(--vert-pale); }
.mobile-menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem; color: var(--gris);
  border-top: 1px solid rgba(61,107,68,.1);
  padding-top: 1rem;
}

/* ── Hero mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: calc(5rem + 64px) 1.5rem 4rem !important;
    min-height: 100svh !important;
  }
  .plant-deco.p-right,
  .plant-deco.p-top { display: none; }
  .plant-deco.p-left { width: 120px; opacity: .5; }

  /* Blobs plus petits */
  .hero-blob.hb1 { width: 340px !important; height: 340px !important; top: -8% !important; right: -20% !important; }
  .hero-blob.hb2 { width: 260px !important; height: 260px !important; }
  .hero-blob.hb3 { display: none; }

  .hero-h1 { font-size: clamp(2.5rem, 10vw, 3.5rem) !important; }
  .hero-sub { font-size: .9rem !important; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .875rem !important; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .scroll-hint { display: none; }
}

/* ── Page hero intérieure mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: calc(4rem + 64px) 1.5rem 3rem !important; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem) !important; }
}

/* ── Fruit strip ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .fruit-item { padding: 0 1.25rem; font-size: .65rem; gap: .6rem; }
  .fruit-emoji { font-size: .9rem; }
}

/* ── Values grid ─────────────────────────────────────────────────── */
/* Déjà responsive (1fr) grâce à l'existant, rien à ajouter */

/* ── About section grid ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── Fruit badges : pas de débordement sur mobile ────────────────── */
@media (max-width: 768px) {
  .fruit-badge.fb2 { left: 0.5rem !important; top: 1rem !important; }
  .fruit-badge.fb3 { right: 0.5rem !important; top: auto !important; bottom: 5.5rem; }
  .fruit-badge.fb1 { right: 0.5rem !important; bottom: 2.5rem !important; }
}

/* ── Growth stat : dans le flux sur mobile ───────────────────────── */
@media (max-width: 768px) {
  .growth-stat {
    position: static !important;
    margin-top: 1.25rem;
    border-radius: 16px;
    width: 100%;
    min-width: auto;
    box-shadow: 0 4px 20px rgba(61,107,68,.1);
  }
  .about-visual-wrap {
    padding-bottom: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── Fruits carousel ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .fruits-carousel { padding: 0 1rem 1.25rem; gap: .875rem; }
  .fc-img { width: 180px; height: 250px; }
  /* Le bouton "Commander" toujours visible sur mobile (pas de hover) */
  .fc-btn { opacity: 1 !important; transform: none !important; }
}

/* ── Producteurs grid ────────────────────────────────────────────── */
.producteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .producteurs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .producteurs-grid { grid-template-columns: 1fr; }
}

/* ── Stat band ───────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .stat-item { padding: 1.75rem 1rem; }
}

/* ── Testimonials ────────────────────────────────────────────────── */
/* Déjà 1fr via media existant, rien à ajouter */

/* ── Instagram grid ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ig-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }
  .ig-item { aspect-ratio: 1 / 1; }
  .ig-inner { font-size: 2.5rem !important; }
  /* Hover overlay toujours visible sur mobile */
  .ig-hover-overlay { opacity: 1 !important; background: rgba(37,48,40,.5) !important; }
}

/* ── Newsletter ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .newsletter-section { margin: 0 0 3rem; border-radius: 0; }
  .nl-form { flex-direction: column; align-items: stretch; }
  .nl-input { min-width: auto; width: 100%; }
  .nl-btn { width: 100%; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
}

/* ── WhatsApp FAB ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .wa-fab {
    bottom: 1.25rem; right: 1.25rem;
    padding: .75rem 1rem .75rem .875rem;
  }
}

/* ── Sections padding global sur petit écran ─────────────────────── */
@media (max-width: 480px) {
  .section { padding: 3.5rem 1.25rem; }
  .testimonials-section { padding: 3.5rem 1.25rem; }
  .instagram-section { padding: 3.5rem 1.25rem; }
}

/* ── Titre de section ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .section-header { margin-bottom: 2.5rem; }
  .ig-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ig-handle { font-size: .7rem; }
}

/* ── Page-specific grids (intérieures) ───────────────────────────── */
@media (max-width: 768px) {
  /* Grids 2-colonnes → 1 colonne */
  [class*="two-col"],
  .two-col { grid-template-columns: 1fr !important; }
}

