/* La Rochelle Locations — bord de mer atlantique : océan, sable, blanc et rouge phare. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --abysse: #0c2a3a;
  --ocean: #0e5a7e;
  --ocean-deep: #0a4461;
  --lagon: #2f8fb5;
  --ecume: #e6f2f6;
  --sable: #f4ead8;
  --sable-deep: #eadcc2;
  --dune: #d9c19a;
  --phare: #c8232c;
  --phare-deep: #a51b23;
  --blanc: #ffffff;
  --galet: #56697a;
  --line: #d8e3e8;
  --bg: #fbf8f2;
  --text: #13303f;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgb(12 42 58 / 7%), 0 18px 40px -22px rgb(12 42 58 / 35%);
  --font-title: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 36px);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M0 8c15 0 15-7 30-7s15 7 30 7 15-7 30-7 15 7 30 7v8H0z' fill='%23000'/%3E%3C/svg%3E");
}

/* Nuances par catégorie : couleur d’accent, encre lisible et fond doux. */
.tone-0 { --tone: #0e5a7e; --tone-ink: #0a4461; --tone-soft: #e1eef4; }
.tone-1 { --tone: #c8232c; --tone-ink: #a51b23; --tone-soft: #fbe5e3; }
.tone-2 { --tone: #2f8fb5; --tone-ink: #1b6687; --tone-soft: #e3f2f8; }
.tone-3 { --tone: #b3874a; --tone-ink: #7c5a2a; --tone-soft: #f5ecdc; }
.tone-4 { --tone: #2e7d6b; --tone-ink: #1f5d4f; --tone-soft: #e0f0eb; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.72 var(--font-body);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--ocean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--phare-deep); }
:focus-visible { outline: 3px solid var(--phare); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; letter-spacing: -0.012em; color: var(--abysse); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--phare); color: var(--blanc);
  padding: 12px 18px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--blanc); }

.container { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 92px); }

/* Surtitres et liens de texte. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 12px;
  color: var(--phare-deep);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow .icon { order: -1; }
.eyebrow:has(.icon)::before { display: none; }
.eyebrow--light { color: var(--dune); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ocean); }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* Boutons, pastilles et formulaires. */
.button, button[type="submit"], input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 0; border-radius: 999px;
  background: var(--phare); color: var(--blanc);
  font-weight: 700; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgb(200 35 44 / 70%);
  transition: background-color .2s ease, transform .2s ease;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover { background: var(--phare-deep); color: var(--blanc); transform: translateY(-1px); }
.button--sand { background: var(--sable); color: var(--abysse); box-shadow: none; }
.button--sand:hover { background: var(--blanc); color: var(--abysse); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--tone-soft, var(--ecume)); color: var(--tone-ink, var(--ocean-deep));
  font-size: .78rem; font-weight: 700; text-decoration: none; letter-spacing: .02em;
}
.chip:hover { background: var(--tone, var(--ocean)); color: var(--blanc); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--blanc); color: var(--text);
}
input:focus, textarea:focus { border-color: var(--lagon); outline: 3px solid rgb(47 143 181 / 25%); outline-offset: 0; }
.search-form { display: flex; gap: 8px; align-items: stretch; }
.search-form input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 20px; }
.search-form button { flex: none; padding-inline: 18px; }
.search-form button .icon { width: 1.2em; height: 1.2em; }

