* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f3f1ec;
  color: #202020;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}
* =========================================================
   MENU MOBILE OPTIMISÉ
========================================================= */
@media(max-width: 650px) {

  .top-nav {
    position: sticky;
    top: 0;
    z-index: 5000;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    padding: 12px 12px;

    background: rgba(255,255,255,0.96);

    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;

    font-size: 13px;
    font-weight: 700;

    padding: 9px 13px;

    background: #f5f5f5;

    border-radius: 999px;

    color: #222;
  }

  .top-nav a:hover {
    color: white;
    background: #0d8f5b;
  }

  .top-nav .nav-cta {
    background: #0d8f5b;
    color: white !important;
  }

}

.top-nav {
  width: 100%;
  min-height: 68px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 14px 22px;
  position: sticky;
  top: 0;
  z-index: 5000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.top-nav a {
  font-weight: 700;
  font-size: 15px;
  transition: 0.25s;
}

.top-nav a:hover {
  color: #0d8f5b;
}

.nav-cta {
  background: #0d8f5b;
  color: white !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.hero {
  min-height: 680px;
  width: 100%;
  background-image: url("../images/fond.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.74),
    rgba(0,0,0,0.38),
    rgba(0,0,0,0.10)
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(to top, #f3f1ec, transparent);
}

.hero-overlay {
  position: absolute;
  left: clamp(24px, 6vw, 90px);
  bottom: 110px;
  max-width: 820px;
  color: white;
  z-index: 2;
}

.hero-badge,
.section-label {
  display: inline-block;
  background: rgba(13,143,91,0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-overlay h1 {
  margin: 18px 0 12px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -2px;
  text-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 720px;
  color: #fff3c4;
  margin-bottom: 24px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e67e22, #d96c10);
  color: white;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(230,126,34,0.35);
  transition: 0.25s;
}

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

.secondary-btn {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: auto;
  padding: 40px 28px 20px;
}

.premium-intro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -80px;
  position: relative;
  z-index: 4;
  margin-bottom: 34px;
}

.intro-card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.05);
}

.intro-card strong,
.intro-card small {
  display: block;
  color: #666;
}

.intro-card span {
  display: block;
  color: #0d8f5b;
  font-size: 1.7rem;
  font-weight: 900;
  margin: 4px 0;
}

.card,
.seo-text {
  background: white;
  padding: 38px;
  border-radius: 26px;
  margin-bottom: 34px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.065);
  border: 1px solid rgba(0,0,0,0.045);
}

.card h2,
.seo-text h2 {
  margin: 14px 0 18px;
  color: #123226;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
}

.card p,
.seo-text p {
  font-size: 17px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.feature-list div {
  background: #f6f6f3;
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
}

.feature-list i {
  color: #0d8f5b;
  margin-right: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.gallery img:first-child {
  grid-row: span 2;
  height: 536px;
}

.gallery img:hover {
  transform: scale(1.015);
}

.equipments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.equipments div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f3;
  padding: 16px;
  border-radius: 18px;
  font-weight: 700;
  transition: 0.25s;
}

.equipments div:hover {
  background: #eef7f1;
  transform: translateY(-2px);
}

.equipments i {
  color: #0d8f5b;
  font-size: 19px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review,
.review-card {
  background: #fbfbf8;
  border: 1px solid #e8e8df;
  border-radius: 20px;
  padding: 22px;
}

.review {
  min-height: 230px;
}

.stars {
  color: #f5b301;
  font-size: 22px;
  letter-spacing: 1px;
}

.more-reviews {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.review-card summary {
  cursor: pointer;
  color: #0d8f5b;
  font-weight: 900;
  list-style: none;
}

.review-card summary::-webkit-details-marker {
  display: none;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.activities-grid div {
  background: #f7f7f3;
  padding: 22px;
  border-radius: 20px;
}

.activities-grid i {
  color: #0d8f5b;
  font-size: 26px;
  margin-bottom: 12px;
}

.activities-grid strong,
.activities-grid span {
  display: block;
}

.activities-grid strong {
  color: #123226;
  font-size: 18px;
  margin-bottom: 6px;
}

/* =========================================================
   POURQUOI CHOISIR VILLA CABOUA
========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 25px;
}

.why-card {
  background: #f7f7f3;
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  background: #eef7f1;
}

.why-card i {
  font-size: 42px;
  color: #0d8f5b;
  margin-bottom: 15px;
}

.why-card h3 {
  margin-bottom: 10px;
  color: #123226;
}

/* =========================================================
   LOCALISATION
========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 25px;
  margin-top: 25px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.location-info div {
  background: #f7f7f3;
  padding: 18px;
  border-radius: 18px;
  font-weight: 700;
}

.location-info i {
  color: #0d8f5b;
  margin-right: 10px;
}

.map-frame {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 22px;
}

.booking-premium h2 {
  margin-bottom: 28px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.calendar-iframe {
  width: 100%;
  height: 650px;
  border: none;
  border-radius: 22px;
  background: white;
  box-shadow: inset 0 0 0 1px #e9e9e0;
}

.booking-box {
  background: #fbfbf8;
  border: 1px solid #e6e6dc;
  border-radius: 24px;
  padding: 26px;
  position: sticky;
  top: 90px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.075);
}

.booking-box h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #123226;
}

.booking-note,
.safe-note {
  color: #666;
  font-size: 14px !important;
}

#calendar {
  margin: 20px 0;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}

label {
  font-weight: 800;
  color: #123226;
}

.counter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.counter button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d4d4ca;
  background: white;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
}

.counter span {
  font-weight: 900;
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.billing {
  margin: 22px 0;
  background: white;
  border: 1px solid #e6e6dc;
  border-radius: 18px;
  padding: 18px;
}

.billing h2 {
  color: #0d8f5b;
  margin: 10px 0 0;
  font-size: 1.7rem;
}

.btn {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #e67e22, #d96c10);
  color: white;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(230,126,34,0.28);
  transition: 0.25s;
}

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

/* =========================================================
   CONFIANCE RÉSERVATION
========================================================= */
.booking-trust {
  margin-top: 20px;
  text-align: center;
}

.booking-trust p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.booking-trust i {
  color: #0d8f5b;
}

.whatsapp-booking {
  width: 100%;
}

.footer {
  background: #0e0e0e;
  color: white;
  text-align: center;
  padding: 48px 20px;
  margin-top: 48px;
}

.footer p {
  margin: 10px 0;
}

.footer a {
  color: #f1c40f;
  font-weight: 800;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  z-index: 8000;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.faq-item {
  border-bottom: 1px solid #e8e8df;
  padding: 20px 0;
}

.faq-item h3 {
  color: #0d8f5b;
  margin-bottom: 8px;
}

/* === TABLETTE === */
@media(max-width: 1050px) {
  .top-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 560px;
  }

  .premium-intro,
  .feature-list,
  .equipments,
  .reviews,
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery img:first-child {
    grid-row: auto;
    height: 260px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-box {
    position: relative;
    top: 0;
  }

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

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

/* === MOBILE === */
@media(max-width: 650px) {
  .top-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-overlay {
    left: 20px;
    right: 20px;
    bottom: 55px;
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-highlights span {
    font-size: 13px;
    padding: 8px 10px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .container {
    padding: 20px 14px;
  }

  .premium-intro {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .card,
  .seo-text {
    padding: 22px;
    border-radius: 22px;
  }

  .feature-list,
  .equipments,
  .reviews,
  .more-reviews,
  .activities-grid,
  .gallery,
  .row {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:first-child {
    height: 250px;
  }

  .calendar-iframe {
    height: 380px;
  }

  .booking-box {
    padding: 20px;
  }

  .map-frame {
    height: 300px;
  }

  .whatsapp {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
}
