/* ============================================================
   MARY — HOME PAGE (Steve direction)
   Calme, éditorial, blanc + accent vert italique.
   ============================================================ */

:root {
    --home-black: #1a1a1a;
    --home-text-secondary: #5a5a5e;
    --home-text-muted: #86868b;
    --home-text-quiet: #b0b0b0;
    --home-bg: #ffffff;
    --home-bg-soft: #f9f7f3;
    --home-border: rgba(0, 0, 0, 0.06);
    --home-green: #00a86b;
    --home-green-bright: #00d48a;
}

/* Inter ligatures + smoothing — applied at body level via base */
.home-hero, .home-lifetime, .home-section, .home-pricing, .home-final {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: 'cv11', 'ss03', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Shared reveal-on-scroll */
.home-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SECTION 1 — Hero
   ============================================================ */
.home-hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(0, 168, 107, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 0, 0, 0.02) 0%, transparent 70%),
        var(--home-bg);
}

.home-hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
}

.home-hero h1 {
    font-size: clamp(36px, 5.5vw, 76px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 20px;
    color: var(--home-black);
}

.home-hero h1 .em,
.home-section-title .em,
.home-pricing-title .em,
.home-final h2 .em {
    font-style: italic;
    font-weight: 500;
    color: var(--home-green);
    letter-spacing: -0.025em;
}

.home-hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--home-text-secondary);
    line-height: 1.5;
    margin: 0 auto 36px;
    max-width: 560px;
    font-weight: 400;
}

/* CTA buttons — géométrie partagée définie dans _components.css */
.home-btn-dark {
    background: var(--home-black);
    color: #ffffff;
}
.home-btn-dark:hover {
    background: var(--home-green);
    color: #ffffff;
}

.home-btn-light {
    background: #ffffff;
    color: var(--home-black);
}
.home-btn-light:hover {
    background: var(--home-green-bright);
    color: #ffffff;
}

.home-hero-meta {
    margin-top: 22px;
    font-size: 12px;
    color: var(--home-text-muted);
    letter-spacing: 0.01em;
}
.home-hero-meta span { margin: 0 4px; }
.home-hero-meta .dot { color: var(--home-text-quiet); }

/* Scroll cue */
.home-hero-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--home-text-quiet);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    animation: homeCueFloat 2.4s ease-in-out infinite;
}
@keyframes homeCueFloat {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
    50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* ============================================================
   SECTION 2 — Lifetime (Pendant que vous vivez, Mary travaille)
   ============================================================ */
.home-lifetime {
    padding: 200px 32px;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}

.home-lifetime-intro {
    text-align: center;
    margin-bottom: 160px;
}

.home-eyebrow {
    font-size: 13px;
    color: var(--home-green);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 14px;
    font-style: italic;
}

.home-lifetime-intro h2 {
    font-size: clamp(36px, 4.8vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0;
    color: var(--home-black);
}
.home-lifetime-intro h2 .em {
    font-style: italic;
    color: var(--home-green);
}

.home-lifetime-line {
    position: absolute;
    left: 50%;
    top: 280px;
    bottom: 200px;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(0, 168, 107, 0.4) 0%,
        rgba(0, 168, 107, 0.15) 50%,
        rgba(50, 50, 80, 0.25) 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.home-moment {
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

.home-moment-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--home-green);
    margin: 0 auto 32px;
    box-shadow: 0 0 0 6px #ffffff;
    transition: background 0.5s ease, transform 0.5s ease;
}

.home-moment.is-visible .home-moment-marker {
    background: var(--home-green);
    transform: scale(1.1);
}

.home-moment-time {
    font-size: 15px;
    color: var(--home-green);
    font-style: italic;
    font-weight: 500;
    text-align: center;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.home-moment-text {
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.4;
    font-weight: 400;
    color: var(--home-black);
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}

.home-moment-text strong {
    font-weight: 500;
    color: var(--home-green);
    background: linear-gradient(180deg, transparent 65%, rgba(0, 168, 107, 0.12) 65%);
    padding: 0 2px;
}

.home-moment-aside {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--home-text-muted);
    font-style: italic;
    text-align: center;
    margin: 0;
    font-weight: 400;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease 0.45s, transform 0.7s ease 0.45s;
}

.home-moment.is-visible .home-moment-time,
.home-moment.is-visible .home-moment-text,
.home-moment.is-visible .home-moment-aside {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Shared section header (sections 3-7)
   ============================================================ */
.home-section {
    padding: 160px 32px;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.home-section-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    text-align: center;
    color: var(--home-black);
}

.home-section .home-eyebrow {
    text-align: center;
}

.home-section-lead {
    font-size: clamp(15px, 1.5vw, 19px);
    color: var(--home-text-secondary);
    line-height: 1.55;
    margin: 0 auto 64px;
    max-width: 600px;
    text-align: center;
    font-weight: 400;
}

/* ============================================================
   SECTION 3 — Story
   ============================================================ */
.home-story-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 8px;
    align-items: stretch;
    margin-top: 32px;
}

.home-story-card {
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.home-story-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--home-text-secondary);
    letter-spacing: 0.02em;
}
.home-story-num span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--home-bg-soft);
    color: var(--home-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.home-story-card[data-act="3"] .home-story-num span {
    background: var(--home-green);
    color: #ffffff;
}

.home-story-doc {
    font-size: 13px;
    color: var(--home-text-secondary);
    line-height: 1.5;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 14px;
}

.home-story-doc-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 11px;
}
.home-story-doc-head .tag {
    font-weight: 700;
    color: var(--home-black);
}
.home-story-doc-head .status {
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-story-doc-head .status-pending { background: rgba(245, 158, 11, 0.10); color: #b45309; }
.home-story-doc-head .status-sent    { background: rgba(99, 102, 241, 0.10); color: #4f46e5; }

.home-story-client {
    font-size: 11px;
    color: var(--home-text-muted);
    margin-bottom: 10px;
}

.home-story-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}
.home-story-line:last-child { border-bottom: none; }

.home-story-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    font-size: 12px;
    color: var(--home-text-muted);
}
.home-story-total strong {
    font-size: 18px;
    color: var(--home-black);
    font-weight: 700;
}

.home-story-paylink {
    margin-top: 10px;
    padding: 8px 10px;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 8px;
    font-size: 11px;
    color: #4f46e5;
    font-weight: 600;
}

.home-story-paid {
    text-align: center;
    padding: 16px 0;
}
.home-story-paid .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--home-green);
    color: #ffffff;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}