/* Cordage : torsade dessinée en dégradés. */
.rope {
  height: 9px;
  background:
    repeating-linear-gradient(115deg, var(--dune) 0 6px, #c7a877 6px 8px, var(--sable) 8px 13px, #c7a877 13px 14px);
  box-shadow: inset 0 -2px 0 rgb(12 42 58 / 12%), inset 0 2px 0 rgb(255 255 255 / 45%);
}
.rope--article { border-radius: 999px; margin: 8px 0 36px; max-width: 240px; }

/* Vagues : deux couches décalées d’un même motif. */
.waves { position: relative; height: 40px; overflow: hidden; pointer-events: none; background: var(--wave-bg, transparent); }
.waves span {
  position: absolute; left: 0; bottom: 0; width: 200%; height: 100%;
  -webkit-mask: var(--wave) repeat-x 0 100% / 240px 100%;
  mask: var(--wave) repeat-x 0 100% / 240px 100%;
  animation: lrl-swell 18s linear infinite;
}
.waves span:first-child { background: var(--wave-back, var(--lagon)); opacity: .5; animation-duration: 26s; animation-direction: reverse; }
.waves span:last-child { background: var(--wave-front, var(--bg)); height: 70%; }
.waves--footer { --wave-bg: var(--bg); --wave-front: var(--abysse); --wave-back: var(--ocean); }
@keyframes lrl-swell { to { transform: translateX(-240px); } }

/* Bandeau des marées. */
.tidebar { background: var(--abysse); color: #cfe2ea; font-size: .82rem; }
.tidebar-inner { display: flex; align-items: center; gap: 18px; min-height: 38px; }
.tidebar-coords { display: inline-flex; align-items: center; gap: 6px; color: var(--dune); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.tidebar-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tidebar a { color: var(--blanc); text-decoration: none; font-weight: 600; }
.tidebar a:hover { color: var(--dune); }

/* En-tête. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.branding { margin-right: auto; }
.custom-logo { max-height: 56px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--abysse); }
.brand:hover { color: var(--abysse); }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 4px; height: 38px; padding: 0 3px 3px; border-bottom: 3px solid var(--lagon); }
.brand-mark span {
  width: 13px; background: var(--ocean);
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 4px) no-repeat, repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 5px) top / 100% 4px no-repeat;
  mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 4px) no-repeat, repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 5px) top / 100% 4px no-repeat;
}
.brand-mark span:first-child { height: 26px; }
.brand-mark span:last-child { height: 34px; background: var(--phare); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top { font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--galet); }
.brand-bottom { font-family: var(--font-title); font-size: 1.45rem; font-weight: 600; }
.brand-bottom em { font-style: italic; font-weight: 500; color: var(--phare); }

.nav-menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-menu a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--abysse); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav-menu a:hover, .nav-menu [aria-current="page"], .nav-menu .current-menu-item > a { background: var(--ecume); color: var(--ocean-deep); }
.nav-menu li { position: relative; }
.nav-menu .sub-menu { list-style: none; margin: 0; padding: 8px; }

.header-search { position: relative; }
.header-search summary {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--ecume); color: var(--ocean-deep);
  list-style: none; cursor: pointer;
}
.header-search summary::-webkit-details-marker { display: none; }
.header-search summary .icon { width: 20px; height: 20px; }
.header-search summary .icon + .icon, .header-search[open] summary .icon:first-child { display: none; }
.header-search[open] summary .icon + .icon { display: block; }
.header-search-panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(420px, 90vw);
  padding: 14px; border-radius: var(--radius); background: var(--blanc); box-shadow: var(--shadow);
}
.menu-toggle { display: none; }

@media (min-width: 961px) {
  .nav-menu .sub-menu {
    position: absolute; left: 0; top: 100%; min-width: 230px; z-index: 5;
    background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
  }
  .nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-menu .sub-menu a { border-radius: 10px; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 66px; gap: 10px; }
  .primary-nav { order: 5; width: 100%; padding-bottom: 12px; }
  .nav-menu { flex-wrap: wrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px; background: var(--blanc); color: var(--abysse);
    font-weight: 700; cursor: pointer;
  }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s ease; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .js .nav-menu { flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius); background: var(--ecume); }
  .nav-menu .sub-menu { padding: 0 0 0 16px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .tidebar-text { display: none; }
  .tidebar-inner { justify-content: space-between; }
}

/* Héros : océan, recherche et port dessiné. */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgb(47 143 181 / 45%), transparent 42%),
    linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 55%, var(--abysse) 100%);
  color: #e3eff4;
  --wave-back: var(--lagon);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(44px, 7vw, 88px) clamp(24px, 4vw, 48px); }
