/* ============================================================
   Studio Corte - Design system
   Palette : blanc, beige sable, bleu méditerranée, vert nature, anthracite
   ============================================================ */

:root {
    /* Couleurs de marque - Studios Corte Restonica */
    --c-white:        #ffffff;
    --c-cream:        #fbf9f4;
    --c-cream-2:      #f2efe7;
    --c-sand:         #e9dec9;
    --c-sand-dark:    #cdbfa6;
    --c-sea:          #1488c2;   /* bleu Restonica */
    --c-sea-dark:     #0f6491;
    --c-sea-light:    #e6f3fb;
    --c-green:        #4f9d34;   /* vert montagne */
    --c-green-dark:   #3a7726;
    --c-green-light:  #ecf6e7;
    --c-terracotta:   #cf5421;   /* orange toit */
    --c-terracotta-d: #af451a;
    --c-anthracite:   #283139;
    --c-text:         #38424b;
    --c-muted:        #6c757e;
    --c-line:         #e7e1d6;
    --c-gold:         #cf5421;   /* accent = terracotta de marque */

    /* Typographie */
    --f-titre: "Poppins", "Segoe UI", sans-serif;
    --f-corps: "Inter", "Segoe UI", sans-serif;

    /* Rayons & ombres */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --shadow-sm: 0 2px 10px rgba(40, 44, 49, .06);
    --shadow-md: 0 12px 34px rgba(40, 44, 49, .10);
    --shadow-lg: 0 26px 60px rgba(40, 44, 49, .16);

    /* Espacements */
    --gutter: clamp(1.2rem, 4vw, 2.4rem);
    --section-y: clamp(3.5rem, 8vw, 7rem);
    --maxw: 1180px;
}

/* --- Reset léger --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-corps);
    color: var(--c-text);
    background: var(--c-cream);
    line-height: 1.65;
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: var(--c-sea); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-sea-dark); }
ul, ol { padding-left: 1.2rem; }
button { font: inherit; cursor: pointer; }

/* --- Typographie --------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--f-titre);
    color: var(--c-anthracite);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p { margin-bottom: 1rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--c-muted); }

/* --- Conteneurs & sections ---------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 800px; }
.section { padding-block: var(--section-y); }
.section--cream { background: var(--c-cream); }
.section--sand { background: var(--c-cream-2); }
.section--sea  { background: var(--c-sea); color: #eaf6f8; }
.section--sea h2, .section--sea h3 { color: #fff; }
.section--dark { background: var(--c-anthracite); color: #d9dde2; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--f-titre); font-weight: 600; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--c-sea); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-gold); border-radius: 2px; }
.section-head--center .eyebrow { justify-content: center; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--f-titre); font-weight: 600; font-size: .98rem;
    padding: .85rem 1.6rem; border-radius: 100px; border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
    cursor: pointer; line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-sea); color: #fff; box-shadow: 0 10px 24px rgba(20, 112, 138, .28); }
.btn--primary:hover { background: var(--c-sea-dark); color: #fff; box-shadow: 0 14px 30px rgba(20, 112, 138, .35); }
.btn--gold { background: var(--c-terracotta); color: #fff; box-shadow: 0 10px 24px rgba(207, 84, 33, .3); }
.btn--gold:hover { background: var(--c-terracotta-d); color: #fff; box-shadow: 0 14px 30px rgba(207, 84, 33, .38); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { background: transparent; border-color: var(--c-sand-dark); color: var(--c-anthracite); }
.btn--outline:hover { border-color: var(--c-sea); color: var(--c-sea); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --- En-tête / navigation ----------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: box-shadow .3s ease, padding .3s ease;
    padding-block: .55rem;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(40, 49, 57, .06);
}
.site-header.is-solid { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }

/* Logo */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 81px; width: auto; display: block; }

/* Menu (conteneur liste + bouton) */
.nav__menu { display: flex; align-items: center; gap: 1.2rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; margin: 0; }
.nav__link, .nav__sub-toggle {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--f-titre); font-weight: 500; font-size: .93rem; color: var(--c-text);
    padding: .55rem .75rem; border-radius: 100px; transition: background .2s, color .2s;
    background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__link.is-active, .nav__sub-toggle:hover, .has-sub:hover .nav__sub-toggle {
    background: var(--c-sea-light); color: var(--c-sea-dark);
}
.nav__sub-toggle .chev {
    flex: none; width: 16px; height: 16px; margin-left: .15rem;
    color: var(--c-muted); opacity: .9; transition: transform .25s ease, color .2s;
}
.has-sub:hover .nav__sub-toggle .chev,
.has-sub:focus-within .nav__sub-toggle .chev,
.has-sub:has(.nav__sub.is-open) .nav__sub-toggle .chev {
    color: var(--c-sea-dark); transform: rotate(180deg);
}

