:root{
  --primary: #335438;
  --primary-hover: #2a4530;

  --accent: #8DAA4A;         /* vert clair du logo */
  --accent-hover: #7E9A40;   /* légèrement plus foncé */
  --accent-soft: rgba(141,170,74,.20);

  --ink: #1c2b2f;
  --muted: #5a6a6e;

  --bg-top: #f3f7f4;
  --bg-bot: #e8f0ea;
}

html { scroll-behavior: smooth; }

body{
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--primary);
  min-height: 100vh;

  background:
    radial-gradient(1000px 600px at 20% 10%, rgba(51,84,56,.10), transparent 60%),
    radial-gradient(900px 600px at 85% 15%, rgba(51,84,56,.06), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bot) 100%);

  overflow-x: hidden;
}

/* ========== Bootstrap harmonisation ========== */
.btn-primary{
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-hover);
  --bs-btn-hover-border-color: var(--primary-hover);
}

.btn-link.link-light{
  /* sur fond clair, on force un style "link" propre */
  color: var(--primary) !important;
}
.btn-link.link-light:hover{
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}

/* ========== Navbar claire, légère ========== */
.nav-min{
  background: linear-gradient(
      180deg,
      rgba(51,84,56,.96) 0%,
      rgba(42,69,48,.96) 100%
  );
}

a{
  color: var(--primary);
}
a:hover{
  color: var(--accent);
}

/* Override bootstrap navbar colors */
.navbar{
  --bs-navbar-color: rgba(255,255,255,.85);
  --bs-navbar-hover-color: #ffffff;
  --bs-navbar-active-color: #ffffff;
  --bs-navbar-brand-color: #ffffff;
  --bs-navbar-brand-hover-color: #ffffff;
}

/* ========== Anchor offset (sticky nav) ========== */
.anchor{ scroll-margin-top: 92px; }


/* Mobile : moins de marge car la navbar prend moins de place */
@media (max-width: 991.98px){
  .anchor{
    scroll-margin-top: 250px;
  }
}

/* ========== Typo ========== */
.headline{
  font-weight: 600;
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-title{
  font-weight: 650;
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.85rem);
  letter-spacing: -0.01em;
}
.text-accent{
  color: var(--accent);
  font-weight: 600;
}
.lead{ max-width: 56ch; color: var(--muted); }

/* ========== Logo ========== */
.brand-logo{
  max-width: 520px;
  height: auto;
  filter:
    drop-shadow(0 10px 18px rgba(15,40,50,.14))
    drop-shadow(0 0 24px rgba(255,255,255,.65));
}

/* ========== Dividers ========== */
.soft-divider{
  border: 0;
  height: 1px;
  background: rgba(110,193,228,.60);
  box-shadow: 0 0 8px rgba(110,193,228,.25);
}

/* ========== Social icons (ultra légers) ========== */
.social-icon{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;

  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15,40,50,.10);
  box-shadow: 0 8px 18px rgba(15,40,50,.10);

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.social-icon img{
  width: 18px;
  height: 18px;
  display: block;
}
.social-icon:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15,40,50,.14);
  border-color: rgba(15,40,50,.16);
  background: rgba(255,255,255,.92);
}

/* ========== Section Accueil : mise en avant douce sans boîte ========== */
#accueil{
  position: relative;
}

/* Une aura très subtile (blanche/bleutée), sans bord visible */
#accueil::before{
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(110,193,228,.35) 0%,
      rgba(110,193,228,.15) 40%,
      transparent 75%
    );
}
#accueil > *{
  position: relative;
  z-index: 1;
}

/* ========== Mosaic Images (modern) ========== */
.mosaic{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.shot{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}

.shot img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

.shot:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.shot:hover img{
  transform: scale(1.03);
}

/* Caption style: léger, lisible sur fond clair */
.shot figcaption{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,.80);
  border: 1px solid rgba(15,40,50,.10);
  backdrop-filter: blur(10px);

  font-size: .78rem;
  color: rgba(22,39,43,.82);
}

.shot--wide{ grid-column: span 6; aspect-ratio: 16/9; }
.shot--tall{ grid-column: span 3; aspect-ratio: 3/4; }
.shot:not(.shot--wide):not(.shot--tall){ grid-column: span 3; aspect-ratio: 4/3; }

@media (max-width: 575.98px){
  .mosaic{ gap: 12px; }
  .shot--wide,
  .shot--tall,
  .shot:not(.shot--wide):not(.shot--tall){
    grid-column: span 6;
  }
}

/* ========== Video ========== */
.video-shell{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;

  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.video-label{
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;

  padding: 7px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,.82);
  border: 1px solid var(--accent-soft);
  backdrop-filter: blur(10px);

  font-size: .78rem;
  color: var(--accent);
}

/* Sticky desktop */
.video-sticky{ position: static; }
@media (min-width: 992px){
  .video-sticky{ position: sticky; top: 98px; }
}

/* ========== Contact tiles (légères, modernes) ========== */
.contact-tile{
  display: block;
  padding: 18px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--primary);

  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,40,50,.10);
  box-shadow: var(--shadow-soft);

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.contact-tile:hover{
  transform: translateY(-2px);
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.contact-kicker{
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-main{
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--primary);
}
.contact-sub{
  font-size: .92rem;
  margin-top: 4px;
  color: var(--muted);
}

/* ========== Footer ========== */
footer{
  color: var(--muted) !important;
}

/* ========== Utility (optional) ========== */
.text-white-50{
  /* si ton HTML en contient encore, on le réinterprète */
  color: var(--muted) !important;
}
