/***
====================================================================
  Thème PSG — surcharge chargée après style.css / responsive.css
  Bleu marine + rouge en grands aplats, bande "Hechter"
  (bleu / blanc / rouge / blanc / bleu) en signature visuelle.
====================================================================
***/

:root{
  --psg-blue: #004170;
  --psg-navy: #001E62;
  --psg-red: #DA291C;
  --psg-red-dark: #B01F14;
  --psg-white: #ffffff;
  --psg-hechter: linear-gradient(90deg,
    var(--psg-navy) 0 38%,
    var(--psg-white) 38% 40%,
    var(--psg-red) 40% 60%,
    var(--psg-white) 60% 62%,
    var(--psg-navy) 62% 100%);
  --psg-stripe: linear-gradient(90deg,
    var(--psg-blue) 0 33.33%,
    var(--psg-white) 33.33% 66.66%,
    var(--psg-red) 66.66% 100%);
}

::selection{
  background: var(--psg-red);
  color: #ffffff;
}

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

.header-top,
.header-two .header-top{
  background: var(--psg-red);
}

.header-top .social-links li a:hover,
.header-top .top-info li a:hover{
  color: var(--psg-navy);
}

.header-two .header-upper,
.header-two.fixed-header .header-upper{
  background: var(--psg-navy);
  border-bottom: 0;
}

/* bande Hechter sous la barre de navigation */
.header-two .header-upper:after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 8px;
  background: var(--psg-hechter);
  pointer-events: none;
}

.header-two .main-menu .navigation > li > a{
  color: #ffffff;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a{
  color: var(--psg-red);
}

.header-two .main-menu .navigation > li.current > a:after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 4px;
  background: var(--psg-red);
  border-radius: 2px;
}

.main-header .main-box .logo-box .logo img{
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid var(--psg-red);
}

.header-two .search-btn,
.main-header .search-btn{
  color: #ffffff;
}

.header-two .info-btn img,
.main-header .nav-toggler button img{
  filter: brightness(0) invert(1);
}

/* ---------- Titres de section ---------- */

.title-box h2{
  color: var(--psg-navy);
}

