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

:root {
    --gold: #c4929e;
    --gold-light: #d4a8b2;
    --gold-dark: #a87882;
    --dark: #2a2430;
    --navy: #272230;
    --cream: #fdf5f7;
    --white: #fffbfc;
    --text: #443842;
    --text-light: #a0909a;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', Helvetica, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* --- Floating Glass Nav (Apple-style) --- */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 920px;
    background: rgba(42, 36, 48, 0.55);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        max-width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
        background 0.4s ease,
        box-shadow 0.4s ease,
        top 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

nav.scrolled {
    top: 12px;
    /* Le contenu de la nav demande ~814px a cette taille : en dessous, le bouton
       « Plan Your Escape » sortait de la pilule. Mesure a l'appui, ne pas rabaisser. */
    max-width: 880px;
    background: rgba(42, 36, 48, 0.78);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

nav .nav-inner {
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Filet de securite : a une largeur imprevue, c'est la marque qui se tronque,
       jamais le bouton qui sort de la pilule. */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-logo span { color: var(--gold); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}

.nav-right a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-right a:hover { color: var(--gold); }

.nav-right .nav-cta-pill {
    padding: 9px 20px;
    border: 1px solid rgba(196, 146, 158, 0.6);
    color: var(--gold);
    border-radius: 100px;
    background: rgba(196, 146, 158, 0.08);
    transition: all 0.3s;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 2px;
}

.nav-right .nav-cta-pill:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* Push article content below floating nav */
body { padding-top: 78px; }
.article-hero { margin-top: -78px; }
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .article-hero { margin-top: -70px; }
}

/* --- Article Hero --- */
.article-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* La photo du hero est une vraie <img> : indexable par Google Images,
   et porteuse d'un alt. L'overlay et le contenu passent au-dessus. */
.article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    /* Les photos reelles sont plus lumineuses que les anciennes : le degrade
       est renforce pour que le titre reste lisible sur sable et eau claire. */
    background: linear-gradient(180deg, rgba(26, 24, 28, 0.20) 0%, rgba(26, 24, 28, 0.45) 55%, rgba(26, 24, 28, 0.85) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px 72px;
    max-width: 700px;
}

.article-hero-content .label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.article-hero-content h1 {
    font-size: clamp(36px, 6vw, 56px);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 300;
}

.article-hero-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.article-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

/* --- Article Body --- */
.article-body {
    padding: 96px 0;
}

.article-body h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 24px;
    margin-top: 68px;
}

.article-body h2:first-child { margin-top: 0; }

.article-body p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.9;
}

.article-body .lead {
    font-size: 18px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 40px;
}

.article-body ul {
    list-style: none;
    margin: 28px 0;
    padding: 0;
}

.article-body li {
    padding: 14px 0 14px 24px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 16px;
    line-height: 1.75;
}

.article-body li:last-child { border-bottom: none; }

.article-body li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.article-body blockquote {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    color: var(--dark);
    line-height: 1.6;
    padding: 32px 0;
    margin: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* --- CTA --- */
.article-cta {
    background: var(--cream);
    padding: 80px 0;
    text-align: center;
}

.article-cta .label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.article-cta h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 16px;
}

.article-cta p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* --- Other Experiences --- */
.other-experiences {
    padding: 80px 0;
    text-align: center;
}

.other-experiences h3 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--dark);
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.other-card {
    position: relative;
    height: 200px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

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

.other-card:hover img { transform: scale(1.05); }

.other-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(26, 24, 28, 0.8) 100%);
}

.other-card span {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    z-index: 2;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

footer .nav-logo {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 22px;
}

footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

/* E-mail de contact du footer : discret, en complement du formulaire et du WhatsApp. */
.footer-contact {
    margin-bottom: 6px;
}
.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: var(--gold);
}

/* --- Hamburger + menu mobile (aligne sur l'accueil) ---
   Visible seulement <=1024px (voir media query). Le menu plein ecran passe au-dessus
   de la nav (z-index 1001) et liste toutes les pages. nav.js gere l'ouverture. */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s;
}
.nav-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.98);
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    overflow-y: auto;
    padding: 80px 24px 40px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-mobile-menu a:hover { color: var(--gold); }
/* Sous-section "Journal" : petit intitule + liens un cran plus petits (6 guides). */
.nav-mobile-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 6px;
}
.nav-mobile-menu a.nav-mobile-sub {
    font-size: 20px;
}

/* « Vous etes ici » : la page active est mise en avant dans la nav et le menu.
   aria-current="page" porte le sens (lecteurs d'ecran) ; l'or + le souligne le montrent. */
.nav-right a[aria-current="page"] {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.nav-mobile-menu a[aria-current="page"] {
    color: var(--gold);
}

.nav-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    /* Aligne sur l'accueil : sous 1024px on masque les liens inline et on montre le
       hamburger (5 liens + logo + CTA ne tiennent avec marge que dans la grande pilule).
       Les liens restent dans le HTML (menu mobile + footer + cartes) -> crawlables. */
    .nav-right { display: none; }
    .nav-toggle { display: flex; }
    nav { max-width: 600px; }
    nav.scrolled { max-width: 560px; }
}

@media (max-width: 768px) {
    nav { top: 10px; width: calc(100% - 20px); max-width: 100%; }
    nav.scrolled { top: 8px; max-width: 100%; }
    nav .nav-inner { padding: 9px 18px; gap: 12px; }
    .nav-logo { font-size: 17px; }
    .nav-right { gap: 14px; }
    .nav-right a { font-size: 10px; letter-spacing: 1.5px; }
    .nav-right .nav-cta-pill { padding: 7px 16px; font-size: 9.5px; letter-spacing: 1.5px; }
    .article-hero { height: 50vh; min-height: 380px; }
    .article-hero-content { padding-bottom: 48px; }
    .article-body { padding: 60px 0; }
    .article-cta { padding: 56px 0; }
    .other-grid { grid-template-columns: 1fr; }
    .other-card { height: 160px; }
    .nav-right span.hide-mobile { display: none; }
}

/* Sous 560px la pilule n'a plus la place pour logo + lien + bouton : le bouton
   « Plan Your Escape » sortait jusqu'a 126px hors du cadre sur un ecran de 320px.
   On sacrifie le lien secondaire (present ailleurs) et on garde le bouton,
   c'est lui qui convertit. */
@media (max-width: 560px) {
    .nav-right a:not(.nav-cta-pill) { display: none; }
    .nav-logo { font-size: 15px; }
    .nav-right .nav-cta-pill { padding: 7px 13px; font-size: 9px; letter-spacing: 1px; }
}

@media (max-width: 360px) {
    nav .nav-inner { padding: 8px 12px; gap: 8px; }
    .nav-logo { font-size: 14px; }
    /* Les derniers pixels se prennent sur le bouton, pas sur la marque :
       en dessous, « St. Barth Honeymoon » se faisait tronquer. */
    .nav-right .nav-cta-pill { padding: 6px 10px; letter-spacing: 0.6px; }
}