.home-story-paid .amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--home-green);
    letter-spacing: -0.02em;
    line-height: 1;
}
.home-story-paid .meta {
    margin-top: 14px;
    font-size: 11px;
    color: var(--home-text-muted);
}

.home-story-recap {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 14px;
    font-size: 11px;
    color: var(--home-text-secondary);
    line-height: 1.7;
}

.home-story-connector {
    align-self: center;
    color: rgba(0, 168, 107, 0.4);
    font-size: 24px;
    transition: color 0.3s ease;
}
.home-story-card.is-visible ~ .home-story-connector,
.home-story-connector + .home-story-card.is-visible {
    color: var(--home-green);
}

/* ============================================================
   SECTION 4 — Audience
   ============================================================ */
.home-audience {
    text-align: center;
}

.home-audience-quote {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.025em;
    color: var(--home-black);
    max-width: 800px;
    margin: 0 auto 40px;
}
.home-audience-quote em {
    color: var(--home-green);
    font-style: italic;
}

.home-audience-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.home-audience-list li {
    padding: 8px 16px;
    background: var(--home-bg-soft);
    border-radius: 99px;
    font-size: 13px;
    color: var(--home-black);
    font-weight: 500;
    border: 1px solid var(--home-border);
}

/* ============================================================
   SECTION 5 — Compliance
   ============================================================ */
.home-compliance {
    text-align: center;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
}

.home-compliance-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.home-compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid var(--home-border);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--home-black);
}
.home-compliance-badge i {
    color: var(--home-green);
    font-size: 14px;
}

/* ============================================================
   SECTION 6 — DOM
   ============================================================ */
.home-dom {
    text-align: center;
}

.home-dom-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
    font-size: 14px;
    color: var(--home-text-secondary);
}
.home-dom-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.home-dom-features i {
    color: var(--home-green);
}

/* ============================================================
   SECTION 6 bis — Apps mobiles
   ============================================================ */
.home-apps {
    text-align: center;
}

.home-apps-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.home-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: var(--home-black);
    color: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-store-badge:hover {
    transform: translateY(-2px);
    background: #000000;
}
.home-store-badge i {
    font-size: 28px;
    line-height: 1;
}
.home-store-badge span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}
.home-store-badge small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}
.home-store-badge strong {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============================================================
   SECTION 7 — Pricing (dark inversion)
   ============================================================ */
.home-pricing {
    background: var(--home-black);
    color: #ffffff;
    margin: 80px 0 0;
    padding: 120px 32px;
    border-radius: 32px 32px 0 0;
    text-align: center;
}
.home-pricing-inner {
    max-width: 720px;
    margin: 0 auto;
}

.home-pricing .home-eyebrow {
    color: var(--home-green-bright);
}

.home-pricing-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    color: #ffffff;
}

