/* ═══════════════════════════════════════════════
   KREATIVE MONSTER — Edit / Montage Vidéo Page
   (Page-specific styles — base from styles.css)
   ═══════════════════════════════════════════════ */

/* Nav handled by styles.css + script.js (cinematic hero) */

/* ── Back link ── */
.ed-back-link {
    font-family: var(--font-b);
    font-size: .75rem;
    font-weight: 500;
    color: var(--gray-txt);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .3s var(--ease);
}
.ed-back-link:hover { color: var(--red); }

/* ── Container ── */
.ed-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.ed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .3s var(--ease);
    text-decoration: none;
    background: none;
}
.ed-btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.ed-btn-primary:hover {
    background: #8B0000;
    border-color: #8B0000;
    transform: translateY(-2px);
}
.ed-btn-outline {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}
.ed-btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}
.ed-btn-wa svg {
    flex-shrink: 0;
}

/* ── Reveal ── */
.ed-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ed-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════
   HERO — uses cinematic hero from styles.css
   (hero-wrap, hero-sticky, hero-slide, etc.)
   ═══════════════════════════════════ */

/* ═══════════════════════════════════
   TRUST
   ═══════════════════════════════════ */
.ed-trust {
    padding: 100px 0;
    background: var(--gray-bg);
}
.ed-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.ed-trust-item {
    text-align: center;
}
.ed-trust-icon {
    color: var(--red);
    margin-bottom: 20px;
}
.ed-trust-title {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -.01em;
    margin-bottom: 10px;
}
.ed-trust-desc {
    font-family: var(--font-b);
    font-size: .88rem;
    color: var(--gray-txt);
    line-height: 1.6;
}

/* ═══════════════════════════════════
   PRICING ANCHOR
   ═══════════════════════════════════ */
.ed-pricing {
    padding: 100px 0;
    text-align: center;
}
.ed-section-label {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.ed-section-title {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin-bottom: 16px;
}
.ed-title-dot { color: var(--red); }
.ed-section-subtitle {
    font-family: var(--font-b);
    font-size: 1rem;
    color: var(--gray-txt);
    margin-bottom: 48px;
}
.ed-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto 40px;
}
.ed-pricing-card {
    background: var(--white);
    border: 1px solid #E5E5E5;
    padding: 48px 32px;
    text-align: center;
    transition: all .3s var(--ease);
    position: relative;
}
.ed-pricing-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.ed-pricing-badge {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-txt);
    background: var(--gray-bg);
    padding: 6px 14px;
    display: inline-block;
    margin-bottom: 20px;
}
.ed-pricing-badge-red {
    color: var(--white);
    background: var(--red);
}
.ed-pricing-amount {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: 3.5rem;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 8px;
}
.ed-pricing-unit {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-txt);
    margin-left: 4px;
}
.ed-pricing-label {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.ed-pricing-desc {
    font-family: var(--font-b);
    font-size: .85rem;
    color: var(--gray-txt);
    line-height: 1.6;
}
.ed-pricing-note {
    font-family: var(--font-b);
    font-size: .82rem;
    color: #999;
    font-style: italic;
}

/* ═══════════════════════════════════
   ESTIMATOR FORM
   ═══════════════════════════════════ */
.ed-estimator {
    padding: 100px 0 120px;
    background: var(--gray-bg);
}
.ed-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid #E5E5E5;
    padding: 0;
    overflow: hidden;
}

.ed-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px 0;
}
.ed-form-header .ed-step-count {
    margin-left: auto;
}
.ed-section-tag {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}
.ed-step-count {
    font-family: var(--font-b);
    font-size: .75rem;
    color: #999;
}

