@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,600&family=Lora:ital@0;1&display=swap');

h1, h2, h3, .card-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

body {
    font-family: 'Lora', serif; /* Une police Serif plus douce pour la lecture */
    font-size: 1.05rem;

    background-color: #f4f1ea; /* Un blanc cassé plus chaleureux */
    background-image: url('paper-fibers.png');
}

.card-img-top {
    padding: 8px;
    background: white;
    border-bottom: 1px solid #eee !important;
}

/* Ajoute ceci dans ton <head> HTML */



.lien-procede {
    color: #000000;          /* couleur Bootstrap par défaut */
    text-decoration: none;  /* supprime le soulignement */
}

.lien-variante {
    color: #555555;          /* couleur Bootstrap par défaut */
    text-decoration: none;  /* supprime le soulignement */
}

.lien-procede:hover,
.lien-variante:hover {
    text-decoration: underline;
    color: #0a58ca;
}



/* 1. Rend le menu plus léger */
.navbar {
    background-color: rgba(244, 241, 234, 0.8) !important; /* MÃªme ton que ton body */
    backdrop-filter: blur(5px); /* Floute légÃ¨rement le fond au défilement */
}

/* 2. Stylise le bloc "Explorations Photographiques" */
#main-banner {
    border-left: 6px solid #1a3a5f !important; /* Une touche de bleu labo */
    background: linear-gradient(145deg, #ffffff, #fdfbf7) !important;
    position: relative;
    transition: all 0.3s ease;
}

#main-banner:hover {
    transform: translateX(5px); /* Petit décalage élégant au survol */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
}


h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
    letter-spacing: 1px;
}

h1.d-inline-block {
    margin-bottom: 1.5rem !important;
}

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
}


div.mb-3:has(> a.badge) {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-bottom: 2rem !important;
}

div.list-group {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-bottom: 2rem !important;
}
    
.badge {
    font-weight: 400;
    padding: 0.5em 0.8em;
    border-radius: 2px; /* Moins arrondi pour un look étiquette de labo */
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.bg-primary { background-color: #3b5998 !important; } /* Un bleu cyanotype plus profond */
.bg-dark { background-color: #4a4a4a !important; }


.badge.bg-info:hover {
    background-color: #0aa2c0 !important; /* Un bleu un peu plus foncé au survol */
    transform: scale(1.05);
    transition: all 0.2s;
}

.badge:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.2s;
}
    
.img-thumbnail {
    max-width: 100%;
    height: auto;
}

.jumbotron {
    background-color: #f8f9fa !important;
}

/* Modifie ton bloc .card existant ou ajoute celui-ci */
.card {
    background-color: rgba(255, 255, 255, 0.7) !important; /* Transparence pour voir la texture */
    backdrop-filter: blur(2px); /* Léger flou pour le cÃ´té verre dépoli */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-footer {
    background-color: transparent;
    border-top: 0;
}


/* Change l'apparence au survol de la ligne */
.component-row {
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative; /* Nécessaire pour le stretched-link */
}

.component-row:hover {
    background-color: #f8f9fa;
    padding-left: 1.25rem !important;
}

/* Souligne le nom seulement au survol de la ligne */
.component-row:hover .component-name {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

/* Animation de l'icÃ´ne */
.component-row:hover .bi-flask {
    transform: rotate(-15sdeg);
    transition: transform 0.2s;
}

/* Style spécifique pour la formule chimique (LaTeX-style) */
.font-monospace {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}



.p-5.bg-white.border.rounded.shadow-sm {
    background: linear-gradient(145deg, #ffffff, #fdfbf7) !important;
    border-left: 5px solid #2c3e50 !important; /* Rappelle la reliure d'un carnet */
    position: relative;
    overflow: hidden;
}

/* Ajout d'un filigrane discret */
.p-5.bg-white.border.rounded.shadow-sm::after {
    content: "\F28D"; /* IcÃ´ne de caméra Bootstrap */
    font-family: "bootstrap-icons";
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 12rem;
    opacity: 0.03;
    transform: rotate(-15deg);
}

/* Dans ton app.css */
.p-5.bg-white.border.rounded.shadow-sm:hover {
    border-color: #3b5998 !important; /* Le bord devient bleu cyanotype au survol */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}


/* Classes de base pour le systÃ¨me d'icÃ´nes */
.icon-mask {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* L'icÃ´ne skull spécifique */
.icon-mask-skull {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%3Ccircle%20cx%3D%229%22%20cy%3D%2212%22%20r%3D%221%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%2215%22%20cy%3D%2212%22%20r%3D%221%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M8%2020v2h8v-2%22%2F%3E%0A%20%20%3Cpath%20d%3D%22m12.5%2017-.5-1-.5%201h1z%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M16%2020a2%202%200%200%200%201.56-3.25%208%208%200%201%200-11.12%200A2%202%200%200%200%208%2020%22%2F%3E%0A%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%3Ccircle%20cx%3D%229%22%20cy%3D%2212%22%20r%3D%221%22%2F%3E%0A%20%20%3Ccircle%20cx%3D%2215%22%20cy%3D%2212%22%20r%3D%221%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M8%2020v2h8v-2%22%2F%3E%0A%20%20%3Cpath%20d%3D%22m12.5%2017-.5-1-.5%201h1z%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M16%2020a2%202%200%200%200%201.56-3.25%208%208%200%201%200-11.12%200A2%202%200%200%200%208%2020%22%2F%3E%0A%3C%2Fsvg%3E");
}

/* Optionnel : tailles prédéfinies */
.icon-sm { font-size: 0.875rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }

.icon-mask-flask {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M10%202v8L4.72%2020.55a1%201%200%200%200%20.9%201.45h12.76a1%201%200%200%200%20.9-1.45L14%2010V2%27%2F%3E%3Cpath%20d%3D%27M8.5%202h7%27%2F%3E%3Cpath%20d%3D%27M7%2016h10%27%2F%3E%3C%2Fsvg%3E");
}
