/* =========================================================
   DB-VTC-COMTOIS — feuille de style commune
   ========================================================= */

:root {
    --ink: #0b1220;
    --ink-2: #1c2638;
    --muted: #5b6b82;
    --line: #e4e9f0;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --accent: #2f9bff;
    --accent-2: #0a6fd6;
    --accent-soft: #e6f3ff;
    --success: #16a34a;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 8px rgba(11, 18, 32, .04);
    --shadow: 0 10px 30px -12px rgba(11, 18, 32, .18);
    --shadow-lg: 0 30px 60px -20px rgba(11, 18, 32, .35);
    --container: 1180px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Typographie ---------- */

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section {
    padding: 110px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.center .eyebrow::after {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin: 14px 0 16px;
}

.section-head p {
    color: var(--muted);
    font-size: 1.08rem;
}

.text-accent {
    background: linear-gradient(120deg, var(--accent), #6fc3ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(47, 155, 255, .8);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px -12px rgba(47, 155, 255, .9);
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
}

.btn-outline {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-2);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: var(--ink-2);
}

.btn-lg {
    padding: 18px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(47, 155, 255, .55);
    outline-offset: 3px;
}

/* ---------- Top bar ---------- */

.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.topbar-links {
    display: flex;
    gap: 24px;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

.topbar a:hover {
    color: #fff;
}

.topbar svg {
    width: 14px;
    height: 14px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}

.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -.01em;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.brand span small {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .04em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    position: relative;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--muted);
    transition: color .2s, background-color .2s;
}

.main-nav a:hover {
    color: var(--ink);
    background: rgba(11, 18, 32, .05);
}

.main-nav a[aria-current="page"] {
    color: var(--accent-2);
    background: var(--accent-soft);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta .btn {
    padding: 12px 20px;
    font-size: .92rem;
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}

.burger span {
    top: 50%;
    transform: translate(-50%, -50%);
}

.burger span::before,
.burger span::after {
    content: "";
    left: 0;
}

.burger span::before {
    top: -6px;
}

.burger span::after {
    top: 6px;
}

.menu-open .burger span {
    background: transparent;
}

.menu-open .burger span::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-open .burger span::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero (accueil) ---------- */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - 40px);
    min-height: calc(100svh - var(--header-h) - 40px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background: var(--ink);
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 600px at 10% 90%, rgba(47, 155, 255, .35), transparent 60%),
        linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .65) 50%, rgba(11, 18, 32, .25) 100%);
}

.hero-content {
    padding: 100px 0 140px;
    max-width: 720px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: .88rem;
    font-weight: 600;
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, .25);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

.hero h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    margin: 24px 0 20px;
    letter-spacing: -.035em;
}

