/*
 * JLC Camper — Feuille de style principale
 * Design : Aventure Premium — Vert forêt, Gris anthracite, Orange terreux
 * Mobile First | CSS3 Flexbox/Grid
 */

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

:root {
  --green:        #2d5a27;
  --green-dark:   #1e3d1a;
  --green-light:  #4a8a3f;
  --orange:       #c8622a;
  --orange-light: #e07840;
  --anthracite:   #2c2c2c;
  --grey:         #555;
  --grey-light:   #f4f4f0;
  --white:        #ffffff;
  --cream:        #faf9f6;
  --border:       #e0ddd6;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.18);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   .3s ease;
  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --container:    1200px;
  --header-height: 132px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--green-dark);
  color: #cde8c8;
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.topbar__left { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.topbar__left a, .topbar__social a {
  color: #cde8c8;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--transition);
}
.topbar__left a:hover, .topbar__social a:hover { color: var(--white); }
.topbar__social { display: flex; gap: .8rem; }
.topbar__social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  justify-content: center;
  font-size: .85rem;
}
.topbar__social a:hover { background: var(--orange); color: var(--white); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}
.logo__img {
  height: 100px;
  width: auto;
  display: block;
}
.logo__icon {
  width: 42px; height: 42px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo__text strong { color: var(--orange); }
.logo--light { color: var(--white); }
.logo--light .logo__icon { background: rgba(255,255,255,.15); }
.logo__img--footer {
  background: transparent;
  filter: invert(1);
  mix-blend-mode: screen;
}

/* ===== NAVIGATION ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: transparent;
  gap: 5px;
  z-index: 1100;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  position: relative;
}
.hamburger::before { content: ''; position: absolute; top: -7px; }
.hamburger::after  { content: ''; position: absolute; top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .2rem; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .85rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--anthracite);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.active > .nav-link { background: var(--grey-light); color: var(--green); }

.nav-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: .55rem 1.2rem;
}
.nav-link--cta:hover { background: var(--orange-light) !important; }
.nav-item.active > .nav-link--cta { color: #000 !important; }

/* Dropdown */
.nav-item--dropdown { position: relative; }
.nav-link--dropdown { background: none; border: none; }
.nav-arrow { font-size: .7rem; transition: transform var(--transition); }
.nav-item--dropdown.open .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.nav-item--dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  color: var(--anthracite);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a i { color: var(--green); width: 16px; text-align: center; }
.dropdown-menu a:hover,
.dropdown-menu a.active { background: var(--grey-light); color: var(--green); }

/* Overlay mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 900;
  opacity: 0;
  transition: opacity var(--transition);
  /* Indispensable : en mobile l’overlay reste display:block même menu fermé (opacity 0).
     Sans ceci il capte tous les taps et bloque la page sous le header. */
  pointer-events: none;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  :root { --header-height: 112px; }
  .logo__img { height: 52px; }
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }

  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: .2rem; }
  .nav-link { width: 100%; }
  .nav-link--cta { text-align: center; justify-content: center; margin-top: .5rem; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--grey-light);
    border-radius: var(--radius);
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: .3rem .5rem;
    margin-top: .3rem;
  }
  .nav-item--dropdown.open .dropdown-menu { display: block; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary  { background: var(--green);  color: var(--white); border-color: var(--green); }
.btn--primary:hover  { background: var(--green-dark); border-color: var(--green-dark); }

.btn--orange   { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn--orange:hover   { background: var(--orange-light); border-color: var(--orange-light); }

.btn--outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline:hover  { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn--white    { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.btn--white:hover    { background: var(--grey-light); }

.btn--sm  { padding: .5rem 1rem; font-size: .82rem; }
.btn--lg  { padding: .9rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--facebook  { background: #1877f2; color: var(--white); border-color: #1877f2; }
.btn--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); border-color: transparent; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--light     { background: var(--cream); }
.section--dark-green{ background: var(--green-dark); color: var(--white); }
.section--cta       { background: var(--green); color: var(--white); padding: 4rem 0; }

.section-intro { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: .75rem;
  line-height: 1.2;
}
#presentation { scroll-margin-top: calc(var(--header-height) + 16px); }
.section-title--light { color: var(--white); }
.section-lead {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.8;
}
.availability-section { padding-top: 0; }
.availability-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, #ffffff 0%, #f7f5ef 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.6rem;
}
.availability-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(45,90,39,.1);
  border: 1px solid rgba(45,90,39,.25);
  border-radius: 999px;
  padding: .3rem .85rem;
  margin-bottom: .9rem;
}
.availability-card h3 {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.availability-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.availability-options span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--anthracite);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .55rem 1rem;
}
.availability-options i { color: var(--orange); }
.availability-text {
  max-width: 660px;
  margin: 0 auto;
  color: var(--grey);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,61,26,.82) 0%, rgba(30,61,26,.45) 60%, rgba(0,0,0,.2) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 4.5rem 3.25rem;
  max-width: 680px;
}
.hero__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero__title em { color: #a8d99c; font-style: normal; }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.two-col__text p { color: var(--grey); margin-bottom: .8rem; }
.two-col__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
@media (max-width: 768px) {
  :root { --header-height: 96px; }
  .logo__img { height: 46px; }
  .availability-card { padding: 1.6rem 1.1rem; }
  .availability-options { gap: .7rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col--reverse { direction: ltr; }
  .two-col__image img { height: 240px; }
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.feature-card__icon {
  width: 60px; height: 60px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 1rem;
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.feature-card p { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ===== SERVICES PREVIEW ===== */
.services-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__img { height: 180px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .4rem;
}
.service-card__body p { font-size: .88rem; color: var(--grey); flex: 1; }
.service-card__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--orange);
  font-weight: 700;
  font-size: .85rem;
  margin-top: .8rem;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-block__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .4rem;
}
.cta-block__text p { color: rgba(255,255,255,.85); }
.cta-block__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,61,26,.85) 0%, rgba(30,61,26,.55) 100%);
}
.page-banner__content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.page-banner__content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin: .6rem 0 .5rem;
}
.page-banner__content p { font-size: 1.05rem; color: rgba(255,255,255,.85); }