.home-pricing-amount {
    font-size: clamp(64px, 8vw, 110px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    margin: 32px 0 16px;
    color: #ffffff;
}
.home-pricing-amount .currency {
    font-size: 0.5em;
    vertical-align: super;
    color: #a8a8ad;
    margin-right: 6px;
}
.home-pricing-amount .month {
    font-size: 0.3em;
    color: #a8a8ad;
    font-weight: 400;
    letter-spacing: 0;
    margin-left: 6px;
}

.home-pricing-line {
    font-size: 15px;
    color: #c8c8cd;
    margin: 0 0 24px;
    line-height: 1.6;
}
.home-pricing-line strong {
    color: #ffffff;
    font-weight: 600;
}

.home-pricing-incl {
    font-size: 16px;
    color: #a8a8ad;
    margin-bottom: 40px;
    line-height: 1.6;
}
.home-pricing-incl strong {
    color: #ffffff;
    font-weight: 600;
}

.home-pricing-detail {
    display: block;
    margin-top: 18px;
    color: #a8a8ad;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 13px;
}
.home-pricing-detail:hover {
    color: #ffffff;
}

/* ============================================================
   SECTION 7 bis — Intégrations Google
   ============================================================ */
.home-integrations {
    text-align: center;
}
.home-integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 48px auto 32px;
    text-align: left;
}
.home-integration-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 28px 24px;
}
.home-integration-icon {
    width: 40px;
    height: 40px;
    background: var(--home-green, #00a86b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
}
.home-integration-icon svg {
    width: 22px;
    height: 22px;
}
.home-integration-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.home-integration-card p {
    font-size: 14px;
    color: #5a5a5e;
    line-height: 1.55;
    margin: 0 0 8px;
}
.home-integration-scope {
    font-size: 12px !important;
    color: #86868b !important;
    font-style: italic;
}
.home-integrations-privacy {
    font-size: 13px;
    color: #86868b;
    max-width: 640px;
    margin: 0 auto;
}
.home-integrations-privacy a {
    color: var(--home-green, #00a86b);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .home-integrations-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 8 — Final CTA (echo of hero)
   ============================================================ */
.home-final {
    text-align: center;
    padding: 200px 32px;
    background: #ffffff;
}

.home-final h2 {
    font-size: clamp(36px, 5.5vw, 76px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin: 0 0 36px;
    color: var(--home-black);
}

.home-final .home-hero-meta {
    margin-top: 22px;
}

/* ============================================================
   Mobile responsive
   ============================================================ */
@media (max-width: 900px) {
    .home-hero { padding: 0 24px; min-height: 100vh; }
    .home-hero h1 { font-size: 38px; }
    .home-hero-meta { font-size: 12px; line-height: 1.5; }
    .home-hero-meta span { display: block; margin: 4px 0; }
    .home-hero-meta .dot { display: none; }
    /* "Voir tous les détails du tarif" : tap target */
    .home-pricing-detail { padding: 8px 0; min-height: 36px; display: inline-block; }

    .home-lifetime { padding: 100px 24px; }
    .home-lifetime-intro { margin-bottom: 80px; }
    .home-lifetime-line { top: 240px; bottom: 100px; }
    .home-moment { padding: 50px 0; }
    .home-moment-text { font-size: 22px; }

    .home-section { padding: 100px 24px; }
    .home-section-title { font-size: 32px; }

    .home-story-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-story-connector {
        transform: rotate(90deg);
        margin: 0 auto;
    }

    .home-compliance-badges { gap: 12px; }
    .home-audience-list { gap: 8px; }
    .home-audience-list li { font-size: 12px; padding: 6px 12px; }
    .home-dom-features { gap: 16px; flex-direction: column; }
    .home-apps-badges { gap: 12px; }

    .home-pricing { padding: 80px 24px; margin: 60px 0 0; }
    .home-final { padding: 120px 24px; }
    .home-final h2 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .home-moment-time,
    .home-moment-text,
    .home-moment-aside { opacity: 1 !important; transform: none !important; transition: none !important; }
    .home-hero-cue { animation: none !important; }
}