/* Sous-menu Découvrir */
.has-sub { position: relative; }
.nav__sub {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 248px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
    box-shadow: var(--shadow-md); padding: .5rem; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 50;
}
/* Pont invisible pour ne pas perdre le survol entre le bouton et le sous-menu */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .nav__sub.is-open {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__sub a {
    display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: var(--r-sm);
    font-family: var(--f-titre); font-weight: 500; font-size: .92rem; color: var(--c-text);
}
.nav__sub a:hover, .nav__sub a.is-active { background: var(--c-green-light); color: var(--c-green-dark); }
.nav__sub a svg { color: var(--c-sea); flex: none; }

/* Panneau mobile (structure masquée sur desktop) */
.nav__panel-head,
.nav__panel-note { display: none; }
.nav__panel-body { display: contents; }
.nav__link-ico { display: none; }
.nav__link-main { display: inline-flex; align-items: center; gap: .35rem; }
.nav__link-text { display: inline; }

.nav__cta-btn { flex: none; }
.nav__actions { display: flex; align-items: center; gap: .75rem; flex: none; }
.lang-switch {
    display: inline-flex; align-items: center; gap: 2px;
    padding: 3px; border-radius: 100px; background: var(--c-cream-2); border: 1px solid var(--c-line);
}
.lang-switch__btn {
    font-family: var(--f-titre); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
    padding: .35rem .55rem; border-radius: 100px; color: var(--c-text); transition: background .2s, color .2s;
}
.lang-switch__btn:hover { color: var(--c-sea-dark); }
.lang-switch__btn.is-active { background: var(--c-sea-dark); color: #fff; box-shadow: var(--shadow-sm); }
.lang-switch--header { display: none; }

/* Bouton hamburger */
.nav__toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 120; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--c-anthracite); margin: 5px auto; border-radius: 2px; transition: .28s ease; }
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Voile derrière le menu mobile */
.nav__overlay { display: none; }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(15,30,40,.55) 0%, rgba(15,30,40,.30) 40%, rgba(15,40,50,.72) 100%);
}
.hero__inner { padding-block: 8rem 4rem; max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.3); }
.hero .lead { color: rgba(255,255,255,.92); margin-top: 1.1rem; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__badge {
    display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
    padding: .5rem 1rem; border-radius: 100px; font-size: .9rem; font-weight: 500; margin-bottom: 1.4rem;
}
.hero__rating { color: var(--c-gold); letter-spacing: .05em; }
.note-airbnb { font-weight: 500; text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(255,255,255,.45); transition: color .2s, text-decoration-color .2s; }
.note-airbnb:hover { color: var(--c-gold); text-decoration-color: currentColor; }
.note-airbnb--light { color: rgba(255,255,255,.95); }
.note-airbnb--footer { color: #b9bfc6; font-size: .85rem; text-decoration-color: rgba(185,191,198,.5); }
.note-airbnb--footer:hover { color: #fff; }
.quickfacts .note-airbnb { color: var(--c-sea-dark); font-size: inherit; text-decoration-color: rgba(14,84,104,.35); }
.quickfacts .note-airbnb:hover { color: var(--c-sea); }
.section--sand .lead .note-airbnb { color: var(--c-sea-dark); text-decoration-color: rgba(14,84,104,.35); }
.section--sand .lead .note-airbnb:hover { color: var(--c-sea); }

/* --- Bandeau points forts (sous le hero) -------------------------------- */
.quickfacts {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
    background: var(--c-line); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-md); margin-top: -4.5rem; position: relative; z-index: 5;
}
.quickfacts__item { background: var(--c-white); padding: 1.2rem 1rem; text-align: center; }
.quickfacts__item .ico { color: var(--c-sea); margin: 0 auto .5rem; }
.quickfacts__item b { display: block; font-family: var(--f-titre); color: var(--c-anthracite); font-size: clamp(.92rem, 1.5vw, 1.05rem); line-height: 1.25; }
.quickfacts__item span { display: block; font-size: clamp(.78rem, 1.2vw, .85rem); color: var(--c-muted); line-height: 1.35; margin-top: .15rem; }

/* --- Grilles génériques -------------------------------------------------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

/* --- Cartes -------------------------------------------------------------- */
.card { background: var(--c-white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.3rem 1.4rem 1.5rem; }
.card__tag { font-family: var(--f-titre); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-green); font-weight: 600; }
.card__body h3 { margin: .35rem 0 .5rem; }
.card__body p { color: var(--c-muted); font-size: .96rem; margin: 0; }

/* --- Atouts (feature) ---------------------------------------------------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ico {
    flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--c-sea-light); color: var(--c-sea-dark);
}
.feature h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.feature p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* --- Image encadrée ------------------------------------------------------ */
.framed { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.framed img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.framed--wide img { aspect-ratio: 3/2; }
.media-deco { position: relative; }
.media-deco .framed { position: relative; z-index: 1; }
.media-deco::before {
    content: ""; position: absolute; z-index: 0; inset: 24px -16px -16px 24px;
    background: var(--c-sand); border-radius: var(--r-xl);
}

/* --- Liste à puces stylée ----------------------------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .85rem; }
.checklist li {
    position: relative;
    padding-left: 1.85rem;
    line-height: 1.55;
    font-size: .98rem;
    color: var(--c-text);
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .12rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist li strong {
    font-family: var(--f-titre);
    font-weight: 600;
    color: var(--c-anthracite);
}

/* --- Avis ---------------------------------------------------------------- */
.review { background: var(--c-white); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%; }
.review__head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-bottom: .7rem; }
.review__stars { color: var(--c-gold); letter-spacing: .08em; }
.review__source { font-size: .72rem; font-family: var(--f-titre); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-sea); background: var(--c-sea-light); padding: .25rem .55rem; border-radius: 100px; white-space: nowrap; }
.review p { font-size: 1rem; color: var(--c-text); font-style: italic; }
.review__author { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--c-sea), var(--c-green)); color: #fff; display: grid; place-items: center; font-family: var(--f-titre); font-weight: 600; }
.review__author b { font-family: var(--f-titre); font-size: .95rem; color: var(--c-anthracite); }
.review__author span { font-size: .82rem; color: var(--c-muted); }

