/* ============================================================
   style.css - UNESCO Sites - Design Premium
   Thème : Patrimoine mondial - tons or, bleu nuit, crème
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Cormorant+Garamond:wght@300;400;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- Variables ---- */
:root {
    --or:        #C9A84C;
    --or-clair:  #E8C97A;
    --or-sombre: #8B6914;
    --nuit:      #0D1B2A;
    --nuit-2:    #1A2D42;
    --nuit-3:    #243B55;
    --creme:     #F5F0E8;
    --creme-2:   #EDE5D4;
    --texte:     #2C1810;
    --gris:      #6B7280;
    --blanc:     #FFFFFF;
    --radius:    16px;
    --shadow:    0 20px 60px rgba(13,27,42,0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--creme);
    color: var(--texte);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.7;
}

/* ---- Container ---- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: var(--nuit);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--or);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 2rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-emblem {
    width: 42px;
    height: 42px;
    border: 2px solid var(--or);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--or);
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--blanc);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    color: var(--or);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

nav a:hover {
    color: var(--or);
    background: rgba(201,168,76,0.1);
}

nav a.active {
    color: var(--or);
    background: rgba(201,168,76,0.15);
}

nav .btn-nav {
    background: var(--or);
    color: var(--nuit) !important;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
}

nav .btn-nav:hover {
    background: var(--or-clair);
    color: var(--nuit) !important;
}

/* ============================================================
   HERO - PAGE ACCUEIL
   ============================================================ */
.hero {
    background: var(--nuit);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Motif géométrique de fond */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,168,76,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(36,59,85,0.8) 0%, transparent 50%);
}

/* Lignes décoratives */
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(201,168,76,0.04) 100%);
    border-left: 1px solid rgba(201,168,76,0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 6rem 0;
    animation: heroIn 1s ease both;
}

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

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--or);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--or);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--blanc);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    color: var(--or);
    font-style: italic;
}

.hero p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--or);
    color: var(--nuit);
}

.btn-primary:hover {
    background: var(--or-clair);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--blanc);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--or);
    color: var(--or);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--nuit);
    color: var(--blanc);
}

.btn-dark:hover {
    background: var(--nuit-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ---- Compatibilité ancien .btn ---- */
a.btn:not(.btn-primary):not(.btn-outline):not(.btn-dark):not(.btn-retour):not(.btn-nav),
button.btn:not(.btn-primary) {
    background: var(--or);
    color: var(--nuit);
}
a.btn:not(.btn-primary):not(.btn-outline):not(.btn-dark):not(.btn-retour):not(.btn-nav):hover {
    background: var(--or-clair);
    transform: translateY(-2px);
}

/* ============================================================
   SECTION STATS (accueil)
   ============================================================ */
.stats-band {
    background: var(--nuit-2);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    animation: fadeUp 0.6s ease both;
}

.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--or);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================================
   SECTION FEATURED (accueil)
   ============================================================ */
.section {
    padding: 6rem 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--nuit);
    line-height: 1.2;
    font-weight: 700;
}

.section-title em {
    color: var(--or-sombre);
    font-style: italic;
}

/* ============================================================
   CARTES
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--blanc);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13,27,42,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(201,168,76,0.1);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(13,27,42,0.18);
    border-color: rgba(201,168,76,0.3);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card img, .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

/* Pour les cards sans .card-img-wrap (compatibilité) */
.card > img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--nuit);
    color: var(--or);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(201,168,76,0.3);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--nuit);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

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

.card-content p strong {
    color: var(--texte);
    font-weight: 500;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--creme-2);
    display: flex;
    justify-content: flex-end;
}

/* ============================================================
   BADGES CATÉGORIE
   ============================================================ */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-culturel {
    background: rgba(201,168,76,0.15);
    color: var(--or-sombre);
    border: 1px solid rgba(201,168,76,0.3);
}

.category-naturel {
    background: rgba(34,139,34,0.1);
    color: #1a5c1a;
    border: 1px solid rgba(34,139,34,0.25);
}

/* ============================================================
   MAIN
   ============================================================ */
main {
    flex: 1;
}

main.container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ============================================================
   PAGE CATALOGUE
   ============================================================ */
.catalogue-header {
    background: var(--nuit);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.catalogue-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.catalogue-header .container { position: relative; z-index: 1; }

.catalogue-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--blanc);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.catalogue-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

.catalogue-header .or { color: var(--or); }

/* Barre de recherche catalogue */
.search-bar-wrap {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(201,168,76,0.15);
}

.search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar label {
    font-weight: 500;
    color: var(--nuit);
    white-space: nowrap;
    font-size: 0.95rem;
}

.search-bar input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1.2rem;
    border: 1.5px solid var(--creme-2);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s;
    background: var(--creme);
    color: var(--texte);
}

.search-bar input[type="text"]:focus {
    outline: none;
    border-color: var(--or);
    background: var(--blanc);
}