.hero p.lead {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, .8);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-stats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(11, 18, 32, .35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-stats .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat {
    padding: 22px 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.stat + .stat {
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.stat strong {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.stat span {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
}

/* ---------- En-tête de page (pages internes) ---------- */

.page-hero {
    position: relative;
    padding: 90px 0 80px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(700px 400px at 85% 0%, rgba(47, 155, 255, .45), transparent 60%),
        radial-gradient(600px 300px at 0% 100%, rgba(111, 195, 255, .18), transparent 60%);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}

.page-hero .eyebrow {
    color: #7cc6ff;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin: 16px 0 14px;
    max-width: 820px;
}

.page-hero p {
    color: rgba(255, 255, 255, .75);
    font-size: 1.1rem;
    max-width: 620px;
}

/* ---------- Clients ---------- */

.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-card {
    position: relative;
    padding: 32px 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.client-card::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 155, 255, .14), transparent 70%);
}

.icon-tile {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 24px -10px rgba(47, 155, 255, .8);
    margin-bottom: 24px;
}

.icon-tile img {
    width: 38px;
    height: 38px;
}

.icon-tile svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.client-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

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

/* ---------- Valeurs ---------- */

.values {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.values::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 900px;
    height: 900px;
    right: -300px;
    top: -300px;
    background: radial-gradient(circle, rgba(47, 155, 255, .28), transparent 60%);
}

.values .eyebrow {
    color: #7cc6ff;
}

.values .section-head p {
    color: rgba(255, 255, 255, .7);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

a.media-frame:hover img {
    transform: scale(1.04);
}

.media-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-weight: 700;
    font-size: .9rem;
    box-shadow: var(--shadow);
}

.media-tag svg {
    width: 18px;
    height: 18px;
    color: var(--success);
}

.value-list {
    list-style: none;
    counter-reset: value;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.value-item {
    counter-increment: value;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.value-item::before {
    content: counter(value, decimal-leading-zero);
    font-size: 1.05rem;
    font-weight: 800;
    color: #7cc6ff;
    line-height: 1.6;
}

.value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.value-item p {
    color: rgba(255, 255, 255, .7);
}

/* ---------- Expérience (accueil) ---------- */

.feature {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature + .feature {
    margin-top: 110px;
}

.feature.reverse .media-frame {
    order: 2;
}

.feature .media-frame {
    aspect-ratio: 952 / 425;
}

.feature h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 14px 0 18px;
}

.feature p {
    color: var(--muted);
    font-size: 1.06rem;
    margin-bottom: 28px;
}

.checks {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.checks svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-2);
    flex-shrink: 0;
}

/* ---------- Bandeau CTA ---------- */

.cta-band {
    padding: 0 0 110px;
}

.cta-box {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
    padding: 64px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%, #6fc3ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 30px 60px -30px rgba(10, 111, 214, .8);
}

.cta-box::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 500px;
    height: 500px;
    right: -120px;
    top: -220px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .09);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.08rem;
}

.cta-box .btn-dark {
    box-shadow: 0 14px 30px -12px rgba(11, 18, 32, .7);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Modale contact ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(11, 18, 32, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(.97);
    transition: transform .35s var(--ease);
}

.modal.open .modal-card {
    transform: none;
}

.modal-card h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.modal-card > p {
    color: var(--muted);
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 0;
    background: var(--bg);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color .2s, transform .2s;
}

.modal-close:hover {
    background: var(--line);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.contact-options {
    display: grid;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: border-color .2s, background-color .2s, transform .2s;
}

.contact-option:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateX(4px);
}

.contact-option .icon-tile {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    margin: 0;
    box-shadow: none;
}

.contact-option .icon-tile svg {
    width: 20px;
    height: 20px;
}

.contact-option strong {
    display: block;
}

.contact-option span {
    color: var(--muted);
    font-size: .9rem;
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .brand {
    color: #fff;
    margin-bottom: 18px;
}

.footer-brand .brand span small {
    color: rgba(255, 255, 255, .5);
}

.footer-brand p {
    max-width: 320px;
    font-size: .95rem;
}

.site-footer h3 {
    color: #fff;
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.site-footer a {
    transition: color .2s;
}

.site-footer a:hover {
    color: #fff;
}

.social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: background-color .2s, border-color .2s;
}

.social:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .5);
}

.footer-bottom nav {
    display: flex;
    gap: 20px;
}

/* ---------- Étapes (tarifs) ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-2);
    background: var(--accent-soft);
}

.step h2 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.step p {
    color: var(--muted);
    font-size: .96rem;
}

/* ---------- Calculateur ---------- */

.calculator {
    display: grid;
    grid-template-columns: 420px 1fr;
    border-radius: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calc-form {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-form h2 {
    font-size: 1.5rem;
}

.calc-form > p {
    color: var(--muted);
    font-size: .95rem;
    margin-top: -8px;
}

.field {
    position: relative;
}

.field label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-2);
    margin-bottom: 6px;
}

.field .input-wrap {
    position: relative;
}

.field .input-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.field .input-wrap input {
    padding-left: 46px;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(47, 155, 255, .15);
}

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

.pricedetails {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    color: #fff;
    animation: rise .5s var(--ease);
}

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

.price-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

#price {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.price-meta {
    display: grid;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .92rem;
    color: rgba(255, 255, 255, .8);
}

.calc-map {
    position: relative;
    min-height: 560px;
    background: #e8eef5;
}

.calc-map #map {
    position: absolute;
    inset: 0;
}

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

