/* ==========================================================================
   NÉRÉA CATAMARANS — LUXURY EDITORIAL STYLESHEET
   Direction Artistique : B — NÉRÉA Editorial
   Zéro boîtes empilées · Asymétrie · Respiration magazine · Typographie de luxe
   ========================================================================== */

:root {
  --bg-cream: #FFFBF5;
  --bg-cream-soft: #F7F2E9;
  --ocean-dark: #06111C;
  --ocean-deep: #03080E;
  --text-dark: #121A21;
  --text-muted: #5A6672;
  --text-light: #FFFBF5;
  --gold-accent: #C5A27A;
  --gold-hover: #D8B791;
  --line-subtle: rgba(18, 26, 33, 0.08);
  --line-dark: rgba(255, 251, 245, 0.12);
  
  --font-serif: 'Bodoni Moda', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-max: 1360px;
  --pad-x: clamp(20px, 5vw, 64px);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
   TYPOGRAPHIE & MICRO-ÉLÉMENTS
   ========================================================================== */

.nerea-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.nerea-label.on-dark {
  color: var(--gold-accent);
}

.nerea-h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  font-variation-settings: "opsz" 28;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ocean-dark);
  margin-bottom: 24px;
}

.nerea-h2 em {
  font-style: italic;
  font-weight: 400;
}

.nerea-h2.on-dark {
  color: var(--text-light);
}

.nerea-lead {
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.nerea-subtext {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.nerea-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean-dark);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ocean-dark);
}

.nerea-link:hover {
  color: var(--gold-accent);
  border-bottom-color: var(--gold-accent);
}

.nerea-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nerea-btn--hero {
  background: var(--bg-cream);
  color: var(--ocean-dark);
  border: 1px solid var(--bg-cream);
}

.nerea-btn--hero:hover {
  background: var(--gold-accent);
  color: #fff;
  border-color: var(--gold-accent);
}

.nerea-btn--outline {
  border: 1px solid rgba(255, 251, 245, 0.4);
  color: var(--text-light);
  background: transparent;
}

.nerea-btn--outline:hover {
  border-color: var(--text-light);
  background: rgba(255, 251, 245, 0.1);
}

.nerea-btn--full {
  width: 100%;
  background: var(--gold-accent);
  color: #fff;
  border: none;
  padding: 18px;
}

.nerea-btn--full:hover {
  background: var(--gold-hover);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.nerea-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 28px var(--pad-x);
}

.nerea-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nerea-brand {
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.nerea-brand__name {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.35em;
  font-weight: 500;
}

.nerea-brand__sub {
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.45em;
  color: var(--gold-accent);
  margin-top: 2px;
}

.nerea-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nerea-nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 251, 245, 0.85);
}

.nerea-nav__link:hover {
  color: #fff;
}

.nerea-header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nerea-lang {
  font-size: 12px;
  color: rgba(255, 251, 245, 0.7);
}

/* ==========================================================================
   SEQUENCE 1 : THE HERO
   ========================================================================== */

.seq-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  background-color: var(--ocean-dark);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--pad-x);
}

.seq-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--ocean-dark);
}

.seq-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.seq-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 28, 0.4) 0%, rgba(6, 17, 28, 0.1) 40%, rgba(6, 17, 28, 0.6) 100%),
              linear-gradient(90deg, transparent 40%, rgba(6, 17, 28, 0.55) 100%);
}

.seq-hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.seq-hero__wrap {
  max-width: 480px;
  color: var(--text-light);
  text-align: left;
}

.seq-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

.seq-hero__title span {
  display: block;
}

.seq-hero__title em {
  font-style: italic;
  display: block;
}

.seq-hero__tagline {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 251, 245, 0.9);
  margin-bottom: 36px;
}

/* ==========================================================================
   SEQUENCE 2 : FREEDOM (L'ESPACE IVOIRE & ASYMÉTRIE)
   ========================================================================== */

.seq-freedom {
  padding: clamp(90px, 12vw, 160px) var(--pad-x);
  background-color: var(--bg-cream);
}

.seq-freedom__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.seq-freedom__text-col {
  max-width: 460px;
}

.seq-freedom__media-col {
  position: relative;
  display: block;
}

.seq-freedom__visual {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 17, 28, 0.14);
  background: var(--bg-cream-soft);
}

.seq-freedom__visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.seq-freedom__visual:hover img {
  transform: scale(1.025);
}

.seq-freedom__caption {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   SEQUENCE 3 : LIFE ABOARD (DÎNER EN MER & MAGAZINE SPREAD)
   ========================================================================== */

.seq-life {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  background-color: var(--bg-cream-soft);
}

.seq-life__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.seq-life__photo {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(6, 17, 28, 0.12);
}

.seq-life__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.seq-life__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(6, 17, 28, 0.7);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 0.24em;
  border-radius: 2px;
}

