/* =========================================
   Panda Roux Élagage — Style (nature / jeune)
   ========================================= */

/* ----- Reset léger ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;
  color: #103224;
  background: #fbfcfb;
}

/* Accessibilité */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #103224;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* ----- Variables ----- */
:root{
  --container: 1120px;

  --green-900: #103224;
  --green-800: #1b4a35;
  --green-700: #2f6b4e;
  --green-200: #dff1e7;

  --sand-200: #f3eadf;
  --sand-300: #e9d6c2;

  --accent: #b6561d;      /* clin d’œil “panda roux” */
  --accent-2: #2f6b4e;    /* nature */

  --card: rgba(255,255,255,.86);
  --stroke: rgba(16,50,36,.12);

  --shadow: 0 16px 45px rgba(16,50,36,.12);
  --shadow-soft: 0 10px 24px rgba(16,50,36,.10);

  --radius: 18px;
}

/* ----- Helpers ----- */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section{
  padding: clamp(56px, 7vw, 88px) 0;
}

.section--alt{
  background: radial-gradient(900px 300px at 20% 0%, rgba(47,107,78,.14), transparent 65%),
              radial-gradient(700px 280px at 90% 30%, rgba(182,86,29,.12), transparent 60%),
              linear-gradient(180deg, #f9fbfa, #f6faf7);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section__head{
  margin-bottom: 22px;
}
.section__head--row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 10px; }
h1{ font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; }
h2{ font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; }
h3{ font-size: 18px; }
.h3{ font-size: 18px; margin: 0 0 10px; }

p{ margin: 0 0 12px; }
.muted{ color: rgba(16,50,36,.72); }
.small{ font-size: 13px; }
.accent{ color: var(--accent); }
code{ background: rgba(16,50,36,.06); padding: 2px 6px; border-radius: 8px; }

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }

/* ----- Buttons ----- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(16,50,36,.14);
  background: linear-gradient(180deg, rgba(47,107,78,.98), rgba(27,74,53,.98));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover{
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: var(--shadow);
}
.btn:active{ transform: translateY(0); }

.btn--ghost{
  background: rgba(255,255,255,.65);
  color: var(--green-900);
  border: 1px solid rgba(16,50,36,.18);
  box-shadow: none;
}
.btn--ghost:hover{ box-shadow: var(--shadow-soft); }

.btn--small{
  padding: 10px 14px;
  font-size: 14px;
}

.link{
  display: inline-flex;
  font-weight: 700;
  color: var(--green-800);
  margin-top: 10px;
}

/* ----- Header / Nav ----- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251,252,251,.72);
  border-bottom: 1px solid rgba(16,50,36,.10);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(16,50,36,.14);
  box-shadow: 0 10px 20px rgba(16,50,36,.08);
}
.brand__text{ display: grid; }
.brand__name{
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand__tag{
  font-size: 13px;
  color: rgba(16,50,36,.70);
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__menu{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__menu a{
  font-weight: 700;
  color: rgba(16,50,36,.85);
}
.nav__menu a.btn{ color: #fff; }

.nav__toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(16,50,36,.14);
  background: rgba(255,255,255,.7);
  box-shadow: 0 10px 24px rgba(16,50,36,.08);
}
.nav__burger{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(16,50,36,.80);
  margin: 0 auto;
  position: relative;
}
.nav__burger::before,
.nav__burger::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(16,50,36,.80);
}
.nav__burger::before{ top: -6px; }
.nav__burger::after{ top: 6px; }

/* ----- Hero ----- */
.hero{
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0 clamp(52px, 7vw, 86px);
}

.hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("assets/img/Banner.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(255,255,255,.82), rgba(255,255,255,.35) 45%, rgba(255,255,255,.14) 70%, rgba(255,255,255,.08) 100%),
    linear-gradient(90deg, rgba(251,252,251,.92), rgba(251,252,251,.35) 55%, rgba(251,252,251,.12));
}

.hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}

.hero__card{
  background: rgba(251,252,251,.72);
  border: 1px solid rgba(16,50,36,.12);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow);
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47,107,78,.12);
  border: 1px solid rgba(47,107,78,.18);
  font-weight: 800;
  color: rgba(16,50,36,.86);
  margin-bottom: 14px;
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(182,86,29,.15);
}

.lead{
  font-size: 16px;
  color: rgba(16,50,36,.78);
  max-width: 62ch;
}

.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.hero__highlights{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.hero__highlights li{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(16,50,36,.10);
  font-weight: 700;
  font-size: 14px;
}

.hero__contact{
  position: sticky;
  top: 92px; /* sous le header */
}

.contact-card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,50,36,.12);
  border-radius: calc(var(--radius) + 8px);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.contact-card__rows{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(251,252,251,.85);
}
.contact-row:hover{ text-decoration: none; box-shadow: 0 10px 20px rgba(16,50,36,.08); }
.contact-row__label{ color: rgba(16,50,36,.65); font-weight: 800; font-size: 13px; }
.contact-row__value{ font-weight: 900; }

.note{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(16,50,36,.18);
}

.hero__fade{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 86px;
  background: linear-gradient(180deg, rgba(251,252,251,0), rgba(251,252,251,1));
}

