@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bleu:       #176bff;
  --bleu-fonce: #003CAD;
  --bleu-clair: #66A5FF;
  --cyan:       #00B0E6;
  --blanc:      #ffffff;
  --sable:      #f4f8fb;
  --gris:       #eef3f7;
  --texte:      #1c2b3a;
  --shadow:     0 4px 28px rgba(0,91,154,.12);
  --radius:     12px;
  --tr:         .22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', system-ui, sans-serif; color: var(--texte); background: #fff; line-height: 1.6; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.centered { text-align: center; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--bleu-fonce);
  height: 64px; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 2rem; height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 70px; width: auto; max-width: 250px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin-left: 1rem; flex: 1; }
.nav-links a {
  color: rgba(255,255,255,.88);
  text-decoration: none; font-size: .95rem; font-weight: 600;
  transition: color var(--tr);
}
.nav-links a:hover { color: var(--cyan); }
.nav-btn {
  margin-left: auto;
  background: var(--cyan); color: var(--bleu-fonce);
  font-weight: 800; font-size: .95rem;
  padding: .55rem 1.6rem; border-radius: 99px;
  text-decoration: none;
  transition: background var(--tr), transform var(--tr);
  white-space: nowrap;
}
.nav-btn:hover { background: #fff; transform: translateY(-1px); }

/* HERO */
.hero {
  position: relative;
  height: 75vh; min-height: 520px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 3.5rem; overflow: hidden;
  margin-top: 64px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/accueil_img.png') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,30,60,.15) 0%, rgba(0,30,60,.55) 100%);
  z-index: 1;
}
.hero-body {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  width: 100%; padding: 0 1.5rem;
}
.hero-body h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* SEARCH BAR */
.search-bar {
  background: #fff;
  border-radius: 99px;
  display: flex; align-items: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  overflow: hidden;
  max-width: 860px; width: 100%;
}
.search-field {
  display: flex; align-items: center;
  gap: .5rem; padding: 0 1.4rem;
  flex: 1; height: 60px; min-width: 0;
}
.search-icon { font-size: 1.1rem; flex-shrink: 0; }
.search-field select,
.search-field input[type="date"] {
  border: none; outline: none;
  font-family: inherit; font-size: .95rem;
  font-weight: 600; color: var(--texte);
  background: transparent; width: 100%;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.search-divider { width: 1px; height: 30px; background: #dde4ea; flex-shrink: 0; }
.search-btn {
  background: var(--bleu-fonce); color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 0 2.2rem; height: 60px;
  border-radius: 0 99px 99px 0;
  border: none; outline: none; cursor: pointer;
  text-decoration: none;
  display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0;
  -webkit-appearance: none; appearance: none;
  transition: background var(--tr), transform var(--tr);
  box-shadow: none;
}
.search-btn:hover { background: #00328F; color: #fff;}

/* DATE WRAPPER */
.date-wrapper { position: relative; display: flex; flex-direction: column; line-height: 1; }
.date-wrapper label {
  font-size: .7rem; font-weight: 600; color: #888;
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 2px; pointer-events: none;
}
.date-display { font-size: .95rem; color: #222; pointer-events: none; }

/* SECTIONS BASE */
section { padding: 5rem 1.5rem; }
.section-label {
  display: inline-block;
  color: var(--bleu-clair); font-size: .78rem;
  font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 900; color: var(--bleu-fonce); margin-bottom: .9rem; }
.section-sub { color: #5a6e82; font-size: 1.05rem; max-width: 580px; margin: 0 auto 3rem; }

/* CONCEPT */
.concept { background: var(--sable); }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.concept-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--cyan);
  transition: transform var(--tr);
}
.concept-card:hover { transform: translateY(-4px); }
.concept-icon { font-size: 2.2rem; margin-bottom: .8rem; display: block; }
.concept-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--bleu-fonce); margin-bottom: .4rem; }
.concept-card p { color: #5a6e82; font-size: .92rem; }

/* BULLES */
.bulles-section { background: #fff; }
.bulles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 1rem; }
.bulle-card {
  border: 1px solid rgba(23,107,255,.15);
  border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 4px 20px rgba(0,60,120,.07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.bulle-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,91,154,.15); }
.bulle-card-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--sable); display: flex; align-items: center; justify-content: center; }
.bulle-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bulle-card:hover .bulle-card-img img { transform: scale(1.04); }
.bulle-card-body { padding: 1.4rem 1.6rem 1.8rem; text-align: center; }
.bulle-size {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bleu), var(--cyan));
  color: #fff; font-size: 1rem; font-weight: 900;
  margin: 0 auto .8rem;
  box-shadow: 0 4px 12px rgba(0,91,154,.25);
}
.bulle-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--bleu-fonce); margin-bottom: .3rem; }
.bulle-card .capacite { color: #6b8394; font-size: .88rem; margin-bottom: .45rem; }
.bulle-card .bulle-desc { color: #7a8fa0; font-size: .85rem; margin-bottom: 1rem; line-height: 1.5; }
.bulle-price { font-size: 1.8rem; font-weight: 900; color: var(--bleu); margin-bottom: 1.1rem; }
.bulle-price span { font-size: .85rem; font-weight: 400; color: #9fb0c0; }

/* ACTIVITES */
.activites { background: var(--gris); }
.activites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1rem; }
.activite-card {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4;
  background-image: var(--bg); background-size: cover; background-position: center;
  cursor: pointer; transition: transform var(--tr), box-shadow var(--tr);
}
.activite-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.activite-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.activite-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem 1.4rem 1.6rem; z-index: 1; text-align: left; }
.activite-body h3 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: .3rem; }
.activite-body p { font-size: .85rem; color: rgba(255,255,255,.82); line-height: 1.45; }

