:root {
  --forest: #0b3d2e;
  --green: #2e7d32;
  --cream: #f8f6f1;
  --gold: #c8a96b;
  --black: #111111;
  --clay: #9d6042;
  --mist: #e6ece4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--gold);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader img {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(11, 61, 46, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(200, 169, 107, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
}

.brand-mark img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand-text {
  max-width: 190px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(200, 169, 107, 0.9);
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: 130px clamp(20px, 7vw, 110px) 82px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/etangs-piscicoles-3.webp")
    center/cover no-repeat;
  transform: scale(1.06);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 22, 16, 0.9), rgba(3, 22, 16, 0.48) 52%, rgba(3, 22, 16, 0.22)),
    linear-gradient(0deg, rgba(3, 22, 16, 0.7), rgba(3, 22, 16, 0));
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 16px 40px rgba(200, 169, 107, 0.26);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 34px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: cue 1.6s infinite;
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.25;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 18px);
  }
}

.section,
.gallery-section,
.sustainability-section,
.contact-section {
  padding: clamp(74px, 9vw, 130px) clamp(20px, 6vw, 96px);
}

.split-section,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.about-text p,
.detail-card p,
.news-card p {
  color: rgba(17, 17, 17, 0.72);
}

.signature-card {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.signature-card span {
  display: block;
  color: var(--green);
  font-weight: 700;
}

.image-panel,
.activity-card,
.testimonial,
.news-card,
.contact-form {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  height: min(680px, 72vh);
  object-fit: cover;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 46px;
  text-align: center;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.activity-card {
  position: relative;
  min-height: 460px;
  color: var(--white);
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(17, 17, 17, 0.22);
}

.activity-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}

.activity-card:hover img {
  transform: scale(1.07);
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 31, 23, 0.92), rgba(5, 31, 23, 0.12));
}

.activity-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.activity-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.activity-card li {
  position: relative;
  padding-left: 22px;
}

.activity-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.icon {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--forest);
  color: var(--white);
  padding: clamp(42px, 7vw, 76px) clamp(20px, 6vw, 96px);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
}

.about-section {
  background: var(--mist);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.values-grid span,
.sustainability-grid span {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--forest);
  font-weight: 700;
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.08);
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(34px, 6vw, 72px);
  padding: clamp(18px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
}

.founder-card img {
  height: 430px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

.founder-card p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.detail-section {
  display: grid;
  gap: 34px;
}

.detail-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(11, 61, 46, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-card.reverse img {
  order: 2;
}

.detail-card img {
  height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery-section {
  background: var(--black);
  color: var(--white);
}

.gallery-section .section-heading h2 {
  color: var(--white);
}

.masonry-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--forest);
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
  filter: saturate(1.12);
  transform: scale(1.08);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.video-showcase {
  margin-top: clamp(34px, 6vw, 64px);
  padding-top: clamp(30px, 5vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.video-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.video-heading h3 {
  max-width: 720px;
  color: var(--white);
}

.video-note {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin-top: 24px;
}

.youtube-video-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.youtube-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 107, 0.52);
}

.youtube-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
}

.youtube-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.youtube-video-card:hover .youtube-thumb img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(200, 169, 107, 0.95);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--black);
}

.youtube-copy {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.youtube-copy small {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.youtube-copy strong {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.youtube-copy em {
  display: inline-flex;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--black);
  object-fit: cover;
}

.video-card span {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.testimonial {
  padding: 28px;
}

.testimonial img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial p {
  color: rgba(17, 17, 17, 0.76);
  font-size: 1.02rem;
}

.sustainability-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 61, 46, 0.92), rgba(11, 61, 46, 0.74)),
    url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1800&q=90")
      center/cover no-repeat;
  color: var(--white);
}

.sustainability-section p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.sustainability-grid {
  display: grid;
  gap: 14px;
}

.sustainability-grid span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.news-card img {
  height: 250px;
  object-fit: cover;
}

.news-card div {
  padding: 24px;
}

.news-card span {
  color: var(--clay);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 26px;
  background: var(--forest);
  color: var(--white);
}

.contact-info ul {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-info li {
  display: grid;
  gap: 3px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-info span,
.contact-info p {
  color: rgba(255, 255, 255, 0.78);
}

.social-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  color: var(--black);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 17, 17, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9ddd4;
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fbfaf7;
  color: var(--black);
}

.contact-form .btn {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.map-frame {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.85);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
  padding: 62px clamp(20px, 6vw, 96px) 30px;
  background: var(--black);
  color: var(--white);
}

.site-footer h3 {
  margin-bottom: 14px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.52);
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1080px, 94vw);
  max-height: 84vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(11, 61, 46, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .activity-grid,
  .testimonial-grid,
  .news-grid,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .about-layout,
  .founder-card,
  .sustainability-section,
  .contact-section,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card.reverse img {
    order: 0;
  }

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

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-heading {
    display: block;
  }

  .youtube-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-text {
    max-width: 138px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92vh;
    padding-inline: 18px;
  }

  .activity-grid,
  .testimonial-grid,
  .news-grid,
  .stats-band,
  .site-footer,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    min-height: 380px;
  }

  .masonry-gallery {
    grid-auto-rows: 190px;
    grid-template-columns: 1fr;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .detail-card img,
  .image-panel img {
    height: 280px;
  }

  .contact-form .btn {
    width: 100%;
  }
}