/* --- FAQ (accordéon) ----------------------------------------------------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq__item { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.15rem 1.3rem; font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; color: var(--c-anthracite); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--c-sea); transition: transform .25s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding-inline: 1.3rem; }
.faq__a p { color: var(--c-muted); margin: 0; }
.faq__item.is-open .faq__a { max-height: 420px; padding-bottom: 1.2rem; }

/* --- Bandeau CTA --------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(14,84,104,.86), rgba(68,96,61,.78)); }
.cta-band h2 { position: relative; z-index: 2; color: #fff; }
.cta-band p { position: relative; z-index: 2; color: rgba(255,255,255,.9); max-width: 620px; margin: 1rem auto 1.8rem; }
.cta-band .hero__actions { position: relative; z-index: 2; justify-content: center; margin-top: 0; }

/* --- Visite virtuelle 360° ---------------------------------------------- */
.visite-video { margin-bottom: 2.5rem; }
.visite-video__head { margin-bottom: 1.25rem; }
.visite-video__head .lead { max-width: 42rem; }
.visite-video__head h2 { margin-top: .5rem; font-family: var(--f-titre); font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.visite-video__player {
    max-width: min(100%, 52rem); margin-inline: auto;
    background: var(--c-white); border-radius: var(--r-xl); padding: 1rem;
    box-shadow: var(--shadow-md); border: 1px solid var(--c-line);
}
.visite-video__screen {
    display: flex; justify-content: center; align-items: center;
    aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
    background: var(--c-cream-2);
}
.visite-video__player video {
    width: auto; height: 100%; max-width: 100%;
    object-fit: contain; background: var(--c-cream-2);
}
.video-controls {
    display: flex; align-items: center; gap: .7rem; margin-top: .75rem;
    padding: .55rem .75rem; background: var(--c-cream-2); border-radius: var(--r-md);
}
.video-controls__btn {
    display: grid; place-items: center; flex: none;
    width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: var(--r-sm);
    background: transparent; color: var(--c-anthracite); cursor: pointer;
}
.video-controls__btn:hover { background: var(--c-white); color: var(--c-sea); }
.video-controls__btn:focus-visible { outline: 2px solid var(--c-sea); outline-offset: 2px; }
.video-controls__ico { display: block; }
.video-controls__progress {
    flex: 1; min-width: 10rem; height: .3rem; margin: 0; padding: 0;
    accent-color: var(--c-sea); cursor: pointer;
}
.video-controls__time {
    font-size: .82rem; color: var(--c-muted); font-variant-numeric: tabular-nums;
    white-space: nowrap; flex: none;
}
.panorama-wrap__head { margin-bottom: 1rem; }
.panorama-wrap__title { margin-top: .5rem; font-family: var(--f-titre); font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.panorama-wrap { background: var(--c-white); border-radius: var(--r-xl); padding: 1rem; box-shadow: var(--shadow-md); border: 1px solid var(--c-line); }
.panorama-stage { position: relative; width: 100%; height: clamp(360px, 62vh, 620px); border-radius: var(--r-lg); overflow: hidden; background: var(--c-cream-2); }
.panorama-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.panorama-viewer .psv-container { border-radius: var(--r-lg); }
.panorama-loader {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
    background: var(--c-cream-2); color: var(--c-muted); font-size: .92rem; font-family: var(--f-titre);
}
.panorama-loader[hidden] { display: none; }
.panorama-loader__spin {
    width: 36px; height: 36px; border: 3px solid var(--c-line); border-top-color: var(--c-sea);
    border-radius: 50%; animation: panorama-spin .8s linear infinite;
}
@keyframes panorama-spin { to { transform: rotate(360deg); } }
.panorama-error { display: grid; place-items: center; height: 100%; padding: 2rem; text-align: center; color: var(--c-muted); font-size: .95rem; }
.panorama-hint {
    display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap;
    margin: .9rem 0 0; font-size: .88rem; color: var(--c-muted); text-align: center;
}
.panorama-hint .ico { color: var(--c-sea); flex: none; }
.panorama-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.panorama-teaser {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding: 1.1rem 1.3rem;
    background: linear-gradient(135deg, var(--c-sea-light), var(--c-green-light));
    border: 1px solid rgba(20,136,194,.15); border-radius: var(--r-lg); color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.panorama-teaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: inherit; }
.panorama-teaser__ico {
    flex: none; width: 52px; height: 52px; border-radius: 50%; background: #fff;
    display: grid; place-items: center; color: var(--c-sea); box-shadow: var(--shadow-sm);
}
.panorama-teaser strong { display: block; font-family: var(--f-titre); font-size: 1.05rem; color: var(--c-anthracite); }
.panorama-teaser span span { display: block; font-size: .9rem; color: var(--c-muted); margin-top: .15rem; }
.panorama-teaser > .ico:last-child { margin-left: auto; color: var(--c-sea); flex: none; }

/* --- Galerie ------------------------------------------------------------- */
.gallery { columns: 3; column-gap: 1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: auto; transition: transform .5s ease, filter .3s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(1.03); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filters button { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 100px; padding: .5rem 1.1rem; font-family: var(--f-titre); font-weight: 500; font-size: .9rem; color: var(--c-text); transition: .2s; }
.gallery-filters button.is-active, .gallery-filters button:hover { background: var(--c-sea); color: #fff; border-color: var(--c-sea); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,24,28,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav--prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* --- Tarifs -------------------------------------------------------------- */
/* --- Tarifs -------------------------------------------------------------- */
.pricing-trust {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem;
    font-family: var(--f-titre); font-size: .92rem; font-weight: 600; color: var(--c-green-dark);
    background: var(--c-green-light); padding: .5rem 1rem; border-radius: 100px;
}
.pricing-trust svg { color: var(--c-green); flex: none; }
.pricing-tabs {
    display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
    max-width: 420px; margin: 0 auto 2rem; padding: .35rem;
    background: var(--c-sand); border-radius: 100px; border: 1px solid var(--c-line);
}
.pricing-tabs__btn {
    flex: 1; min-width: 130px; padding: .7rem 1.2rem; border: none; border-radius: 100px;
    font-family: var(--f-titre); font-size: .92rem; font-weight: 600; color: var(--c-muted);
    background: transparent; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.pricing-tabs__btn.is-active {
    background: var(--c-white); color: var(--c-green-dark);
    box-shadow: var(--shadow-sm);
}
.pricing-tabs__btn:focus-visible { outline: 2px solid var(--c-sea); outline-offset: 2px; }
.pricing-panel { display: none; }
.pricing-panel.is-active { display: block; }
.pricing-panel__periode {
    text-align: center; max-width: 640px; margin: 0 auto 1.4rem;
    font-family: var(--f-titre); font-size: 1rem; font-weight: 600; color: var(--c-green-dark);
    background: var(--c-green-light); padding: .65rem 1.2rem; border-radius: var(--r-md);
}
.pricing-panel__periode-label {
    display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--c-muted); font-weight: 600; margin-bottom: .2rem;
}
.pricing-panel__intro {
    text-align: center; max-width: 680px; margin: 0 auto 1.6rem;
    font-size: 1.05rem; line-height: 1.6; color: var(--c-anthracite);
}
.pricing-student { max-width: 420px; margin: 0 auto 2rem; text-align: center; }
.pricing-student__price {
    font-family: var(--f-titre); font-size: clamp(2.4rem, 5vw, 3rem);
    font-weight: 700; color: var(--c-anthracite); line-height: 1.1;
}
.pricing-student__price span { font-size: 1rem; font-weight: 500; color: var(--c-muted); }
.pricing-student-notes {
    max-width: 640px; margin: 1.8rem auto 0; display: grid; gap: .75rem;
    padding: 1.2rem 1.4rem; border-radius: var(--r-lg);
    background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
}
.pricing-student-notes p {
    display: flex; align-items: flex-start; gap: .65rem; margin: 0;
    font-size: .95rem; color: var(--c-anthracite); line-height: 1.5;
}
.pricing-student-notes svg { color: var(--c-sea); flex: none; margin-top: .15rem; }
.pricing-panel__cta { text-align: center; margin-top: 2.2rem; }
.pricing-panel__cta .lead { max-width: 560px; margin: 1rem auto 1.8rem; }
.pricing-panel__cta--sand {
    margin-top: 2.8rem; padding: 2.4rem 1.6rem; border-radius: var(--r-xl);
    background: var(--c-sand);
}
.pricing-panel__cta .hero__actions { justify-content: center; flex-wrap: wrap; gap: .8rem; }
.pricing-offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 920px; margin-inline: auto; }
.pricing-offer {
    position: relative; background: var(--c-white); border-radius: var(--r-xl); padding: 2rem 1.8rem 1.8rem;
    box-shadow: var(--shadow-sm); border: 1.5px solid var(--c-line); display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.pricing-offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-offer.is-featured { border-color: var(--c-sea); box-shadow: var(--shadow-md); }
.pricing-offer__badge {
    position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
    background: var(--c-sea); color: #fff; font-family: var(--f-titre); font-size: .72rem;
    letter-spacing: .08em; text-transform: uppercase; padding: .35rem .95rem; border-radius: 100px; white-space: nowrap;
}
.pricing-offer__title { font-family: var(--f-titre); font-size: 1.35rem; font-weight: 600; color: var(--c-green-dark); margin-bottom: 1.2rem; text-align: center; }
.pricing-offer__night { text-align: center; color: var(--c-muted); font-size: .95rem; margin-bottom: .35rem; }
.pricing-offer__week {
    text-align: center; font-family: var(--f-titre); font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700; color: var(--c-anthracite); margin-bottom: 1rem; line-height: 1.1;
}
.pricing-offer__week span { font-size: .95rem; font-weight: 500; color: var(--c-muted); }
.pricing-offer__perk {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    font-size: .9rem; font-weight: 500; color: var(--c-green-dark); background: var(--c-green-light);
    padding: .65rem .9rem; border-radius: var(--r-md); margin-bottom: 1.4rem; text-align: center;
}
.pricing-offer__perk svg { color: var(--c-green); flex: none; }
.pricing-highlight {
    display: flex; align-items: flex-start; gap: 1rem; max-width: 920px; margin: 1.8rem auto 0;
    padding: 1.25rem 1.4rem; border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--c-sea-light), var(--c-green-light));
    border: 1px solid rgba(20,136,194,.15);
}
.pricing-highlight__ico {
    flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff;
    display: grid; place-items: center; color: var(--c-gold); box-shadow: var(--shadow-sm);
}
.pricing-highlight p { margin: 0; font-size: 1rem; color: var(--c-anthracite); line-height: 1.55; }
.pricing-conditions {
    max-width: 920px; margin: 2.2rem auto 0; background: var(--c-white);
    border-radius: var(--r-xl); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
}
.pricing-conditions__head { margin-bottom: 1.2rem; }
.pricing-conditions__head h2 { margin-top: .4rem; font-size: 1.45rem; }
.pricing-conditions__list { display: grid; gap: .65rem; }
.pricing-conditions__meta {
    display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; padding-top: 1.2rem;
    border-top: 1px solid var(--c-line); font-size: .88rem; color: var(--c-muted);
}

/* --- Tableau infos ------------------------------------------------------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.info-table th { font-family: var(--f-titre); color: var(--c-anthracite); font-weight: 600; }
.info-table tr:has(> td) > th { width: 45%; }
.info-table thead th { background: var(--c-cream); font-size: .9rem; }
.info-table thead th:nth-child(2) { white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-block: 1.4rem 1.8rem;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.table-scroll .info-table { margin: 0; box-shadow: none; border-radius: 0; }
@media (max-width: 820px) {
    .table-scroll--wide .info-table { min-width: 34rem; }
    .table-scroll .info-table th,
    .table-scroll .info-table td { padding: .75rem .85rem; font-size: .9rem; }
    .table-scroll .info-table thead th:nth-child(2) { white-space: normal; }
}

/* --- Fil d'Ariane -------------------------------------------------------- */
.breadcrumb { padding-top: 6.5rem; padding-bottom: 0; }
.breadcrumb--compact { padding-top: 1.3rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; font-size: .85rem; color: var(--c-muted); }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: var(--c-sand-dark); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-sea); }

