/**
 * Template Name: Gp
 * Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
 * Updated: Aug 15 2024 with Bootstrap v5.3.3
 * Author: BootstrapMade.com
 * License: https://bootstrapmade.com/license/
 */

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/

/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root {
  --background-color: #f8e6c9;
  --default-color: #444444;
  --heading-color: #151515;
  --accent-color: #ffc451;
  --surface-color: #ffffff;
  --contrast-color: #312f2f;
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(255, 255, 255, 0.905);
  --nav-hover-color: #ffc451;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #ffc451;
}

/* Color Presets */
.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
  margin: 0;
  padding: 0;
  background-color: #faf8ed;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}



h1 {
color: #708f5d;
font-size: 2.2rem;
}



/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header {
  padding: 10px 0;
  transition: all 0.5s;
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #faf8ed;
  border-bottom: 1px #708f5d solid;
}

@media (min-width: 1000px) {
    .header {
     display: flex !important;
    }
  }

@media (max-width: 1000px) {
    .header {
     display: none !important;
    }
  }


.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Nav */
@media (min-width: 1000px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #708f5d;
    padding: 10px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i {
    font-size: 12px;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover > a,
  .navmenu .active {
    color: #708f5d;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
}

.footer .footer-top {
  padding: 50px 0;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 10%);
}

.footer .footer-about .logo {
  margin-bottom: 10px;
  line-height: 1;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  background-color: color-mix(in srgb, var(--default-color) 5%, white 10%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999999;
  transition: all 0.6s ease-out;
}

/* ... */

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.video-section {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 300px;
  max-height: 900px;
  overflow: hidden;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.video-content img {
  max-width: 400px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@media (max-width: 768px) {
  .video-section {
    height: 40vh;
    min-height: 200px;
  }

  .video-content img {
    max-width: 200px;
  }
}


/* Mobile-first */
.video-mobile {
  display: block;  /* visible sur mobile */
}
.video-desktop {
  display: none;   /* caché sur mobile */
}

/* Desktop à partir de 768px */
@media (min-width: 768px) {
  .video-mobile {
    display: none;  /* masqué sur desktop */
  }
  .video-desktop {
    display: block; /* visible sur desktop */
  }
}


/*--------------------------------------------------------------
# Custom Content
--------------------------------------------------------------*/

.content-redac,
.content-trajet {
  padding: 20px;
}

.content-redac h2 {
  font-size: 2.2rem;
  color: #708f5d;
}

.content-redac h3 {
  font-size: 1.5rem;
  color: #708f5d;
}

.barre-gauche {
  border-left: 4px solid #708f5d;
  padding-left: 12px;
}

.text-justify {
  text-align: justify;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

.content-redac li::before {
  content: "\276F";
  font-size: 20px;
  margin-right: 6px;
  color: #708f5d;
}

.content-trajet {
  padding-top: 30px;
  background-color: #708f5d;
  border-radius: 10px;
  border: 1px solid #708f5d;
  color: #fff;
  margin: 0 10px;
}

.content-trajet li::before {
  content: "\2022";
  color: #fff;
}

/*--------------------------------------------------------------
# RGPD Checkbox
--------------------------------------------------------------*/

.rgpd-check .form-check-input:checked {
  background-color: #708f5d;
  border-color: #708f5d;
}

.rgpd-link {
  color: #708f5d;
  text-decoration: underline;
}

.rgpd-link:hover {
  color: #506b40;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

#submitBtn {
  background-color: #708f5d !important;
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#submitBtn:focus, 
#submitBtn:active:focus {
  outline: none; /* supprime le contour par défaut */
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* glow discret pour le focus */
  transition: box-shadow 0.2s ease-in-out;
}

/* Optionnel : effet au hover */
#submitBtn:hover {
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.2);
}

.btn-send {
  width: 100%;
  padding: 12px;
  background-color: #708f5d !important;
  color: #fff;
  border-radius: 5px;
}

.btn-send:hover {
  background: #005fcc;
}

#responseMessage {
  display: none;
}

/*--------------------------------------------------------------
# Card boostrap tarifs
--------------------------------------------------------------*/
.card {
border: 1px #708f5d solid;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
 background: linear-gradient(320deg, #e8e8c8, #fff); /* Dégradé violet → bleu */
}



.number-circle {
            width: 40px;
            height: 40px;
            background-color: #e2e2c0;
            color: #708f5d;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            position: absolute;
            top: 10px;
            left: 10px;
            border: 1px #708f5d solid;
        }


.voir,
.ecouter,
.lire {
 background-color :#708f5d !important;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.voir:focus,
.ecouter:focus,
.lire:focus {
 background-color :#708f5d !important;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.voir:active:focus,
.ecouter:active:focus,
.lire:active:focus {
 background-color :#708f5d !important;
 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
   transition: box-shadow 0.2s ease-in-out;
}
.voir:hover,
.ecouter:hover,
.lire:hover {
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.2);
}


.btn-triangle {
  position: relative;
  padding: 10px 20px;
  background: #708f5d;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Picot triangle à droite */
.btn-triangle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;              /* distance du triangle */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #708f5d;
}


/* Conteneur des radios */
.radio-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.radio-wrapper .badge {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  background-color: #708f5d;
  color: white;
  border-radius: 50%;
}

.radio-wrapper input[type="radio"] {
  display: none;
}

/* Le "cercle" custom avant le label */
.radio-wrapper label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

/* Cercle vide */
.radio-wrapper label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #708f5d;
  border-radius: 50%;
  background: white;
}

/* Cercle rempli quand checked */
.radio-wrapper input[type="radio"]:checked + label::before {
  background-color: #708f5d;
}