/* Steps */
.ed-step {
    display: none;
    padding: 32px 40px 48px;
}
.ed-step.active { display: block; animation: edSlideIn .4s var(--ease) both; }
.ed-step.active.ed-slide-back { animation: edSlideBack .4s var(--ease) both; }
@keyframes edSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes edSlideBack {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
.ed-step-num {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: .65rem;
    letter-spacing: .1em;
    color: #CCC;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.ed-question {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -.01em;
    margin-bottom: 28px;
}

/* Options */
.ed-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ed-opt {
    display: block;
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    font-family: var(--font-b);
    font-size: .88rem;
    font-weight: 500;
    color: var(--black);
    background: var(--white);
    border: 1px solid #E0E0E0;
    cursor: pointer;
    transition: all .25s var(--ease);
    position: relative;
}
.ed-opt:hover {
    border-color: var(--red);
    background: #FFF5F5;
    padding-left: 24px;
}
.ed-opt.selected {
    border-color: var(--red);
    background: rgba(174,0,0,.06);
    color: var(--red);
    font-weight: 600;
}
.ed-opt-note {
    font-size: .72rem;
    color: var(--red);
    font-weight: 600;
    margin-left: 6px;
}

/* Contact form */
.ed-contact-form {
    max-width: 420px;
}
.ed-field {
    margin-bottom: 20px;
}
.ed-label {
    display: block;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .03em;
    margin-bottom: 8px;
}
.ed-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-b);
    font-size: .9rem;
    border: 1px solid #DDD;
    background: var(--white);
    color: var(--black);
    transition: border-color .3s var(--ease);
    outline: none;
}
.ed-input:focus {
    border-color: var(--red);
}
.ed-input.ed-input-error {
    border-color: #FF4444;
}
.ed-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-b);
    font-size: .78rem;
    color: var(--gray-txt);
    line-height: 1.5;
    cursor: pointer;
}
.ed-checkbox-label a {
    color: var(--red);
    text-decoration: underline;
}
.ed-checkbox {
    margin-top: 3px;
    accent-color: var(--red);
    flex-shrink: 0;
}
/* Question sub-labels */
.ed-question-sub {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gray-txt);
    margin-bottom: 10px;
}
.ed-question-sub-gap { margin-top: 20px; }

/* Inline options (compact) */
.ed-options-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ed-options-inline .ed-opt {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
    font-size: .82rem;
    text-align: center;
}

