/**
 * layout.css — MY PRESTIGE
 *
 * Responsabilité : Mise en page générale, sections, navigation,
 * layout des conteneurs principaux, espaces (padding, margin).
 *
 * Règle : aucune couleur en dur, tout via variables :root
 */


/* ═══════════════════════════════════════════════════════════
   TOP NAV — Language selector
   ═══════════════════════════════════════════════════════════ */
.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  pointer-events: none;
}

.tn-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: all;
}

.tn-lang-btn {
  background: none;
  border: none;
  color: rgba(248, 245, 238, 0.5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.3s;
  padding: 4px 8px;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

.tn-lang-btn:hover {
  color: var(--c);
}

.tn-lang-btn.active {
  color: var(--c);
  border-bottom: 1px solid var(--c);
}

.tn-lang-sep {
  color: rgba(248, 245, 238, 0.3);
  font-size: 11px;
}

/* ═══════════════════════════════════════════════════════════
   HERO — Full viewport landing section with parallax
   ═══════════════════════════════════════════════════════════ */
.hero {
  height: 100vh;
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 21, 32, 0.9) 0%, rgba(10, 21, 32, 0.6) 50%, rgba(10, 21, 32, 0.5) 100%);
}

.hero-ov2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 20%, rgba(10, 21, 32, 0.5) 100%);
}

/* Decorative gold lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 160%;
  transform: rotate(12deg);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(232, 223, 160, 0.18) 42%,
    rgba(232, 223, 160, 0.28) 58%,
    transparent
  );
}

.hero-lines::before {
  top: -30%;
  right: 30%;
}

.hero-lines::after {
  top: -30%;
  right: 42%;
  background: linear-gradient(to bottom, transparent, rgba(232, 223, 160, 0.07) 50%, transparent);
}

#canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 900px;
}

.hero-ey {
  font-size: 8.5px;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-ey::before,
.hero-ey::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--c);
}

.hero-lg {
  width: clamp(260px, 38vw, 520px);
  height: auto;
  filter: drop-shadow(0 6px 50px rgba(232, 223, 160, 0.25));
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--wd);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  margin-top: -60px;
}

.hero-act {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   COMMON ELEMENTS — Shared across sections
   ═══════════════════════════════════════════════════════════ */

/* Section label (avec décor or) */
.sl {
  font-size: 8.5px;
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 14px;
}

.sl::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c);
}

.sl.c {
  justify-content: center;
  margin: 0 auto 18px;
}

.sl.c::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c);
}

/* Section h2 */
.sh2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  margin-top: 18px;
}

.sh2 em {
  font-style: italic;
  color: var(--c);
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS — About, services, membership, destinations, contact
   ═══════════════════════════════════════════════════════════ */
.sec {
  padding: 120px 80px;
}

/* About section */
.about {
  background: var(--nm);
  padding: 120px 80px;
}

.about-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.astats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 46px;
}

.asn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--c);
  line-height: 1;
}

.asl {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wd);
  margin-top: 5px;
}

.at {
  font-size: 13px;
  line-height: 2;
  color: var(--wd);
  margin-bottom: 18px;
}

.aq {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--w);
  border-left: 2px solid var(--c);
  padding-left: 22px;
  margin-top: 34px;
  line-height: 1.7;
}

.about-presence {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid rgba(232, 223, 160, 0.08);
}

.pres-item {
  font-size: 8.5px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--wd);
  padding: 8px 20px;
  position: relative;
  transition: color 0.3s;
}

.pres-item:hover {
  color: var(--c);
}

.pres-item:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(232, 223, 160, 0.18);
  font-size: 6px;
}

/* ═══════════════════════════════════════════════════════════
   VISUAL BREAKS — Full-width image sections with text overlay
   ═══════════════════════════════════════════════════════════ */
.vb {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.vb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 0.1s linear;
  will-change: transform;
}

.vb-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 21, 32, 0.9) 0%, rgba(10, 21, 32, 0.6) 50%, rgba(10, 21, 32, 0.3) 100%);
}

.vb-ct {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 760px;
}

.vb-lbl {
  font-size: 8px;
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.vb-lbl::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--c);
}

.vb-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.8vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--w);
  line-height: 1.25;
}

.vb-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wd);
  margin-top: 24px;
}

