/* ==========================================================
   style.css — Feuille de style principale du site Mélusine
   ==========================================================
   Ce fichier contient tous les styles du site :
   - Variables de couleurs et polices
   - Reset et styles de base
   - Navigation (desktop + mobile)
   - Hero / Header
   - Sections (dark / light)
   - Cartes de navigation
   - Programme, Restauration, Animations
   - Section Inscriptions (tutoriel)
   - Footer et utilitaires
   ========================================================== */

/* ============================================
   CSS VARIABLES — PALETTE MÉLUSINE
   Couleurs inspirées du thème dark fantasy médiéval
   ============================================ */
:root {
    --teal: #2E8B8B;
    --teal-dark: #1A5C5C;
    --teal-deep: #0F3D3D;
    --dark-teal: #0D2B2B;
    --orange: #E07A30;
    --orange-light: #F2994A;
    --red: #B8293A;
    --green: #4A8B5E;
    --gold: #D4A843;
    --cream: #FDF8F0;
    --parchment: #F5EDE0;
    --dark: #1A1A2E;
    --dark-card: #22223A;
    --text-muted: #7A9999;
    --text-light: #BCC8C8;
    --text-on-light: #4A4A4A;

    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lora', serif;

    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange);
}

/* ============================================
   LOADING STATE
   Effet de shimmer pendant le chargement des données
   ============================================ */
.loading-shimmer {
    background: linear-gradient(90deg, var(--dark-card) 25%, #2a2a4a 50%, var(--dark-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    min-height: 20px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(224, 122, 48, 0.3); }
    50% { box-shadow: 0 0 35px rgba(224, 122, 48, 0.5); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVIGATION
   Barre fixe en haut avec effet de blur
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 43, 43, 0.95), rgba(15, 61, 61, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 139, 139, 0.15);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(13, 43, 43, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.nav-brand span {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 6px;
    transition: all var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(212, 168, 67, 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Menu mobile — bouton hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 43, 43, 0.98);
        padding: 16px 24px;
        border-bottom: 1px solid rgba(46, 139, 139, 0.15);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; }
}

/* ============================================
   HERO SECTION
   Bannière principale avec fond décoratif
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(46, 139, 139, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 168, 67, 0.05) 0%, transparent 60%),
        linear-gradient(135deg, var(--dark-teal) 0%, var(--dark) 50%, var(--teal-deep) 100%);
    z-index: 0;
}

/* Couche d'image de fond configurable via Google Sheets */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg-url);
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 43, 43, 0.85) 0%, rgba(26, 26, 46, 0.9) 50%, rgba(15, 61, 61, 0.85) 100%);
    z-index: 1;
}

/* Éléments décoratifs — cercles et losanges flottants */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    pointer-events: none;
    z-index: 2;
}

.hero-decor-1 {
    width: 600px; height: 600px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(46, 139, 139, 0.08);
}

.hero-decor-2 {
    width: 400px; height: 400px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(212, 168, 67, 0.06);
}

