/* ============ Dream-Cruise Lux — style.css ============ */
:root {
  --navy-900: #071531;
  --navy-800: #0a1f44;
  --navy-700: #12264f;
  --navy-600: #1b3568;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --cream: #f7f4ec;
  --white: #ffffff;
  --text: #2b2f36;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 21, 49, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--navy-800); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.gold { color: var(--gold); }
.light { color: var(--cream); }
.kicker {
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .78rem; color: var(--gold); font-weight: 600;
}
.gold-line {
  width: 72px; height: 2px; background: var(--gold);
  margin: 18px auto 0; border-radius: 2px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900); box-shadow: 0 6px 18px rgba(201, 162, 39, .35);
}
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--white); background: transparent;
}
.btn-lg { padding: 16px 42px; font-size: 1rem; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 21, 49, .92); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.header-inner {
  display: flex; align-items: center; gap: 28px; padding: 12px 0;
}
.brand-logo { height: 58px; width: auto; border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--cream); font-size: .92rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: 8px; }
.burger { display: none; background: none; border: none; cursor: pointer; }
.burger span {
  display: block; width: 26px; height: 2.5px; margin: 5px 0;
  background: var(--cream); border-radius: 2px;
}

/* ---------- Héro ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: url("../assets/hero.jpg") center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,49,.55), rgba(7,21,49,.78));
}
.hero-content { position: relative; color: var(--cream); text-align: center; padding: 140px 0 60px; }
.hero h1 { color: var(--white); margin: 14px 0 18px; }
.hero-sub { max-width: 560px; margin-inline: auto; font-size: 1.08rem; color: #e8e4d8; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin: 34px 0 60px; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: clamp(28px, 6vw, 80px);
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 28px;
}
.hero-stats strong {
  display: block; font-family: "Playfair Display", serif;
  font-size: 1.9rem; color: var(--gold-light);
}
.hero-stats span { font-size: .85rem; color: #cfd6e4; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 54px; }

/* Cartes génériques */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(7,21,49,.18); }
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Services */
.service-card .icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-size: 1.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  margin-bottom: 18px;
}
.service-card .card-img {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: 10px; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: .93rem; color: #555b64; }

/* Flotte */
.section-navy { background: var(--navy-900); }
.section-navy h2 { color: var(--cream); }
.yacht-card { text-align: center; overflow: hidden; }
.yacht-photo {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 10px; margin-bottom: 20px;
}
.yacht-specs { color: #666d78; font-size: .9rem; margin: 8px 0 12px; }
.yacht-price { font-size: .95rem; }
.yacht-price strong { color: var(--navy-800); }
.fleet-note { text-align: center; margin-top: 30px; color: #93a0b8; font-size: .85rem; font-style: italic; }

/* Destinations */
.dest-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: var(--cream); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  transition: transform .25s;
}
.dest-card:hover { transform: translateY(-5px); }
.dest-card h3 { color: var(--gold-light); font-size: 1.15rem; margin-bottom: 6px; }
.dest-card p { font-size: .88rem; color: #cfd6e4; }

/* Conditions de réservation */
.pay-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  text-align: center; position: relative;
}
.pay-num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900); font-weight: 700; font-size: 1.15rem;
  font-family: "Playfair Display", serif; margin-bottom: 12px;
}
.pay-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pay-card p { font-size: .9rem; color: #555b64; }
.cancel-box {
  max-width: 760px; margin: 44px auto 0;
  background: var(--white); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.cancel-box h3 { text-align: center; margin-bottom: 18px; }
.cancel-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}
.cancel-table th {
  background: var(--navy-800); color: var(--cream);
  text-align: left; padding: 11px 16px;
}
.cancel-table th:first-child { border-radius: 8px 0 0 0; }
.cancel-table th:last-child { border-radius: 0 8px 0 0; }
.cancel-table td {
  padding: 10px 16px; border-bottom: 1px solid #e6e8ee;
}
.cancel-table tr:nth-child(even) td { background: #f8f9fc; }
.cancel-note {
  margin-top: 18px; font-size: .82rem; color: #7d8aa5; font-style: italic;
  text-align: center;
}

/* Galerie / Expérience */
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin: 0;
}
.gallery-item img {
  width: 100%; height: 260px; object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(7,21,49,.88));
  color: var(--cream); font-size: .9rem; font-weight: 500;
  padding: 34px 18px 14px;
}

/* Contact */
.section-contact { background: var(--cream); }
.form {
  max-width: 760px; margin-inline: auto;
  background: var(--white); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--navy-800); }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid #d9dce3; background: #fbfbfd;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold);
}
.form button { justify-self: start; }
.form-ok {
  background: #eef7ef; color: #1e6b34; border: 1px solid #bfe3c8;
  padding: 12px 16px; border-radius: 8px; font-size: .9rem;
}
.form-error {
  background: #fdf0ef; color: #a33; border: 1px solid #eec6c2;
  padding: 12px 16px; border-radius: 8px; font-size: .9rem;
}

/* Bouton e-mail flottant */
.mail-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(201, 162, 39, .45);
  transition: transform .2s, box-shadow .2s;
}
.mail-btn:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(201, 162, 39, .6); }

/* Pied de page */
.footer { background: var(--navy-900); color: #b9c3d6; padding: 48px 0; }
.footer-inner {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
}
.footer-logo { height: 74px; border-radius: 10px; }
.footer p { font-size: .92rem; }
.footer .legal { font-size: .78rem; margin-top: 8px; color: #7d8aa5; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav {
    position: fixed; top: 74px; right: -100%;
    flex-direction: column; gap: 4px;
    background: var(--navy-900); width: min(78vw, 320px);
    padding: 26px 30px; border-radius: 0 0 0 18px;
    transition: right .3s; box-shadow: -8px 0 30px rgba(0,0,0,.35);
  }
  .nav.open { right: 0; }
  .nav a { padding: 12px 0; font-size: 1rem; }
  .burger { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .section { padding: 70px 0; }
  .brand-logo { height: 48px; }
}