/* Multi-select toggle */
.ed-options-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ed-options-multi .ed-opt-toggle {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
    font-size: .82rem;
    text-align: center;
    position: relative;
}
.ed-opt-toggle.toggled {
    border-color: var(--red);
    background: rgba(174,0,0,.06);
    color: var(--red);
    font-weight: 600;
}
.ed-opt-toggle.toggled::before {
    content: '✓ ';
    font-weight: 700;
}
body.dark-mode .ed-opt-toggle.toggled {
    background: rgba(174,0,0,.12);
    color: #FF6B6B;
}
body.dark-mode .ed-question-sub { color: #999; }

/* Nav buttons (prev / next) */
.ed-nav-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}
.ed-nav-prev {
    background: none;
    border: none;
    font-family: var(--font-b);
    font-size: .82rem;
    font-weight: 500;
    color: var(--gray-txt);
    cursor: pointer;
    padding: 8px 0;
    transition: color .2s var(--ease);
}
.ed-nav-prev:hover { color: var(--red); }
.ed-nav-next {
    font-size: .78rem;
    padding: 12px 28px;
}
.ed-nav-next-sm {
    font-size: .75rem;
    padding: 10px 22px;
}
body.dark-mode .ed-nav-btns { border-color: #2A2A2A; }
body.dark-mode .ed-nav-prev { color: #999; }
body.dark-mode .ed-nav-prev:hover { color: var(--red); }

/* ═══════════════════════════════════
   SHORTS PACKAGES
   ═══════════════════════════════════ */
.ed-shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ed-shorts-card {
    background: var(--white);
    border: 1px solid #E5E5E5;
    padding: 32px 20px 28px;
    text-align: center;
    transition: all .3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ed-shorts-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}
.ed-shorts-card-pop {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
    position: relative;
}
.ed-shorts-badge {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gray-txt);
    background: var(--gray-bg);
    padding: 5px 12px;
    margin-bottom: 16px;
    display: inline-block;
}
.ed-shorts-badge-red {
    color: var(--white);
    background: var(--red);
}
.ed-shorts-price {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 20px;
}
.ed-shorts-unit {
    font-size: .9rem;
    font-weight: 800;
    color: var(--gray-txt);
}
.ed-shorts-features {
    list-style: none;
    margin-bottom: 24px;
    width: 100%;
}
.ed-shorts-features li {
    font-family: var(--font-b);
    font-size: .82rem;
    color: var(--gray-txt);
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
}
.ed-shorts-features li:last-child { border: none; }
.ed-shorts-select {
    width: 100%;
    margin-top: auto;
    font-size: .78rem;
    padding: 12px 24px;
}
.ed-shorts-card-pop .ed-shorts-select {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.ed-shorts-duration {
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 16px;
}
.ed-shorts-note {
    font-family: var(--font-b);
    font-size: .78rem;
    color: #999;
    font-style: italic;
    text-align: center;
    margin-top: 28px;
    line-height: 1.6;
}

/* Tooltips */
.ed-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #E0E0E0;
    color: #666;
    border-radius: 50%;
    font-family: var(--font-b);
    font-size: .6rem;
    font-weight: 700;
    cursor: help;
    margin-left: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}
.ed-tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    font-size: .72rem;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
    z-index: 100;
}
.ed-tooltip:hover::after,
.ed-tooltip:focus::after { opacity: 1; }
body.dark-mode .ed-tooltip { background: #444; color: #CCC; }
body.dark-mode .ed-tooltip::after { background: #111; }

/* ═══════════════════════════════════
   RESULT
   ═══════════════════════════════════ */
.ed-result-inner {
    text-align: center;
}
.ed-result-badge {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .65rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red);
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 28px;
}
.ed-result-price {
    font-family: var(--font-h);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 12px;
}
.ed-result-timeline {
    font-family: var(--font-b);
    font-size: 1rem;
    color: var(--gray-txt);
    margin-bottom: 32px;
}
.ed-result-breakdown {
    text-align: left;
    background: var(--gray-bg);
    padding: 28px 32px;
    margin-bottom: 36px;
}
.ed-result-breakdown h4 {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.ed-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E5E5E5;
    font-family: var(--font-b);
    font-size: .84rem;
}
.ed-breakdown-row:last-child { border: none; }
.ed-breakdown-label { color: var(--gray-txt); }
.ed-breakdown-value {
    font-weight: 600;
    color: var(--black);
}
.ed-breakdown-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid var(--black) !important;
    border-bottom: none !important;
    font-weight: 700;
}
.ed-breakdown-total .ed-breakdown-label {
    color: var(--black);
    font-weight: 700;
}
.ed-breakdown-total .ed-breakdown-value {
    color: var(--red);
    font-size: 1.1rem;
    font-weight: 800;
}
/* Savings badge */
.ed-result-savings {
    display: inline-block;
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    color: #16a34a;
    background: rgba(22,163,74,.08);
    border: 1px solid rgba(22,163,74,.2);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 16px;
}
body.dark-mode .ed-result-savings {
    color: #4ade80;
    background: rgba(74,222,128,.08);
    border-color: rgba(74,222,128,.2);
}
/* Trust badge */
.ed-result-trust {
    font-family: var(--font-b);
    font-size: .75rem;
    color: #999;
    margin-bottom: 20px;
}
/* Recurring pack CTA */
.ed-result-recurring {
    font-family: var(--font-b);
    font-size: .82rem;
    color: var(--gray-txt);
    background: var(--light-bg);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}
