/* ==========================================================================
   CREATEEV — Feuille de style principale
   Palette : jaune Createev, blanc cassé, noir, gris clair
   ========================================================================== */

:root {
    /* Couleurs */
    --yellow:        #f7b500;
    --yellow-light:  #ffc83d;
    --yellow-pale:   #fff3cf;
    --cream:         #faf6ef;
    --cream-dark:    #f3ecdf;
    --black:         #131313;
    --ink:           #1d1d1b;
    --gray:          #6b6b66;
    --gray-light:    #e8e4da;
    --white:         #ffffff;

    --grad-yellow:   linear-gradient(135deg, #ffd34d 0%, #f7b500 100%);
    --grad-hero:     radial-gradient(ellipse at 70% 30%, #ffe9a8 0%, #ffd34d 45%, #f7b500 100%);

    /* Typo */
    --font-body:  "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --font-brand: "Pacifico", cursive;

    /* Rayons & ombres */
    --radius:     16px;
    --radius-lg:  24px;
    --radius-pill: 999px;
    --shadow-sm:  0 2px 10px rgba(19, 19, 19, .06);
    --shadow-md:  0 10px 30px rgba(19, 19, 19, .10);
    --shadow-lg:  0 24px 60px rgba(19, 19, 19, .14);

    --container:  1180px;
    --header-h:   78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { vertical-align: middle; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }
p a, .check-list a { color: #a87b00; font-weight: 600; text-decoration: underline; }

ul { padding: 0; margin: 0; list-style: none; }
ol { padding: 0; margin: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--black); color: var(--white);
    padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: .95rem;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--grad-yellow); color: var(--black);
    box-shadow: 0 8px 22px rgba(247, 181, 0, .35);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(247, 181, 0, .45); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2a2a2a; }

.btn--outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--ghost { background: var(--cream); color: var(--black); }
.btn--ghost:hover { background: var(--yellow-pale); }

.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-light);
}
.header-inner {
    display: flex; align-items: center; gap: 28px;
    height: var(--header-h);
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-brand);
    font-size: 1.7rem; color: var(--black);
}
.brand-name--light { color: var(--yellow); font-size: 2rem; }
.brand-tagline {
    font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gray); margin-top: 2px;
}

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

.nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 9px 14px; border-radius: var(--radius-pill);
    font-weight: 600; font-size: .93rem; color: var(--ink);
    background: none; border: 0;
    transition: background .2s ease;
}
.nav-link:hover, .nav-link.is-active { background: var(--yellow-pale); }
.nav-link--btn svg { transition: transform .25s ease; }
.has-mega.is-open .nav-link--btn svg { transform: rotate(180deg); }

.header-cta { margin-left: 8px; }
.header-cta--mobile { display: none; }

.nav-burger {
    display: none; background: none; border: 0; color: var(--black);
    padding: 8px; border-radius: 10px;
}

/* ---------- Méga-menu ---------- */
.has-mega { position: relative; }
.mega-menu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%);
    width: min(860px, calc(100vw - 48px));
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    padding: 26px;
    z-index: 110;
}
.mega-menu::before {
    content: ""; position: absolute; top: -8px; left: 50%;
    width: 16px; height: 16px; background: var(--white);
    border-left: 1px solid var(--gray-light); border-top: 1px solid var(--gray-light);
    transform: translateX(-50%) rotate(45deg);
}

.mega-grid { display: grid; grid-template-columns: 1fr 250px; gap: 26px; }

.mega-services {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mega-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 14px; border-radius: var(--radius);
    transition: background .2s ease, transform .2s ease;
}
.mega-item:hover { background: var(--cream); transform: translateY(-2px); }
.mega-icon {
    display: inline-flex; padding: 9px; border-radius: 12px;
    background: var(--yellow-pale); color: #9a7100;
}
.mega-item-name { font-weight: 700; font-size: .9rem; }
.mega-item-price { font-size: .78rem; color: var(--gray); }

.mega-aside {
    background: var(--cream); border-radius: var(--radius);
    padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.mega-aside-title { font-weight: 800; margin: 0; }
.mega-aside-text { font-size: .85rem; color: var(--gray); margin: 0; flex: 1; }

.mega-banner {
    margin-top: 22px; padding: 18px 22px;
    background: var(--yellow-pale);
    border-radius: var(--radius);
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.mega-banner-lead { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 260px; }
.mega-banner-lead p { margin: 2px 0 0; font-size: .82rem; color: var(--gray); }
.mega-banner-icon {
    display: inline-flex; padding: 9px; border-radius: 50%;
    background: var(--grad-yellow); color: var(--black); flex-shrink: 0;
}
.mega-banner-points { display: flex; gap: 16px; flex-wrap: wrap; }
.mega-banner-points li {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 600;
}

/* ---------- Hero ---------- */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }

.highlight { position: relative; white-space: nowrap; }
.highlight::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .08em;
    height: .34em; background: var(--yellow-light);
    border-radius: 4px; z-index: -1; opacity: .75;
}

