.hero {
    position: relative;
    min-height: 91vh;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
}

.rainbow-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.rainbow {
    width: 160px;
    height: auto;
}

.eyebrow {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: var(--color-ink);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.tagline {
    font-family: "Nunito", sans-serif;
    font-size: 1.15rem;
    color: var(--color-ink);
    opacity: 0.75;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    margin: 0 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ink);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-bg);
}

/* Bulles flottantes en arrière-plan */
.floating-words {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.word {
    position: absolute;
    font-family: "Fredoka", sans-serif;
    font-weight: 500;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--color-bg);
    color: var(--color-ink);
    opacity: 0.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    animation: drift 8s ease-in-out infinite;
}

.word-1 { top: 12%; left: 8%; background: var(--color-secondary); color: var(--color-bg); animation-delay: 0s; }
.word-2 { top: 20%; right: 10%; animation-delay: 1.5s; }
.word-3 { bottom: 30%; left: 12%; background: var(--color-accent); color: var(--color-ink); animation-delay: 0.8s; }
.word-4 { bottom: 15%; right: 15%; animation-delay: 2.2s; }
.word-5 { top: 55%; left: 4%; animation-delay: 1s; }
.word-6 { top: 65%; right: 6%; background: var(--color-primary); color: var(--color-bg); animation-delay: 2.8s; }

@keyframes drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .word { animation: none; }
}

@media (max-width: 600px) {
    .word { display: none; }
    .word-1, .word-3 { display: block; opacity: 0.3; }
}
