/**
 * Bebeshop - Stylesheet Principal
 * Plateforme d'échange de produits pour bébé entre parents
 *
 * Direction : "toise de croissance" — les enfants grandissent vite,
 * leurs affaires méritent une seconde vie. Palette sauge / moutarde /
 * rose poudré sur fond ivoire, graduations et étiquettes comme motif
 * conducteur (mètre-ruban, étiquette de vêtement).
 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Figtree:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
    /* Surfaces */
    --bg: #f4f1e6;
    --bg-alt: #ece6d4;
    --surface: #fffdf8;
    --surface-edge: #e2dac2;
    --surface-hover: #f6f1e2;

    /* Texte */
    --ink: #26241b;
    --muted: #736c58;

    /* Accents — sauge (croissance), moutarde (énergie), rose (tendresse) */
    --primary: #6e8b5e;
    --primary-dark: #526b45;
    --primary-light: #a9c19a;
    --secondary: #c97b84;
    --secondary-dark: #a85963;
    --success: #6e8b5e;
    --danger: #b3462f;
    --warning: #db9a2c;
    --info: #4c7b93;
    --dark: #26241b;
    --light: var(--surface);
    --white: #ffffff;
    --gold: #db9a2c;
    --gold-dark: #b87e1e;
    --gold-tint: #fbebce;

    /* Alias niveaux de gris (palette claire, ton chaud) */
    --gray-50: #fdfbf6;
    --gray-100: #f6f1e2;
    --gray-200: #ece6d4;
    --gray-300: #ddd4b8;
    --gray-400: #c2b795;
    --gray-500: #a3966f;
    --gray-600: #857957;
    --gray-700: #665c42;
    --gray-800: #45402f;
    --gray-900: #26241b;

    /* Dégradés (utilisés avec parcimonie) */
    --gradient: linear-gradient(135deg, #8ba87a 0%, #526b45 100%);
    --gradient-2: linear-gradient(135deg, #e0a83f 0%, #b87e1e 100%);
    --gradient-3: linear-gradient(135deg, #d494a0 0%, #a85963 100%);
    --gradient-success: linear-gradient(135deg, #8ba87a 0%, #526b45 100%);

    /* Polices */
    --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --font-body: 'Figtree', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Ombres (douces, chaudes) */
    --shadow-sm: 0 1px 2px 0 rgba(60, 50, 30, 0.08);
    --shadow: 0 10px 30px rgba(60, 50, 30, 0.12);
    --shadow-md: 0 4px 10px -1px rgba(60, 50, 30, 0.10);
    --shadow-lg: 0 20px 45px rgba(60, 50, 30, 0.16);
    --shadow-xl: 0 25px 50px -12px rgba(60, 50, 30, 0.22);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Bordures */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(90deg, rgba(38, 36, 27, 0.045) 0, rgba(38, 36, 27, 0.045) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(90deg, rgba(38, 36, 27, 0.03) 0, rgba(38, 36, 27, 0.03) 1px, transparent 1px, transparent 16px);
    background-position: 0 0, 0 0;
    min-height: 100vh;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

/* ===== SCROLLBAR PERSONNALISÉE ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(244, 241, 230, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--ink);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar .logo-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: var(--transition);
}

.navbar .logo:hover .logo-mark {
    transform: rotate(-8deg);
}

.navbar .logo:hover {
    color: var(--primary-dark);
}

/* ===== BURGER (mobile) ===== */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.navbar-toggle:hover {
    background: var(--surface);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition);
    margin: 0 auto;
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== NAVBAR MENU (liens + auth) ===== */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-links {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.navbar-links a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-fast);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-links a:hover {
    color: var(--ink);
    background: var(--surface);
}

.navbar-links a.active {
    color: var(--secondary);
    background: var(--surface);
}

/* ===== BADGE DE NOTIFICATION ===== */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    line-height: 1;
}

.nav-badge-inline {
    margin-left: auto;
}

/* ===== ZONE AUTH ===== */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-auth > a {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.navbar-auth > a:hover,
.navbar-auth > a.active {
    color: var(--secondary);
}

/* ===== MENU UTILISATEUR (avatar + dropdown) ===== */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.user-menu-trigger:hover {
    background: var(--surface-hover);
    border-color: var(--secondary);
}

.user-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-chevron {
    color: var(--muted);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.user-menu.open .user-menu-chevron {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 200px;
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition-fast);
    z-index: 1001;
}

.user-menu.open .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.user-menu-dropdown a:hover,
.user-menu-dropdown a.active {
    background: var(--surface-hover);
    color: var(--secondary);
}

.user-menu-dropdown a.user-menu-logout {
    color: var(--danger);
}

.user-menu-dropdown a.user-menu-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.user-menu-dropdown a.user-menu-admin {
    color: var(--info);
}

.user-menu-dropdown a.user-menu-admin:hover {
    background: rgba(76, 123, 147, 0.12);
    color: var(--info);
}

.user-menu-divider {
    height: 1px;
    background: var(--surface-edge);
    margin: 0.4rem 0.2rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
}

.card:hover {
    border-color: var(--surface-edge);
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-bottom: 1px solid var(--surface-edge);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.card-header h2 {
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ===== GRID SYSTEM ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

/* ===== FICHE PRODUIT (page détail) ===== */
.product-detail-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.2fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 860px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ===== PRODUCT CARD (fiche produit) ===== */
.product-card {
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px) rotate(-0.3deg);
    border-color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
    filter: saturate(0.95);
}

.product-card:hover img {
    transform: scale(1.04);
}

/* Bouton favori (cœur) sur la vignette produit */
.fav-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
    padding: 0;
}

.fav-btn:hover {
    transform: scale(1.1);
}

.fav-btn.is-fav {
    background: var(--secondary);
    border-color: var(--secondary-dark);
    color: white;
}

.fav-btn.fav-btn-pulse {
    animation: favPulse 0.35s ease;
}

/* Variante pleine largeur du bouton favoris (fiche produit) :
   contrairement à l'icône ronde flottante sur les vignettes,
   ici le bouton doit rester dans le flux normal, à côté des autres actions. */
.fav-btn.fav-btn-block {
    position: static;
    width: 100%;
    height: auto;
    border-radius: var(--radius, 10px);
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    gap: 0.5rem;
}

@keyframes favPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.product-card .product-info {
    padding: 1.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    color: var(--ink);
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-card h4 {
    color: var(--ink);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Étiquettes façon étiquette de vêtement (swing tag), motif conducteur du site */
.product-category,
.product-condition {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem 0.3rem 1.4rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
    margin-right: 0.5rem;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}

.product-category::before,
.product-condition::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.product-category {
    background: var(--gold-tint, #fbebce);
    border: 1px solid rgba(219, 154, 44, 0.5);
    color: var(--gold-dark);
}

.product-condition {
    background: rgba(110, 139, 94, 0.12);
    border: 1px solid rgba(110, 139, 94, 0.4);
    color: var(--primary-dark);
}

.product-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.product-owner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--surface-edge);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted);
}

.product-owner img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.product-owner a {
    color: inherit;
    text-decoration: none;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition-fast);
}

.product-owner a:hover span {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 3px 0 var(--primary-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 3px 0 var(--secondary-dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--secondary-dark);
}

.btn-success {
    background: var(--gold);
    color: #3b2a06;
    border-color: var(--gold);
    box-shadow: 0 3px 0 var(--gold-dark);
}

.btn-success:hover {
    background: var(--gold-dark);
    color: white;
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--gold-dark);
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border-color: var(--danger);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--ink);
    border-style: solid;
    color: var(--bg);
    transform: translateY(-1px);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===== SÉLECTEUR PAYS / DRAPEAU (téléphone) ===== */
.iti {
    width: 100%;
}

.iti input.form-control,
.iti input[type="tel"].form-control {
    background: var(--bg-alt);
    color: var(--ink);
    border-color: var(--surface-edge);
}

.iti__flag-container .iti__selected-flag {
    background: var(--surface);
    border-right: 1px solid var(--surface-edge);
    border-radius: var(--radius) 0 0 var(--radius);
}

.iti__flag-container .iti__selected-flag:hover,
.iti__flag-container .iti__selected-flag:focus {
    background: var(--surface-hover);
}

.iti__country-list {
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

.iti__country.iti__highlight {
    background: var(--surface-hover);
}

.iti__dial-code {
    color: var(--muted);
}

/* ===== NOTATION PAR ÉTOILES (avis) ===== */
.star-display {
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.star-display .star-filled {
    color: var(--gold);
}

.star-display .star-empty {
    color: var(--surface-edge);
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--surface-edge);
    cursor: pointer;
    transition: var(--transition-fast);
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--gold);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.92rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--bg-alt);
    color: var(--ink);
}

.form-control::placeholder {
    color: var(--muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(110, 139, 94, 0.15);
    background: var(--bg-alt);
}

.form-control:hover {
    border-color: var(--muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23736c58' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.7rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    animation: slideInDown 0.5s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert::before {
    font-family: var(--font-mono);
    font-size: 1rem;
}

.alert-success {
    background: rgba(110, 139, 94, 0.12);
    color: var(--primary-dark);
    border-left: 3px solid var(--success);
}

.alert-success::before {
    content: "✓";
    color: var(--success);
}

.alert-danger {
    background: rgba(242, 114, 111, 0.15);
    color: #b3261e;
    border-left: 3px solid var(--danger);
}

.alert-danger::before {
    content: "✕";
    color: var(--danger);
}

.alert-info {
    background: rgba(154, 220, 245, 0.2);
    color: #146c94;
    border-left: 3px solid var(--info);
}

.alert-info::before {
    content: "i";
    color: var(--info);
}

.alert-warning {
    background: rgba(255, 199, 107, 0.2);
    color: #8a5a00;
    border-left: 3px solid var(--warning);
}

.alert-warning::before {
    content: "!";
    color: var(--warning);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3rem 4rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Bandeau "mètre-ruban" partagé (hero + en-têtes de page) */
.hero::before,
.page-head::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--gold-tint);
    background-image:
        repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(90deg, var(--ink) 0, var(--ink) 2px, transparent 2px, transparent 50px);
    background-size: 100% 6px, 100% 11px;
    background-position: bottom, bottom;
    background-repeat: repeat-x;
    border-bottom: 2px solid var(--ink);
    opacity: 0.9;
}

.hero::before {
    height: 16px;
}

.hero h1 {
    font-size: 3.1rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== PAGE HEAD (en-tête de page secondaire, même signature que le hero) ===== */
.page-head {
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-head::before {
    height: 12px;
}

.page-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.page-head h1 {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

.page-head p.page-head-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

/* ===== EMPTY STATE (bordure pointillée façon patron à découper) ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-alt);
    border: 2px dashed var(--surface-edge);
    border-radius: var(--radius-lg);
}

.empty-state .empty-state-icon {
    font-size: 3.4rem;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.empty-state p {
    color: var(--muted);
    margin: 0 auto 1.4rem;
    max-width: 380px;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.badge-pending {
    background: var(--gold-tint);
    color: var(--gold-dark);
    border: 1px solid rgba(219, 154, 44, 0.45);
}

.badge-accepted {
    background: rgba(110, 139, 94, 0.14);
    color: var(--primary-dark);
    border: 1px solid rgba(110, 139, 94, 0.4);
}

.badge-refused {
    background: rgba(179, 70, 47, 0.12);
    color: var(--danger);
    border: 1px solid rgba(179, 70, 47, 0.4);
}

/* ===== PROFILE ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surface-edge);
}

.profile-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-avatar:hover {
    transform: scale(1.04);
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--ink);
}

.profile-info p {
    color: var(--muted);
    font-size: 1rem;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--surface-edge);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 1.6rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--muted);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    font-size: 0.92rem;
}

.tab-btn:hover {
    color: var(--ink);
    background: var(--surface);
}

.tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

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

.fade-in {
    animation: fadeIn 0.6s ease both;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-edge);
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
}

footer p {
    color: var(--muted);
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.85rem;
}

footer a {
    color: var(--secondary);
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* ===== LOADING STATES ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--surface-edge);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== TOOLTIPS ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: var(--dark);
    color: var(--white);
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
        flex-wrap: wrap;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        background: var(--surface);
        border: 1px solid var(--surface-edge);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .navbar-menu.open {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        padding: 1rem;
        overflow-y: auto;
    }

    .navbar-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
    }

    .navbar-links a {
        width: 100%;
    }

    .navbar-auth {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        border-top: 1px solid var(--surface-edge);
        padding-top: 1rem;
    }

    .navbar-auth > a {
        text-align: center;
    }

    .user-menu-trigger {
        width: 100%;
        justify-content: center;
        border-radius: var(--radius);
    }

    .user-menu-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--surface-edge);
        margin-top: 0.5rem;
        display: none;
    }

    .user-menu.open .user-menu-dropdown {
        display: block;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .card {
        padding: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.8rem 1.2rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ===== ELEMENTS COMPLEMENTAIRES (accueil) ===== */
.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--primary-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem 0.3rem 0.6rem;
    background: var(--gold-tint);
    border: 1px solid rgba(219, 154, 44, 0.4);
    border-radius: var(--radius-full);
}

.eyebrow-tag::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
}

.step-card:nth-child(2) {
    border-top-color: var(--gold);
}

.step-card:nth-child(3) {
    border-top-color: var(--secondary);
}

.step-card .step-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.step-card .step-tag::before {
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    opacity: 0.4;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.stat-block {
    text-align: center;
    padding: 2rem;
}

.stat-block .stat-num {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-shadow: none;
}

.stat-block .stat-label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* ===== MESSAGERIE : BOÎTE DE RÉCEPTION ===== */
.conv-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.conv-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.conv-row:hover {
    background: var(--bg-alt);
    border-color: var(--surface-edge);
}

.conv-row.conv-unread {
    background: rgba(126, 203, 232, 0.06);
    border-color: rgba(126, 203, 232, 0.25);
}

.conv-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--surface-edge);
}

.conv-body {
    flex: 1;
    min-width: 0;
}

.conv-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
}

.conv-name {
    font-weight: 700;
    color: var(--ink);
}

.conv-unread .conv-name {
    color: var(--secondary);
}

.conv-time {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    white-space: nowrap;
}

.conv-preview {
    color: var(--muted);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0.2rem;
}

.conv-you {
    color: var(--muted);
}

/* ===== MESSAGERIE : FIL DE CONVERSATION ===== */
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--surface-edge);
    background: var(--bg-alt);
}

.chat-header-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.chat-header-link:hover .chat-header-name {
    color: var(--primary-dark);
    text-decoration: underline;
}

.chat-back {
    font-size: 1.2rem;
    color: var(--muted);
    padding: 0.2rem 0.4rem;
}

.chat-back:hover {
    color: var(--secondary);
}

.chat-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.chat-header-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink);
}