.ed-result-recurring strong { color: var(--red); }
body.dark-mode .ed-result-recurring { background: #1A1A1A; }
/* Express button (inside form header) */
.ed-express-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #999;
    background: transparent;
    border: 1px solid #D0D0D0;
    border-radius: 0;
    padding: 5px 12px;
    margin-left: 8px;
    cursor: pointer;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.ed-express-btn:hover {
    color: var(--red);
    border-color: var(--red);
}
.ed-express-icon { font-size: .7rem; line-height: 1; }
.ed-express-text { line-height: 1; }
body.dark-mode .ed-express-btn { color: #666; border-color: #333; }
body.dark-mode .ed-express-btn:hover { color: var(--red); border-color: var(--red); }
/* Express notice in result */
.ed-express-notice {
    font-family: var(--font-b);
    font-size: .82rem;
    color: var(--gray-txt);
    background: rgba(174,0,0,.05);
    border-left: 3px solid var(--red);
    padding: 14px 18px;
    margin-top: 16px;
    line-height: 1.5;
}
.ed-express-full {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--red);
    background: none;
    border: none;
    padding: 0;
    margin-top: 6px;
    cursor: pointer;
    transition: opacity .3s var(--ease);
}
.ed-express-full:hover { opacity: .7; }
body.dark-mode .ed-express-notice { background: rgba(174,0,0,.1); color: #999; }
/* Segmented progress */
.ed-progress-segments {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}
.ed-progress-seg {
    flex: 1;
    height: 4px;
    background: #E8E8E8;
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s var(--ease);
}
.ed-progress-seg.done { background: var(--red); }
.ed-progress-seg.current { background: var(--red); opacity: .5; }
body.dark-mode .ed-progress-seg { background: #333; }
body.dark-mode .ed-progress-seg.done { background: var(--red); }
body.dark-mode .ed-progress-seg.current { background: var(--red); }

.ed-result-invite {
    font-family: var(--font-b);
    font-size: .95rem;
    color: var(--gray-txt);
    margin-bottom: 24px;
    text-align: center;
}
.ed-result-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════
   DARK MODE
   ═══════════════════════════════════ */
body.dark-mode .ed-pricing {
    background: #111;
    color: #F5F5F5;
}
body.dark-mode .ed-pricing-desc,
body.dark-mode .ed-pricing-note {
    color: #999;
}
body.dark-mode .ed-trust {
    background: #0A0A0A;
}
body.dark-mode .ed-trust-desc {
    color: #999;
}
body.dark-mode .ed-trust-title,
body.dark-mode .ed-section-title {
    color: #F5F5F5;
}
body.dark-mode .ed-estimator {
    background: #0A0A0A;
}
body.dark-mode .ed-form-wrap {
    background: #1A1A1A;
    border-color: #2A2A2A;
}
body.dark-mode .ed-progress { background: #2A2A2A; }
body.dark-mode .ed-question { color: #F5F5F5; }
body.dark-mode .ed-opt {
    background: #1A1A1A;
    color: #F5F5F5;
    border-color: #2A2A2A;
}
body.dark-mode .ed-opt:hover {
    border-color: var(--red);
    background: rgba(174,0,0,.1);
}
body.dark-mode .ed-opt.selected {
    background: rgba(174,0,0,.12);
    color: #FF6B6B;
}
body.dark-mode .ed-input {
    background: #111;
    border-color: #333;
    color: #F5F5F5;
}
body.dark-mode .ed-pricing-card,
body.dark-mode .ed-shorts-card {
    background: #1A1A1A;
    border-color: #2A2A2A;
}
body.dark-mode .ed-pricing-card:hover,
body.dark-mode .ed-shorts-card:hover {
    border-color: var(--red);
}
body.dark-mode .ed-pricing-amount,
body.dark-mode .ed-shorts-price {
    color: #F5F5F5;
}
body.dark-mode .ed-result-breakdown {
    background: #111;
}
body.dark-mode .ed-breakdown-row {
    border-color: #2A2A2A;
}
body.dark-mode .ed-breakdown-value { color: #F5F5F5; }
body.dark-mode .ed-btn-outline {
    color: #F5F5F5;
    border-color: #F5F5F5;
}
body.dark-mode .ed-btn-outline:hover {
    background: #F5F5F5;
    color: #111;
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 768px) {
    .ed-trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ed-pricing-grid {
        grid-template-columns: 1fr;
    }
    .ed-shorts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ed-step {
        padding: 28px 24px 40px;
    }
    .ed-form-header {
        padding: 16px 24px 0;
    }
    .ed-result-breakdown {
        padding: 20px;
    }
    .ed-result-ctas {
        flex-direction: column;
        align-items: center;
    }
    .ed-result-ctas .ed-btn {
        width: 100%;
        max-width: 360px;
    }
}