/* CTA discret sous le sous-titre (partagé) */
.vb-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.3s, gap 0.3s;
}
.vb-cta:hover { gap: 22px; border-color: var(--c); }

@media (max-width: 768px) {
  .vb-bg { background-attachment: scroll; }
  .vb-ct { padding: 0 28px; }
}

/* ═══════════════════════════════════════════════════════════
   YACHT — Section éditoriale (photo fond + vidéo portrait)
   ═══════════════════════════════════════════════════════════ */
.yacht-editorial {
  position: relative;
  overflow: hidden;
  background: #060f1c;
}

/* Fond photo avec léger assombrissement */
.yacht-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.04);
  will-change: transform;
}

/* Dégradé latéral : obscurcit la gauche pour lisibilité du texte */
.yacht-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(4, 12, 24, 0.96) 0%,
    rgba(4, 12, 24, 0.7) 45%,
    rgba(4, 12, 24, 0.15) 100%
  );
}

/* Layout deux colonnes */
.yacht-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 90px 80px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* Colonne texte */
.yacht-text {
  flex: 1;
  max-width: 520px;
}

.yacht-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--w);
  line-height: 1.25;
  margin: 0 0 0 0;
}

.yacht-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wd);
  margin-top: 22px;
  line-height: 2;
}

/* Cadre vidéo portrait — résolution native, sans distorsion */
.yacht-frame {
  flex: 0 0 auto;
  position: relative;
  width: 260px;
  /* hauteur proportionnelle au ratio 576×1024 = 9:16 */
  height: 462px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(201, 168, 76, 0.06);
}

/* Liseré doré animé */
.yacht-frame-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
  animation: yachtBorderPulse 4s ease-in-out infinite;
}
@keyframes yachtBorderPulse {
  0%, 100% { border-color: rgba(201, 168, 76, 0.4); }
  50%       { border-color: rgba(201, 168, 76, 0.75); }
}

/* Vidéo en résolution native : object-fit cover dans le cadre portrait */
.yacht-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Légende discrète en bas du cadre */
.yacht-frame-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(4, 12, 24, 0.88) 0%, transparent 100%);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c);
  text-align: center;
}

/* Mobile : empilé */
@media (max-width: 900px) {
  .yacht-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 28px;
    gap: 44px;
  }
  .yacht-bg { background-attachment: scroll; }
  .yacht-frame {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9 / 16;
    align-self: center;
  }
}


/* ═══════════════════════════════════════════════════════════
   SERVICES (COMPASS) — Boussole interactive
   ═══════════════════════════════════════════════════════════ */
.srv {
  background: var(--n);
  padding: 120px 80px;
}

.srv-head {
  text-align: center;
  margin-bottom: 64px;
}

.srv-hint {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wd);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.srv-hint::before,
.srv-hint::after {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(232, 223, 160, 0.18);
}

.cp-lay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* Compass wrapper */
.cp-w {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ═══════════════════════════════════════════════════════════
   DESTINATIONS — Grid de destinations
   ═══════════════════════════════════════════════════════════ */
.dst {
  background: var(--n);
  padding: 120px 80px;
}

.dst-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 46px;
  gap: 18px;
  flex-wrap: wrap;
}

.sa {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s;
}

.sa:hover {
  gap: 18px;
}

.sa::after {
  content: '→';
}

.dest-g {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 290px 255px;
  gap: 3px;
}

.dc:first-child {
  grid-row: 1 / 3;
}


/* ═══════════════════════════════════════════════════════════
   CONTACT — Formulaires et infos
   ═══════════════════════════════════════════════════════════ */
.ct {
  background: var(--nm);
  padding: 120px 80px;
}

.ct-head {
  text-align: center;
  margin-bottom: 70px;
}

.ct-h2 em {
  font-style: italic;
  color: var(--c);
}