.chat-messages {
    height: 55vh;
    min-height: 320px;
    overflow-y: auto;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background-image: radial-gradient(circle at 1px 1px, rgba(74, 58, 68, 0.06) 1px, transparent 0);
    background-size: 22px 22px;
}

.chat-empty {
    margin: auto;
    text-align: center;
    color: var(--muted);
    max-width: 320px;
}

.chat-bubble-row {
    display: flex;
    width: 100%;
}

.chat-bubble-row.theirs {
    justify-content: flex-start;
}

.chat-bubble-row.mine {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 72%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    position: relative;
}

.chat-bubble p {
    font-size: 0.95rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble .chat-time {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    margin-top: 0.35rem;
    opacity: 0.7;
}

.theirs .chat-bubble {
    background: var(--surface);
    border: 1px solid var(--surface-edge);
    color: var(--ink);
    border-bottom-left-radius: 2px;
}

.mine .chat-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.mine .chat-bubble .chat-time {
    color: rgba(255, 255, 255, 0.8);
}

.chat-form {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    padding: 1rem 1.4rem;
    border-top: 1px solid var(--surface-edge);
    background: var(--bg-alt);
}

.chat-input {
    flex: 1;
    resize: none;
    max-height: 120px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--surface-edge);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(126, 203, 232, 0.15);
}