.lead { font-size: 1.1rem; color: var(--gray); max-width: 560px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }

.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust li {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .87rem; font-weight: 600; color: var(--gray);
}
.hero-trust svg { color: var(--yellow); }

/* Visuel hero (mockups CSS) */
.hero-visual {
    position: relative; min-height: 420px;
    isolation: isolate;
}
.hero-visual::before {
    content: "";
    position: absolute; inset: 8% 6% 8% 10%;
    background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.06));
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.4);
    z-index: -1;
}
.hero-blob {
    position: absolute; inset: 6% 0 6% 8%;
    background: linear-gradient(135deg, rgba(247,181,0,.15), rgba(255,241,199,.04));
    border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%;
    filter: blur(0.5px);
}
.hero-mock {
    position: absolute; background: transparent;
    border-radius: var(--radius); box-shadow: none;
    padding: 0;
    border: 0;
}
.hero-mock--main {
    top: 12%; left: 18%; width: 62%;
    animation: float 7s ease-in-out infinite;
}
.mock-bar { display: flex; gap: 5px; margin-bottom: 12px; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-light); }
.mock-bar span:first-child { background: var(--yellow); }
.mock-title { font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.mock-chart {
    display: flex; align-items: flex-end; gap: 8px; height: 110px;
    padding: 8px; background: var(--cream); border-radius: 12px;
}
.mock-chart span {
    flex: 1; height: var(--h); border-radius: 6px 6px 0 0;
    background: var(--grad-yellow);
}
.mock-graph-image {
    width: 100%; height: auto; max-height: 240px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    margin: 8px 0 12px;
    opacity: 1;
}
.mock-stat {
    display: flex; align-items: center; gap: 8px;
    margin-top: 14px; font-weight: 700; font-size: .88rem;
}
.mock-stat svg { color: var(--yellow); }
.mock-icon-lg { display: flex; justify-content: center; padding: 26px 0 10px; color: var(--yellow); }

.hero-mock--card {
    bottom: 14%; left: 4%; width: 46%;
    animation: float 8s ease-in-out 1s infinite;
}
.mock-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--yellow-pale); color: #9a7100;
    font-size: .75rem; font-weight: 700;
    padding: 5px 10px; border-radius: var(--radius-pill); margin-bottom: 8px;
}
.hero-mock--card p { margin: 0; font-size: .85rem; font-weight: 600; }

.hero-mock--badge {
    top: 6%; right: 2%;
    display: flex; align-items: center; gap: 8px;
    font-weight: 800; font-size: .85rem;
    padding: 12px 18px; border-radius: var(--radius-pill);
    animation: float 6s ease-in-out .5s infinite;
}
.hero-mock--badge svg { color: var(--yellow); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ---------- Sections génériques ---------- */
.section { padding: 84px 0; }
.section--cream { background: var(--cream); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-sub { color: var(--gray); }

.eyebrow {
    display: inline-block;
    font-size: .76rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase;
    color: #9a7100;
    background: var(--yellow-pale);
    padding: 6px 14px; border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

/* ---------- Cartes étapes / valeurs ---------- */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.steps-grid--4 { grid-template-columns: repeat(4, 1fr); }

.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: .9rem; color: var(--gray); }

.step-num {
    position: absolute; top: 22px; right: 24px;
    font-weight: 800; font-size: .85rem; color: var(--gray-light);
}
.step-num--inline {
    position: static;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--grad-yellow); color: var(--black);
    font-size: .85rem; margin-right: 10px;
}
.step-icon {
    display: inline-flex; padding: 12px; border-radius: 14px;
    background: var(--yellow-pale); color: #9a7100; margin-bottom: 16px;
}

/* ---------- Split (texte + visuel) ---------- */
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-content .eyebrow { margin-bottom: 14px; }

.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check-list svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.check-list--inline { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 28px; }

.media-frame {
    position: relative;
    background: transparent;
    border-radius: var(--radius-lg);
    min-height: auto;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.media-illustration {
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px 40px; text-align: center; max-width: 75%;
}
.media-illustration p { margin: 14px 0 0; font-weight: 700; }
.media-circle {
    display: inline-flex; padding: 20px; border-radius: 50%;
    background: var(--yellow-pale); color: #9a7100;
}
.media-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.92); border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    padding: 9px 15px; font-size: .8rem; font-weight: 700;
}
.media-chip svg { color: var(--yellow); }
.media-chip--1 { top: 9%; left: 6%; animation: float 6s ease-in-out infinite; }
.media-chip--2 { bottom: 22%; right: 4%; animation: float 7s ease-in-out .8s infinite; }
.media-chip--3 { bottom: 7%; left: 12%; animation: float 8s ease-in-out .4s infinite; }