/* --- En-tête de page interne -------------------------------------------- */
.page-head { padding-top: 1.5rem; padding-bottom: 0; }
.page-head h1 { margin-bottom: .6rem; }
.page-head .lead { max-width: 720px; }

/* --- Formulaires --------------------------------------------------------- */
.form { background: var(--c-white); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--f-titre); font-weight: 500; font-size: .9rem; margin-bottom: .4rem; color: var(--c-anthracite); }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
    font: 400 16px/1.5 var(--f-corps);
    color: var(--c-text); background: var(--c-cream);
    transition: border .2s, box-shadow .2s;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
@keyframes reservation-autofill-start {
    from, to { font-size: 16px; }
}
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    animation: reservation-autofill-start 0.001s;
    -webkit-text-fill-color: var(--c-text);
    font: 400 16px/1.5 var(--f-corps) !important;
    box-shadow: 0 0 0 1000px var(--c-cream) inset;
    transition: background-color 99999s ease-out;
}
.field input:-webkit-autofill::first-line {
    font: 400 16px/1.5 var(--f-corps);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-sea); box-shadow: 0 0 0 4px var(--c-sea-light); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--c-muted); }

/* Téléphone international (réservation) */
.field--phone .iti { display: block; width: 100%; }
.field--phone .iti__country-container {
    top: 1.5px;
    bottom: 1.5px;
    left: 1.5px;
    padding: 0;
}
.field--phone .iti__selected-country,
.field--phone .iti--separate-dial-code .iti__selected-country {
    background: transparent;
    border: 0;
    height: 100%;
}
.field--phone .iti__selected-country-primary {
    padding: 0 0 0 .85rem;
    align-items: center;
}
.field--phone .iti .iti__selected-dial-code {
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-text);
    margin-left: .35rem;
}
.field--phone .iti__tel-input {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--f-corps);
    color: var(--c-text);
    background: var(--c-cream);
    transition: border .2s, box-shadow .2s;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.field--phone .iti__tel-input:-webkit-autofill,