.chat-send {
    flex-shrink: 0;
    padding: 0.75rem 1.4rem;
}

@media (max-width: 600px) {
    .chat-messages {
        height: 62vh;
    }

    .chat-bubble {
        max-width: 85%;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, footer, .btn { display: none; }
    body { background: white; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}

/* ===== SLIDESHOW (page d'accueil) ===== */
.slideshow {
    position: relative;
    border: 2px solid var(--ink);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Hauteur réglable depuis l'admin (Réglages du slideshow), relative à l'écran du visiteur */
.slideshow-h-compact { height: clamp(220px, 32vh, 340px); }
.slideshow-h-normal  { height: clamp(320px, 46vh, 460px); }
.slideshow-h-large   { height: clamp(400px, 60vh, 600px); }
.slideshow-h-full    { height: clamp(460px, 85vh, 820px); }

.slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-edge);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(38, 36, 27, 0.78) 0%, rgba(38, 36, 27, 0.25) 55%, rgba(38, 36, 27, 0) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 3rem;
    max-width: 640px;
    color: var(--white);
}

.slide-content h2 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.slide-content p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 1.3rem;
    color: rgba(255, 255, 255, 0.92);
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 2px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, transform 0.2s ease;
}

.slide-arrow:hover {
    background: var(--primary-light);
    transform: translateY(-50%) scale(1.06);
}

