/* =========================================================================
   theme.css — design system, importé depuis cruise-ship.info.
   Flat design, orange (#ff6300) + noir. Base partagée par les deux projets.

   ORDRE DE CHARGEMENT : Bootstrap 5 -> theme.css -> site.css.
   theme.css surcharge Bootstrap (boutons, cartes, .container) ; site.css
   porte ensuite le spécifique okcroisiere (moteur, résultats, facettes, devis).

   Ce fichier ne contient QUE la fondation partagée (tokens, base, boutons,
   header, héros, cartes, contenu, pied de page). Les composants propres à
   cruiseship (reviews, espace membre, cabines, plans de pont) viendront avec
   l'import de ces features, pour garder cet ajout lisible.
   ========================================================================= */
:root{
  --orange:#ff6300;
  --orange-600:#e65900;
  --orange-050:#fff3ec;
  --black:#101014;
  --navy:#14263f;
  --ink:#16161a;
  --body:#40424a;
  --muted:#7a7d86;
  --line:#e9e9ee;
  --line-2:#f1f1f4;
  --bg:#ffffff;
  --bg-soft:#f7f7f9;

  --radius:12px;
  --radius-sm:8px;
  --container:1180px;

  --font-head:"Plus Jakarta Sans",system-ui,sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:var(--font-body);color:var(--body);background:var(--bg);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;}
h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5{font-family:var(--font-head);color:var(--ink);font-weight:800;letter-spacing:-.025em;line-height:1.12;}
a{color:var(--ink);text-decoration:none;}
a:hover{color:var(--orange);}
.container{max-width:var(--container);}
::selection{background:var(--orange);color:#fff;}

/* eyebrow / section heading */
.eyebrow{font-family:var(--font-head);font-weight:800;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--orange);}
.section-title{font-size:clamp(1.4rem,2.6vw,2rem);}
.text-orange{color:var(--orange)!important;}
.bg-black{background:var(--black)!important;}