.results-count {
    font-size: 0.9rem;
    color: var(--gris);
    margin-bottom: 1.5rem;
}

.results-count strong { color: var(--texte); }

/* ============================================================
   PAGE DÉTAIL SITE
   ============================================================ */
.site-detail-hero {
    background: var(--nuit);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.site-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.1) 0%, transparent 60%);
}

.site-detail-hero .container { position: relative; z-index: 1; }

.site-detail-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--blanc);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    align-items: start;
}

.detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid rgba(201,168,76,0.12);
    box-shadow: 0 2px 12px rgba(13,27,42,0.06);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--or-sombre);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--creme-2);
    font-size: 0.95rem;
    gap: 1rem;
}

.info-row:last-child { border-bottom: none; }

.info-row .label {
    color: var(--gris);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.info-row .value {
    color: var(--texte);
    font-weight: 500;
    text-align: right;
}

.description-card {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid rgba(201,168,76,0.12);
    box-shadow: 0 2px 12px rgba(13,27,42,0.06);
}

.description-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--nuit);
    margin-bottom: 1rem;
}

.description-card p {
    color: var(--gris);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================================
   FORMULAIRE DE RECHERCHE
   ============================================================ */
.recherche-section {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 0;
}

.recherche-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--nuit);
    margin-bottom: 0.5rem;
}

.recherche-section > p {
    color: var(--gris);
    margin-bottom: 2rem;
}

.form-recherche {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,168,76,0.15);
}

.champ-groupe {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.champ-groupe label {
    font-weight: 500;
    color: var(--nuit);
    font-size: 0.9rem;
}

.champ-groupe input {
    padding: 0.85rem 1.2rem;
    border: 1.5px solid var(--creme-2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s;
    background: var(--creme);
    color: var(--texte);
    width: 100%;
}

.champ-groupe input:focus {
    outline: none;
    border-color: var(--or);
    background: var(--blanc);
}

.boutons { display: flex; gap: 1rem; flex-wrap: wrap; }

.erreur-msg {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.info-recherche {
    background: rgba(201,168,76,0.08);
    border-left: 3px solid var(--or);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: var(--texte);
}

.aucun-resultat {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--blanc);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(13,27,42,0.06);
}

.aucun-resultat p {
    color: var(--gris);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.boutons-bas { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

.btn-retour {
    background: var(--creme-2) !important;
    color: var(--texte) !important;
}

.btn-retour:hover {
    background: var(--creme) !important;
    transform: translateY(-2px);
}

/* ============================================================
   RÉSULTATS RECHERCHE
   ============================================================ */
.resultats-section { padding: 3rem 0; }

.resultats-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--nuit);
    margin-bottom: 1rem;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-wrap {
    background: var(--creme);
    min-height: 100vh;
}

.admin-header {
    background: var(--nuit);
    padding: 1rem 0;
    border-bottom: 2px solid var(--or);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--blanc);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13,27,42,0.08);
}

.admin-table th {
    background: var(--nuit);
    color: var(--or);
    padding: 1rem 1.2rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--creme-2);
    font-size: 0.9rem;
    color: var(--texte);
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--creme); }

.actions { display: flex; gap: 0.5rem; }

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(13,27,42,0.08);
    border: 1px solid rgba(201,168,76,0.12);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--nuit);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--creme-2);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    background: var(--creme);
    color: var(--texte);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--or);
    background: var(--blanc);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.error   { color: #991B1B; background: #FEE2E2; border: 1px solid #FECACA; padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.success { color: #166534; background: #DCFCE7; border: 1px solid #BBF7D0; padding: 0.8rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }

.login-form {
    max-width: 420px;
    margin: 5rem auto;
    background: var(--blanc);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,168,76,0.15);
}

.login-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--nuit);
    text-align: center;
    margin-bottom: 2rem;
}

.current-photo { max-width: 100px; margin-top: 0.5rem; border-radius: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--nuit);
    color: rgba(255,255,255,0.5);
    padding: 2.5rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(201,168,76,0.2);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

footer p { font-size: 0.85rem; }
footer .footer-or { color: var(--or); }

/* ============================================================
   RESPONSIVE - bascule 576px (TD03)
   ============================================================ */
@media (max-width: 576px) {

    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    nav a { font-size: 0.82rem; padding: 0.4rem 0.7rem; }

    .hero { min-height: 70vh; }
    .hero-content { padding: 3rem 0; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .card-grid { grid-template-columns: 1fr; }

    .section { padding: 3rem 0; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

    .detail-layout { grid-template-columns: 1fr; }

    .detail-image { position: static; }
    .detail-image img { height: 280px; }

    .catalogue-header { padding: 2.5rem 0 2rem; }

    .search-bar { flex-direction: column; align-items: stretch; }

    footer .container { flex-direction: column; text-align: center; }

    .boutons, .boutons-bas, .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .form-container { padding: 1.5rem; margin: 1rem; }
    .login-form { margin: 2rem 1rem; padding: 2rem; }
}