@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Montserrat);
/* <<<<<<<<<<<<<<<<<<            B O D Y            >>>>>>>>>>>>>>>>>>>>>>>> */
html {
  scroll-behavior: smooth;
}
body { 
    padding-top: 160px; 
	background-color: #fbfbfb;
	font-family: 'Montserrat', Arial, sans-serif;
}
/* <<<<<<<<<<<<<<<<<<       N A V I G A T I O N       >>>>>>>>>>>>>>>>>>>>>>>> */
.navbar-default {
    background-color: #fff;
	box-shadow: 3px 3px 8px hsl(0, 0%, 70%);
}
@media (min-width: 768px) 
{
	nav {
		height: 136px;
		text-align: center;
	}
	.logo  {
		position:absolute;
		top: 0px;
		left:0px;
		padding:1px;
		background-color:#FFF;
	}
	.logo img {
		max-height: 130px;
	}
	ul.navbar-nav {
		float:none;
		display:inline-block;
		margin-left: 200px;
		padding-top: 50px;
	}
}
/* important pour que la largeur suive le texte */
.navbar-nav > li > a {
    position: relative;
    display: inline-block; 
}

/* Traits invisibles au départ */
.navbar-nav > li:not(.active)  > a::before,
.navbar-nav > li:not(.active)  > a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;          /* largeur = largeur du lien */
    height: 2px;
    background: #6b0204;
    opacity: 0;           /* invisible */
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}
/* Position initiale (éloignés) */
.navbar-nav > li:not(.active)  > a::before {
    top: -8px;
}
.navbar-nav > li:not(.active)  > a::after {
    bottom: -8px;
}
/* Au hover */
.navbar-nav > li:not(.active)  > a:hover::before {
    top: 0;
    opacity: 1;
}
.navbar-nav > li:not(.active)  > a:hover::after {
    bottom: 0;
    opacity: 1;
}

/* couleur des rubriques du menu */ 
.navbar-default .navbar-nav > li > a { 
    color: #6d6d6d;
	font-size: 15px;
}
/* couleur de la rubrique active  */
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus { 
	background-color: transparent;
	color: #6b0204;
	border-bottom: 2px solid #6b0204;
}

.navbar-default .navbar-nav li:hover a { 
	color: #6b0204;
 }
/* espacement des rubriques */
@media (min-width: 768px) { 
	.navbar-nav > li {
		padding-left: 10px;
		padding-right: 10px;
	}
	.navbar-nav > li > a {
		padding: 4px 0px;
	}
}
/* smartphone */
@media (max-width: 767px) { 
	body { 
		padding-top: 60px; 
	}
	.navbar-nav {
		background-color: #fff;
	}
	.navbar-nav > li > a {
		font-size: 18px;
		padding-bottom: 5px;
	}
	.navbar-brand {
		padding: 4px 4px; 
	}
	navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #333;
		font-size: 18px;
		padding-bottom: 12px;
	}
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #6b0204;
	}
	.navbar-default .navbar-toggle {
		border-color: #6b0204;
	}
}
/* <<<<<<<<<<<<<<<<<<       F O O T E R      >>>>>>>>>>>>>>>>>>>>>>>> */
footer {
	background-color: #6d0000;
    padding: 36px 12px;
	box-shadow: 0 -3px 8px hsl(0, 0%, 70%);
}
@media (min-width: 768px) {
    footer ul {
        float: none;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
		margin-top: 10px;
    }
    footer ul li {
        flex: 1 0 auto;
        text-align: center;	
		padding-right: 15px;
    }
}
footer ul {
    list-style: none;
}
footer, footer a {
	color: #ffffff;
}
footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* mediaqueies mobile et petite tablette en mode portrait */
@media (max-width:767px) {
    footer { 
        text-align:center; 
    }
    footer li {
        margin: 10px;
    }
}

/* <<<<<<<<<<<<<<<<<<       C S S   G E N E R A U X      >>>>>>>>>>>>>>>>>>>>>>>> */
main {
    color: #7d7283;
}
a { 
	color: #8c8b8b; 
}
a:hover { 
	color: #6b0204; 
}
.content {
	max-width: 1500px;
	margin: 12px auto;
}
h1.titre {
    font-size: 20px;
}

