:root {
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: #f6fbfe;
  --text: #1f2f3d;
  --muted: #617487;
  --line: rgba(31, 47, 61, 0.08);
  --primary: #1ea7e6;
  --primary-dark: #0c8ecc;
  --primary-soft: #dff3fc;
  --shadow: 0 18px 45px rgba(19, 71, 102, 0.10);
  --shadow-strong: 0 24px 55px rgba(13, 58, 87, 0.16);
  --radius: 24px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30,167,230,0.05), transparent 30%),
    radial-gradient(circle at bottom right, rgba(30,167,230,0.04), transparent 30%),
    #f8fafc;
  line-height: 1.55;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

iframe {
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 28px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1f2f3d;
}

.brand-text span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1ea7e6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2f3d;
  position: relative;
  transition: color 0.2s ease;
  padding: 10px 14px;
  border-radius: 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: #1ea7e6;
  background: rgba(30,167,230,0.08);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  font-size: 1rem;
  transition: 0.22s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 25px rgba(30, 167, 230, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(30, 167, 230, 0.32);
}

.btn-light {
  background: rgba(255, 255, 255, 0.90);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.btn-light:hover {
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #f7fcff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("https://le-cocon-de-jade.fr/Images/Cocon-de-Jade-1.png") center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14, 28, 40, 0.58) 0%,
      rgba(14, 28, 40, 0.34) 38%,
      rgba(14, 28, 40, 0.12) 62%,
      rgba(14, 28, 40, 0.04) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  padding: 100px 0 72px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 0 0 28px;
  max-width: 680px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-points {
  margin: 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero-points li + li {
  margin-top: 6px;
}

.hero h1,
.hero-text,
.hero-kicker,
.hero-proof,
.hero-points {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.section-head {
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.section-kicker-inline {
  margin-bottom: 14px;
}

.section-head h2,
.quote-box h2,
.feature-text h2,
.reservation-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-head p,
.quote-box p,
.feature-text p,
.reservation-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--primary-soft);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  padding-top: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.feature-media {
  min-height: 100%;
}

.slider {
  position: relative;
  height: 100%;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #dbe8f1;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  z-index: 3;
}

.slider-btn-prev {
  left: 18px;
}

.slider-btn-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: #fff;
}

.feature-text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.mini-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.mini-label-light {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
}

.check-list {
  margin: 0 0 28px;
  padding-left: 22px;
  color: var(--text);
}

.check-list li + li {
  margin-top: 10px;
}

.photos-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.32) 100%);
}

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

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  min-height: 270px;
  background: #dfeaf2;
  box-shadow: var(--shadow);
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 560px;
}

.gallery-open {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.gallery-card-large .gallery-open {
  min-height: 560px;
}

.gallery-open img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  display: block;
  transition: transform 0.30s ease;
}

.gallery-card-large .gallery-open img {
  min-height: 560px;
}

.gallery-open:hover img {
  transform: scale(1.03);
}

.gallery-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.44) 0%, rgba(15, 23, 42, 0.08) 42%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
}

.gallery-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.quote-section {
  padding-top: 34px;
}

.quote-box {
  background: linear-gradient(135deg, #ffffff 0%, #f3fbff 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.quote-box p {
  max-width: 860px;
  margin-bottom: 24px;
}

.widget-box { 
    background: var(--surface); 
    border: 1px solid var(--line); 
    border-radius: 24px; 
    padding: 20px; 
    box-shadow: var(--shadow); 
    overflow: hidden; 
    
} 
    
.widget-box iframe { 
    border-radius: 16px; 
    background: #fff; 
    
}

.reservation-section {
  padding-top: 38px;
}

.reservation-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 40px;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(30, 167, 230, 0.93), rgba(12, 142, 204, 0.96)),
    url("https://le-cocon-de-jade.fr/Images/Cocon-de-Jade-6.png") center center / cover no-repeat;
  box-shadow: 0 20px 46px rgba(30, 167, 230, 0.24);
}

.reservation-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reservation-content p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.floating-booking {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(30, 167, 230, 0.30);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 16, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto 16px;
  border-radius: 18px;
}

.lightbox-content p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .cards,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .slider,
  .slide img {
    min-height: 400px;
    height: 400px;
  }
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 380px;
  }

  .gallery-card-large .gallery-open,
  .gallery-card-large .gallery-open img {
    min-height: 380px;
  }

  .reservation-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
  }
  
  .header-booking {
    display: none;
  }
  
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    align-items: center;
  }

  .brand {
    flex: 1;
    min-width: 0;
    gap: 12px;
  }

  .brand img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .brand-text strong {
    font-size: 1.55rem;
  }

  .brand-text span {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(31, 47, 61, 0.08);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(19, 71, 102, 0.10);
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 14px;
    padding: 14px;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 47, 61, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(19, 71, 102, 0.10);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
    border-radius: 14px;
    background: rgba(30,167,230,0.05);
    color: var(--text);
    font-weight: 800;
    font-size: 1rem;
    transition: 0.2s ease;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:active {
    background: rgba(30,167,230,0.12);
    color: var(--primary-dark);
  }

  .hero {
    min-height: auto;
    background-position: center;
  }

  .hero-content {
    padding: 32px 0 24px;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .btn-light {
    display: none;
  }

  .hero-points {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .card,
  .feature-text,
  .quote-box,
  .reservation-box,
  .widget-box {
    padding: 24px;
  }

  .floating-booking {
    display: inline-flex;
    right: 14px;
    left: 14px;
    bottom: 14px;
  }
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 270px;
  }

  .gallery-open,
  .gallery-open img,
  .gallery-card-large .gallery-open,
  .gallery-card-large .gallery-open img {
    min-height: 270px;
  }

  .slider,
  .slide img {
    min-height: 280px;
    height: 280px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .section {
    padding: 72px 0;
  }
}