.title-box .subtitle{
  color: var(--psg-red);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ---------- Boutons ---------- */

.btn-style-one{
  background: var(--psg-red);
  border-color: var(--psg-red);
  box-shadow: 0 6px 18px rgba(218, 41, 28, 0.35);
}

.btn-style-one:hover{
  color: #ffffff;
  background: var(--psg-navy);
  border-color: var(--psg-navy);
}

.btn-style-two:hover{
  background: var(--psg-red);
  border-color: var(--psg-red);
}

/* ---------- Bannière d'accueil ---------- */

.banner-three{
  background: var(--psg-navy);
}

.banner-three .slide-item:before{
  background: linear-gradient(90deg, rgba(0, 30, 98, 0.75) 0%, rgba(0, 30, 98, 0.15) 60%, rgba(218, 41, 28, 0.25) 100%);
}

/* ---------- Bannières des pages intérieures ---------- */

.inner-banner{
  border-bottom: 8px solid var(--psg-red);
}

.inner-banner .image-layer:before{
  background:
    linear-gradient(90deg,
      rgba(0, 30, 98, 0.92) 0 38%,
      rgba(255, 255, 255, 0.9) 38% 40%,
      rgba(218, 41, 28, 0.88) 40% 60%,
      rgba(255, 255, 255, 0.9) 60% 62%,
      rgba(0, 30, 98, 0.92) 62% 100%);
}

.inner-banner .bread-crumb ul li,
.inner-banner .bread-crumb ul li a{
  color: #ffffff;
  font-weight: 700;
}

.inner-banner .content-box h1{
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- Section "Pourquoi nous choisir" : aplat bleu ---------- */

.why-us-three{
  background: var(--psg-navy);
  color: #ffffff;
}

.why-us-three:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  background: var(--psg-hechter);
}

.why-us-three .title-box h2{
  color: #ffffff;
}

.why-us-three .why-info-block:before{
  border: 2px dashed var(--psg-red);
}

.why-us-three .why-info-block .inner-box{
  border: 4px solid var(--psg-red);
}

.why-us-three .lower-links .text-link{
  color: #ffffff;
}

.why-us-three .btn-style-one:hover{
  background: #ffffff;
  color: var(--psg-navy);
  border-color: #ffffff;
}

/* ---------- Programmes / permis ---------- */

.programs-three{
  background: #ffffff;
}

.program-block-three .inner-box{
  border: 0;
  border-top: 6px solid var(--psg-red);
  box-shadow: 0 10px 30px rgba(0, 30, 98, 0.15);
}

.program-block-three .mid-box{
  background: var(--psg-navy);
}

.program-block-three .mid-box .price{
  color: #ffffff;
}

/* ---------- Vidéo : voile bleu/rouge ---------- */

.video-lessons{
  background: var(--psg-navy);
}

.video-lessons .image-layer:before{
  background: linear-gradient(120deg, rgba(0, 30, 98, 0.88) 0%, rgba(0, 30, 98, 0.7) 55%, rgba(218, 41, 28, 0.8) 100%);
}

/* ---------- Témoignages ---------- */

.testimonial-three{
  background: var(--psg-red);
}

.testimonial-three .title-box h2,
.testimonial-three .title-box .subtitle{
  color: #ffffff;
}

.testimonial-three .title-box .subtitle span:after,
.testimonial-three .title-box .dots span,
.testimonial-three .title-box .dots span:before,
.testimonial-three .title-box .dots span:after{
  border-bottom-color: #ffffff;
}

.testimonial-three .testi-block .inner-box{
  background: #ffffff;
  border: 0;
  border-bottom: 6px solid var(--psg-navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-three .testi-block .inner-box:before{
  border-bottom-color: var(--psg-navy);
}

/* ---------- Actualités / blog ---------- */

.news-block .inner-box{
  border-top: 6px solid var(--psg-navy);
  box-shadow: 0 10px 30px rgba(0, 30, 98, 0.12);
}

/* ---------- Bloc inscription ---------- */

.subscribe-section{
  background: var(--psg-red);
  border-top: 8px solid var(--psg-navy);
}

/* l'image de fond d'origine teinte le bloc en orange */
.subscribe-section .bg-layer{
  display: none;
}

.subscribe-section form .theme-btn{
  background: var(--psg-navy);
  border-color: var(--psg-navy);
  color: #ffffff;
}

.subscribe-section form .theme-btn:hover{
  background: #ffffff;
  color: var(--psg-navy);
}

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

.main-footer{
  background: var(--psg-navy);
}

.main-footer:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 10px;
  background: var(--psg-hechter);
}

.main-footer .f-bottom .inner{
  border-top: 2px solid var(--psg-red);
}

.main-footer .footer-logo img{
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid var(--psg-red);
}

/* ---------- Divers ---------- */

.scroll-to-top{
  background: var(--psg-red);
  border: 2px solid #ffffff;
}

.scroll-to-top:hover{
  background: var(--psg-navy);
}

.info-bar .inner-box{
  border-left: 8px solid var(--psg-red);
}

/* ---------- Contact : nos locaux ---------- */

.locaux-section{
  position: relative;
  padding: 100px 0 70px;
  background: var(--psg-navy);
}

.locaux-section .title-box h2{
  color: #ffffff;
}

.locaux-section .title-box.centered{
  margin-bottom: 60px;
}

.locaux-block{
  margin-bottom: 30px;
}

.locaux-block .inner-box{
  position: relative;
  height: 100%;
  background: #ffffff;
  border-top: 6px solid var(--psg-red);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.locaux-block .image{
  aspect-ratio: 4 / 3;
  background: var(--psg-blue);
  overflow: hidden;
}

.locaux-block .image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.locaux-block .image.contain img{
  object-fit: contain;
}

.locaux-block .inner-box:hover .image img{
  transform: scale(1.05);
}

.locaux-block .caption{
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4em;
  color: var(--psg-navy);
  text-align: center;
}