/* Fil d'Ariane */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span:last-child { color: var(--white); font-weight: 600; }

/* ===== FEATURES LIST ===== */
.features-list { margin-top: 3rem; }
.features-list h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.features-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.features-list__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 700px) {
  .features-list__grid--two { grid-template-columns: 1fr; }
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-item > i {
  font-size: 1.5rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: .1rem;
  width: 28px;
  text-align: center;
}
.feature-item h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--green-dark); margin-bottom: .3rem; }
.feature-item p  { font-size: .88rem; color: var(--grey); }

/* ===== EQUIP GRID ===== */
.equip-grid { margin-top: 3rem; }
.equip-grid__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.equip-grid__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.equip-grid__items--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .equip-grid__items--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .equip-grid__items--three { grid-template-columns: 1fr; }
}
.equip-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.3rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.equip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-bottom-color: var(--green); }
.equip-card__icon {
  width: 52px; height: 52px;
  background: var(--grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green);
  margin: 0 auto .9rem;
}
.equip-card h3 { font-family: var(--font-head); font-size: .92rem; font-weight: 700; color: var(--green-dark); margin-bottom: .4rem; }
.equip-card p  { font-size: .85rem; color: var(--grey); }

/* ===== AUTONOMIE BLOCKS ===== */
.autonomie-block { margin-bottom: 3.5rem; }
.autonomie-block__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.autonomie-block__header h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
}
.autonomie-block__icon {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}
.autonomie-block__icon--orange { background: var(--orange); }
.autonomie-block__icon--blue   { background: #2980b9; }
.autonomie-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.autonomie-block__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .autonomie-block__grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .autonomie-block__grid--three { grid-template-columns: 1fr; }
}

/* Tableau specs */
.specs-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .93rem;
}
.specs-table th {
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: .85rem 1.2rem;
  text-align: left;
}
.specs-table td {
  padding: .8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--anthracite);
}
.specs-table td i { color: var(--green); margin-right: .5rem; }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--grey-light); }

/* ===== OFFER GRID ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.offer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-card__header {
  padding: 2rem 1.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}
.offer-card__header--green  { background: var(--green); }
.offer-card__header--orange { background: var(--orange); }
.offer-card__header i { font-size: 2rem; }
.offer-card__header h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; }
.offer-card__body { padding: 1.8rem; }
.offer-card__body p { color: var(--grey); margin-bottom: 1rem; }
.offer-card__body h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .6rem;
}
.offer-list { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; }
.offer-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--grey); }
.offer-list li i { color: var(--green); }

/* Offre spéciale */
.special-offer {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.special-offer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.special-offer__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.special-offer h2 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; margin-bottom: .6rem; }
.special-offer p  { color: rgba(255,255,255,.85); margin-bottom: 1.8rem; }
.special-offer__gifts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.gift-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  min-width: 120px;
  transition: background var(--transition);
}
.gift-item:hover { background: rgba(255,255,255,.18); }
.gift-item i { font-size: 1.8rem; color: #a8d99c; }
.gift-item span { font-size: .85rem; font-weight: 600; }

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.gallery-filter {
  padding: .5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--grey);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-filter:hover,
.gallery-filter.active { background: var(--green); color: var(--white); border-color: var(--green); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__cat {
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.gallery-item__zoom {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 1rem;
  transition: background var(--transition);
}
.gallery-item__zoom:hover { background: var(--white); }
.gallery-item.hidden { display: none; }

.gallery-note {
  margin-top: 2rem;
  font-size: .9rem;
  color: var(--grey);
  text-align: center;
}
.gallery-note a { color: var(--green); text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1999;
}
.lightbox__backdrop[hidden] { display: none; }
.lightbox__content {
  position: relative;
  z-index: 2001;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: .8rem; }
.lightbox__close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  z-index: 2002;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover { background: var(--orange); }
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2002;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: var(--green); }

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
}
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.05); }
.blog-card__cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.blog-card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: .82rem; color: var(--grey); display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; }
.blog-card__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: .6rem; line-height: 1.4; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--green); }
.blog-card__excerpt { font-size: .88rem; color: var(--grey); flex: 1; }
.blog-card__link { display: flex; align-items: center; gap: .4rem; color: var(--orange); font-weight: 700; font-size: .85rem; margin-top: 1rem; }