.btn-group {
   margin-bottom: 18px;
}
.btn-warning{
    color: #3b3939;
    background-color: #fff;
    border-color: #7d7676;
}
.btn-warning.active, .btn-warning:active  {
    color: #fff;
    font-weight: bold;
    background-color: #7c0300;
    border-color: #7c0300;
}
.btn-warning:hover, .btn-warning.active:hover {
    color: #fff;
    background-color: #898989;
    border-color: #3b3939;
}
@media (max-width:500px) {
.btn-group > .btn {
    padding: 4px 10px;
    font-size: 14px;
}
}
.clear {
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
}
.alignement-gauche {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.alignement-droite {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.liste-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Liste à puce en ligne */
.liste-inline li {
  background: #ebe6e6;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.liste-inline li:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background: #ada7a7; /* couleur bois */
  color: white;
}

/* breadcrumb */
.activity-nav {
    margin: 20px 0;
}
.activity-nav .btn {
    background: transparent;
    border: none;
    color: #555;
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
}
.activity-nav .btn:hover {
    color: #000;
}
.activity-nav .btn::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #6b0204; 
    transition: width 0.3s ease;
}
.activity-nav .btn:hover::after,
.activity-nav .btn.active::after {
    width: calc(100% - 40px);
}
.activity-nav .btn.active {
    color: #000;
}
@media (max-width:768px) {
	.activity-nav .btn {
		font-weight: 600;
		font-size: 12px;
		padding: 10px 4px;
	}
}
/* panel de même hauteur */
@media (min-width:992px) {
.equal, .equal > div[class*='col-'] {
	display: flex;
	flex: 1 1 auto;
}
.equal .panel { 	
	width: 100%; 
}
}
/* centrer les vignettes fancybox */
#fancybox-thumbs { 
	text-align: center; 
}
#fancybox-thumbs ul {
	display: inline-block;
	left: 0 !important;
}
.fancybox-caption {
	text-align: center;
}
/* bouton retour en haut */
#back-top {
	position: fixed;
	bottom: -11px;
	right: 10px;
	display: none;
	z-index: 10;
}
#back-top span {
	width: 56px;
	height: 48px;
	display: block;
	background: #646669 url(images/top.png) no-repeat center center;
	transition: 1s;
	border-radius: 15px;
	border: 1px solid #ada9a9;
	box-shadow: 1px 1px 12px #555;
}
#back-top a:hover span {
	background-color: #999999; 
}
/* boutons */
.btn-default {
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-default:active {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn:active, .btn.active {
	background-image: none; 
}
.btn-default {
	background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
	background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
	background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	background-repeat: repeat-x;
	border-color: #dbdbdb;
	text-shadow: 0 1px 0 #fff;
}
.btn-default:hover, 
.btn-default:focus {
	background-color: #e0e0e0;
}
.btn-default:active, 
.btn-default.active {
	background-color: #e0e0e0;
	border-color: #dbdbdb;
}
.btn-default.disabled, 
.btn-default:disabled, 
.btn-default[disabled] {
	background-color: #e0e0e0;
	background-image: none;
}

/* images */
.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 18px;
	margin-top: 60px;
}
.project-card {
    position: relative;
    height: 280px;
	margin-bottom: 20px;
    flex: 0 0 auto;   /* empêche le full width */
	overflow: hidden;    
    opacity: 0;
 	border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(30px);
    transition: all 0.9s ease;
}
.project-card.show {
  opacity: 1;
  transform: translateY(0);
}
.project-card:hover {
  transform: translateY(-8px);
  opacity: 0.5;
}
.project-card img {
    height: 100%;
    width: auto; /* garde le ratio */
    display: block;
    border-radius: 15px;
}
.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.project-image img {
    object-fit: cover;
    display: block;
}

@media (max-width: 510px) {
	.project-card {
 		flex: 0 0 100%;
	}
}

.project-overlay {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}
.project-overlay h3 {
	font-size: 20px;
}



/* composants et classes supplémentaires  http://bootstrap-doc.prauds.fr/index1.php */
@media (min-width:992px) {
.col-lg-height, 
.col-md-height, 
.col-sm-height, 
.col-xs-height {
	display: table-cell;
	float: none !important;
}
.row-full-height { 
	height: 100%; 
}
.col-full-height {
	height: 100%;
	vertical-align: middle;
}
.col-full-height:before {
	content: "";
}
.row-same-height {
	display: table;
	width: 100%;
	table-layout: fixed;
}
.row-centered { 
	text-align: center; 
}
.col-centered {
	display: inline-block;
	float: none;
	margin-right: -4px;
}
.col-top { 
	vertical-align: top;
}
.col-middle { 
	vertical-align: middle; 
}
.col-bottom { 
	vertical-align: bottom; }
}

/* bloquer le zoom sur les input de l'iphone */
@media (max-width: 740px) {
input[type='text'], 
input[type='tel'], 
input[type='number'], 
input[type='email'], 
input[type='url'],
textarea { 
	font-size: 15px !important; }
}
