:root {
  --marine: #14314e;
  --accent: #a86f28;
  --encre: #2f3a44;
  --gris: #5a6673;
  --gris-clair: #f3f5f7;
  --filet: #e0e5ea;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--gris);
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
}
h1, h2, h3 { font-family: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif; color: var(--marine); }
p + p { margin-top: 1rem; }
a { color: var(--marine); }
img { max-width: 100%; display: block; }
.coque { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }

/* ouverture : hero plein écran */
.ouverture {
  position: relative;
  height: 100vh;
  min-height: 480px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.4rem;
  background: url("../photos/hero-sous-voiles.jpg") center 42% / cover no-repeat;
}
.ouverture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 33, 0.58) 0%, rgba(8, 20, 33, 0.68) 55%, rgba(8, 20, 33, 0.78) 100%);
}
.ouverture-centre { position: relative; z-index: 2; max-width: 820px; }
.surtitre {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
}
.ouverture h1 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.65rem, 4.6vw, 3rem);
  line-height: 1.22;
  text-shadow: 0 2px 18px rgba(6, 16, 27, 0.55);
}
.accroche {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.75;
  max-width: 620px;
  margin: 1.3rem auto 2.2rem;
  text-shadow: 0 1px 12px rgba(6, 16, 27, 0.5);
}
.bouton {
  display: inline-block;
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.95rem 2.3rem;
  box-shadow: 0 10px 26px rgba(8, 20, 33, 0.35);
  transition: background 0.2s, transform 0.2s;
}
.bouton:hover, .bouton:focus { background: #8c5b1d; transform: translateY(-2px); }

/* barre : en-tête, posé sous le hero */
.barre {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--filet);
  box-shadow: 0 2px 12px rgba(20, 49, 78, 0.07);
}
.barre-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.enseigne { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.enseigne img { width: 40px; height: 40px; }
.enseigne span {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marine);
}
.menu { display: flex; gap: 1.7rem; list-style: none; }
.menu a {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gris);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.menu a:hover, .menu a:focus { color: var(--marine); border-bottom-color: var(--accent); }
.ouvre {
  display: none;
  background: none;
  border: 1px solid var(--filet);
  border-radius: 5px;
  width: 42px;
  height: 36px;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--marine);
  cursor: pointer;
}

/* bandes alternées */
.bande { padding: 4rem 0; background: #fff; }
.bande--claire { background: var(--gris-clair); }
.entete { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.etiquette {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.entete h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.38; }
.filet { width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin: 1.1rem auto 0; }
.colonne { max-width: 760px; margin: 0 auto; }

/* chapô */
.chapo {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.07rem;
  line-height: 1.95;
  color: var(--encre);
}

/* trois repères */
.reperes {
  display: flex;
  gap: 2.2rem;
  margin-top: 3.2rem;
}
.repere { flex: 1 1 0; text-align: center; }
.rond {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.repere h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.repere p { font-size: 0.93rem; line-height: 1.8; }
.i-voile {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 30px solid #fff;
  transform: skewX(-7deg) translateY(-2px);
}
.i-vent { position: relative; width: 32px; height: 3px; background: #fff; border-radius: 2px; }
.i-vent::before, .i-vent::after {
  content: "";
  position: absolute;
  left: 0;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}
.i-vent::before { top: -9px; width: 22px; }
.i-vent::after { top: 9px; width: 27px; }
.i-cadran { position: relative; width: 30px; height: 30px; border: 3px solid #fff; border-radius: 50%; }
.i-cadran::before, .i-cadran::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.i-cadran::before { width: 2.5px; height: 10px; left: 10.5px; top: 4px; }
.i-cadran::after { width: 8px; height: 2.5px; left: 11px; top: 11.5px; }

/* paire texte + photo */
.paire { display: flex; gap: 2.8rem; align-items: center; }
.paire--retour { flex-direction: row-reverse; }
.paire-texte { flex: 1 1 54%; }
.paire-photo { flex: 1 1 46%; }
.paire-photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 49, 78, 0.16);
}
.paire-photo img.cadrage-bas { object-position: center 80%; }

/* pied de page */
.bas { background: var(--marine); padding: 2.6rem 0 2.1rem; }
.bas-etage { padding: 1.5rem 0; }
.bas-etage + .bas-etage { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.bas-plan {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  list-style: none;
  margin-bottom: 1.1rem;
}
.bas-plan a {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}
.bas-plan a:hover, .bas-plan a:focus { color: #fff; }
.bas-phrase {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.bas-media { text-align: center; }
.bas-etiquette {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.hublot {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #0a1726;
}
.hublot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bas-legende {
  max-width: 540px;
  margin: 0.85rem auto 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}
.bas-bas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
}
.bas p {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

/* flèche de retour en haut */
html.js .remonte {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--marine);
  box-shadow: 0 8px 20px rgba(8, 20, 33, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.remonte.visible { opacity: 1; visibility: visible; transform: none; }
.remonte::before {
  content: "";
  width: 11px;
  height: 11px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg) translate(-2px, 2px);
}

/* apparition en fondu */
.anime .fondu { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anime .fondu.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anime .fondu { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .paire, .paire--retour { flex-direction: column; }
  .paire-photo { width: 100%; }
  .paire-photo img { height: 240px; }
  .reperes { flex-direction: column; gap: 2.4rem; }
}
@media (max-width: 760px) {
  .ouvre { display: block; }
  .barre { position: sticky; }
  .barre-ligne { position: relative; }
  .menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1.4rem;
    right: 1.4rem;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--filet);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(20, 49, 78, 0.14);
    padding: 0.3rem 1rem;
    display: none;
  }
  .menu.deploye { display: flex; }
  .menu li + li { border-top: 1px solid var(--filet); }
  .menu a { display: block; padding: 0.85rem 0; border-bottom: none; }
  .bande { padding: 3rem 0; }
  .ouverture { background-position: center 46%; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .accroche { margin-bottom: 1.9rem; }
  .bouton { padding: 0.85rem 1.7rem; letter-spacing: 0.16em; }
}