/* Pile "Full Stack" */
.stack-visual {
    display: flex; flex-direction: column; gap: 10px;
    max-width: 360px; margin: 0 auto;
}
.stack-layer {
    display: flex; align-items: center; gap: 12px;
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 14px 20px; font-weight: 700; font-size: .92rem;
    box-shadow: var(--shadow-sm);
    transform: translateX(calc(var(--i) * 12px));
}
.stack-layer svg { color: var(--yellow); }
.stack-result {
    display: flex; align-items: center; gap: 12px; justify-content: center;
    background: var(--black); color: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px; font-weight: 800;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
}
.stack-result svg { color: var(--yellow); }

/* ---------- Cartes services ---------- */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow-light);
}
.service-card h3 { font-size: 1.12rem; }
.service-card h3 a:hover { color: #9a7100; }

.service-icon {
    display: inline-flex; align-self: flex-start;
    padding: 13px; border-radius: 14px;
    background: var(--grad-yellow); color: var(--black);
    margin-bottom: 18px;
}
.service-icon--dark { background: var(--black); color: var(--yellow); }

.service-excerpt { font-size: .9rem; color: var(--gray); }

.service-price {
    margin: 6px 0 14px; font-size: .85rem; color: var(--gray);
}
.service-price strong {
    display: inline-block; margin-left: 6px;
    font-size: 1.15rem; color: var(--black);
    background: var(--yellow-pale);
    padding: 3px 12px; border-radius: var(--radius-pill);
}

.service-features { display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.service-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .87rem; font-weight: 500;
}
.service-features svg { color: var(--yellow); flex-shrink: 0; margin-top: 4px; }

.service-card--combo {
    background: var(--yellow-pale);
    border-color: var(--yellow-light);
}

/* ---------- Bandeau combo (page services) ---------- */
.combo-banner {
    display: grid; grid-template-columns: 1fr auto;
    gap: 40px; align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 44px 48px;
}
.combo-banner-action {
    display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.combo-badge {
    display: flex; align-items: center; justify-content: center;
    width: 110px; height: 110px; border-radius: 50%;
    background: var(--grad-yellow);
    font-size: 2rem; font-weight: 800;
    box-shadow: 0 14px 34px rgba(247, 181, 0, .4);
}

/* ---------- Liens services liés ---------- */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card .service-icon { margin: 0; padding: 9px; }
.related-name { font-weight: 700; flex: 1; }
.related-price { font-size: .82rem; color: var(--gray); }
.related-card > svg:last-child { color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 0 22px;
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; cursor: pointer; list-style: none;
    font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { display: inline-flex; color: var(--yellow); transition: transform .25s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding-bottom: 18px; margin: 0; color: var(--gray); font-size: .93rem; }

/* ---------- CTA pré-footer ---------- */
.cta-band { padding: 0 0 84px; }
.cta-card {
    display: grid; grid-template-columns: 1fr auto;
    gap: 36px; align-items: center;
    background: var(--grad-hero);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: var(--shadow-md);
}
.cta-card h2 { margin-bottom: 8px; }
.cta-card p { margin: 0; max-width: 520px; }
.cta-card-action { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-avatars { display: flex; }
.cta-avatar {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--black); color: var(--yellow);
    font-weight: 800; border: 3px solid #ffe9a8;
    margin-left: -10px;
}
.cta-avatar:first-child { margin-left: 0; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
    padding: 56px 0 30px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.page-hero h1 { max-width: 820px; }
.page-hero--service { padding-bottom: 60px; }
.page-hero--service .hero-visual { min-height: 340px; }

.breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: .82rem; color: var(--gray); margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--black); text-decoration: underline; }

/* ---------- Duo (mission / vision) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg); padding: 34px 30px;
}
.duo-card p { margin: 0; color: var(--gray); }

/* ---------- Formulaires ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px;
}
.optional { font-weight: 500; color: var(--gray); font-size: .8rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit; font-size: .95rem;
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(247, 181, 0, .15);
}
.form-group textarea { resize: vertical; }

.has-error input, .has-error textarea, .has-error select { border-color: #d23b2f; }
.form-error { color: #d23b2f; font-size: .8rem; margin: 6px 0 0; font-weight: 600; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
    display: flex; align-items: flex-start; gap: 10px;
    border-radius: var(--radius); padding: 16px 20px;
    margin-bottom: 24px; font-weight: 600;
}
.alert ul { list-style: disc; padding-left: 20px; font-weight: 500; margin-top: 6px; }
.alert--success { background: #e8f6e9; color: #1e6b27; }
.alert--success svg { color: #1e6b27; flex-shrink: 0; }
.alert--error { background: #fdecea; color: #b3261e; display: block; }

/* ---------- Page contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.contact-form-wrap {
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg); padding: 36px;
    box-shadow: var(--shadow-sm);
}
.contact-aside { display: grid; gap: 20px; }
.contact-card {
    background: var(--cream); border-radius: var(--radius-lg); padding: 30px;
}
.contact-card h2 { font-size: 1.15rem; }
.contact-card--accent { background: var(--grad-hero); }
.contact-card--accent p { font-size: .92rem; }
.footer-contact { display: grid; gap: 13px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.footer-contact svg { color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.footer-contact--dark a:hover { text-decoration: underline; }

/* ---------- Réservation ---------- */
.booking-form {
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg); padding: 38px;
    box-shadow: var(--shadow-sm);
}
.booking-steps {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 24px;
}
.booking-step-pill {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 14px; border: 1px solid var(--gray-light);
    border-radius: 999px; background: var(--cream); color: var(--gray);
    font-weight: 700; font-size: .86rem;
}
.booking-step-pill span:first-child {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--white); color: var(--black);
    font-size: .78rem;
}
.booking-step-pill.is-active {
    background: var(--grad-yellow); border-color: var(--yellow);
    color: var(--black); box-shadow: 0 8px 20px rgba(247, 181, 0, .2);
}
.booking-step { display: none; border: 0; padding: 0; margin: 0 0 24px; }
.booking-step.is-active { display: block; }
.booking-step.is-invalid { animation: wizard-shake .2s ease; }
.booking-step legend {
    display: flex; align-items: center;
    font-weight: 800; font-size: 1.15rem;
    margin-bottom: 20px; padding: 0;
}

