* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root{
  --bg: #f6f6f2;
  --card: #ffffff;
  --text: #172014;
  --muted: #5b6456;
  --green: #1f3b2c;
  --green2: #2c5d45;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --container: 1100px;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,246,242,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green);
}
.logo-text strong{ display:block; font-size: 14px; }
.logo-text small{ display:block; font-size: 12px; color: var(--muted); }

.nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a{ font-size: 14px; opacity: .9; }
.nav a:hover{ opacity: 1; }

/* BUTTONS */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn-small{ padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.btn-primary{
  background: var(--green);
  color: #fff;
}
.btn-primary:hover{ background: var(--green2); }
.btn-ghost{
  border: 1px solid rgba(0,0,0,.12);
}
.btn-ghost:hover{ background: rgba(0,0,0,.04); }

/* HERO */
.hero{ padding: 34px 0 10px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
}
.badge{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31,59,44,.18);
  background: rgba(31,59,44,.10);
  color: var(--green);
  font-weight: 750;
  font-size: 12px;
}
.hero-copy h1{
  margin: 12px 0 10px;
  font-size: 40px;
  line-height: 1.1;
}
.lead{ margin: 0 0 16px; color: var(--muted); }

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 12px; }
.chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

.hero-media{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);

  height: 360px;
  background: #ddd;
}

.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* ✅ centrage */
  object-position: center center;

  /* ✅ éviter les rendus “flous” */
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}


/* SECTIONS */
.section{ padding: 26px 0; }
.section-head{ margin-bottom: 14px; }
.section-head h2{ margin:0 0 6px; font-size: 26px; }
.section-head p{ margin:0; color: var(--muted); }

/* CARDS */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.card-img{
  height: 210px; 
  overflow: hidden;
}

.card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: center 85%;
}

.card-body{ padding: 12px 12px 14px; }
.card-body h3{ margin: 0 0 6px; font-size: 16px; }
.card-body p{ margin: 0; color: var(--muted); font-size: 14px; }

/* BANNER */
.banner{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);

  height: 380px;
}

.banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: center 60%;
}

.banner-overlay{
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #fff;
}

/* Galerie */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.gallery-item{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  display: block;
}

.gallery-item img{
  width: 100%;
  height: 220px;          
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.gallery-item:hover img{
  transform: scale(1.03);
}

@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-item img{ height: 190px; }
}

@media (max-width: 520px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item img{ height: 220px; }
}


/* BOOKING */
.booking{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.booking-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow);
}
.booking-card span{ color: var(--muted); font-size: 14px; }
.booking-card em{ color: var(--green); font-style: normal; font-weight: 800; }

/* FOOTER */
.site-footer{
  margin-top: 18px;
  padding: 24px 0 18px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.site-footer h3{ margin:0 0 8px; font-size: 16px; }
.site-footer p{ margin:0; color: var(--muted); font-size: 14px; }
.site-footer ul{ list-style: none; padding:0; margin:0; display:grid; gap:8px; }
.footer-bottom{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-copy h1{ font-size: 32px; }
  .cards{ grid-template-columns: 1fr; }
  .booking{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .hero-media{ height: 280px; }
  .banner{ height: 280px; }
}
