/* MYCAPDAGDE WELCOME - V0.3.1 */
:root {
    --color-primary: #0d4fa1;
    --color-secondary: #54b6b8;
    --color-accent: #c8a66a;
    --color-background: #eaf0f4;
    --color-page: #f7f7f7;
    --color-surface: #fff;
    --color-text: #17324d;
    --color-muted: #6d7d8b;
    --color-border: rgba(13, 79, 161, .12);
    --shadow-app: 0 0 50px rgba(13, 79, 161, .10);
    --shadow-card: 0 10px 28px rgba(13, 79, 161, .08);
    --radius: 24px;
    --radius-small: 16px;
    --app-width: 560px;
    --topbar-height: 64px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--color-background);
    color: var(--color-text)
}

button,
a {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

.app-shell {
    width: 100%;
    max-width: var(--app-width);
    min-height: 100vh;
    margin: auto;
    background: var(--color-surface);
    box-shadow: var(--shadow-app)
}

.screen {
    min-height: 100vh;
    animation: screenIn .22s ease
}

@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateX(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero {
    min-height: 100vh;
    padding: 48px 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(rgba(2, 29, 63, .26), rgba(2, 29, 63, .48)), url("../assets/images/acces-plage.jpeg") center/cover no-repeat, var(--color-primary)
}

.hero-content {
    text-align: center;
    padding-top: 7vh
}

.brand-logo {
    width: 116px;
    height: 116px;
    margin: 0 auto 18px;
    object-fit: cover;
    border-radius: 50%;
    padding: 6px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16)
}

.eyebrow {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .75rem
}

.hero h1 {
    margin: .3rem 0;
    font-size: 3.2rem;
    line-height: 1
}

.hero-text {
    max-width: 360px;
    margin: 16px auto 0;
    line-height: 1.55
}

.version {
    margin-top: 14px;
    font-size: .78rem;
    opacity: .75
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.nav-card {
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: var(--radius);
    background: rgba(84, 182, 184, .87);
    backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: .15s ease
}

.nav-card:active {
    transform: translateY(2px) scale(.985);
    filter: brightness(.92)
}

.nav-card-icon {
    font-size: 2.15rem;
    line-height: 1
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--topbar-height);
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800
}

.topbar button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 1.35rem
}

.content {
    min-height: calc(100vh - var(--topbar-height));
    padding: 24px 18px 48px;
    background: var(--color-page)
}

.section-heading {
    text-align: center;
    padding: 12px 8px 28px
}

.section-icon {
    width: 66px;
    height: 66px;
    margin: auto;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(84, 182, 184, .15);
    color: var(--color-secondary);
    font-size: 2rem
}

.section-heading h2 {
    margin: 10px 0 8px;
    color: var(--color-primary);
    font-size: 2rem
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.55
}

.menu-list {
    display: grid;
    gap: 12px
}

.menu-card {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 8px 22px rgba(13, 79, 161, .07);
    display: grid;
    grid-template-columns: 54px 1fr 20px;
    align-items: center;
    gap: 14px;
    text-align: left;
    transition: .15s ease
}

.menu-card:active {
    transform: translateY(1px);
    filter: brightness(.97)
}

.menu-card-copy {
    display: grid;
    gap: 4px
}

.menu-card-copy small {
    color: var(--color-muted);
    font-size: .88rem;
    font-weight: 400
}

.menu-card-chevron {
    color: var(--color-secondary);
    font-size: 1.8rem
}

.menu-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: rgba(84, 182, 184, .14);
    color: var(--color-primary);
    font-size: 1.5rem
}

.info-card {
    position: relative;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-card)
}

.info-card h3 {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 1.4rem
}

.info-card h4 {
    margin: 20px 0 8px
}

.info-card p,
.info-card li {
    line-height: 1.6
}

.info-card ul,
.info-card ol {
    padding-left: 1.25rem
}

.info-card li+li {
    margin-top: 6px
}

.highlight {
    display: inline-block;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(84, 182, 184, .14);
    color: var(--color-primary);
    font-weight: 800
}

.muted {
    color: var(--color-muted);
    font-size: .95rem
}

.address {
    margin-top: 18px;
    padding: 16px;
    border-radius: var(--radius-small);
    background: var(--color-page);
    display: grid;
    gap: 5px
}