.booking-picker { display: grid; gap: 22px; }
.picker-dates, .picker-slots { min-width: 0; max-width: 100%; }
.picker-label {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .92rem; margin-bottom: 12px;
}
.picker-label svg { color: var(--yellow); }
.picker-hint { font-weight: 500; color: var(--gray); font-size: .8rem; }

.dates-scroller {
    display: flex; gap: 10px; overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}
.date-chip {
    flex: 0 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    min-width: 84px;
    border: 1.5px solid var(--gray-light); border-radius: 14px;
    background: var(--white);
    padding: 12px 10px;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.date-chip:hover { border-color: var(--yellow); transform: translateY(-2px); }
.date-chip.is-selected {
    background: var(--grad-yellow); border-color: var(--yellow);
    box-shadow: 0 6px 16px rgba(247, 181, 0, .35);
}
.date-chip .d-day { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.date-chip.is-selected .d-day { color: rgba(19,19,19,.7); }
.date-chip .d-num { font-size: 1.25rem; font-weight: 800; }
.date-chip .d-month { font-size: .72rem; color: var(--gray); }
.date-chip.is-selected .d-month { color: rgba(19,19,19,.7); }

.slots-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px; min-height: 56px;
}
.slot-chip {
    border: 1.5px solid var(--gray-light); border-radius: var(--radius-pill);
    background: var(--white);
    padding: 11px 8px; font-weight: 700; font-size: .92rem;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.slot-chip:hover { border-color: var(--yellow); transform: translateY(-2px); }
.slot-chip.is-selected {
    background: var(--grad-yellow); border-color: var(--yellow);
    box-shadow: 0 6px 16px rgba(247, 181, 0, .35);
}
.slots-placeholder, .slots-empty {
    grid-column: 1 / -1; color: var(--gray); font-size: .9rem;
    margin: 0; align-self: center;
}

.booking-submit {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    margin-top: 20px;
}
.booking-nav { min-width: 150px; justify-content: center; }
.booking-nav[hidden] { display: none !important; }
.booking-note {
    display: block; width: 100%; text-align: center;
    margin: 14px 0 0; font-size: .82rem; color: var(--gray);
}
.booking-note svg { color: var(--yellow); }

@keyframes wizard-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ---------- Confirmation / erreurs ---------- */
.confirm-section, .error-section { padding: 90px 0; }
.confirm-card {
    text-align: center;
    background: var(--white); border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-md);
}
.confirm-icon {
    display: inline-flex; padding: 20px; border-radius: 50%;
    background: var(--grad-yellow); color: var(--black);
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(247, 181, 0, .4);
}
.confirm-slot {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--yellow-pale);
    border-radius: var(--radius-pill);
    padding: 12px 24px; font-size: 1.05rem;
    margin-bottom: 18px;
}
.confirm-slot svg { color: #9a7100; }
.confirm-next {
    text-align: left; background: var(--cream);
    border-radius: var(--radius); padding: 26px 30px;
    margin: 26px 0;
}
.confirm-next h2 { font-size: 1.05rem; }
.confirm-card .hero-actions { justify-content: center; margin-bottom: 0; }

.error-code {
    font-size: 4.5rem; font-weight: 800; line-height: 1;
    color: var(--yellow); margin: 0 0 10px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--black); color: #cfccc4;
    padding: 70px 0 0; margin-top: 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 44px; padding-bottom: 48px;
}
.footer-baseline { font-size: .9rem; margin: 14px 0 20px; }
.footer-title {
    color: var(--white); font-weight: 800; font-size: .95rem;
    margin: 0 0 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--yellow); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    display: inline-flex; padding: 10px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: var(--white);
    transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--black); }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0; font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--yellow); }