/* ----- Grids / Cards ----- */
.grid{
  display: grid;
  gap: 14px;
}
.grid--services{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card{
  background: var(--card);
  border: 1px solid rgba(16,50,36,.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 22px rgba(16,50,36,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.card--soft{
  background: linear-gradient(180deg, rgba(223,241,231,.65), rgba(255,255,255,.86));
  border-color: rgba(47,107,78,.18);
}

.card--cta{
  background:
    radial-gradient(400px 200px at 10% 0%, rgba(182,86,29,.16), transparent 60%),
    radial-gradient(520px 240px at 90% 20%, rgba(47,107,78,.18), transparent 60%),
    rgba(255,255,255,.86);
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
}
.list li{ margin: 6px 0; color: rgba(16,50,36,.78); }

/* ----- Split section ----- */
.split{
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  align-items: start;
}

.steps{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.step{
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(255,255,255,.72);
}
.step__n{
  width: 38px; height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, rgba(182,86,29,.96), rgba(132,60,18,.96));
  box-shadow: 0 12px 22px rgba(182,86,29,.18);
}

.badge-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,50,36,.14);
  background: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: 13px;
}

.quote-card{
  border-radius: calc(var(--radius) + 10px);
  padding: 18px;
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.quote-card__quote{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.quote-card__who{
  margin-top: 10px;
  color: rgba(16,50,36,.70);
  font-weight: 700;
}
.quote-card__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini-facts{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.mini-fact{
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(255,255,255,.70);
}
.mini-fact__k{ display: block; font-weight: 900; font-size: 13px; color: rgba(16,50,36,.72); }
.mini-fact__v{ display: block; font-weight: 900; }

/* ----- Gallery ----- */
.filters .hint{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(16,50,36,.20);
  background: rgba(255,255,255,.65);
  font-weight: 700;
  color: rgba(16,50,36,.72);
}

.gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery__item{
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(16,50,36,.12);
  box-shadow: 0 10px 22px rgba(16,50,36,.08);
  transition: transform .15s ease, box-shadow .15s ease;
  aspect-ratio: 1 / 1;
}
.gallery__item:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.gallery__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.callout{
  margin-top: 18px;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(16,50,36,.12);
  background:
    radial-gradient(700px 260px at 20% 10%, rgba(47,107,78,.18), transparent 60%),
    radial-gradient(520px 220px at 90% 30%, rgba(182,86,29,.12), transparent 60%),
    rgba(255,255,255,.80);
  box-shadow: var(--shadow-soft);
}
.callout__inner{
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ----- Contact ----- */
.contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 14px;
}
.chip{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16,50,36,.14);
  background: rgba(255,255,255,.72);
  font-weight: 800;
}
.chip:hover{ text-decoration: none; box-shadow: 0 10px 20px rgba(16,50,36,.08); }

.contact__card{
  margin-top: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(255,255,255,.70);
  padding: 14px;
}

.form{
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(16,50,36,.12);
  background: rgba(255,255,255,.78);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.form__row{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
label{ font-weight: 900; }
input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(16,50,36,.16);
  padding: 12px 12px;
  font: inherit;
  background: rgba(251,252,251,.92);
}
input:focus, textarea:focus{
  outline: 3px solid rgba(47,107,78,.22);
  border-color: rgba(47,107,78,.40);
}
.form__actions{
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

/* ----- Footer ----- */
.site-footer{
  padding: 28px 0 18px;
  background: #0f2e22;
  color: rgba(255,255,255,.92);
}
.footer__inner{
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 14px;
  align-items: center;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img{
  width: 44px; height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.22);
}
.footer__name{ font-weight: 900; margin: 0; }
.footer__muted{ color: rgba(255,255,255,.72); margin: 0; font-size: 13px; }

.footer__links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.footer__links a{ color: rgba(255,255,255,.82); font-weight: 800; }

.footer__contact{
  display: grid;
  gap: 6px;
  justify-items: end;
}
.footer__cta{ color: rgba(255,255,255,.92); font-weight: 900; }

.footer__bottom{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
}

/* ----- Lightbox ----- */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
}
.lightbox.is-open{ display: grid; }
.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(15,46,34,.70);
  backdrop-filter: blur(6px);
}
.lightbox__panel{
  position: relative;
  width: min(980px, calc(100% - 28px));
  margin: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.92);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  overflow: hidden;
}
.lightbox__img{
  width: 100%;
  height: min(70vh, 680px);
  object-fit: contain;
  background: #0f2e22;
  display: block;
}
.lightbox__caption{
  padding: 12px 14px;
}
.lightbox__close{
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(15,46,34,.62);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.lightbox__close:hover{ filter: brightness(1.05); }

/* ----- Responsive ----- */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__contact{ position: relative; top: auto; }
  .grid--services{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; text-align: center; }
  .footer__contact{ justify-items: center; }
  .footer__links{ justify-content: center; }
}

@media (max-width: 720px){
  .nav__toggle{ display: inline-grid; place-items: center; }
  .nav__menu{
    position: absolute;
    right: 20px;
    top: 68px;
    width: min(340px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(16,50,36,.14);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open{ display: flex; }
  .nav__menu a{
    padding: 10px 10px;
    border-radius: 14px;
    background: rgba(251,252,251,.8);
    border: 1px solid rgba(16,50,36,.10);
  }
  .nav__menu a.btn{
    border: 0;
    background: linear-gradient(180deg, rgba(47,107,78,.98), rgba(27,74,53,.98));
  }

  .hero__highlights{ grid-template-columns: 1fr; }
  .grid--services{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