/* ---------- Réservation ---------- */

.booking {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: start;
}

.panel {
    padding: 36px;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel h2 {
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.panel > p {
    color: var(--muted);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.summary {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 0;
    overflow: hidden;
}

.summary-head {
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    color: #fff;
}

.summary-head .price-label {
    display: block;
    margin-bottom: 6px;
}

#priceDisplay {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}

#tnightDisplay {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
    margin-top: 6px;
}

.summary-body {
    padding: 28px 32px;
    display: grid;
    gap: 20px;
}

.summary-row {
    display: flex;
    gap: 14px;
}

.summary-row .icon-tile {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin: 0;
    box-shadow: none;
    background: var(--accent-soft);
    flex-shrink: 0;
}

.summary-row .icon-tile svg {
    width: 18px;
    height: 18px;
    color: var(--accent-2);
}

.summary-row h3 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.summary-row p {
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.summary #map {
    height: 260px;
    border-top: 1px solid var(--line);
}

.form-status {
    display: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: .95rem;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
}

.success {
    display: none;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 56px 40px;
}

.success img {
    width: 110px;
    margin: 0 auto 24px;
}

.success h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.success p {
    color: var(--muted);
    margin-bottom: 28px;
}

/* ---------- Galerie (expérience) ---------- */

.gallery {
    columns: 3 280px;
    column-gap: 20px;
}

.gallery figure {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    background: var(--line);
}

.gallery img {
    width: 100%;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.timeline .client-card strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 10px;
}

/* ---------- Pages texte ---------- */

.prose {
    max-width: 780px;
    padding: 44px;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.prose h2 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
}

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

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 12px 0;
}

.prose ul li {
    padding-left: 22px;
    position: relative;
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.sitemap {
    list-style: none;
    display: grid;
    gap: 12px;
}

.prose .sitemap li {
    padding-left: 0;
}

.prose .sitemap li::before {
    display: none;
}

.sitemap a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    font-weight: 700;
    transition: border-color .2s, background-color .2s, transform .2s;
}

.sitemap a:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateX(4px);
}

.sitemap a span {
    color: var(--muted);
    font-weight: 500;
    font-size: .9rem;
}

.sitemap svg {
    width: 18px;
    height: 18px;
    color: var(--accent-2);
}

/* ---------- Animations au scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
    .cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calculator {
        grid-template-columns: 1fr;
    }

    .calc-map {
        min-height: 400px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 80px 0;
    }

    .main-nav {
        position: fixed;
        top: calc(var(--header-h) + 8px);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: 22px;
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }

    .menu-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .main-nav a {
        padding: 16px 18px;
        font-size: 1.05rem;
        border-radius: 14px;
    }

    .burger {
        display: block;
    }

    .split,
    .feature,
    .booking {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature.reverse .media-frame {
        order: 0;
    }

    .feature + .feature {
        margin-top: 80px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px 32px;
    }

    .steps,
    .timeline {
        grid-template-columns: 1fr;
    }

    .summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .topbar-tagline {
        display: none;
    }

    .topbar .container {
        justify-content: center;
    }

    .header-cta .btn span {
        display: none;
    }

    .header-cta .btn {
        width: 46px;
        height: 46px;
        padding: 0;
    }

    .hero-content {
        padding: 72px 0 150px;
    }

    .hero-stats .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat {
        flex-direction: column;
        gap: 2px;
        padding: 16px 0;
    }

    .stat + .stat {
        padding-left: 16px;
    }

    .stat strong {
        font-size: 1.4rem;
    }

    .stat span {
        font-size: .78rem;
        line-height: 1.3;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .calc-form,
    .panel,
    .prose {
        padding: 26px 22px;
    }

    .summary {
        padding: 0;
    }

    .summary-head,
    .summary-body {
        padding: 24px 22px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 16px;
    }

    .cards-4,
    .field-row,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .brand span small {
        display: none;
    }

    .topbar-links {
        gap: 16px;
        font-size: .8rem;
    }

    .modal-card {
        padding: 28px 22px;
    }

    .cta-actions,
    .cta-actions .btn {
        width: 100%;
    }
}