/* buttons — flat, no shadow -------------------------------------------- */
.btn{border-radius:var(--radius-sm);font-family:var(--font-head);font-weight:700;padding:.62rem 1.3rem;border:2px solid transparent;transition:.15s;}
.btn-lg{padding:.85rem 1.7rem;}
.btn-primary,.btn-accent,.btn-orange{background:var(--orange);border-color:var(--orange);color:#fff;}
.btn-primary:hover,.btn-accent:hover,.btn-orange:hover{background:var(--orange-600);border-color:var(--orange-600);color:#fff;}
.btn-dark{background:var(--black);border-color:var(--black);color:#fff;}
.btn-dark:hover{background:#000;color:#fff;}
.btn-outline-light{border-color:rgba(255,255,255,.5);color:#fff;background:transparent;}
.btn-outline-light:hover{border-color:#fff;background:#fff;color:var(--black);}
.btn-ghost{background:#fff;border:2px solid var(--line);color:var(--ink);}
.btn-ghost:hover{border-color:var(--black);color:var(--black);}

/* header ---------------------------------------------------------------- */
.site-header{background:#fff;border-bottom:1px solid var(--line);z-index:1030;}
.site-header.is-stuck{border-bottom-color:var(--black);}
.brand-waves{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--orange);color:#fff;font-size:.9rem;flex:0 0 auto;}
.brand-name{font-family:var(--font-head);font-weight:800;font-size:1.32rem;color:var(--black);letter-spacing:-.04em;}
.brand-name b{color:var(--orange);font-weight:800;}
.brand-name .dot{color:var(--orange);}
.nav-link-top{color:var(--ink);font-family:var(--font-head);font-weight:700;font-size:.98rem;}
.nav-link-top:hover{color:var(--orange);}

/* heroes — flat black ---------------------------------------------------- */
.home-hero{
  background:
    linear-gradient(rgba(16,16,20,.74), rgba(16,16,20,.88)),
    url('../img/hero-croisiere.webp') center/cover no-repeat,
    var(--black);
  color:#fff;
}
.home-hero h1{color:#fff;font-size:clamp(2.3rem,6vw,4rem);}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:.35rem .9rem;font-size:.82rem;font-weight:700;font-family:var(--font-head);color:#fff;}
.hero-underline{color:var(--orange);position:relative;}

.ship-hero{position:relative;background:var(--black);color:#fff;overflow:hidden;}
.ship-hero::before{content:"";position:absolute;top:-40%;right:-6%;width:420px;height:420px;background:var(--orange);opacity:.10;border-radius:50%;pointer-events:none;}
.ship-hero .container{position:relative;z-index:2;}
.ship-hero h1{color:#fff;}
.ship-chip{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:6px;padding:.28rem .7rem;font-size:.78rem;font-weight:700;font-family:var(--font-head);letter-spacing:.02em;}
.ship-chip.is-orange{background:var(--orange);border-color:var(--orange);color:#fff;}
.breadcrumb-dark{--bs-breadcrumb-divider-color:rgba(255,255,255,.35);}
.breadcrumb-dark .breadcrumb-item,.breadcrumb-dark a{color:rgba(255,255,255,.6);font-weight:600;}
.breadcrumb-dark a:hover{color:var(--orange);}
.breadcrumb-dark .breadcrumb-item.active{color:#fff;}

.rating-pill{display:inline-flex;flex-direction:column;align-items:center;background:var(--orange);color:#fff;border-radius:var(--radius-sm);padding:.55rem 1rem;min-width:82px;}
.rating-pill .val{font-family:var(--font-head);font-weight:800;font-size:1.7rem;line-height:1;}
.rating-pill .cnt{font-size:.7rem;opacity:.9;font-weight:600;margin-top:.15rem;}

/* hub tab navigation ----------------------------------------------------- */
.hub-nav{background:#fff;border-bottom:2px solid var(--line);position:sticky;top:59px;z-index:1020;}
.hub-nav-scroll{overflow-x:auto;scrollbar-width:none;}
.hub-nav-scroll::-webkit-scrollbar{display:none;}
.hub-tab{white-space:nowrap;padding:1rem .1rem;min-height:52px;display:flex;align-items:center;font-family:var(--font-head);font-weight:700;font-size:1rem;color:var(--ink);border-bottom:3px solid transparent;margin-bottom:-2px;transition:.14s;}
.hub-tab:hover{color:var(--orange);}
.hub-tab.is-active{color:var(--orange);border-bottom-color:var(--orange);}

/* hub highlighted photo strip (full-bleed, under the menu) */
.hub-photos{position:relative;background:var(--black);overflow:hidden;}
.hub-photos__row{display:grid;grid-template-columns:repeat(4,1fr);}
.hub-photos__cell{position:relative;display:block;height:250px;overflow:hidden;}
.hub-photos__cell img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease,filter .3s ease;}
.hub-photos__cell::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 60%,rgba(16,16,20,.4));opacity:0;transition:opacity .3s ease;pointer-events:none;}
.hub-photos__cell:hover img{transform:scale(1.08);filter:brightness(1.1);}
.hub-photos__cell:hover::after{opacity:1;}
.hub-photos::after{content:"";display:block;height:4px;background:linear-gradient(90deg,var(--orange),#ff8533,var(--orange));}
.hub-photos__all{position:absolute;right:14px;bottom:18px;z-index:3;display:inline-flex;align-items:center;gap:.4rem;
  background:#fff;color:var(--orange);font-family:var(--font-head);font-weight:700;font-size:.85rem;border-radius:8px;padding:.4rem .8rem;box-shadow:var(--shadow);}
.hub-photos__all:hover{color:var(--orange-600);}
@media(max-width:992px){.hub-photos__cell{height:200px;}}
@media(max-width:768px){.hub-photos__row{grid-template-columns:repeat(2,1fr);}.hub-photos__cell{height:150px;}.hub-photos__all{bottom:12px;font-size:.78rem;padding:.3rem .6rem;}}
@media(max-width:480px){.hub-photos__cell{height:120px;}}

/* full gallery (Photos tab) */
.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;}
@media(min-width:576px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:992px){.gallery-grid{grid-template-columns:repeat(4,1fr);}}
.gallery-cell{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:10px;}
.gallery-cell img{width:100%;height:100%;object-fit:cover;transition:.25s;}
.gallery-cell:hover img{transform:scale(1.05);}
.gallery-cap{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;font-size:.78rem;padding:.7rem .5rem .35rem;}

/* cards — flat ----------------------------------------------------------- */
.card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:none;}
.card-header{background:#fff;border-bottom:1px solid var(--line);font-family:var(--font-head);font-weight:700;border-radius:var(--radius) var(--radius) 0 0!important;}

.ship-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.16s;height:100%;}
.ship-card:hover{border-color:var(--black);transform:translateY(-3px);}
.ship-card__media{position:relative;aspect-ratio:16/10;background:var(--black);overflow:hidden;}
.ship-card__media .wm{position:absolute;left:1rem;bottom:.6rem;right:1rem;font-family:var(--font-head);font-weight:800;font-size:1.6rem;line-height:.95;color:rgba(255,255,255,.10);text-transform:uppercase;letter-spacing:-.02em;}
.ship-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.ship-card__media::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--orange);}
.ship-card__media .live{position:absolute;top:.7rem;left:.7rem;background:var(--orange);color:#fff;font-family:var(--font-head);font-weight:800;font-size:.66rem;letter-spacing:.09em;text-transform:uppercase;padding:.28rem .55rem;border-radius:5px;display:inline-flex;gap:.35rem;align-items:center;}
.ship-card__media .rate{position:absolute;top:.7rem;right:.75rem;color:#fff;font-family:var(--font-head);font-weight:800;font-size:.85rem;}
.ship-card__body{padding:1rem 1.1rem 1.15rem;}
.ship-card__name{font-family:var(--font-head);font-weight:800;font-size:1.08rem;margin:0 0 .15rem;color:var(--ink);letter-spacing:-.02em;}
.ship-card:hover .ship-card__name{color:var(--orange);}
.ship-card__meta{font-size:.82rem;color:var(--muted);font-weight:500;}

/* tracker ---------------------------------------------------------------- */
.tracker-card{overflow:hidden;}
.live-dot{width:8px;height:8px;border-radius:50%;background:#fff;display:inline-block;}
.live-dot.on{background:var(--orange);animation:pulse 1.8s infinite;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,99,0,.55);}70%{box-shadow:0 0 0 8px rgba(255,99,0,0);}100%{box-shadow:0 0 0 0 rgba(255,99,0,0);}}
.tracker-embed{min-height:300px;background:var(--bg-soft);}
.tracker-embed iframe,.tracker-embed canvas{border:0;width:100%;display:block;}

/* explore / cocon links -------------------------------------------------- */
.explore-card{display:flex;flex-direction:column;gap:.65rem;padding:1.2rem 1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink);font-family:var(--font-head);font-weight:700;transition:.14s;height:100%;}
.explore-card .ico{font-size:1.35rem;color:var(--orange);line-height:1;}
.explore-card:hover{border-color:var(--orange);background:var(--orange-050);color:var(--orange);transform:translateY(-2px);}
.hero-ico{color:var(--orange);font-size:1.6rem;line-height:1;}
.ship-chip .fa-ship{opacity:.85;}
.aside-card .list-group-item i{color:var(--orange);width:18px;text-align:center;}

/* spec sheet (overview sidebar) */
.specs-sticky{position:sticky;top:120px;}
@media(max-width:991px){.specs-sticky{position:static;}}
.specs-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;}
.specs-card__head{background:var(--black);color:#fff;font-family:var(--font-head);font-weight:700;font-size:.95rem;padding:.75rem 1rem;display:flex;align-items:center;gap:.5rem;}
.specs-card__head i{color:var(--orange);}
.specs-group{padding:.35rem 1rem .7rem;}
.specs-group:not(:last-child){border-bottom:1px solid var(--line-2);}
.specs-group__title{font-family:var(--font-head);font-weight:800;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);margin:.6rem 0 .35rem;display:flex;align-items:center;gap:.4rem;}
.specs-line{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px dashed var(--line-2);font-size:.9rem;}
.specs-line:last-child{border-bottom:0;}
.specs-line__k{color:var(--muted);}
.specs-line__v{font-family:var(--font-head);font-weight:700;color:var(--ink);text-align:right;}
.sister-list{padding:.4rem;}
.sister-item{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border-radius:8px;color:var(--ink);font-family:var(--font-head);font-weight:600;font-size:.9rem;}
.sister-item:hover{background:var(--orange-050);color:var(--orange);}
.sister-item .ms-auto{color:var(--muted);font-size:.75rem;}
.sister-mark{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;font-size:.75rem;flex:0 0 auto;}

/* specs ------------------------------------------------------------------ */
.specs-table th{white-space:nowrap;font-weight:500;color:var(--muted);border-color:var(--line-2);}
.specs-table td{border-color:var(--line-2);color:var(--ink);font-family:var(--font-head);}
.specs-table tr:last-child th,.specs-table tr:last-child td{border-bottom:0;}

/* content ---------------------------------------------------------------- */
.prose{font-size:1.05rem;color:var(--body);}
.lead-sm{font-size:1.14rem;color:var(--ink);font-weight:500;}
.list-styled{list-style:none;padding-left:0;}
.list-styled li{position:relative;padding-left:1.5rem;margin:.5rem 0;}
.list-styled li::before{content:"";position:absolute;left:0;top:.6rem;width:8px;height:8px;background:var(--orange);border-radius:2px;}
.table thead th{font-family:var(--font-head);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);border-bottom:2px solid var(--line);}
.table td{color:var(--ink);}

.aside-card .list-group-item{border-color:var(--line-2);font-family:var(--font-head);font-weight:600;}
.aside-card .list-group-item-action:hover{background:var(--orange-050);color:var(--orange);}

/* footer ----------------------------------------------------------------- */
.site-footer{background:var(--black);color:rgba(255,255,255,.66);}
.site-footer h3{color:#fff;}
.site-footer a{color:rgba(255,255,255,.82);}
.site-footer a:hover{color:var(--orange);}
.site-footer .brand-name{color:#fff;}

