/*
Theme Name:Informatique
Theme URI: https://wordpress.org/themes/informatique/
Author: Raïssa Bopda
Author URI: https://raissadomgnimbopda.net
Description: Demo de transformation d'un template en theme
Version: 2.6
License: Copyright Raïssa Domgnim Bopda
License URI:
Tags: blog, portefolio, cv
Text Domain: etudesinformatiques
Test de template
*/


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #ffc107;
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  --p-color:                      #000000;
  --bg-main:                      #6fa3b8;

  --body-font-family:           'Noto Sans JP', sans-serif;

  --h1-font-size:               72px;
  --h2-font-size:               42px;
  --h3-font-size:               36px;
  --h4-font-size:               32px;
  --h5-font-size:               24px;
  --h6-font-size:               22px;
  --p-font-size:                20px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}



/* ---------------------------------------
  NAVBAR FIXE
 ---------------------------------------*/


.w3-top {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  background: #d9d9d9;
  overflow: hidden;
}

.w3-top .w3-bar {
  min-height: 60px;
  display: flex;
  align-items: center;
  background: #d9d9d9;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Portfolio à gauche */
.w3-top .w3-bar > a.w3-bar-item.w3-button {
  margin-right: auto;
}

/* liens à droite */
.w3-top .w3-right {
  display: flex;
  gap: 20px;
  margin-left: auto;
  float: none !important;
}


/* menu mobile */
#mobileMenu {
  background: #d9d9d9;
  position: relative;
  z-index: 100000;
}

/* ESPACE sous le header (IMPORTANT) */
.site-header-spacer {
  height: 64px;
}

/* admin bar desktop */
.admin-bar .w3-top {
  top: 32px;
}

.admin-bar .site-header-spacer {
  height: 92px;
}

/* contenu */
.site-page-content {
  min-height: calc(100vh - 150px);
  background: #7fb3c8;
  padding: 40px 20px 80px;
  box-sizing: border-box;
}

/* MOBILE */
@media screen and (max-width: 782px) {

  /* on masque la barre admin WordPress sur mobile */
  #wpadminbar {
    display: none !important;
  }

  html {
    margin-top: 0 !important;
  }

  .admin-bar .w3-top,
  .w3-top {
    top: 0 !important;
  }

  .w3-top .w3-bar {
    min-height: 64px;
    padding: 0 16px;
  }

  .admin-bar .site-header-spacer,
  .site-header-spacer {
    height: 64px;
  }

  .site-page-content {
    padding: 30 16px 80px;
  }
}



/*---------------------------------------
  PAGE W3-CONTENT
-----------------------------------------*/


.w3-content {
  max-width: 1100px;
  margin-bottom: 100px;
  background-color: #d9d9d9;
}




/*---------------------------------------
  CARTE PAGE CONTACT
-----------------------------------------*/

.page-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 32px;
}

.contact-card {
  max-width: 1100px;
  margin: 0 auto 24px auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}


/*---------------------------------------
  BOUTONS DOWNLOAD (CV + GPG)
-----------------------------------------*/

.cv-download-wrapper{
  display: flex;
  justify-content: center;
  margin: 30px 0 20px 0;
}

.download-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #0d3b66;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
}

.download-btn img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.download-btn:hover{
  background: #7fb3c8;
  transform: translateY(-2px);
}


/*---------------------------------------
  SCROLL BUTTONS (TOP & BOTTOM)
-----------------------------------------*/

.scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #0d3b66;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.scroll-btn i {
  font-size: 14px;
}

/* bouton en haut (footer) */
.scroll-top-btn {
  margin: 20px auto;
  display: inline-flex;
}

/* effet hover */
.scroll-btn:hover {
  background: #7fb3c8;
  /*background: #000000;*/
  transform: translateY(-2px);
}

@media screen and (max-width: 767px) {
  .scroll-bottom-btn {
    top: 90px;
    right: 12px;
    bottom: auto;
    padding: 8px 12px;
    font-size: 13px;
  }
}


/*---------------------------------------
  CSS LINK CONTACT
-----------------------------------------*/



.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* espace entre icônes */
  margin-top: 20px;
}

.contact-links a {
  width: 50px;
  height: 50px;
  background: #ffffff; /* fond blanc pour contraste */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0d3b66; /* contour bleu foncé */
  transition: all 0.2s ease;
}

.contact-links img {
  width: 24px;
  height: 24px;
}