.field--phone .iti__tel-input:-webkit-autofill:hover,
.field--phone .iti__tel-input:-webkit-autofill:focus {
    animation: reservation-autofill-start 0.001s;
    -webkit-text-fill-color: var(--c-text);
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-family: var(--f-corps) !important;
    box-shadow: 0 0 0 1000px var(--c-cream) inset;
}
.field--phone .iti__tel-input:-webkit-autofill::first-line {
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--f-corps);
}
.field--phone .iti__tel-input:focus {
    outline: 0;
    border-color: var(--c-sea);
    box-shadow: 0 0 0 4px var(--c-sea-light);
    background: #fff;
}
.field--phone .iti--focus .iti__selected-dial-code {
    color: var(--c-text);
}
.field--phone .iti__dropdown-content {
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-md);
}

/* Calendrier réservation */
.date-picker-field { position: relative; }
.date-picker-field__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit;
    color: var(--c-text);
    background: var(--c-cream);
    cursor: pointer;
    transition: border .2s, box-shadow .2s;
    text-align: left;
}
.date-picker-field__trigger:hover,
.date-picker-field__trigger:focus {
    outline: 0;
    border-color: var(--c-sea);
    box-shadow: 0 0 0 4px var(--c-sea-light);
    background: #fff;
}
.date-picker-field__value.is-empty { color: var(--c-muted); }
.date-picker-field__icon { color: var(--c-sea); flex-shrink: 0; }
.date-picker-popover {
    position: absolute;
    z-index: 40;
    top: calc(100% + .45rem);
    left: 0;
    width: 100%;
    max-width: 16.5rem;
    padding: .75rem;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.date-picker-popover__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .6rem;
}
.date-picker-popover__title {
    font-family: var(--f-titre);
    font-size: .95rem;
    text-transform: capitalize;
}
.date-picker-popover__nav {
    width: 2rem;
    height: 2rem;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-cream);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.date-picker-popover__weekdays,
.date-picker-popover__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .2rem;
}
.date-picker-popover__weekdays {
    margin-bottom: .25rem;
    color: var(--c-muted);
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}
.date-picker-popover__day,
.date-picker-popover__pad {
    min-height: 2rem;
}
.date-picker-popover__day {
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    background: transparent;
    font-size: .875rem;
    font-family: inherit;
    cursor: pointer;
}
.date-picker-popover__day:hover:not(:disabled) {
    background: var(--c-sea-light);
    border-color: var(--c-sea);
}
.date-picker-popover__day.is-selected {
    background: var(--c-sea);
    color: #fff;
    border-color: var(--c-sea);
}
.date-picker-popover__day.is-disabled,
.date-picker-popover__day:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.date-picker-popover__foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .6rem;
    padding-top: .55rem;
    border-top: 1px solid var(--c-line);
}
.date-picker-popover__link {
    border: 0;
    background: none;
    color: var(--c-sea-dark);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    padding: .25rem .35rem;
}

