/**
 * Hero — contenu texte & CTA uniquement
 * (animations planète, parallax et visuels 3D inchangés)
 */

.ph-hero-content {
    max-width: 36rem;
}

/* Eyebrow */
.ph-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.375rem 0.875rem 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
}

.ph-hero-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
    flex-shrink: 0;
}

/* Titre */
.ph-hero-title {
    font-size: clamp(1.875rem, 4.2vw, 3.625rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
}

.ph-hero-title__line {
    display: block;
}

.ph-hero-title__line--accent {
    color: #3b82f6;
    margin-bottom: 0.08em;
    white-space: nowrap;
}

.ph-hero-title__line--accent .dynamic-text {
    color: inherit;
}

.ph-hero-title__line--base {
    color: #fff;
    text-wrap: balance;
}

/* Accroche */
.ph-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
    margin: 0 0 1.75rem;
    max-width: 32rem;
}

@media (min-width: 1024px) {
    .ph-hero-lead {
        margin-bottom: 2.25rem;
    }
}

/* Boutons */
.ph-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 1024px) {
    .ph-hero-actions {
        margin-bottom: 2rem;
    }
}

.ph-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 0.75rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.ph-hero-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 14px rgba(37, 99, 235, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ph-hero-btn--primary:hover,
.ph-hero-btn--primary:focus-visible {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.ph-hero-btn--secondary {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ph-hero-btn--secondary:hover,
.ph-hero-btn--secondary:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.ph-hero-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ph-hero-btn--primary:hover svg,
.ph-hero-btn--primary:focus-visible svg {
    transform: translateX(2px);
}

/* Meta : prix + garanties */
.ph-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.875rem 1.25rem;
    padding-top: 0.25rem;
}

.ph-hero-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.14);
}

.ph-hero-price__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.48);
}

.ph-hero-price__amount {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #60a5fa;
    line-height: 1;
}

.ph-hero-price__period {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.38);
}

.ph-hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.38);
}

.ph-hero-trust span + span::before {
    content: "·";
    margin: 0 0.4375rem;
    opacity: 0.45;
}

/* —— Thème clair —— */
html.light .ph-hero-eyebrow {
    color: rgba(15, 23, 42, 0.68);
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html.light .ph-hero-title__line--accent {
    color: #2563eb;
}

html.light .ph-hero-title__line--base {
    color: #0f172a;
}

html.light .ph-hero-lead {
    color: rgba(15, 23, 42, 0.62);
}

html.light .ph-hero-btn--secondary {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

html.light .ph-hero-btn--secondary:hover,
html.light .ph-hero-btn--secondary:focus-visible {
    color: #0f172a;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

html.light .ph-hero-price {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

html.light .ph-hero-price__label {
    color: rgba(15, 23, 42, 0.48);
}

html.light .ph-hero-price__amount {
    color: #2563eb;
}

html.light .ph-hero-price__period {
    color: rgba(15, 23, 42, 0.42);
}

html.light .ph-hero-trust {
    color: rgba(15, 23, 42, 0.42);
}

/* —— Mobile —— */
@media (max-width: 639px) {
    .ph-hero-eyebrow {
        margin-bottom: 1rem;
        font-size: 0.6875rem;
    }

    .ph-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ph-hero-btn {
        width: 100%;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }

    .ph-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ph-hero-btn,
    .ph-hero-btn svg {
        transition: none;
    }

    .ph-hero-btn--primary:hover,
    .ph-hero-btn--primary:focus-visible {
        transform: none;
    }
}