.seq-life__aside {
  max-width: 420px;
}

.seq-life__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ==========================================================================
   SEQUENCE 4 : THE HORIZON (RUPTURE D'ÉCHELLE PANORAMIQUE)
   ========================================================================== */

.seq-horizon {
  padding: clamp(80px, 10vw, 130px) var(--pad-x) 0;
  background-color: var(--bg-cream);
}

.seq-horizon__header {
  max-width: var(--container-max);
  margin: 0 auto 48px;
}

.seq-horizon__header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.seq-horizon__caption {
  max-width: 440px;
}

.seq-horizon__caption p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.seq-horizon__pano {
  max-width: var(--container-max);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(6, 17, 28, 0.14);
}

.seq-horizon__pano img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* ==========================================================================
   SEQUENCE 5 : THE CLOSING & CRÉPUSCULE
   ========================================================================== */

.seq-closing {
  position: relative;
  min-height: 700px;
  margin-top: clamp(80px, 10vw, 140px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(80px, 10vw, 120px) var(--pad-x);
}

.seq-closing__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.seq-closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.seq-closing__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 28, 0.3) 0%, rgba(6, 17, 28, 0.75) 75%, var(--ocean-dark) 100%),
              linear-gradient(90deg, transparent 30%, rgba(6, 17, 28, 0.75) 100%);
}

.seq-closing__inner {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.seq-closing__box {
  max-width: 480px;
  color: var(--text-light);
}

.seq-closing__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 400;
  font-variation-settings: "opsz" 36;
}

.seq-closing__title span {
  display: block;
}

.seq-closing__title span:last-child {
  color: rgba(255, 251, 245, 0.9);
  font-weight: 400;
}

.seq-closing__desc {
  font-size: 15px;
  color: rgba(255, 251, 245, 0.85);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.seq-contact {
  background-color: var(--ocean-dark);
  padding: clamp(90px, 12vw, 140px) var(--pad-x);
  color: var(--text-light);
  border-bottom: 1px solid var(--line-dark);
}

.seq-contact__container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.seq-contact__lead {
  font-size: 16px;
  color: rgba(255, 251, 245, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.seq-contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.detail-val {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}

.seq-contact__form-card {
  background: rgba(255, 251, 245, 0.03);
  border: 1px solid var(--line-dark);
  padding: clamp(30px, 5vw, 48px);
  border-radius: 4px;
}

.nerea-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 251, 245, 0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 251, 245, 0.06);
  border: 1px solid rgba(255, 251, 245, 0.15);
  color: var(--text-light);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.nerea-footer {
  background-color: var(--ocean-deep);
  padding: 60px var(--pad-x) 40px;
  color: var(--text-light);
}

.nerea-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.nerea-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 30px;
}

.nerea-footer__nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 251, 245, 0.7);
}

.nerea-footer__nav a:hover {
  color: #fff;
}

.nerea-footer__social {
  display: flex;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold-accent);
}

.nerea-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 251, 245, 0.4);
}

/* ==========================================================================
   RESPONSIVE MOBILE (390PX)
   ========================================================================== */

@media (max-width: 900px) {
  .nerea-nav,
  .nerea-header__actions .nerea-lang {
    display: none;
  }
  
  .seq-freedom__container,
  .seq-life__container,
  .seq-contact__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .seq-horizon__header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .nerea-footer__top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .nerea-footer__nav {
    flex-direction: column;
    gap: 12px;
  }
  
  .nerea-footer__bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SEQUENCE 4b : THE CHRONICLES / CAPTAIN'S LOGBOOK
   ========================================================================== */

.seq-logbook {
  padding: 120px var(--pad-x);
  background: var(--bg-cream);
  border-top: 1px solid var(--border-light);
}

.seq-logbook__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.seq-logbook__head {
  max-width: 680px;
  margin-bottom: 64px;
}

.seq-logbook__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.log-card-nerea {
  display: flex;
  flex-direction: column;
}

.log-card-nerea__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 20px;
  background: #eee;
}

.log-card-nerea__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.log-card-nerea:hover .log-card-nerea__media img {
  transform: scale(1.03);
}

.log-card-nerea__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.log-card-nerea__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ocean-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.log-card-nerea__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

@media (max-width: 900px) {
  .seq-logbook {
    padding: 70px var(--pad-x);
  }
  .seq-logbook__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ==========================================================================
   BREATHING LUXURY INTERACTIONS & SMOOTH DYNAMICS (NÉRÉA 2030)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

.seq-hero__img {
  will-change: transform;
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.seq-life__photo {
  overflow: hidden;
  border-radius: 2px;
}

.seq-life__photo img {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.log-card-nerea {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.log-card-nerea:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .seq-hero__img, .seq-life__photo img {
    transform: none !important;
  }
}