.hero h1 { color: var(--blanc); }
.hero-text { font-size: 1.14rem; max-width: 36em; color: #d4e6ee; }
.hero-search { max-width: 540px; margin: 26px 0 18px; }
.hero-search input { border-color: transparent; min-height: 56px; box-shadow: 0 16px 30px -18px rgb(0 0 0 / 60%); }
.hero-search button { min-height: 56px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-chips a {
  display: inline-block; padding: 6px 14px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 999px;
  color: var(--blanc); font-size: .88rem; font-weight: 600; text-decoration: none;
}
.hero-chips a:hover { background: var(--sable); border-color: var(--sable); color: var(--abysse); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-count { color: #c3d9e3; font-size: .95rem; }
.hero-count strong { font-family: var(--font-title); font-size: 1.5rem; color: var(--blanc); margin-right: 4px; }
.hero .search-form button { background: var(--phare); }

.harbor {
  position: relative; aspect-ratio: 1 / .9; overflow: hidden;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(180deg, #a9d3e4 0%, #e9eef0 58%, var(--sable) 72%);
  box-shadow: 0 0 0 8px rgb(255 255 255 / 8%), 0 30px 60px -30px rgb(0 0 0 / 70%);
}
.harbor > span { position: absolute; display: block; }
.harbor-sun { width: 22%; aspect-ratio: 1; right: 16%; top: 14%; border-radius: 50%; background: radial-gradient(circle, #fff3d6 0 45%, #f6d08e 70%, rgb(246 208 142 / 0%) 72%); }
.harbor-gull { left: 26%; top: 18%; width: 26px; height: 10px; border-top: 2px solid var(--abysse); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.harbor-gull::after { content: ""; position: absolute; left: 13px; top: -2px; width: 22px; height: 9px; border-top: 2px solid var(--abysse); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.tower {
  bottom: 24%;
  background: linear-gradient(90deg, #cdb58c 0%, #e8d9bb 40%, #d7c29c 70%, #b99d70 100%);
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 10px) no-repeat, repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 16px) top / 100% 10px no-repeat;
  mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 10px) no-repeat, repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 16px) top / 100% 10px no-repeat;
}
.tower::after { content: ""; position: absolute; left: 42%; top: 34%; width: 12%; height: 16%; border-radius: 99px 99px 0 0; background: rgb(12 42 58 / 55%); }
.tower--chain { left: 8%; width: 24%; height: 30%; }
.tower--nicolas { left: 34%; width: 20%; height: 46%; }
.lighthouse {
  right: 15%; bottom: 24%; width: 9%; height: 46%;
  background: repeating-linear-gradient(180deg, var(--phare) 0 18%, var(--blanc) 18% 34%);
  clip-path: polygon(22% 8%, 78% 8%, 100% 100%, 0 100%);
}
.lighthouse::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 9%; background: var(--abysse); }
.lighthouse-beam {
  right: 19%; bottom: 63%; width: 38%; height: 16px;
  background: linear-gradient(90deg, rgb(255 236 170 / 0%), rgb(255 236 170 / 85%));
  clip-path: polygon(0 0, 100% 40%, 100% 60%, 0 100%);
  transform-origin: right center; animation: lrl-beam 5s ease-in-out infinite alternate;
}
@keyframes lrl-beam { from { opacity: .35; } to { opacity: 1; } }
.boat { left: 58%; bottom: 20%; width: 13%; height: 5%; background: var(--abysse); border-radius: 0 0 50% 50% / 0 0 100% 100%; animation: lrl-bob 4s ease-in-out infinite; }
.boat-sail { position: absolute; left: 30%; bottom: 100%; width: 55%; height: 380%; background: var(--blanc); clip-path: polygon(0 100%, 0 0, 100% 100%); border-left: 3px solid var(--abysse); }
@keyframes lrl-bob { 50% { transform: translateY(-4px) rotate(-2deg); } }
.harbor-sea {
  left: 0; right: 0; bottom: 0; height: 25%;
  background: linear-gradient(180deg, var(--lagon), var(--ocean));
  -webkit-mask: var(--wave) repeat-x 0 0 / 90px 12px, linear-gradient(#000 0 0) 0 11px / 100% 100% no-repeat;
  mask: var(--wave) repeat-x 0 0 / 90px 12px, linear-gradient(#000 0 0) 0 11px / 100% 100% no-repeat;
}
.waves--hero { margin-top: -1px; }

/* Titres de section. */
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-heading h2 { margin: 0; }
.section-intro { max-width: 30em; margin: 0; color: var(--galet); }
.section-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 26px; }
.section--sand { background: var(--sable); position: relative; }
.section--sand::before, .section--sand::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(115deg, var(--dune) 0 6px, #c7a877 6px 8px, var(--sable-deep) 8px 13px, #c7a877 13px 14px); }
.section--sand::before { top: 0; }
.section--sand::after { bottom: 0; }

/* Cartes « séjour ». */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanc); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(12 42 58 / 8%), 0 26px 50px -24px rgb(12 42 58 / 45%); }
.card-media { position: relative; display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--ecume); }
.card-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: var(--blanc);
  -webkit-mask: var(--wave) repeat-x 0 100% / 80px 100%; mask: var(--wave) repeat-x 0 100% / 80px 100%;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.card-time { display: inline-flex; align-items: center; gap: 5px; color: var(--galet); font-size: .82rem; }
.card-title { font-size: 1.22rem; line-height: 1.22; margin-bottom: 10px; }
.card-title a { color: var(--abysse); text-decoration: none; background: linear-gradient(currentColor 0 0) 0 100% / 0 1.5px no-repeat; transition: background-size .3s ease; }
.card-title a:hover { color: var(--ocean); background-size: 100% 1.5px; }
.card-excerpt { color: #3c5463; font-size: .97rem; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px;
  border-top: 1.5px dashed var(--line); color: var(--galet); font-size: .84rem;
}
.card-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--phare-deep); font-weight: 700; }

/* Vignette de remplacement : horizon, soleil et houle. */
.seascape { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, var(--tone-soft, var(--ecume)) 0 55%, #fff 55% 56%, var(--tone, var(--ocean)) 56%); }
.seascape-sun { position: absolute; left: 18%; top: 22%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #f6d08e; box-shadow: 0 0 0 10px rgb(246 208 142 / 25%); }
.seascape-sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: repeating-linear-gradient(180deg, transparent 0 14px, rgb(255 255 255 / 22%) 14px 16px);
}
.seascape-label {
  position: absolute; right: 8%; top: 12%;
  font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: clamp(3rem, 7vw, 5rem); line-height: 1;
  color: var(--tone-ink, var(--ocean-deep)); opacity: .85;
}

/* Variante grand format et mini. */
.escales { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.escales-side { display: grid; gap: 16px; }
.card--feature .card-media { aspect-ratio: 16 / 10; }
.card--feature .card-body { padding: 24px 30px 28px; }
.card--feature .card-title { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); }
.card--mini { flex-direction: row; align-items: stretch; border-radius: var(--radius); }
.card--mini .card-media { flex: 0 0 34%; aspect-ratio: auto; min-height: 120px; }
.card--mini .card-media::after { display: none; }
.card--mini .card-body { padding: 14px 16px; }
.card--mini .card-title { font-size: 1.05rem; }
.card--mini .card-foot { border-top: 0; padding-top: 4px; }
.card--mini .seascape-label { font-size: 2.4rem; }
.card--text { background: transparent; box-shadow: none; border-radius: 0; }
.card--text:hover { transform: none; box-shadow: none; }
.card--text .card-body { padding: 0; }
.card--text .card-foot { border-top: 0; padding-top: 0; }

/* Cartes « quartier » : fiche de mouillage. */
.quartier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.quartier {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px;
  background: var(--blanc); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
  border-top: 5px solid var(--tone); box-shadow: var(--shadow);
}
.quartier-number { font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--tone); opacity: .9; margin-bottom: 12px; }
.quartier-name { font-size: 1.35rem; margin-bottom: 8px; }
.quartier-name a { color: var(--abysse); text-decoration: none; }
.quartier-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.quartier-name a:hover { color: var(--tone-ink); }
.quartier-text { color: #3c5463; font-size: .95rem; }
.quartier-last { position: relative; z-index: 1; margin: auto 0 0; padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: .9rem; }
.quartier-last span { display: block; color: var(--galet); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.quartier-last a { color: var(--ocean-deep); font-weight: 600; }
.quartier-pin { position: absolute; right: 20px; top: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tone-soft); color: var(--tone-ink); }
.quartier:hover { transform: translateY(-3px); transition: transform .25s ease; }
.quartier:focus-within { outline: 3px solid var(--phare); outline-offset: 3px; }

/* Types de location, encadrés d’un cordage. */
.moorings {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--blanc);
  border: 9px solid transparent;
  background-image: linear-gradient(var(--blanc), var(--blanc)), repeating-linear-gradient(115deg, var(--dune) 0 6px, #c7a877 6px 8px, var(--sable) 8px 13px, #c7a877 13px 14px);
  background-origin: border-box; background-clip: padding-box, border-box;
}
.moorings-copy p:last-child { color: var(--galet); margin: 0; }
.type-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.type-list a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; height: 100%;
  padding: 14px 16px; border-radius: var(--radius); background: var(--tone-soft); color: var(--abysse); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.type-list .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--tone-ink); }
.type-list strong { line-height: 1.25; }
.type-list small { color: var(--galet); }
.type-list a:hover { background: var(--tone); color: var(--blanc); }
.type-list a:hover .icon, .type-list a:hover small { color: var(--blanc); }

/* Carnet du locataire, sur fond océan. */
.section--ocean { background: linear-gradient(170deg, var(--ocean-deep), var(--abysse)); color: #d4e6ee; }
.section--ocean h2 { color: var(--blanc); }
.logbook { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.logbook-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.logbook-chips a { display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgb(255 255 255 / 10%); color: var(--blanc); font-size: .85rem; font-weight: 600; text-decoration: none; }
.logbook-chips a:hover { background: var(--sable); color: var(--abysse); }
.logbook-list { counter-reset: log; margin: 0; padding: 0; list-style: none; }
.logbook-list > li { counter-increment: log; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 14%); }
.logbook-list > li::before { content: counter(log, decimal-leading-zero); font-family: var(--font-title); font-style: italic; font-size: 2rem; line-height: 1; color: var(--dune); }
.section--ocean .card-title a { color: var(--blanc); }
.section--ocean .card-title a:hover { color: var(--sable); }
.section--ocean .card-time, .section--ocean .card-foot { color: #a9c4d1; }
.lifebuoy {
  display: block; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%;
  background: conic-gradient(var(--phare) 0 12.5%, var(--blanc) 0 25%, var(--phare) 0 37.5%, var(--blanc) 0 50%, var(--phare) 0 62.5%, var(--blanc) 0 75%, var(--phare) 0 87.5%, var(--blanc) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 38%, #000 39%); mask: radial-gradient(circle, transparent 0 38%, #000 39%);
}
