/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

:root{
    --bleu-nuit:#01377D;
    --bleu-noir:#091820;
    --gris:#505050;
    --gris-leger: #eeeeee;
    --header-height: 88px; /* par défaut */
}


.sticky-offset {
  top: var(--header-height);
}

body:not(.wp-admin) ::selection{
    background-color: var(--bleu-noir);
}

 p, li {
  font-size: clamp(14px, 1.3vw, 20px);
  line-height: 1.4;
}

h1 {
  font-size: clamp(32px, 3.5vw, 80px);
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  font-size: clamp(24px, 3.5vw, 50px);
  line-height: 1.2;
}

.display-fluid-1 {
  font-size: clamp(2rem, 5vw, 5rem); /* mini 32px, fluide, max 80px */
}

/* Variante fluide du fs-1 (≈ très grand titre) */
.fs-1-fluid {
  font-size: clamp(1.5rem, 5vw, 2rem); /* 32px → 48px */
  line-height: 1.2;
}

/* Variante fluide du fs-3 (≈ sous-titre / texte plus grand) */
.fs-3-fluid {
  font-size: clamp(1rem, 5vw, 1.5rem); /* 20px → 28px */
  line-height: 1.4;
}


.ratio-1x1 {
  aspect-ratio: 1 / 1;
  width: 100%;
}

*, body{
     font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.bg-bleu-nuit{
    background-color: var(--bleu-nuit) !important;
    color: white !important;
}

.bg-bleu-noir{
    background-color: var(--bleu-noir) !important;
    color: white;
}

.bg-gris-leger{
    background-color: var(--gris-leger) !important;
}

.text-bleu-nuit{
    color: var(--bleu-nuit);
}

.text-gris{
    color: var(--gris);
}

.fw-black {
    font-weight: 900;
}

.cta {
  border-radius: 50px;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  transition: all ease 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2); /* Light reflection */
  opacity: 0;
  transform: scale(0.9);
  transition: all ease 0.3s;
  border-radius: inherit;
  z-index: -1;
}

.cta:hover::before {
  opacity: 1;
  transform: scale(1.1);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


.nav-link.active {
    color: var(--bleu-nuit) !important;
    font-weight: 700;
}

#bootscore-navbar .menu-item{
  font-size: 15px !important;
}

#footer-menu .nav-link{
    color: black;
}

/* Modèle de card */
    .domaine-card {
    min-height: 300px;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
}

.domaine-card .card-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease;
}

.domaine-card:hover .card-img {
    transform: scale(1.05);
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, #002c5f 0%, rgba(0, 44, 95, 0.6) 40%, transparent 100%);
    z-index: 1;
}

.card-img-overlay {
    z-index: 2;
}


/* Formulaire de contact  */

/* Conteneur principal */
.cf7-grid {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: auto;
  color: #1b2c59;
}

/* Titres */
.cf7-grid .title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #052a68;
}

.cf7-grid .subtitle {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Labels */
.cf7-grid label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

/* Champs de formulaire */
.cf7-grid input[type="text"],
.cf7-grid input[type="email"],
.cf7-grid input[type="tel"],
.cf7-grid textarea,
.cf7-grid .wpcf7-quiz {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 100px;
  background-color: #f8f9fa;
  font-size: 1rem;
  transition: border-color 0.3s;
  resize: vertical;
}

.cf7-grid input:focus,
.cf7-grid textarea:focus,
.cf7-grid .wpcf7-quiz:focus {
  border-color: #052a68;
  outline: none;
  background-color: #fff;
}

/* Espacement des colonnes */

.cf7-grid .col-md-6,
.cf7-grid .col-12 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Message */
.cf7-grid textarea {
  min-height: 120px;
}

/* Bouton Envoyer */
.cf7-grid .wpcf7-submit {
  background-color: var(--bleu-nuit);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cf7-grid .wpcf7-submit:hover {
  background-color: #021c4a;
}



ul.check-list,
ol.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size:20px;
}

.check-list li {
  position: relative;
  padding-left: 2.1em;        /* largeur = taille icône (1.5 em) + marge */
  margin-bottom: 0.5em;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;            /* fa-solid */
  font-size: 1.5em;            /* taille voulue */
  line-height: 1;              /* évite l’espace intérieur de l’icône */
  color:  var(--bleu-nuit);

  position: absolute;
  left: 0;
  top: 50%;                    /* milieu du <li>                         */
  transform: translateY(-50%); /* remonte de sa moitié → exactement centré */
}

/* SWiper image texte */

.swiper-button-prev, .swiper-button-next{
  color: white !important;
}

.swiper-pagination-bullet-active{
  background: white !important;
}

#sectionSecteurActivite ul {
  list-style: none; /* on supprime les puces par défaut */
  padding-left: 1.5em; /* espace pour la flèche */
}

#sectionSecteurActivite ul li {
  position: relative;
}

#sectionSecteurActivite ul li::before {
  content: "➔"; /* flèche Unicode */
  position: absolute;
  left: -1.2em;
  color: var(--bleu-nuit); /* couleur de la flèche */
  font-weight: bold;
}