.contact-links a {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* hover */
.contact-links a:hover {
  background: #495057; /* bleu très clair */
}

/* IMPORTANT : on enlève ça */
.contact-links a:hover img {
  filter: none; /* PAS de filtre */
}


/*---------------------------------------
  FORMULAIRE CONTACT
-----------------------------------------*/

.wpcf7 {
  width: 100%;
  margin: 24px 0;
}

.wpcf7 form {
  width: 100%;
}

.wpcf7 form p {
  margin-bottom: 16px;
}

.wpcf7 label {
  display: block;
  width: 100%;
  font-weight: 600;
  margin-bottom: 6px;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100% !important;
  max-width: 100%;
  display: block;
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: 6px;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.9;
}


/*---------------------------------------
  CSS À PROPOS
-----------------------------------------*/

.about-card-custom {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.about-text-top h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.about-text-top p {
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-text-bottom {
  margin-top: 20px;
  margin-bottom: 28px;
}

.about-text-bottom p {
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-tags-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px 0;
}

.about-tags-custom span {
  background: #eef2f7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

.about-contact-box {
  border: 4px solid #0d3b66;
  border-radius: 12px;
  padding: 18px;
  margin-top: 20px;
  background: #f8fbfd;
}

.about-contact-box p {
  margin-bottom: 12px;
}

.contact-links.social-only {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.contact-links.social-only a {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 2px solid #0d3b66;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-links.social-only a:hover {
  background: #eaf4f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}

.contact-links.social-only img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 900px) {
  .about-layout {
  grid-template-columns: 1fr;
}

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-links.social-only {
    justify-content: center;
  }
}



/* ---------------------------------------
  CORRECTIONS MOBILE : GPG + LOCALISATION
----------------------------------------- */

/* bloc GPG / message signé : empêche le débordement horizontal */
.about-card-custom,
.contact-card,
.page-content-wrapper,
.site-page-content {
  overflow-x: hidden;
}

.about-card-custom pre,
.contact-card pre,
.page-content-wrapper pre,
.site-page-content pre,
.about-card-custom code,
.contact-card code,
.page-content-wrapper code,
.site-page-content code,
.about-card-custom p,
.contact-card p,
.page-content-wrapper p,
.site-page-content p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* si ton texte GPG est dans un bloc <pre>, on garde la mise en forme mais on autorise le retour à la ligne */
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
}

/* iframe carte / google maps responsive */
iframe {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  border: 0;
}

/* conteneurs généraux pour la carte */
.map-iframe,
.location-map,
.localisation-map,
.contact-card iframe,
.page-content-wrapper iframe {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

/* mobile */
@media screen and (max-width: 782px) {
  .about-card-custom,
  .contact-card,
  .page-content-wrapper {
    padding: 20px 16px;
  }

  iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 280px;
  }

  pre {
    font-size: 14px;
    line-height: 1.5;
  }
}



/* ================================
   SLIDER - PROJET EN VEDETTE
================================ */

/* centrer le bouton */
.slider-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* bouton principal */
.slider-btn {
  background: rgba(0, 0, 0, 0.6); /* 🔥 fond sombre DIRECT */
  color: #fff;
  padding: 16px 28px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  backdrop-filter: blur(3px); /* effet moderne */
}

/* hover */
.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8); /* plus sombre */
  color: #fff;
  transform: scale(1.05);
  border: 1px solid rgba(255,255,255,0.2);
}


/* mobile */
@media screen and (max-width: 782px) {
  .slider-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .slider-center::before {
    display: none;
  }
}




/*---------------------------------------
  slider
-----------------------------------------*/


.home-slider {
  height: 520px;
  overflow: hidden;
  padding: 0;
}

.home-slider .mySlides {
  height: 100%;
}

.home-slider .mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 782px) {
  .home-slider {
    height: 260px;
  }
}


/* ================================
   CSS - BOUTON RSS (FOOTER)
================================ */

.footer-rss {
  text-align: center;
  margin-bottom: 20px;
}

.rss-btn {
  background: #0d3b66;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}


.rss-btn:hover {
  background: #7fb3c8;
  transform: translateY(-2px);
}


/* ================================
   CSS - TAGS DANS LE FOOTER
================================ */

.footer-tags {
  text-align: center;
  margin: 20px 0;
  padding: 0 20px;
}

/*.footer-tag {
  display: inline-block;
  margin: 6px 8px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.footer-tag:hover {
  color: #0d3b66;
  text-decoration: underline;
}*/

.footer-tags .tag-cloud-link {
  display: inline-block;
  margin: 6px 8px;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  transition: all 0.2s ease;
}

.footer-tags .tag-cloud-link:hover {
  color: #0d3b66;
  text-decoration: underline;
}


/* ================================
   CSS - TAGS PAGE ACCUEIL
================================ */

.tags-box-home {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 180px;
}

.tag-home-link {
  display: inline-block;
  margin: 8px 10px;
  padding: 10px 16px; /* 🔥 crée le "cadre" */
  color: #000;
  text-decoration: none;
  font-size: 18px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

/* hover */
.tag-home-link:hover {
  background: #e0e0e0; /* 🔥 fond gris */
  color: #0d3b66; /* bleu */
  border-color: #0d3b66; /* contour */
  transform: translateY(-2px);
  text-decoration: none;
}



/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: #0d3b66;
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--dark-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-info {
  margin: 20px;
}

/*---------------------------------------
  NEWS & EVENTS               
-----------------------------------------*/

.news,
.related-news {
  background: var(--section-bg-color);
}

.news-thumb {
  position: relative;
}

.news-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.news-text-info {
  margin: 0 20px;
}

.news-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news-title-link {
  color: var(--title-color);
  display: inline-block;
}

.news-title-link:hover {
  color: var(--dark-color);
}

.portfolio-image,
.news-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.news-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.news-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.news-image-hover-warning::after {
  background: #ffc107;
}

.news-image-hover-primary::after {
  background: #0d6efd;
}

.news-image-hover-success::after {
  background: #198754;
}

.news-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .portfolio-image,
.news-image-hover:hover .news-image {
  transform: scale(1.02);
}

.news-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.news-two-column .news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  margin: 0;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}


/*---------------------------------------
  FOOTER AVEC ICÔNES IMAGES
-----------------------------------------*/

.social-footer a {
  display: inline-block;
  margin: 0 10px;
}

.social-footer img {
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.social-footer img:hover {
  transform: scale(1.2);
}

.copyright-text {
  margin-top: 18px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}



/*---------------------------------------
  CLÉ ET MESSAGE SIGNÉ
-----------------------------------------*/

/* enlever la flèche native du summary */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

.gpg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.summary-gpg {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 35px;
}

.summary-gpg img {
  width: 30px;   /* taille de la flèche */
  height: 30px;
  transition: transform 0.2s;
}

details[open] .summary-gpg img{
  transform: rotate(90deg);
}

.page-title-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.page-title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}



/* ================================
   COMMENTAIRES PROPRE + NUMÉROTATION
================================ */

/* conteneur */
.comments-area {
  max-width: 760px;
  margin: 60px auto 0 auto;
  text-align: center;
}

/* titres */
.comments-title,
.comment-reply-title {
  margin-bottom: 24px;
}

/* liste */
.comment-list {
  list-style: decimal;
  padding-left: 26px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 24px auto;
}


/* chaque commentaire */
.comment-list li {
  margin-bottom: 16px;
  padding-left: 6px;
}

/* bloc commentaire */
.comment-body,
.pingback,
.trackback {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 4px;
  box-sizing: border-box;
}

/* texte */
.comment-body a,
.pingback a {
  color: #0d3b66;
  font-weight: 600;
  text-decoration: none;
}

.comment-body a:hover,
.pingback a:hover {
  text-decoration: underline;
}

/* formulaire */
.comment-respond {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 28px 22px;
}

/* label */
.comment-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

/* textarea */
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
  font-size: 16px;
  resize: vertical;
}

/* focus */
.comment-form textarea:focus {
  outline: none;
  border-color: #0d3b66;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.15);
}


/* bouton */
.comment-form .submit {
  background: #0d3b66;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 18px;
  cursor: pointer;
}

.comment-form .submit:hover {
  background: #082844;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-cookies-consent,
.comment-notes,
.logged-in-as {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .comment-respond {
    max-width: 100%;
    margin: 0 16px;
    padding: 20px 16px;
    box-sizing: border-box;
  }

  .comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}



/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .team-thumb {
    left: 0;
    width: auto;
  }

  .news-two-column {
    height: auto !important;
    min-height: inherit;
  }

  .news .col-12 .news-two-column:first-child {
    margin-bottom: 38px;
  }
}




@media screen and (max-width: 991px) {
  .article-projet {
    margin: 20px 15px 50px 15px;
    padding: 20px;
  }

  .article-projet-grid {
    grid-template-columns: 1fr;
  }

  .article-projet-slider img {
    max-width: 320px;
  }

  .article-projet-texte {
    padding: 20px;
  }

  .article-projet-texte p,
  .article-projet-liens p,
  .article-projet-liens a {
    font-size: 16px;
  }
}


@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }

  .heroText p {
    font-size: 14px;
  }
}

@media screen and (max-width: 359px) {
  .news-detail-title {
    font-size: 22px;
  }
}

/* ================================
   CARTES ARTICLES UNIFORMES
================================ */

.w3-row-padding {
  display: flex;
  flex-wrap: wrap;
}

.w3-row-padding > .w3-third {
  display: flex;
  margin-bottom: 24px;
}

.w3-card-4 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.w3-card-4 img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.w3-card-4 .w3-container {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  box-sizing: border-box;
}

.w3-card-4 .item-header {
  width: 100%;
}

.w3-card-4 .item-header h5 {
  margin: 0;
  line-height: 1.4;
  min-height: 5.6em;
}

