/* Couleurs du CV */
:root { --bleu:#2c4a6e; --orange:#e8890c; --fond:#eef3f8; }
html { scroll-behavior:smooth; }
body { background:var(--fond); color:#2b2b2b; }

/* Barre de navigation */
.navbar { border-bottom:3px solid var(--orange); }
.navbar .nav-link { color:var(--bleu); font-weight:600; }
.navbar .nav-link:hover { color:var(--orange); }
.navbar-brand { color:var(--bleu) !important; font-weight:700; letter-spacing:1px; }

/* En-tête */
.entete { background:#fff; }
.entete .profil { width:170px; height:170px; object-fit:cover; border:4px solid var(--orange); background:var(--fond); }
.entete h1 { color:var(--bleu); letter-spacing:1px; }
.barre { width:60px; height:4px; background:var(--orange); }

/* Slider pleine largeur */
#slider .carousel-item img { height:min(60vw, 520px); object-fit:cover; }
#slider .carousel-caption { background:linear-gradient(transparent, rgba(0,0,0,.6)); left:0; right:0; bottom:0; padding:30px 20px 18px; }
#slider .carousel-indicators [data-bs-target] { background-color:var(--orange); }

/* Sections */
.section-site { scroll-margin-top:70px; border:0; border-radius:12px; }
.section-site h2 { color:var(--bleu); font-size:1.5rem; }
.section-site h2::before { content:""; display:inline-block; width:12px; height:12px; background:var(--orange); margin-right:10px; vertical-align:2px; }
.sous { color:var(--orange); font-weight:700; font-size:.9rem; }
.texte { white-space:pre-line; }

/* Galerie */
.vignette { cursor:pointer; }
.vignette img { aspect-ratio:4/3; object-fit:cover; border-radius:8px; transition:transform .2s; }
.vignette:hover img { transform:scale(1.02); }
.nb-coms { color:var(--orange); font-weight:700; }

/* Commentaires */
.com { border-left:3px solid var(--orange); padding:4px 10px; margin-bottom:10px; }
.btn-orange { background:var(--orange); border-color:var(--orange); color:#fff; font-weight:600; }
.btn-orange:hover { background:#cf7900; border-color:#cf7900; color:#fff; }
.piege { position:absolute; left:-9999px; }      /* champ invisible anti-robot */