.slide-arrow-prev { left: 1.25rem; }
.slide-arrow-next { right: 1.25rem; }

.slide-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
}

.slide-dot.active {
    background: var(--white);
}

/* ----- Tablettes (portrait/paysage, ex: iPad) ----- */
@media (max-width: 1024px) {
    .slideshow-h-compact { height: clamp(200px, 34vh, 300px); }
    .slideshow-h-normal  { height: clamp(260px, 42vh, 400px); }
    .slideshow-h-large   { height: clamp(320px, 52vh, 480px); }
    .slideshow-h-full    { height: clamp(380px, 70vh, 640px); }

    .slide-content { max-width: 78%; padding: 2rem 2.25rem; }
    .slide-content h2 { font-size: clamp(1.5rem, 3.6vw, 1.9rem); }
    .slide-content p { font-size: clamp(0.92rem, 2vw, 1rem); }
}

/* ----- Téléphones (portrait/paysage) ----- */
@media (max-width: 768px) {
    .slideshow { border-radius: var(--radius-lg); margin-bottom: 2rem; }
    .slideshow-h-compact { height: clamp(180px, 38vh, 260px); }
    .slideshow-h-normal  { height: clamp(220px, 46vh, 320px); }
    .slideshow-h-large   { height: clamp(260px, 54vh, 380px); }
    .slideshow-h-full    { height: clamp(300px, 72vh, 520px); }

    .slide { align-items: flex-end; }
    .slide-content { max-width: 100%; padding: 1.4rem 1.25rem 2.6rem; }
    .slide-content h2 {
        font-size: clamp(1.3rem, 5.5vw, 1.6rem) !important;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    .slide-content p {
        font-size: clamp(0.88rem, 3.6vw, 0.98rem) !important;
        margin-bottom: 1rem;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slide-content .btn { padding: 0.65rem 1.3rem; font-size: 0.92rem; }

    /* Flèches: plus discrètes et faciles à toucher, hors du texte */
    .slide-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
        top: 40%;
    }
    .slide-arrow-prev { left: 0.6rem; }
    .slide-arrow-next { right: 0.6rem; }

    /* Points de pagination: zone tactile agrandie sans changer le visuel */
    .slide-dots { bottom: 0.7rem; gap: 0.6rem; }
    .slide-dot {
        position: relative;
        width: 8px;
        height: 8px;
    }
    .slide-dot::before {
        content: '';
        position: absolute;
        inset: -10px;
    }
}

/* ----- Petits téléphones ----- */
@media (max-width: 480px) {
    .slideshow-h-compact { height: clamp(160px, 36vh, 220px); }
    .slideshow-h-normal  { height: clamp(190px, 42vh, 260px); }
    .slideshow-h-large   { height: clamp(220px, 48vh, 300px); }
    .slideshow-h-full    { height: clamp(260px, 65vh, 420px); }

    .slide-content { padding: 1.1rem 1rem 2.2rem; }
    .slide-content h2 { font-size: clamp(1.15rem, 6vw, 1.35rem) !important; }
    .slide-content p { font-size: clamp(0.82rem, 3.8vw, 0.9rem) !important; -webkit-line-clamp: 2; }
    .slide-content .btn { width: 100%; text-align: center; padding: 0.6rem 1rem; }

    /* Sur très petit écran, la fine bande de flèches gêne le pouce : on les efface,
       le balayage tactile (swipe) et les points restent disponibles */
    .slide-arrow { display: none; }
}

/* ----- Téléphones en orientation paysage (hauteur réduite) ----- */
@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
    .slideshow-h-compact,
    .slideshow-h-normal,
    .slideshow-h-large,
    .slideshow-h-full { height: clamp(160px, 78vh, 320px); }

    .slide-content { padding: 0.9rem 1.5rem; max-width: 60%; }
    .slide-content h2 { font-size: 1.15rem !important; margin-bottom: 0.25rem; }
    .slide-content p { font-size: 0.82rem !important; margin-bottom: 0.6rem; -webkit-line-clamp: 2; }
    .slide-arrow { width: 32px; height: 32px; font-size: 1.1rem; }
    .slide-dots { bottom: 0.4rem; }
}