/* CHIFFRES */
.chiffres { background: linear-gradient(135deg, var(--bleu-fonce), var(--bleu-clair)); padding: 4rem 1.5rem; }
.chiffres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.chiffre-item .number { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: white; display: block; line-height: 1; }
.chiffre-item .label { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .4rem; display: block; }

/* RSE */
.rse { background: var(--sable); }
.rse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.rse-card {
  background: #fff; border-left: 5px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem; box-shadow: var(--shadow);
}
.rse-card h3 { color: var(--bleu-fonce); font-size: .95rem; font-weight: 800; margin-bottom: .4rem; }
.rse-card p { color: #5a6e82; font-size: .88rem; }

/* CTA FINAL */
.cta-final { background: linear-gradient(135deg, var(--bleu), var(--bleu-clair)); padding: 5rem 1.5rem; text-align: center; }
.cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: .8rem; }
.cta-final p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-btn {
  display: inline-block; background: var(--bleu-fonce); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  padding: 1rem 2.8rem; border-radius: 99px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,176,230,.4);
  transition: transform var(--tr), box-shadow var(--tr);
}
.cta-btn:hover { background: #fff; color: var(--bleu-fonce); }

/* ============================
   RÉSULTATS
============================ */
.results-hero {
    background: linear-gradient(135deg, #0a3d62 0%, #1a6fa8 60%, #48cae4 100%);
    padding: 3rem 1rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 64px;
}
.results-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.results-hero p  { opacity: .85; font-size: .95rem; }

.results-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.25rem;
}
.results-meta .tag {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .85rem;
}

.results-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}
.results-count { font-size: .9rem; color: #888; margin-bottom: 1.5rem; }

.bulle-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.bulle-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.bulle-size-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    color: #fff; border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .8rem; font-weight: 600;
    border: 1px solid rgba(255,255,255,.3);
}

.bulle-card-body { padding: 1.25rem; }
.bulle-card-body h2 { font-size: 1.15rem; color: #0a3d62; margin-bottom: .25rem; }
.bulle-card-body .desc { font-size: .88rem; color: #777; margin-bottom: 1rem; line-height: 1.5; }
.bulle-card-body .capa { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: #555; }

.bulle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.prix-total { font-size: 1.4rem; font-weight: 700; color: #1a6fa8; }
.prix-total span { font-size: .8rem; font-weight: 400; color: #aaa; }

.btn-reserver {
    background: var(--cyan); color: #fff;
    padding: .6rem 1.25rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: .9rem;
    transition: background .2s;
}
.btn-reserver:hover { background: #009CCC; }

.empty-results { text-align: center; padding: 4rem 1rem; color: #aaa; }
.empty-results p { font-size: 1.1rem; margin-bottom: 1rem; }

/* FOOTER */
footer { background: var(--bleu-fonce); color: rgba(255,255,255,.6); text-align: center; padding: 2rem 1.5rem; font-size: .88rem; }
footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .activites-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .search-bar { flex-direction: column; border-radius: 16px; overflow: visible; padding: .75rem; }
  .search-field { width: 100%; height: auto; padding: .6rem .75rem; border-bottom: 1px solid #eee; }
  .search-field:last-of-type { border-bottom: none; }
  .search-divider { display: none; }
  .search-btn { border-radius: 10px; width: 100%; justify-content: center; height: 50px; margin-top: .25rem; }
}
@media (max-width: 480px) {
  .activites-grid { grid-template-columns: 1fr; }
}