.blog-social {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.blog-social p { font-size: 1rem; color: var(--grey); margin-bottom: 1.2rem; }
.blog-social__links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== AVIS ===== */
.rating-summary {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.rating-summary__score {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
}
.rating-summary__stars { color: #f5a623; font-size: 1.5rem; margin: .5rem 0; }
.rating-summary__count { color: var(--grey); font-size: .9rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 4px solid var(--green);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card__header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.review-card__avatar {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-card__meta { flex: 1; }
.review-card__meta strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--green-dark); }
.review-card__meta time { font-size: .8rem; color: var(--grey); }
.review-card__stars { color: #f5a623; font-size: .9rem; }
.review-card__text {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}
.review-card__text .fa-quote-left {
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  opacity: .4;
  font-size: 1rem;
}

.review-cta {
  margin-top: 3.5rem;
  text-align: center;
  padding: 3rem;
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  color: var(--white);
}
.review-cta h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; margin-bottom: .5rem; }
.review-cta p  { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info__item strong { display: block; font-family: var(--font-head); font-size: .88rem; font-weight: 700; color: var(--green-dark); }
.contact-info__item a { color: var(--grey); font-size: .9rem; transition: color var(--transition); }
.contact-info__item a:hover { color: var(--green); }
.contact-map { margin-top: 1.5rem; }
.contact-map__note { font-size: .78rem; color: var(--grey); margin-top: .5rem; }

.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-dark);
}
.required { color: var(--orange); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--anthracite);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,90,39,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-group--captcha {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 1rem;
  border: 2px solid var(--border);
}
.form-group--captcha label {
  font-size: .9rem;
  color: var(--anthracite);
  margin-bottom: .6rem;
}
.form-group--captcha input { max-width: 140px; }

/* Alertes */
.alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  font-size: .9rem;
}
.alert i { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.alert--success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert--success i { color: #2e7d32; }
.alert--error   { background: #fdecea; border: 1px solid #ef9a9a; color: #c62828; }
.alert--error i { color: #c62828; }
.alert ul { margin-top: .4rem; padding-left: 1.2rem; list-style: disc; }

/* ===== SERVICES NAV ===== */
.services-nav {
  background: var(--grey-light);
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}
.services-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.services-nav__prev,
.services-nav__next {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--green);
  transition: color var(--transition);
}
.services-nav__prev:hover,
.services-nav__next:hover { color: var(--green-dark); }
.services-nav__prev { margin-right: auto; }
.services-nav__next { margin-left: auto; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--anthracite);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer__brand p { font-size: .9rem; margin-top: 1rem; line-height: 1.7; }
.footer__social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--orange); color: var(--white); }

.footer__links h3,
.footer__contact h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.footer__links a:hover { color: var(--white); }
.footer__links a::before { content: '›'; color: var(--orange); font-weight: 700; }

.footer__contact ul { display: flex; flex-direction: column; gap: .7rem; }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.footer__contact li i { color: var(--orange); width: 16px; text-align: center; }
.footer__contact a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__contact a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}

/* ===== ANIMATIONS AOS-like ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos="zoom-in"]    { transform: scale(.95); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="zoom-in"].aos-animate { transform: none; }

/* ===== RESPONSIVE HELPERS ===== */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .cta-block { flex-direction: column; text-align: center; }
  .cta-block__actions { justify-content: center; }
  .special-offer { padding: 2rem 1.2rem; }
  .special-offer__gifts { gap: .8rem; }
  .gift-item { min-width: 100px; padding: .9rem 1rem; }
}