.hero-diamond {
    position: absolute;
    width: 10px; height: 10px;
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero-diamond-1 { top: 15%; left: 10%; background: var(--teal); opacity: 0.25; animation-delay: 0s; }
.hero-diamond-2 { bottom: 20%; right: 12%; background: var(--orange); opacity: 0.3; animation-delay: 1s; width: 8px; height: 8px; }
.hero-diamond-3 { top: 25%; right: 18%; background: var(--gold); opacity: 0.2; animation-delay: 2s; width: 6px; height: 6px; }
.hero-diamond-4 { bottom: 30%; left: 15%; background: var(--green); opacity: 0.2; animation-delay: 1.5s; width: 7px; height: 7px; }

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-title .accent {
    color: var(--gold);
    display: block;
}

.hero-separator {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    margin: 28px auto;
    animation: fadeIn 0.8s ease 0.3s both;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-info {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.55s both;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 1px;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 20px rgba(224, 122, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(224, 122, 48, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(46, 139, 139, 0.5);
}

.btn-outline:hover {
    background: rgba(46, 139, 139, 0.1);
    border-color: var(--teal);
    color: var(--cream);
    transform: translateY(-2px);
}

/* ============================================
   SECTION BASE
   Styles communs à toutes les sections
   ============================================ */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 16px;
}

.section-sep {
    width: 40px;
    height: 2px;
    background: var(--orange);
    margin: 0 auto;
}

/* ============================================
   CARDS SECTION (Navigation rapide)
   Cartes Programme, Restauration, Animations
   ============================================ */
.section-dark {
    background: var(--dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(46, 139, 139, 0.1);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--card-accent, var(--teal)), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.card-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-btn {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1.5px solid var(--card-accent, var(--teal));
    background: transparent;
    color: var(--card-accent, var(--teal));
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}

.card-btn:hover {
    background: var(--card-accent, var(--teal));
    color: var(--dark);
}

/* ============================================
   LIGHT SECTION (Bienvenue / Infos)
   Sections sur fond parchemin clair
   ============================================ */
.section-light {
    background: var(--parchment);
    color: var(--text-on-light);
}

.section-light .section-title {
    color: var(--teal-dark);
}

.section-light .section-label {
    color: var(--teal-dark);
}

.welcome-text {
    font-size: 17px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
    color: var(--text-on-light);
}

.welcome-text strong {
    color: var(--teal-dark);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.info-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(46, 139, 139, 0.1);
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-card-label {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.info-card-value {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ============================================
   PROGRAMME SECTION
   Grille de créneaux de jeu
   ============================================ */
.programme-grid {
    display: grid;
    gap: 16px;
}

.creneau {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(46, 139, 139, 0.08);
    transition: all var(--transition);
}

.creneau:hover {
    border-color: rgba(46, 139, 139, 0.2);
    transform: translateX(4px);
}

.creneau-time {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gold);
    text-align: center;
    min-width: 90px;
    padding: 8px 12px;
    background: rgba(212, 168, 67, 0.08);
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.creneau-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--cream);
    margin-bottom: 4px;
}

.creneau-info .mj {
    font-size: 14px;
    color: var(--teal);
    margin-bottom: 4px;
}

.creneau-info .desc {
    font-size: 14px;
    color: var(--text-light);
}

.creneau-places {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.creneau-places.disponible {
    background: rgba(74, 139, 94, 0.15);
    color: var(--green);
    border: 1px solid rgba(74, 139, 94, 0.3);
}

.creneau-places.complet {
    background: rgba(184, 41, 58, 0.15);
    color: var(--red);
    border: 1px solid rgba(184, 41, 58, 0.3);
}

/* Onglets de filtrage par créneau */
.tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tab {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(46, 139, 139, 0.2);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.tab:hover, .tab.active {
    background: rgba(46, 139, 139, 0.15);
    color: var(--teal);
    border-color: var(--teal);
}

@media (max-width: 768px) {
    .creneau {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .creneau-time { min-width: auto; }
}

/* ============================================
   RESTAURATION SECTION
   Menu et tarifs
   ============================================ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.menu-item {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(224, 122, 48, 0.08);
    transition: all var(--transition);
}

.menu-item:hover {
    border-color: rgba(224, 122, 48, 0.2);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--cream);
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--orange);
    white-space: nowrap;
    margin-left: 12px;
}

.menu-item-desc {
    font-size: 14px;
    color: var(--text-light);
}

.menu-item-category {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(224, 122, 48, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

/* ============================================
   ANIMATIONS SECTION
   Cartes d'activités (jeux de société, etc.)
   ============================================ */
.animation-card {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid rgba(74, 139, 94, 0.08);
    transition: all var(--transition);
    margin-bottom: 16px;
}

.animation-card:hover {
    border-color: rgba(74, 139, 94, 0.2);
}

.animation-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--cream);
    margin-bottom: 6px;
}

.animation-card .anim-time {
    font-size: 13px;
    color: var(--green);
    margin-bottom: 10px;
}

.animation-card .anim-desc {
    font-size: 15px;
    color: var(--text-light);
}

/* ============================================
   SECTION INSCRIPTIONS — TUTORIEL
   Guide pas-à-pas pour s'inscrire ou proposer
   une table de JDR sur la plateforme
   ============================================ */

/* Texte d'introduction de la section */
.inscription-intro {
    font-size: 17px;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 20px;
    text-align: center;
    color: var(--text-on-light);
}

.inscription-intro strong {
    color: var(--teal-dark);
}

/* Note complémentaire sous l'intro */
.inscription-note {
    font-size: 15px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Bouton d'accès à la plateforme d'inscription */
.inscription-cta {
    text-align: center;
    margin-bottom: 60px;
}

/* Bloc tutoriel — contient un titre, du texte et un screenshot */
.tuto-block {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(46, 139, 139, 0.1);
    transition: all var(--transition);
}

.tuto-block:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Numéro d'étape affiché en grand à gauche du titre */
.tuto-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}

/* Titre du bloc tutoriel */
.tuto-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--teal-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

/* Texte explicatif dans un bloc tutoriel */
.tuto-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

.tuto-text strong {
    color: var(--teal-dark);
}

/* Screenshot illustratif — centré avec coins arrondis */
.tuto-screenshot {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

/* Séparateur visuel entre les blocs Joueur et MJ */
.tuto-separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0;
}

.tuto-separator::before,
.tuto-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 139, 0.3), transparent);
}

.tuto-separator-label {
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal-dark);
    white-space: nowrap;
}

/* Conseil / astuce mis en avant dans un encadré */
.tuto-tip {
    background: rgba(46, 139, 139, 0.06);
    border-left: 3px solid var(--teal);
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-on-light);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-teal);
    border-top: 1px solid rgba(46, 139, 139, 0.1);
    padding: 36px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--gold);
}

.footer-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-family: var(--font-body);
}

.footer-right {
    font-size: 13px;
    color: rgba(122, 153, 153, 0.6);
}

/* ============================================
   SCROLL TO TOP
   Bouton fixe en bas à droite
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-dark);
    border: 1px solid rgba(46, 139, 139, 0.3);
    color: var(--cream);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--teal);
}

/* ============================================
   RESPONSIVE — Petits écrans (< 600px)
   ============================================ */
@media (max-width: 600px) {
    .hero { padding: 100px 20px 60px; min-height: 90vh; }
    .section { padding: 60px 20px; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 280px; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }

    /* Tutoriel — adaptation mobile */
    .tuto-block { padding: 24px 18px; }
    .tuto-title { font-size: 17px; }
    .tuto-step { width: 34px; height: 34px; font-size: 15px; margin-right: 10px; }
}