.actions {
    display: grid;
    gap: 10px;
    margin-top: 16px
}

.button {
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: 800
}

.button.primary {
    background: var(--color-primary);
    color: #fff
}

.button.secondary {
    background: var(--color-accent);
    color: #fff
}

.button.disabled {
    opacity: .55;
    pointer-events: none
}

.key-list {
    list-style: none;
    padding: 0 !important;
    margin: 18px 0;
    display: grid;
    gap: 12px
}

.key-list li {
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: 18px 98px 1fr;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(13, 79, 161, .08)
}

.key-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%
}

.purple {
    background: #8b5cf6
}

.orange {
    background: #f59e0b
}

.blue {
    background: #3b82f6
}

.green {
    background: #22c55e
}

.black {
    background: #111827
}

.gold {
    background: var(--color-accent)
}

.warning {
    padding: 16px;
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-small);
    background: rgba(200, 166, 106, .16);
    display: grid;
    gap: 5px
}

.attention-box {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid #eed177;
    border-radius: var(--radius-small);
    background: #fff9df;
    line-height: 1.55
}

.code-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-small);
    background: var(--color-primary);
    color: #fff;
    text-align: center
}

.code-box span {
    display: block;
    font-size: .9rem;
    opacity: .85
}

.code-box strong {
    display: block;
    margin-top: 4px;
    font-size: 2.4rem;
    letter-spacing: .08em
}

.beach-card {
    padding: 0;
    overflow: hidden
}

.beach-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover
}

.beach-body {
    padding: 22px
}

.copy-button {
    margin-top: 12px
}

@media(min-width:700px) {
    :root {
        --app-width: 720px
    }

    .home-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:370px) {
    .content {
        padding-left: 14px;
        padding-right: 14px
    }

    .menu-card {
        grid-template-columns: 48px 1fr 18px;
        padding: 14px
    }

    .menu-icon {
        width: 48px;
        height: 48px
    }
}


/* =========================================================
   ACCUEIL PREMIUM - V0.4
   ========================================================= */

.home-screen {
    min-height: 100vh;
    background: #f8f6f1;
}

.home-hero {
    position: relative;
    min-height: 46vh;
    padding:
        max(30px, env(safe-area-inset-top)) 24px 54px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background:
        url("../assets/images/hero-plage.png") center 55% / cover no-repeat;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(4, 33, 63, 0.08) 0%,
            rgba(4, 33, 63, 0.16) 42%,
            rgba(4, 33, 63, 0.68) 100%);
}

.home-brand {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: #fff;
    animation: homeBrandIn 0.55s ease both;
}

.home-logo {
    width: min(72vw, 320px);
    height: auto;
    max-height: 116px;
    margin: 0 auto 14px;
    padding: 10px 14px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.home-kicker {
    margin: 0 0 7px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.92;
}

.home-brand h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.45rem, 11vw, 3.65rem);
    line-height: 0.98;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.home-tagline {
    margin: 12px 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}

.home-panel {
    position: relative;
    z-index: 2;
    margin-top: -26px;
    padding: 30px 18px max(24px, env(safe-area-inset-bottom));
    border-radius: 30px 30px 0 0;
    background: #f8f6f1;
    box-shadow: 0 -12px 34px rgba(8, 49, 84, 0.12);
}

.home-intro {
    max-width: 390px;
    margin: 0 auto 20px;
    color: #5d6c78;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.55;
}

.home-list {
    display: grid;
    gap: 12px;
}

