:root {
  --navy: #0b3f4a;
  --navy-dark: #062e36;
  --turquoise: #168f91;
  --turquoise-light: #8fd8d2;
  --coral: #e97354;
  --coral-dark: #c7563a;
  --sand: #f6f0e5;
  --sand-dark: #e8dccb;
  --white: #ffffff;
  --ink: #26383c;
  --muted: #60757a;
  --shadow: 0 24px 60px rgba(6, 46, 54, .14);
  --radius: 28px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(6,46,54,.1);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.brand-text small { margin-top: 5px; text-transform: uppercase; letter-spacing: .16em; font-size: .61rem; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 600; }
.main-nav > a:not(.nav-book) { position: relative; }
.main-nav > a:not(.nav-book)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--coral);
  transition: right .2s ease;
}
.main-nav > a:hover::after, .main-nav > a.is-active::after { right: 0; }
.nav-book {
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(233,115,84,.28);
}
.nav-book:hover { background: var(--coral-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: currentColor; }

/* Sélecteur de langue */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .08em;
}
.language-switch a {
  min-width: 31px;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
  opacity: .7;
}
.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: var(--white);
  color: var(--navy);
  opacity: 1;
}
.site-header.is-scrolled .language-switch a:hover,
.site-header.is-scrolled .language-switch a[aria-current="page"],
.legal-header .language-switch a:hover,
.legal-header .language-switch a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}
.legal-nav .language-switch a { text-decoration: none; }

.hero { min-height: 100vh; background: var(--navy-dark); color: var(--white); }
.hero-carousel, .hero-slide { min-height: calc(100vh - 96px); }
.hero-carousel { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,46,54,.84) 0%, rgba(6,46,54,.53) 48%, rgba(6,46,54,.2) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--turquoise-light);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.eyebrow.dark { color: var(--turquoise); }
.hero h1, .hero h2, .section h2, .gallery-banner h2, .contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
}
.hero h1, .hero h2 { max-width: 820px; font-size: clamp(3.2rem, 7vw, 6.8rem); }
h1 em, h2 em { color: var(--turquoise-light); font-weight: 600; }
.hero-content > p:not(.eyebrow) { max-width: 610px; margin: 28px 0 0; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: var(--white); box-shadow: 0 14px 28px rgba(233,115,84,.24); }
.button-primary:hover { background: var(--coral-dark); }
.button-ghost { border-color: rgba(255,255,255,.65); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--navy); }
.button-light { background: var(--white); color: var(--navy); }
.carousel-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(6,46,54,.2);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.carousel-prev { left: 22px; }
.carousel-next { right: 22px; }
.carousel-dots { position: absolute; z-index: 4; bottom: 28px; left: 50%; translate: -50% 0; display: flex; gap: 8px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); }
.carousel-dots button.is-active { width: 30px; border-radius: 99px; background: var(--white); }
.hero-features {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}
.hero-features > div { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-content: center; padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-features > div:first-child { border-left: 1px solid rgba(255,255,255,.13); }
.hero-features span { grid-row: 1 / 3; align-self: center; color: var(--turquoise-light); font-size: 1.35rem; }
.hero-features strong { font-size: .95rem; }
.hero-features small { opacity: .7; }

.section h2, .contact-section h2 { color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.8rem); }
.section h2 em, .contact-section h2 em { color: var(--turquoise); }
.section-copy p, .accommodation-copy p { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--ink) !important; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.section-copy p { max-width: 660px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 16px; color: var(--navy); font-weight: 700; }
.text-link span { color: var(--coral); transition: translate .2s ease; }
.text-link:hover span { translate: 5px 0; }
.photo-composition { position: relative; min-height: 620px; }
.photo-main { position: absolute; inset: 0 13% 7% 0; margin: 0; overflow: hidden; border-radius: 180px 20px 180px 20px; box-shadow: var(--shadow); }
.photo-main img, .photo-small img, .accommodation-gallery img, .destination-card img, .gallery-banner img { height: 100%; object-fit: cover; }
.photo-small { position: absolute; right: 0; bottom: 0; width: 48%; height: 40%; margin: 0; overflow: hidden; border: 10px solid var(--white); border-radius: 22px 90px 22px 90px; box-shadow: var(--shadow); }
.floating-note { position: absolute; right: 0; top: 8%; display: grid; padding: 18px 23px; border-radius: 18px; background: var(--coral); color: var(--white); box-shadow: var(--shadow); }
.floating-note strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; }
.floating-note span { font-size: .78rem; opacity: .85; }