/* ---------- Photos ---------- */
.media-photo {
    width: min(100%, 540px); height: auto; aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: 0;
    background: transparent;
}
.mega-photo {
    width: 100%; height: 120px; object-fit: contain;
    border-radius: 12px;
    background: transparent;
}
.card-photo {
    width: calc(100% + 52px); margin: -30px -26px 20px;
    height: 165px; object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.contact-photo {
    width: 100%; height: 160px; object-fit: contain;
    border-radius: 14px; margin-bottom: 16px;
    border: 0;
    background: transparent;
}
.hero-mock--photo img {
    width: 100%; height: auto; aspect-ratio: 16 / 10;
    object-fit: cover; border-radius: 10px;
}

/* ---------- Animations d'apparition (activées uniquement si JS présent) ---------- */
.js .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease var(--delay, 0ms), transform .6s ease var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-mock, .media-chip { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .steps-grid, .steps-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 380px; max-width: 540px; margin: 0 auto; width: 100%; }
    .split, .split--reverse { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse .split-media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .combo-banner { grid-template-columns: 1fr; text-align: center; }
    .combo-banner .check-list--inline { justify-content: center; }
    .cta-card { grid-template-columns: 1fr; text-align: center; }
    .cta-card p { margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    :root { --header-h: 68px; }

    .nav-burger { display: inline-flex; margin-left: auto; }
    .header-cta { display: none; }
    .header-cta--mobile { display: inline-flex; margin: 18px 22px; align-self: flex-start; }

    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--white);
        margin: 0; padding: 12px 0;
        display: none; flex-direction: column;
        overflow-y: auto; z-index: 99;
    }
    .main-nav.is-open { display: flex; }

    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { border-bottom: 1px solid var(--gray-light); }
    .nav-link { width: 100%; padding: 16px 24px; border-radius: 0; font-size: 1rem; justify-content: space-between; }

    .mega-menu {
        position: static; transform: none; width: 100%;
        box-shadow: none; border: 0; border-radius: 0;
        padding: 0 24px 18px;
    }
    .mega-menu::before { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: 14px; }
    .mega-services { grid-template-columns: 1fr 1fr; }
    .mega-banner { flex-direction: column; align-items: flex-start; }

    .section { padding: 60px 0; }
    .hero { padding: 48px 0 60px; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .booking-form, .contact-form-wrap { padding: 26px 20px; }
    .confirm-card { padding: 40px 24px; }
    .check-list--inline { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .steps-grid, .steps-grid--4, .services-grid, .related-grid, .duo-grid { grid-template-columns: 1fr; }
    .mega-services { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-card { padding: 36px 26px; }
}