.home-list-card {
    width: 100%;
    min-height: 88px;
    padding: 16px;
    border: 1px solid rgba(13, 79, 161, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    color: #17324d;
    box-shadow:
        0 12px 28px rgba(13, 79, 161, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    display: grid;
    grid-template-columns: 56px 1fr 24px;
    align-items: center;
    gap: 14px;
    text-align: left;
    animation: homeCardIn 0.48s ease both;
    animation-delay: var(--delay);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.home-list-card:hover {
    background: #fff;
    box-shadow:
        0 16px 34px rgba(13, 79, 161, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-list-card:active {
    transform: scale(0.985);
}

.home-list-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg,
            rgba(84, 182, 184, 0.18),
            rgba(13, 79, 161, 0.10));
    color: #0d4fa1;
}

.home-list-icon svg,
.home-list-chevron svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-list-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.home-list-copy strong {
    color: #0d4fa1;
    font-size: 1.08rem;
    line-height: 1.2;
}

.home-list-copy small {
    color: #71808c;
    font-size: 0.88rem;
    line-height: 1.35;
}

.home-list-chevron {
    color: #c8a66a;
    display: grid;
    place-items: center;
}

.home-list-chevron svg {
    width: 22px;
    height: 22px;
}

.home-version {
    margin: 22px 0 0;
    color: #98a2aa;
    text-align: center;
    font-size: 0.74rem;
}

@keyframes homeBrandIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes homeCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 700px) {
    .home-hero {
        min-height: 54vh;
        background-position: center 58%;
    }

    .home-panel {
        padding-right: 34px;
        padding-left: 34px;
    }

    .home-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 370px) {
    .home-logo {
        width: min(78vw, 285px);
    }

    .home-panel {
        padding-right: 14px;
        padding-left: 14px;
    }

    .home-list-card {
        min-height: 82px;
        padding: 13px;
        grid-template-columns: 50px 1fr 20px;
    }

    .home-list-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .home-list-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-brand,
    .home-list-card {
        animation: none;
    }
}


/* =========================================================
   ACCUEIL PREMIUM - AJUSTEMENTS V0.4.1
   ========================================================= */

/* Recadrage de la photo : on privilégie le ciel, la mer et la droite
   de l'image pour rendre les personnes à gauche beaucoup moins visibles. */
.home-hero {
    min-height: 48vh;
    padding-bottom: 58px;
    background-position: 62% 54%;
}

.home-hero-overlay {
    background:
        linear-gradient(to bottom,
            rgba(5, 43, 75, 0.02) 0%,
            rgba(5, 43, 75, 0.06) 30%,
            rgba(5, 43, 75, 0.30) 66%,
            rgba(5, 43, 75, 0.72) 100%);
}

/* Logo transparent directement sur le ciel. */
.home-logo {
    width: min(88vw, 410px);
    max-height: 150px;
    margin-bottom: 18px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
    filter:
        drop-shadow(0 2px 1px rgba(255, 255, 255, 0.82)) drop-shadow(0 8px 18px rgba(4, 37, 67, 0.20));
}

.home-kicker {
    display: none;
}

.home-brand h1 {
    font-size: clamp(2.65rem, 11vw, 4rem);
}

.home-tagline {
    margin-top: 10px;
}

.home-panel {
    margin-top: -34px;
    padding-top: 34px;
    border-radius: 36px 36px 0 0;
}

.home-list-card {
    position: relative;
    min-height: 94px;
    overflow: hidden;
    border-color: rgba(13, 79, 161, 0.07);
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 13px 28px rgba(13, 79, 161, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Vague très discrète dans le bas de chaque carte. */
.home-list-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -39px;
    width: 68%;
    height: 72px;
    border-radius: 50% 0 0 0;
    background: var(--card-soft);
    transform: rotate(-4deg);
    pointer-events: none;
}

.home-list-card>* {
    position: relative;
    z-index: 1;
}

.home-list-icon {
    background: var(--icon-soft);
    color: var(--icon-color);
}

.home-list-chevron {
    color: var(--chevron-color, #c8a66a);
}

/* Couleurs de chaque rubrique. */
.tone-blue {
    --icon-color: #1674d1;
    --icon-soft: rgba(22, 116, 209, 0.11);
    --card-soft: rgba(22, 116, 209, 0.08);
}

.tone-turquoise {
    --icon-color: #10a5a9;
    --icon-soft: rgba(16, 165, 169, 0.12);
    --card-soft: rgba(16, 165, 169, 0.09);
}

.tone-gold {
    --icon-color: #d28e19;
    --icon-soft: rgba(210, 142, 25, 0.13);
    --card-soft: rgba(210, 142, 25, 0.09);
}

.tone-purple {
    --icon-color: #5840aa;
    --icon-soft: rgba(88, 64, 170, 0.12);
    --card-soft: rgba(88, 64, 170, 0.09);
}

@media (min-width: 700px) {
    .home-hero {
        min-height: 56vh;
        background-position: 60% 55%;
    }

    .home-logo {
        width: min(58vw, 480px);
        max-height: 175px;
    }
}

@media (max-width: 430px) {
    .home-hero {
        min-height: 46vh;
        background-position: 64% 54%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-logo {
        width: min(92vw, 390px);
        max-height: 132px;
    }

    .home-brand h1 {
        font-size: clamp(2.5rem, 12vw, 3.35rem);
    }
}


/* =========================================================
   CORRECTION ACCUEIL V0.5.1
   ========================================================= */

/* On masque définitivement les textes redondants s'ils existent encore. */
.home-kicker,
.home-tagline {
    display: none !important;
}

/* Photo et composition */
.home-hero {
    min-height: 47vh !important;
    padding:
        max(18px, env(safe-area-inset-top)) 18px 62px !important;

    align-items: stretch !important;
    background-position: 64% 54% !important;
}

.home-brand {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;

    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* Logo plus haut, plus petit, sans fond */
.home-logo {
    width: min(68vw, 315px) !important;
    max-height: 92px !important;
    margin: 0 auto !important;
    padding: 0 !important;

    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    object-fit: contain !important;

    filter:
        drop-shadow(0 1px 1px rgba(255, 255, 255, 0.42)) drop-shadow(0 4px 10px rgba(0, 35, 70, 0.18)) !important;
}

/* Seulement "Bienvenue" en bas de l'image */
.home-brand h1 {
    margin: auto 0 0 !important;

    color: #ffffff !important;
    font-size: clamp(2.7rem, 11vw, 3.9rem) !important;
    line-height: 1 !important;
    text-align: center !important;

    text-shadow: 0 4px 16px rgba(0, 25, 55, 0.55) !important;
}

/* Le panneau blanc reste lisible et remonte légèrement */
.home-panel {
    margin-top: -32px !important;
    padding-top: 32px !important;
    border-radius: 34px 34px 0 0 !important;
}

/* Intro uniquement dans le panneau */
.home-intro {
    margin: 0 auto 20px !important;
    max-width: 390px !important;
    color: #6f7f8c !important;
    text-align: center !important;
    line-height: 1.55 !important;
}

@media (min-width: 700px) {
    .home-logo {
        width: min(44vw, 350px) !important;
        max-height: 105px !important;
    }
}

@media (max-width: 430px) {
    .home-logo {
        width: min(72vw, 300px) !important;
        max-height: 86px !important;
    }
}


/* =========================================================
   ACCUEIL V0.6 — LOGO EN HAUT À GAUCHE
   ========================================================= */

.home-hero {
    min-height: 47vh !important;
    padding:
        max(18px, env(safe-area-inset-top)) 18px 62px !important;

    align-items: stretch !important;
    background-position: 64% 54% !important;
}

.home-brand {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.home-logo-link {
    position: absolute;
    top: 0;
    left: 0;

    display: inline-block;
    width: min(50vw, 230px);

    border-radius: 12px;

    transition:
        transform 0.18s ease,
        filter 0.18s ease;
}

.home-logo-link:hover {
    transform: scale(1.025);
}

.home-logo-link:active {
    transform: scale(0.985);
}

.home-logo {
    width: 100% !important;
    max-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: left center !important;

    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    filter:
        drop-shadow(0 2px 5px rgba(0, 32, 62, 0.20)) !important;
}

.home-brand h1 {
    margin: auto 0 0 !important;

    color: #ffffff !important;
    font-size: clamp(2.7rem, 11vw, 3.9rem) !important;
    line-height: 1 !important;
    text-align: center !important;

    text-shadow: 0 4px 16px rgba(0, 25, 55, 0.55) !important;
}

.home-kicker,
.home-tagline {
    display: none !important;
}

.home-list-chevron {
    opacity: 0.72;
}

@media (min-width: 700px) {
    .home-logo-link {
        width: min(34vw, 250px);
    }

    .home-logo {
        max-height: 82px !important;
    }
}

@media (max-width: 430px) {
    .home-logo-link {
        width: min(52vw, 215px);
    }

    .home-logo {
        max-height: 70px !important;
    }
}


/* =========================================================
   ACCUEIL V0.6.1 — AJUSTEMENTS FINAUX
   ========================================================= */

.home-logo-link {
    top: 15px !important;
    width: min(55vw, 250px) !important;
}

.home-logo {
    max-height: 78px !important;
}

.home-brand h1 {
    transform: translateY(120px);
}

.home-panel {
    margin-top: -42px !important;
}

@media (min-width: 700px) {
    .home-logo-link {
        width: min(37vw, 275px) !important;
    }

    .home-logo {
        max-height: 86px !important;
    }
}

@media (max-width: 430px) {
    .home-hero {
        min-height: 42vh !important;
        background-position: 66% 54% !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .home-logo-link {
        width: min(57vw, 235px) !important;
    }

    .home-logo {
        max-height: 74px !important;
    }

    .home-brand h1 {
        transform: translateY(135px);
    }

    .home-panel {
        margin-top: -42px !important;
        padding-top: 20px !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .home-intro {
        margin-bottom: 12px !important;
        font-size: 0.92rem !important;
        line-height: 1.4 !important;
    }

    .home-list {
        gap: 8px !important;
    }

    .home-list-card {
        min-height: 78px !important;
        padding: 12px 14px !important;
        grid-template-columns: 48px 1fr 20px !important;
    }

    .home-list-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 15px !important;
    }

    .home-list-icon svg {
        width: 25px !important;
        height: 25px !important;
    }

    .home-list-copy strong {
        font-size: 1rem !important;
    }

    .home-list-copy small {
        font-size: 0.82rem !important;
    }
}
/* =========================================================
   RUBRIQUE VOTRE ARRIVEE - V0.7
   ========================================================= */
.section-hero {
    position: relative;
    min-height: 34vh;
    padding: max(22px, env(safe-area-inset-top)) 20px 42px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--section-image) center 55% / cover no-repeat, var(--color-primary);
}

.section-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(4, 33, 63, .18), rgba(4, 33, 63, .68));
}

.section-back {
    position: absolute;
    z-index: 2;
    top: max(18px, env(safe-area-inset-top));
    left: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(13,79,161,.42);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.45rem;
}

.section-hero-title {
    position: relative;
    z-index: 1;
    width: 100%;
    color: #fff;
    text-align: center;
}

.section-hero-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.section-hero-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-hero-title h1 {
    margin: 0;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
    text-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.section-panel {
    position: relative;
    z-index: 2;
    margin-top: -26px;
    min-height: 66vh;
    padding: 28px 18px max(28px, env(safe-area-inset-bottom));
    border-radius: 30px 30px 0 0;
    background: #f8f6f1;
    box-shadow: 0 -12px 34px rgba(8,49,84,.12);
}

.section-intro {
    max-width: 420px;
    margin: 0 auto 20px;
    color: #5d6c78;
    text-align: center;
    font-size: .98rem;
    line-height: 1.55;
}

.arrival-list .home-list-card {
    overflow: hidden;
    position: relative;
}

.arrival-list .home-list-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -36px;
    width: 150px;
    height: 72px;
    border-radius: 50%;
    background: rgba(84,182,184,.08);
    transform: rotate(-8deg);
}

.detail-hero {
    height: 112px;
    background: linear-gradient(rgba(4,33,63,.20), rgba(4,33,63,.38)), url("../assets/images/hero-plage.png") center 55% / cover no-repeat;
}

.detail-content {
    position: relative;
    margin-top: -28px;
    border-radius: 30px 30px 0 0;
    background: #f8f6f1;
}

.address-main {
    margin-top: 0;
}

.step-list {
    list-style: none;
    padding: 0 !important;
    counter-reset: arrival-step;
}

.step-list li {
    counter-increment: arrival-step;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 12px 0;
}

.step-list li::before {
    content: counter(arrival-step);
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(84,182,184,.15);
    color: var(--color-primary);
    font-weight: 800;
}

.step-list li span {
    color: var(--color-muted);
    font-size: .92rem;
}

.location-summary {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.location-summary div {
    padding: 15px;
    border-radius: 16px;
    background: var(--color-page);
    display: grid;
    gap: 4px;
}

.location-summary span {
    color: var(--color-muted);
    font-size: .84rem;
}

@media (min-width: 700px) {
    .section-hero { min-height: 42vh; }
    .section-panel { padding-right: 34px; padding-left: 34px; }
    .arrival-list { grid-template-columns: 1fr 1fr; }
}