.destination-section { background: var(--sand); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.section-heading p:last-child { color: var(--muted); max-width: 520px; }
.destination-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.destination-card { position: relative; min-height: 380px; overflow: hidden; border-radius: var(--radius); box-shadow: 0 18px 44px rgba(6,46,54,.12); }
.destination-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(6,46,54,.9)); }
.destination-card img { transition: transform .6s ease; }
.destination-card:hover img { transform: scale(1.04); }
.destination-card div { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: var(--white); }
.destination-card span { color: var(--turquoise-light); font-weight: 700; letter-spacing: .14em; font-size: .75rem; }
.destination-card h3 { margin: 7px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; line-height: 1.1; }

.accommodation-section { background: var(--white); }
.studio-section { background: var(--sand); }
.accommodation-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(45px, 7vw, 90px); align-items: center; }
.accommodation-reverse .accommodation-gallery { order: 2; }
.accommodation-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.accommodation-gallery figure { margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); }
.accommodation-gallery .gallery-large { grid-row: 1 / 3; border-radius: 120px 24px 24px 24px; }
.accommodation-reverse .gallery-large { border-radius: 24px 120px 24px 24px; }
.accommodation-copy h3 { margin: 30px 0 0; color: var(--navy); font-size: 1.2rem; }
.amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 34px; padding: 0; list-style: none; }
.amenities li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink); }
.amenities span { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: rgba(22,143,145,.12); color: var(--turquoise); font-size: .76rem; font-weight: 700; }

.gallery-banner { position: relative; min-height: 650px; overflow: hidden; background: var(--navy-dark); color: var(--white); }
.gallery-banner-track { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 100%); transition: transform .7s ease; }
.gallery-banner-track figure { margin: 0; }
.gallery-banner-track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,46,54,.8), rgba(6,46,54,.18)); pointer-events: none; }
.gallery-banner-copy { position: absolute; z-index: 2; left: max(20px, calc((100% - 1180px) / 2)); top: 50%; translate: 0 -50%; }
.gallery-banner h2 { font-size: clamp(3rem, 6vw, 5.8rem); }

.contact-section { background: var(--navy); color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-section h2 em { color: var(--turquoise-light); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 7vw, 95px); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.74); max-width: 560px; }
.contact-details { display: grid; gap: 14px; margin-top: 36px; font-style: normal; }
.contact-details a { display: flex; gap: 15px; align-items: center; }
.contact-details a > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--turquoise-light); }
.contact-details div { display: grid; }
.contact-details small { color: rgba(255,255,255,.58); }
.contact-form { display: grid; gap: 16px; padding: clamp(25px, 4vw, 42px); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 26px 60px rgba(0,0,0,.19); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #d8e0e0; border-radius: 12px; background: #fbfcfc; padding: 13px 14px; color: var(--ink); outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(22,143,145,.12); }
.privacy-note { margin: 2px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--sand); color: var(--muted); font-size: .82rem; font-weight: 500; }
.privacy-note a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: .75rem; }

