/*
Theme Name: Pack&Shine Coming Soon v2
Theme URI: https://packshine.fr
Author: Pack & Shine
Description: Page d'attente Pack&Shine — Solution à la création (Lancement Mars 2027) avec grillage, faisceau lumineux et typographie cinétique.
Version: 2.0.0
Text Domain: pack-and-shine
*/

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

:root {
    --bg-carbon: #18181B;
    --bg-anthracite: #1A1D20;
    --amber: #F59E0B;
    --amber-glow: rgba(245, 158, 11, 0.22);
    --text-white: #FFFFFF;
    --text-muted: #A1A1AA;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

html, body {
    min-height: 100%;
    background-color: var(--bg-carbon);
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/* Grillage subtil en arrière-plan */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 45%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Faisceau lumineux ambre qui traverse la page */
.bg-beam-wrap {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-beam {
    position: absolute;
    top: -30%;
    left: -40%;
    width: 45%;
    height: 170%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 158, 11, 0.04) 30%,
        rgba(245, 158, 11, 0.14) 50%,
        rgba(245, 158, 11, 0.04) 70%,
        transparent 100%
    );
    transform: rotate(22deg);
    animation: sweepBeam 9s ease-in-out infinite;
    filter: blur(18px);
}

@keyframes sweepBeam {
    0% {
        transform: translateX(-30vw) rotate(22deg);
        opacity: 0.4;
    }
    50% {
        transform: translateX(95vw) rotate(22deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-30vw) rotate(22deg);
        opacity: 0.4;
    }
}

/* Barre supérieure minimaliste */
.top-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 48px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.top-brand {
    color: var(--text-white);
}

.top-brand span {
    color: var(--amber);
}

.top-launch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--amber);
    box-shadow: 0 0 10px var(--amber);
    animation: pulseGlow 2.4s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

/* Zone centrale */
.main-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 760px;
    background-color: rgba(26, 29, 32, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 56px 56px 52px 64px;
    box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

/* Liseré vertical ambre à gauche */
.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 36px;
    bottom: 36px;
    width: 4px;
    background: linear-gradient(180deg, var(--amber), rgba(245, 158, 11, 0.35));
    border-radius: 0 4px 4px 0;
    animation: barGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes barGrow {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

/* Typographie cinétique */
.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.title-mask {
    overflow: hidden;
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-white);
    transform: translateY(105%);
    animation: slideTextUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

h1 span {
    color: var(--amber);
}

.tagline-mask {
    overflow: hidden;
    margin-bottom: 26px;
}

.tagline {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 600;
    color: var(--amber);
    letter-spacing: -0.01em;
    transform: translateY(105%);
    animation: slideTextUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.description {
    font-size: 16.5px;
    line-height: 1.7;
    color: #D4D4D8;
    max-width: 560px;
    margin-bottom: 34px;
    opacity: 0;
    transform: translateY(16px);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.divider {
    height: 1px;
    background-color: var(--border-subtle);
    margin-bottom: 28px;
    transform-origin: left;
    transform: scaleX(0);
    animation: lineExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(14px);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.btn-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--amber);
    color: #18181B;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-mail:hover {
    background-color: #FBBF24;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.45);
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #D4D4D8;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-copy:hover {
    border-color: var(--amber);
    color: var(--text-white);
    background-color: rgba(245, 158, 11, 0.06);
}

/* Pied de page minimaliste */
.bottom-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 48px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12.5px;
    color: #71717A;
}

@keyframes slideTextUp {
    to { transform: translateY(0); }
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to { transform: scaleX(1); }
}

@media (max-width: 640px) {
    .top-bar, .bottom-bar {
        padding: 18px 20px;
    }
    .top-bar {
        font-size: 11px;
        letter-spacing: 0.1em;
    }
    .card {
        padding: 36px 24px 34px 30px;
    }
    .card::before {
        top: 24px;
        bottom: 24px;
    }
    .btn-mail, .btn-copy {
        width: 100%;
        justify-content: center;
    }
    .bottom-bar {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}