.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.4rem; font-size: .96rem; }
.alert--ok { background: #e7f3ea; color: #2c5a39; border: 1px solid #b9ddc2; }
.alert--err { background: #fbeaea; color: #8a2b2b; border: 1px solid #f0c4c4; }

/* --- Pied de page -------------------------------------------------------- */
.site-footer { background: var(--c-anthracite); color: #b9bfc6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h3.footer-col__title { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer a { color: #c8cdd3; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.footer-brand .footer-logo {
    width: clamp(187px, 44.2vw, 289px);
    height: auto;
    max-width: 100%;
    display: block;
    background: #fff;
    padding: clamp(10px, 2vw, 16px) clamp(12px, 3vw, 20px);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; font-size: .93rem; }
.footer-contact .ico { color: var(--c-gold); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; color: #a8afb6; }
.footer-bottom a { color: #d5dae0; text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(213,218,224,.55); }
.footer-bottom a:hover { color: #fff; text-decoration-color: currentColor; }

/* --- Calendrier de disponibilités --------------------------------------- */
.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cal-month { background: var(--c-white); border-radius: var(--r-md); padding: 1.2rem 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.cal-month__title { font-family: var(--f-titre); font-weight: 600; color: var(--c-anthracite); text-align: center; margin-bottom: .8rem; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--c-muted); padding-bottom: .3rem; text-transform: uppercase; letter-spacing: .03em; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; font-size: .85rem; border-radius: 8px; }
.cal-day--empty { background: transparent; }
.cal-day--free { background: var(--c-sea-light); color: var(--c-sea-dark); font-weight: 500; }
.cal-day--busy { background: var(--c-cream-2); color: var(--c-sand-dark); text-decoration: line-through; }
.cal-day--past { color: #c8cdd2; }
.cal-day--season { background: var(--c-sea-light); color: var(--c-sea-dark); font-weight: 500; }
.cal-day--today { outline: 2px solid var(--c-sea); outline-offset: -2px; font-weight: 700; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-bottom: 2rem; font-size: .9rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.cal-legend i { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }
.cal-legend .is-free { background: var(--c-sea-light); }
.cal-legend .is-busy { background: var(--c-cream-2); }

.avail-period { margin-bottom: 2rem; }
.avail-period__card {
    max-width: 42rem; margin-inline: auto; text-align: center;
    background: var(--c-white); border-radius: var(--r-xl); padding: 2rem 2.2rem;
    box-shadow: var(--shadow-md); border: 1px solid var(--c-line);
}
.avail-period__card h2 { margin-top: .5rem; margin-bottom: 0; }
.avail-period__dates {
    font-family: var(--f-titre); font-size: clamp(1.3rem, 2.8vw, 1.65rem);
    font-weight: 600; color: var(--c-sea-dark); margin: .75rem 0 1rem;
}
.avail-period__text { color: var(--c-muted); margin-bottom: 0; max-width: 34rem; margin-inline: auto; }
.avail-cal-hint {
    display: flex; align-items: flex-start; justify-content: center; gap: .55rem;
    max-width: 38rem; margin: 1.5rem auto 2.5rem; text-align: left;
    font-size: .92rem; color: var(--c-muted); line-height: 1.5;
}
.avail-cal-hint .ico { flex: none; color: var(--c-sea); margin-top: .15rem; }
.avail-cta {
    background: linear-gradient(145deg, var(--c-sea-dark) 0%, #1a4a58 100%);
    border-radius: var(--r-xl); padding: 2.4rem 2rem; color: #fff; text-align: center;
    box-shadow: var(--shadow-md);
}
.avail-cta h2 { color: #fff; margin-bottom: .65rem; }
.avail-cta .lead { color: rgba(255,255,255,.92); max-width: 40rem; margin-inline: auto; margin-bottom: 0; }
.avail-cta .hero__actions { justify-content: center; margin-top: 1.5rem; }

/* --- Carte --------------------------------------------------------------- */
.map-block { position: relative; }
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: block; }
.map-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; font-family: var(--f-titre); font-weight: 500; font-size: .9rem; color: var(--c-sea-dark); }
.map-link:hover { color: var(--c-sea); }
.map-link svg { flex: none; }

/* --- Contenu éditorial (pages SEO / blog) -------------------------------- */
.prose { max-width: 980px; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .7rem; color: var(--c-sea-dark); }
.prose p { color: var(--c-text); }
.prose ul { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.prose img { width: 100%; height: auto; border-radius: var(--r-md); margin-block: 1.5rem; box-shadow: var(--shadow-sm); }
.prose .callout { background: var(--c-sea-light); border-left: 4px solid var(--c-sea); padding: 1.1rem 1.3rem; border-radius: var(--r-sm); margin-block: 1.6rem; }
.prose .callout h3 { margin: 0 0 .2rem; font-size: 1.05rem; color: var(--c-sea-dark); }
.prose .callout p:last-child { margin-bottom: 0; }
.toc { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1.3rem 1.5rem; margin-bottom: 2rem; }
.toc strong { font-family: var(--f-titre); display: block; margin-bottom: .6rem; }
.toc ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.pdf-list { list-style: none; padding: 0; display: grid; gap: .85rem; margin: 1.4rem 0 1.8rem; }
.pdf-list li {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
    padding: 1rem 1.15rem; background: var(--c-cream); border: 1px solid var(--c-line); border-radius: var(--r-md);
}
.pdf-list__meta { flex: 1 1 220px; min-width: 0; }
.pdf-list__meta strong { display: block; font-family: var(--f-titre); color: var(--c-anthracite); margin-bottom: .2rem; }
.pdf-list__meta span { font-size: .9rem; color: var(--c-muted); }

/* --- En-tête éditorial (pages SEO / blog) ------------------------------- */
.editorial-hero { position: relative; color: #fff; padding-top: 8rem; padding-bottom: 3.5rem; overflow: hidden; isolation: isolate; }
.editorial-hero__bg { position: absolute; inset: 0; z-index: 0; }
.editorial-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.editorial-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,40,50,.55), rgba(15,40,50,.78)); }
.editorial-hero__inner { position: relative; z-index: 2; }
.editorial-hero h1 { color: #fff; max-width: 16ch; }
.editorial-hero .lead { color: rgba(255,255,255,.92); max-width: 60ch; margin-top: .8rem; }

/* --- Maillage interne ---------------------------------------------------- */
.linkbox { background: var(--c-cream-2); border-radius: var(--r-md); padding: 1.4rem 1.6rem; margin-block: 2rem; }
.linkbox > strong { font-family: var(--f-titre); display: block; margin-bottom: .8rem; color: var(--c-anthracite); }
.linkbox__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.4rem; }
.linkbox__grid a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; }

/* --- Informations utiles à Corte ---------------------------------------- */
.useful-hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4.5vw, 3.25rem); background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.useful-hero h1 { max-width: 19ch; }
.useful-hero .lead { max-width: 720px; margin-top: 1rem; }
.useful-jump-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.useful-jump-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--c-line); border-radius: 100px; background: var(--c-cream); color: var(--c-sea-dark); font-family: var(--f-titre); font-size: .88rem; font-weight: 600; }
.useful-jump-nav a:hover { border-color: var(--c-sea); background: var(--c-sea-light); }
.useful-page { background: var(--c-cream); }
.useful-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); scroll-margin-top: 110px; }
.useful-section--alt { background: var(--c-cream-2); }
.useful-section--emergency { padding-top: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #fff7f2 0%, var(--c-cream) 100%); }
.useful-section .section-head, .useful-guides .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.useful-content { max-width: 1020px; }
.useful-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.useful-card { min-width: 0; padding: clamp(1.25rem, 3vw, 1.7rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-sm); }
.useful-card h3 { margin-bottom: .75rem; font-size: clamp(1.12rem, 2vw, 1.35rem); }
.useful-card h3 small { display: inline-block; margin-top: .25rem; color: var(--c-muted); font-family: var(--f-corps); font-size: .85rem; font-weight: 500; }
.useful-card address { margin-bottom: .8rem; color: var(--c-text); font-style: normal; }
.useful-card > p:last-of-type { margin-bottom: 1rem; }
.useful-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 14px; background: var(--c-sea-light); color: var(--c-sea-dark); }
.useful-card__number { margin-bottom: .25rem !important; color: var(--c-terracotta); font-family: var(--f-titre); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; line-height: 1; }
.useful-card__phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: .75rem; }
.useful-card__phone a { color: var(--c-anthracite); font-family: var(--f-titre); font-size: 1.25rem; font-weight: 700; }
.useful-card__phone small, .useful-card__detail { color: var(--c-muted); font-size: .86rem; }
.useful-card__email { overflow-wrap: anywhere; }
.useful-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: auto; }
.useful-card__button { min-height: 44px; padding: .72rem 1rem; white-space: normal; line-height: 1.25; }
.useful-page .btn--primary { background: var(--c-sea-dark); }
.useful-page .btn--gold { background: var(--c-terracotta-d); }
.useful-emergency-main { display: grid; grid-template-columns: minmax(150px, .32fr) 1fr; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); margin-bottom: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 2px solid rgba(207, 84, 33, .35); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--shadow-md); }
.useful-emergency-main__number { color: var(--c-terracotta-d); font-family: var(--f-titre); font-size: clamp(4.2rem, 12vw, 7rem); font-weight: 700; line-height: .9; text-align: center; }
.useful-emergency-main__content h3 { margin-bottom: .65rem; }
.useful-emergency-main__content p { max-width: 620px; }
.useful-note { margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--c-terracotta); border-radius: var(--r-sm); background: var(--c-white); }
.useful-loss-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.useful-card--simple:last-child { grid-column: 1 / -1; }
.useful-guides { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: var(--c-sea-light); }
.useful-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.useful-guide-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; min-height: 76px; padding: 1rem 1.1rem; border: 1px solid rgba(20, 136, 194, .2); border-radius: var(--r-md); background: var(--c-white); color: var(--c-anthracite); box-shadow: var(--shadow-sm); }
.useful-guide-link:hover { color: var(--c-sea-dark); box-shadow: var(--shadow-md); }
.useful-guide-link > svg:first-child { color: var(--c-sea); }
.useful-guide-link span { min-width: 0; }
.useful-guide-link strong, .useful-guide-link small { display: block; }
.useful-guide-link small { margin-top: .15rem; color: var(--c-muted); font-size: .82rem; line-height: 1.4; }
.useful-verified { margin: 1.5rem 0 0; color: var(--c-muted); font-size: .88rem; }
.useful-page a:focus-visible, .useful-jump-nav a:focus-visible { outline: 3px solid var(--c-anthracite); outline-offset: 3px; }