.ct-sub {
  font-size: 13px;
  color: var(--wd);
  margin-top: 14px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.ct-nav {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
  justify-content: center;
}

.ct-btn {
  flex: 1;
  padding: 24px 22px;
  background: var(--nd);
  border: 1px solid rgba(232, 223, 160, 0.08);
  color: var(--wd);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: none;
}

.ct-btn:hover {
  color: var(--c);
  background: rgba(232, 223, 160, 0.03);
}

.ct-btn-active {
  background: var(--n);
  color: var(--w);
  border: 1px solid rgba(232, 223, 160, 0.18);
}

.ct-g {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.ct-col {
  background: var(--n);
  padding: 50px 44px;
  display: block;
  animation: fu 0.5s ease-out;
}

.ct-col.ct-hidden {
  display: none;
}

.ct-col-t {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 5px;
}

.ct-col-s {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wd);
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(232, 223, 160, 0.08);
}

.ct-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.ct-it {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--wd);
}

.ct-it .ic {
  color: var(--c);
}

.ct-it a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.ct-it a:hover {
  color: var(--c);
}

/* ═══════════════════════════════════════════════════════════
   PRICING — Nos formules d'abonnement (indicatif)
   ═══════════════════════════════════════════════════════════ */
.pricing {
  background: var(--n);
  padding: 120px 80px;
}

.pricing-head {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-note {
  font-size: 12px;
  color: rgba(248, 245, 238, 0.5);
  letter-spacing: 0.08em;
  margin-top: 16px;
  font-style: italic;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(320px, 640px);
  gap: 40px;
  max-width: 680px;
  margin: 0 auto;
  justify-content: center;
}

.pricing-card {
  background: rgba(232, 223, 160, 0.03);
  border: 1px solid rgba(232, 223, 160, 0.12);
  padding: 48px 32px;
  border-radius: 8px;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(232, 223, 160, 0.3);
  background: rgba(232, 223, 160, 0.06);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--c);
  background: rgba(232, 223, 160, 0.08);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  content: none;
}

.pc-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--w);
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
}

.pc-tag {
  font-size: 12px;
  color: var(--c);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-style: italic;
}

.pc-price {
  font-size: 36px;
  font-weight: 300;
  color: var(--w);
  margin-bottom: 8px;
}

.pc-unit {
  font-size: 11px;
  color: rgba(248, 245, 238, 0.6);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pc-features li {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(248, 245, 238, 0.75);
  padding-left: 20px;
  position: relative;
}

.pc-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c);
  font-weight: 600;
}

.pc-features li.highlight {
  color: var(--c);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER — Form section pour Brevo
   ═══════════════════════════════════════════════════════════ */
.newsletter {
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(26, 45, 84, 0.5) 0%, rgba(34, 58, 111, 0.5) 100%);
  border-top: 1px solid rgba(232, 223, 160, 0.08);
  border-bottom: 1px solid rgba(232, 223, 160, 0.08);
}

.nl-head {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.nl-head .sh2 {
  margin-bottom: 24px;
}

.nl-desc {
  font-size: 15px;
  color: rgba(248, 245, 238, 0.75);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.nl-form {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(232, 223, 160, 0.1);
  border-radius: 12px;
  padding: 0;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.nl-form iframe {
  border-radius: 8px;
  width: 100%;
}

.nl-form .sib-form {
  width: 100% !important;
}

.nl-form #sib-form-container {
  width: 100% !important;
}

@media (max-width: 768px) {
  .newsletter {
    padding: 60px 20px;
  }

  .nl-form {
    padding: 30px 20px;
  }

  .nl-form iframe {
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .newsletter {
    padding: 40px 16px;
  }

  .nl-head .sh2 {
    font-size: 24px;
  }

  .nl-desc {
    font-size: 13px;
  }

  .nl-form {
    padding: 20px 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — Bottom band with links and branding
   ═══════════════════════════════════════════════════════════ */
footer {
  background: var(--nd);
  border-top: 1px solid rgba(232, 223, 160, 0.08);
  padding: 68px 80px 36px;
}

.ft {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.ft-logo {
  height: 46px;
  width: auto;
}

.ft-tag {
  font-size: 11px;
  color: var(--wd);
  margin-top: 14px;
  line-height: 1.85;
}

.fc-t {
  font-size: 8px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 18px;
}

.fc-l {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fc-l a {
  font-size: 11.5px;
  color: var(--wd);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.fc-l a:hover {
  color: var(--c);
}

.fb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(232, 223, 160, 0.06);
  font-size: 9px;
  color: rgba(248, 245, 238, 0.18);
  letter-spacing: 0.15em;
  flex-wrap: wrap;
  gap: 10px;
}

.gld {
  color: var(--c);
}