.site-footer { background: var(--navy-dark); color: var(--white); padding: 65px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr auto; gap: 40px; align-items: start; }
.footer-grid > p { margin: 0; color: rgba(255,255,255,.62); }
.footer-links { display: grid; gap: 9px; color: rgba(255,255,255,.72); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: .78rem; }
.mobile-booking { display: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .site-header { padding-inline: 20px; }
  .menu-toggle { display: block; color: inherit; }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 28px 24px;
    background: var(--white);
    color: var(--navy);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid #e9eeee; }
  .main-nav .language-switch { width: fit-content; margin: 18px 0 4px; }
  .main-nav .language-switch a { border-bottom: 0; padding: 9px 10px; }
  .main-nav .language-switch a:hover,
  .main-nav .language-switch a[aria-current="page"] { background: var(--navy); color: var(--white); }
  .main-nav .nav-book { margin-top: 10px; text-align: center; border: 0; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .hero-features > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.13); }
  .split-layout, .contact-layout { grid-template-columns: 1fr; }
  .photo-composition { min-height: 560px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .accommodation-layout { grid-template-columns: 1fr; }
  .accommodation-reverse .accommodation-gallery { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 78px 0; }
  .brand-text small { display: none; }
  .hero-carousel, .hero-slide { min-height: calc(100svh - 152px); }
  .hero-content { padding-top: 65px; }
  .hero h1, .hero h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-actions { display: grid; }
  .carousel-arrow { display: none; }
  .hero-features { min-height: auto; grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .hero-features > div { grid-template-columns: 30px 1fr; padding: 14px 12px; }
  .hero-features small { font-size: .72rem; }
  .section h2, .contact-section h2 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .photo-composition { min-height: 420px; }
  .photo-main { inset: 0 10% 9% 0; border-radius: 100px 18px 100px 18px; }
  .photo-small { width: 52%; height: 38%; border-width: 7px; }
  .floating-note { right: 2%; top: 3%; padding: 12px 16px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-card { min-height: 330px; }
  .accommodation-gallery { grid-template-rows: 220px 180px; gap: 10px; }
  .accommodation-gallery .gallery-large { border-radius: 70px 18px 18px 18px; }
  .amenities { grid-template-columns: 1fr; }
  .gallery-banner { min-height: 530px; }
  .gallery-banner-copy { right: 20px; }
  .gallery-banner h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-booking {
    display: block;
    position: fixed;
    z-index: 900;
    right: 16px;
    bottom: 16px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(6,46,54,.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Pages légales */
.legal-page { background: var(--sand); }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - 1080px) / 2));
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(6,46,54,.09);
  backdrop-filter: blur(12px);
}
.legal-nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 700; }
.legal-nav a:not(.nav-book):hover { color: var(--turquoise); }
.legal-main { padding-bottom: 96px; }
.legal-hero {
  padding: 84px 0 70px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.legal-hero .container { width: min(1080px, calc(100% - 40px)); }
.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.03em;
}
.legal-hero p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.legal-content {
  width: min(920px, calc(100% - 40px));
  margin: -30px auto 0;
  padding: clamp(30px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.legal-content h2 {
  margin: 46px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 26px 0 10px; color: var(--navy); font-size: 1.08rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); }
.legal-card {
  margin: 20px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--turquoise);
  border-radius: 0 16px 16px 0;
  background: var(--sand);
}
.legal-card p:first-child { margin-top: 0; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-warning {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(233,115,84,.45);
  border-radius: 14px;
  background: rgba(233,115,84,.08);
  color: var(--coral-dark);
}
.legal-warning strong { color: var(--coral-dark); }
.legal-date { margin-top: 52px; padding-top: 20px; border-top: 1px solid #e3e9e9; font-size: .85rem; }
.legal-page .site-footer { margin-top: 0; }
.legal-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .legal-header { min-height: 72px; padding-inline: 16px; }
  .legal-nav > a:not(.nav-book) { display: none; }
  .legal-nav .language-switch { display: inline-flex; }
  .legal-nav { gap: 10px; }
  .legal-nav .nav-book { padding: 9px 14px; }
  .legal-hero { padding: 62px 0 55px; }
  .legal-content { width: min(100% - 24px, 920px); margin-top: -20px; padding: 27px 22px; }
}