/* --- Animations d'apparition -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* --- Utilitaires --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list span { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 100px; padding: .4rem .9rem; font-size: .88rem; color: var(--c-text); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .gallery { columns: 2; }
    .cal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Navigation mobile --- */
@media (max-width: 980px) {
    .nav {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: .5rem;
    }
    .lang-switch--header {
        display: inline-flex;
        justify-self: center;
    }
    .lang-switch--header .lang-switch__btn {
        padding: .42rem .62rem;
        font-size: .78rem;
    }
    .nav__toggle { display: block; justify-self: end; }
    .nav__menu {
        position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        background: linear-gradient(180deg, var(--c-cream) 0%, #fff 18%, #fff 100%);
        color: var(--c-text);
        padding: 0; overflow: hidden;
        box-shadow: -8px 0 40px rgba(40, 49, 57, .14);
        transform: translateX(100%);
        transition: transform .34s cubic-bezier(.4, 0, .2, 1);
        z-index: 110;
    }
    .nav__menu::before {
        content: "";
        position: absolute; top: 0; left: 0; right: 0; height: 4px;
        background: linear-gradient(90deg, var(--c-sea) 0%, var(--c-green) 55%, var(--c-terracotta) 100%);
        z-index: 1;
    }
    .nav__menu.is-open { transform: none; }

    .nav__panel-head {
        display: block;
        flex: none;
        padding: 4.85rem 1.35rem 1.15rem;
        border-bottom: 1px solid var(--c-line);
        background:
            radial-gradient(120% 80% at 0% 0%, rgba(20, 136, 194, .12) 0%, transparent 55%),
            radial-gradient(90% 70% at 100% 0%, rgba(79, 157, 52, .08) 0%, transparent 50%);
    }
    .nav__panel-eyebrow {
        font-family: var(--f-titre); font-size: .72rem; font-weight: 600;
        letter-spacing: .16em; text-transform: uppercase; color: var(--c-sea);
        margin-bottom: .25rem;
    }
    .nav__panel-title {
        font-family: var(--f-titre); font-size: 1.35rem; font-weight: 600;
        color: var(--c-anthracite); line-height: 1.2;
    }

    .nav__panel-body {
        display: block;
        flex: 1;
        overflow-y: auto;
        padding: 1rem 1rem .5rem;
        -webkit-overflow-scrolling: touch;
    }

    .nav__list { flex-direction: column; align-items: stretch; gap: .45rem; width: 100%; }

    .nav__link,
    .nav__sub-toggle {
        width: 100%;
        justify-content: flex-start;
        gap: .85rem;
        color: var(--c-text);
        padding: .85rem 1rem;
        font-size: 1rem;
        border-radius: var(--r-md);
        border: 1px solid transparent;
        background: rgba(255, 255, 255, .72);
        box-shadow: var(--shadow-sm);
        transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
    }
    .nav__link:active,
    .nav__sub-toggle:active { transform: scale(.985); }
    .nav__link:hover,
    .nav__sub-toggle:hover {
        background: #fff;
        border-color: rgba(20, 136, 194, .15);
        color: var(--c-sea-dark);
    }

    .nav__link-ico {
        display: grid;
        place-items: center;
        flex: none;
        width: 42px; height: 42px;
        border-radius: 12px;
        background: var(--c-sea-light);
        color: var(--c-sea-dark);
    }
    .nav__link-ico .ico { margin: 0; }
    .nav__link-text { display: block; flex: 1; text-align: left; font-weight: 600; }

    .nav__link-main {
        display: flex;
        align-items: center;
        gap: .85rem;
        flex: 1;
        min-width: 0;
    }

    .nav__link.is-active,
    .nav__sub-toggle.is-active {
        background: #fff;
        border-color: rgba(20, 136, 194, .22);
        color: var(--c-sea-dark);
        box-shadow: 0 8px 22px rgba(20, 136, 194, .1);
    }
    .nav__link.is-active .nav__link-ico,
    .nav__sub-toggle.is-active .nav__link-ico {
        background: var(--c-sea);
        color: #fff;
    }

    .nav__sub-toggle { justify-content: space-between; }
    .nav__sub-toggle .chev {
        width: 34px; height: 34px;
        margin-left: 0;
        padding: 8px;
        border-radius: 10px;
        background: var(--c-cream-2);
        color: var(--c-muted);
    }
    .has-sub:has(.nav__sub.is-open) .nav__sub-toggle .chev,
    .nav__sub-toggle.is-active .chev {
        background: var(--c-sea-light);
        color: var(--c-sea-dark);
    }

    .has-sub { width: 100%; }

    .nav__sub {
        position: static; transform: none !important; left: auto !important; right: auto;
        width: 100%; box-sizing: border-box;
        opacity: 1; visibility: hidden;
        min-width: 0; box-shadow: none; border: 0;
        background: transparent;
        max-height: 0; overflow: hidden;
        padding: 0; margin: .2rem 0 0;
        list-style: none;
        transition: max-height .32s ease, padding .32s ease, visibility 0s .32s;
        border-radius: var(--r-md);
    }
    .nav__sub.is-open,
    .has-sub:hover .nav__sub,
    .has-sub:focus-within .nav__sub {
        visibility: visible; max-height: 520px;
        padding: .4rem 0 .2rem;
        margin: .2rem 0 0;
        transform: none !important;
        transition: max-height .32s ease, padding .32s ease, visibility 0s;
    }
    .nav__sub::before { display: none; }
    .nav__sub li { list-style: none; width: 100%; }
    .nav__sub a {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        color: var(--c-text);
        justify-content: flex-start;
        text-align: left;
        white-space: normal;
        padding: .72rem .85rem;
        margin-bottom: .2rem;
        border-radius: var(--r-sm);
        background: var(--c-cream-2);
        border: 1px solid transparent;
        font-size: .94rem;
    }
    .nav__sub a:hover,
    .nav__sub a.is-active {
        background: var(--c-green-light);
        border-color: rgba(79, 157, 52, .18);
        color: var(--c-green-dark);
    }

    .nav__panel-foot {
        flex: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .65rem;
        margin-top: 0;
        padding: 1rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--c-line);
        background: linear-gradient(180deg, rgba(251, 249, 244, .92) 0%, var(--c-cream) 100%);
    }
    .nav__panel-note {
        display: block;
        text-align: center;
        font-size: .8rem;
        color: var(--c-muted);
        margin: 0;
        line-height: 1.35;
    }
    .nav__actions .lang-switch { display: none; }
    .nav__cta-btn { width: 100%; margin-top: 0; }
    .nav__overlay { display: block; position: fixed; inset: 0; background: rgba(40, 49, 57, .45); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 105; backdrop-filter: blur(2px); }
    .nav__overlay.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 1024px) {
    .quickfacts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
    .quickfacts { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
    .split { grid-template-columns: 1fr; }
    .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .pricing-offers { grid-template-columns: 1fr; max-width: 420px; }
    .form-row { grid-template-columns: 1fr; }
    .date-picker-popover { max-width: none; }
    .date-picker-popover__nav {
        width: 2.75rem;
        height: 2.75rem;
    }
    .date-picker-popover__day,
    .date-picker-popover__pad {
        min-height: 2.75rem;
    }
    .field--phone .iti__selected-country-primary {
        padding-left: .75rem;
    }
    .media-deco { order: -1; }
    .framed img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
    .cal-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
    .useful-grid, .useful-loss-grid, .useful-guide-grid { grid-template-columns: 1fr; }
    .useful-card--simple:last-child { grid-column: auto; }
    .useful-emergency-main { grid-template-columns: 1fr; text-align: center; }
    .useful-emergency-main__content p { margin-inline: auto; }
}

@media (max-width: 560px) {
    .grid--4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery { columns: 1; }
    .hero__actions .btn { width: 100%; }
    .hero h1 { font-size: 1.85rem; }
    .hero__inner { padding-block: 7rem 3rem; }
    .useful-jump-nav { display: grid; grid-template-columns: 1fr 1fr; }
    .useful-jump-nav a { border-radius: var(--r-sm); }
    .useful-card__actions, .useful-card__button { width: 100%; }
    .useful-card__button { justify-content: center; }
}

@media (max-width: 360px) {
    .useful-jump-nav { grid-template-columns: 1fr; }
}
