/* Reset CSS de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height:100%
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.6;
  background-color: whitesmoke;
  color: #111111;
  padding: 0;
  margin: 0;
  min-height: 100%;
}

header {
  background-color:white;
  position:fixed;
  top:0;
  width:100%;
  z-index:99;
  border-bottom:1px solid whitesmoke;
}

header .header-wrapper {
  display:flex;
  margin:auto;
  justify-content: space-between;
  max-width:1440px;
  height:70px;
}

.header-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin:1em;
}

.header-branding .site-title {
  margin: 0;
}

.header-branding img {
  max-width: 100%;
  height: auto;
  display: block;
}

header .header-branding img {
  height:36px;
  margin:auto;  
}

@media (min-width: 1000px) {

  .header-navigation .menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    height:70px;
  }

  .header-navigation .menu-item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .header-navigation .menu-item > a {
    display: inline-block;
    padding: 0.50rem 1.5rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    border-radius:2em;
    font-weight:600;
  }

  .header-navigation .menu-item.submenu > a {
    color:#001974;
    border:1px solid transparent;
    transition: box-shadow 0.1s ease;
  }

  .header-navigation .menu-item.submenu:hover > a {
    color:#001974;
    border:1px solid transparent;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
  }

  /* Contact us */

  .header-navigation .menu-item.contactus > a {
    display: inline-block;
    position: relative;
    transition: transform 0.2s ease;
    color:white;
    border-radius:2em;
    overflow:hidden;
    border:1px solid white
  }

  .header-navigation .menu-item.contactus > a::before {
    content: "";
    position: absolute;
    width:100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #001974;
    z-index:-1;
  }

  .header-navigation .menu-item.contactus > a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #45e3b7;
    transition: width 0.3s ease;
    z-index:-1;
  }

  .header-navigation .menu-item.contactus > a:hover::after {
    width: 100%;
  }

  .header-navigation .menu-item.contactus > a:hover {
    color: white;
  }
  
  /* Sous-menu masqué par défaut */
  .header-navigation .sub-menu {
    position: absolute;
    top: 100%;
    right:0;
    list-style: none;
    background:rgba(255,255,255,0.8);
    backdrop-filter: blur(200px);
    border-radius:1em;
    border:1px solid rgba(255,255,255,0.5);
    padding: 1rem;
    min-width: 150px;
    z-index: 1000;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    margin-top:-5px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(40px); 
    pointer-events:none;
  }

  /* Afficher sous-menu au survol */
  .header-navigation .menu-item:hover .sub-menu {
    opacity: 1;
    transform: translateY(0px); 
    pointer-events:auto;
  }

  .header-navigation .sub-menu h5 {
    font-size:1em;
    color:#001974;
  }

  .header-navigation .sub-menu p {
    width:420px;
    white-space: normal;
    font-size:0.9em;
  }

  .header-navigation .sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
  }

  .header-navigation .sub-menu li a:hover {
    background-color:#001974;
    border-radius:1em;
    color:white;
  }

  .header-navigation .sub-menu li a h5 {
    position:relative;
    margin-left:0px;
    transition: all 0.3s ease;
  }

  .header-navigation .sub-menu li a:hover h5 {
    color:white;
    margin-left:20px;
  }

  .header-navigation .sub-menu li a h5::before {
    display:block;
    content:'';
    background-image: url("/wp-content/themes/firststart/assets/images/asterisk-green.svg");
    height:15px;
    width:15px;
    background-size:15px;
    background-position:center;
    background-repeat:no-repeat;
    position: absolute;
    left:-15px;
    top:0;
    margin-top:4px;
    opacity: 0;
    transform: translateX(-5px);
  }

  .header-navigation .sub-menu li a:hover h5::before {
    opacity: 1;
  }

  .header-navigation .menu-item.lang {
    position:relative;
    color:#001974;
    cursor:pointer;
  }

  .header-navigation .menu-item.lang .lang-item {
    padding:0.5rem;
  }


  /* menu langue */
  .header-navigation .menu-item.lang .lang-menu {
    position: absolute;
    top:100%;
    right:-20px;
    list-style: none;
    background:rgba(255,255,255,0.8);
    backdrop-filter: blur(200px);
    border-radius:1em;
    border:1px solid rgba(255,255,255,0.5);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    margin-top:-5px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity:0;
    transform: translateY(40px); 
    pointer-events:none;  
  }

  .header-navigation .menu-item.lang li {
    display: flex;
    align-items: left;
    flex-direction: column;
  }

  .header-navigation .menu-item.lang li a {
    display: block;
    all: unset;
    cursor: pointer;
    color:#001974;
    white-space: nowrap;
    padding:0.3rem 0.7rem;
    border-radius:1rem;
  }

  .header-navigation .menu-item.lang li a:hover {
    color:white;
    background-color:#001974;
  }

  /* Afficher sous-menu au survol */
  .header-navigation .menu-item.lang:hover .lang-menu {
    opacity: 1;
    transform: translateY(0px); 
    pointer-events:auto;
  }
 
}

/* BOUTON BURGER */
.mobile-menu-toggle {
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:1001;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 1rem;
  height:56px;
  width:56px;
  cursor: pointer;
  background-color:#001974;
  border-radius:50px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.6);
}
.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color:white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Effet croix quand le menu est ouvert */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Transitions pour l'effet */
.mobile-menu-toggle span {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* CACHER LE MENU PAR DÉFAUT EN MOBILE */
@media (max-width: 1000px) {
  
  header .header-wrapper {
    justify-content: center;
    max-width:1440px;
    height:70px;
  }
  
  .header-wrapper {
    flex-wrap: wrap;
    height: auto;
  }

  .header-navigation {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
    max-height:95%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    border-radius:30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: rgba(0,0,0,0.1) 0 8px 32px;
    padding:15px;
    overflow-y: auto;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
  }

  .header-navigation.mobile-visible {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .header-navigation .menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width:100%;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-visible {
    display: flex;
  }
  
  .menu-item.submenu.products, .menu-item.submenu.services {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding:10px;
    border-radius:15px;
    width:100%;
    margin-bottom:10px;
  }
  
  .menu, .menu-item li {
    list-style: none;
  }
  
  .menu .menu-item > a {
    padding:0;
    margin:10px 10px;
    font-size:1.2em;
    text-decoration: none;
    color:#001974;
    font-weight:600;
    line-height:2em;
  }
  
  .menu .menu-item.services li a, .menu-item.lang .lang-menu a {
    padding:0;
    font-size:0.8em;
    text-decoration: none;
    color:#001974;
    background-color:#001974;
    color:white;
    border-radius:50px;
    padding:10px 20px;
    line-height:50px;
  }
  
  .menu .menu-item.products .sub-menu a {
    display:block;
    padding:0;
    font-size:0.9em;
    text-decoration: none;
    color:#001974;
    background-color:#001974;
    color:white;
    border-radius:15px;
    padding:10px 20px;
  }
  
  .menu .menu-item.products .sub-menu a h5 {
    font-size:1.1em;
  }
  
  .menu-item.lang .lang-menu .active {
    background-color:#45e3b7;
    pointer-events:none;
  }

  
  .menu .menu-item.contactus a, .menu .menu-item.news a  {
    padding:0;
    font-size:0.9em;
    text-decoration: none;
    color:#001974;
    background-color:#001974;
    color:white;
    border-radius:50px;
    padding:10px 20px;
    line-height:50px;
    margin:0;
  }
  
  .menu-item.lang {
    border-top:1px solid rgba(255,255,255,0.7);
    padding-top:15px;
    margin-top:15px;
  }
  
  .menu-item.lang .lang-item { display:none; }
  
  .menu-item.lang .lang-menu li a { margin-right:15px; }
  
}


.section-homepage-landing {
  height:829px;
  margin-top:71px;
  position:relative;
  overflow:hidden;
}

.section-homepage-video {
  position:absolute;
  display:flex;
  top:0;
  left:0;
  justify-content:center;
  height:100%;
  z-index:-1;
  background-color: #001974;
  width: 100%;
}

.section-homepage-video .video-bg {
  object-fit: cover;
  pointer-events: none;
}

/* Par défaut, on cache la version mobile */
.section-homepage-landing .mobile-only {
  display: none;
}

/* En dessous de 1000px, on cache la version desktop */

.section-homepage-catch {
  display:flex;
  align-items: center;
  margin:auto;
  max-width:1200px;
  height:90%;
}

.section-homepage-catch-container {
  width:50%;
}

.section-homepage-catch h1 {
  font-size:95px;
  line-height:120px;
  height: auto;  
  color:white;
  margin-left:5%;
}

.section-homepage-catch ul {
  list-style: none;
  padding: 0;
  padding-top:20px;
  margin: 0;
  display: flex;
  gap: 10px;  
  flex-wrap: wrap;
  margin-left:5%;
}

.section-homepage-catch ul li {
  background-color:rgba(0,0,0,0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 999px; 
  font-size: 14px;
  white-space: nowrap;
  font-weight:600;
}

@media (max-width: 1000px) {
  .section-homepage-landing {
    height:650px;
  }

  .section-homepage-catch h1 {
    font-size:70px;
    line-height:90px;
  }
  
  .section-homepage-landing .desktop-only {
    display: none;
  }
  .section-homepage-landing .mobile-only {
    display: block;
    width:100%;
  }
  
}

/* LANDING - TITLE */

.section-title {
  font-size:2em;
  color:white;
  margin:0 0.3em; 
}

.section-title span {
  color:#42dab4;
  font-size:0.8em;
  vertical-align:top;
}

.section-title span img {
  width:20px;
  margin-right:4px;
  vertical-align:5px;
}


/* LANDING - SECTION LATEST NEWS */


.section-homepage-latest-posts {
  max-width:1400px;
  margin:-100px auto 0 auto;
}

.section-homepage-latest-posts .content {
  display:flex;
}

.section-homepage-latest-posts .post-box {
  display:flex;
  position:relative;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  margin:1%;
  border-radius:1em;
  background-color:white;
  overflow:hidden;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 20px -10px;
}

.section-homepage-latest-posts .post-thumbnail {
  margin:3%;
  border-radius:1em;
  width:94%;
  height:250px;
  overflow:hidden;
}


.section-homepage-latest-posts .post-thumbnail-img {
  width:100%;
  height:100%;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}

.section-homepage-latest-posts .post-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin:3%;
  margin-top:0;
  flex-grow: 1;
  width:94%;
}

.section-homepage-latest-posts .post-content h2 {
  color:#001974;
}

.section-homepage-latest-posts .post-content .post-link {
  display:flex;
  justify-content:right;
  width:100%;
  margin-top: auto;
}

.section-homepage-latest-posts .post-content .post-link a {
  display: inline-block;
  position: relative;
  padding: 0.5em 1.5em;
  color: white;
  border-radius: 2em;
  border: 1px solid white;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
  z-index: 0;
  transition: color 0.2s ease;
  margin-top:1em;
}


.section-homepage-latest-posts .post-content .post-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #001974;
  z-index: -2;
}

.section-homepage-latest-posts .post-content .post-link a::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background-color: #45e3b7;
  transition: width 0.3s ease;
  z-index: -1;
}

.section-homepage-latest-posts .post-content .post-link a:hover::after {
  width: 100%;
}

.section-homepage-latest-posts .post-content .post-link a:hover {
  color: white;
}

@media (max-width: 1000px) {
  .section-homepage-latest-posts .content {
    flex-direction: column;
  }

  .section-homepage-latest-posts .post-box {
    width: calc(100% - 20px);
    margin: 10px 10px;
  }
  
  .section-homepage-services-box .image {
    order: 0;
  }

  .section-homepage-services-box .text {
    order: 1;
  }
}

/* HOME PAGE SERVICES */

.section-homepage-services {
  max-width:1400px;
  margin:100px auto 0 auto;
}

.section-title-center {
  font-size:2.5em;
  text-align:center;
  color:#001974;
  margin:0 0.5em 2em 0.5em;
}

.section-title-center span img {
  width:20px;
  vertical-align:20px;
}

.section-homepage-services-box {
  display:flex;
  margin:0 1% 6em 1%;
  scroll-margin-top:100px;
}

.section-homepage-services-box .image {
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.section-homepage-services-box img {
  border-radius:20px;
  width:100%;
}

.section-homepage-services-box .text {
  flex-direction: column;
  flex-basis: 100%;
  flex: 1; 
  border-radius:20px;
  margin:0 2em;
}

.section-homepage-services-box .text h3 {
  font-size:1.6em;
  color:#001974;
  margin-bottom:0.5em;
}

.section-homepage-services-box .text p {
  font-size:1.1em;
  margin-bottom:0.5em;
}

.section-homepage-services-box .text p {
  font-size:1.1em;
  margin-bottom:0.5em;
}

.section-homepage-services-box .text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  
}

.section-homepage-services-box .text li {
  position: relative;
  padding-left: 1.2em; /* espace entre la puce et le texte */
  padding-bottom:0.4em;
}

.section-homepage-services-box .text li::before {
  content: '•'; /* ou une icône ou image */
  position: absolute;
  left: 0; /* bien aligné à gauche */
  top: 0;
  color: #001974;
  font-size: 1.4em;
  line-height: 1em;
}


@media (max-width: 1000px) {
  .section-homepage-services-box {
    flex-direction: column;
  }

  .section-homepage-services-box .image,
  .section-homepage-services-box .text {
    width:calc(100% -10px);
    margin:10px 10px;
  }
}



.section-homepage-founder {
  background-position:center;
  background-size:cover;
  margin-top:10em;
  background-image:url('/wp-content/themes/firststart/assets/images/homepage-founder-backg.webp')
}

.section-homepage-founder-content {
  max-width: 1200px;
  margin: 100px auto 0 auto;
  display: flex;
  flex-wrap: wrap;
  color: white;
  padding: 2em;
  gap: 2em;
  justify-content:space-between;
}

/* Ordre par défaut : texte à gauche, image à droite */
.section-homepage-founder-content .text {
  flex: 0 0 60%;
  order: 1;
}

.section-homepage-founder-content .image {
  flex: 0 0 30%;
  order: 2;
  max-height:230px;
  max-width:230px;
}

.section-homepage-founder-content .image img {
  width: 100%;
  border-radius: 1em;
  height:100%;
  width:auto;
  max-height:250px;
}

.section-homepage-founder-content .text p {
  margin:1em 0;
  font-size:1.1em;
}

@media (max-width: 800px) {
  .section-homepage-founder {
    background-image:url('http://dev.syslien.com/wp-content/themes/firststart/assets/images/homepage-founder-backg-mobile.webp')
  } 

  .section-homepage-founder-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-homepage-founder-content .image {
    order: 0; /* image en premier */
    width: 100%;
  }

  .section-homepage-founder-content .text {
    order: 1;
    width: 100%;
  }
}

.section-homepage-partners {
  max-width:1400px;
  margin:100px auto 200px auto;
}


.section-homepage-partners ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-evenly;
}

.section-homepage-partners ul li {
  display:flex;
  width:15em; /* ou plus selon l'espacement souhaité */
  height:8em;
}

.section-homepage-partners ul li img {
  width:100%
}

@media (max-width: 1000px) {
  .section-homepage-partners ul {
    flex-direction: column;
    align-items: center; /* optionnel : pour centrer les <li> */
    gap: 4em; /* espace entre les éléments */
  }

  .section-homepage-partners ul li {
    width:40%;
    max-width:200px;
  }
  
}

footer {
  background-color:#001974;
}

@supports (padding: env(safe-area-inset-bottom)) {
  footer::after {
    content: "";
    display: block;
    height: env(safe-area-inset-bottom);
    background-color: #001974;
  }
}

footer .footer-container {
  max-width:1400px;
  margin:auto;
  display: flex;
  justify-content: space-between;
  color: white;
  padding:5em 0;
}

.footer-column {
  flex: 1;
  margin: 0 3em;
}

.footer-column h4 {
  font-size:1.1em;
  text-align:center;
  margin-bottom:1em;
}


.footer-column img {
  width:15em;
}

.footer-container p {
  margin-bottom:1em;
}

.footer-container a {
  display:inline-block;
  color: white;
  position: relative;
  font-size: 1em;
  text-decoration: none;
  padding: 0.3em 1em;
  border-radius: 50px;
  transition: transform 0.2s ease;
  border: 1px solid #001974;
  overflow: hidden; /* important pour masquer le débordement */
  z-index: 0;
}

/* fond de base */
.footer-container a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color:rgba(255,255,255,0.1);
  border-radius: 50px;
  z-index: -2;
}

/* effet de hover (remplissage progressif) */
.footer-container a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #45e3b7;
  transition: width 0.3s ease;
  border-radius: 50px;
  z-index: -1;
}

.footer-container a:hover::after {
  width: 100%;
}

.footer-container a:hover {
  color: white;
}

.footer-container .contactus {
  text-align:center;
  margin:2.5em 0;
}

.footer-container .contactus a {
  font-size:1.1em;
  font-weight:600;
  padding: 0.8rem 1.5rem;
  overflow: hidden;
}

@media (max-width: 1000px) {
  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3em 1em; /* un peu plus de respiration en vertical */
  }

  .footer-column {
    margin: 2em 0;
    width: 100%;
    max-width: 500px; /* limite la largeur pour garder une belle lisibilité */
  }
}

/* Page content */

.page-title {
  max-width:1200px;
  margin-top:100px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:1em;
  text-align:center;
}

.page-title span img {
  width:20px;
  margin-right:5px;
  vertical-align:1em;
}

.page-title h1 {
  display:inline;
  font-size:2.5em;
  color:#001974;
}

.page-container {
  display:flex;
  flex-direction: column;
  align-items: center;
  margin:10px;
  margin-bottom:5em;
}

.page-content {
  flex: 1 1 auto;
  max-width:1400px; 
  width:100%;
  padding:20px;
  margin:1em;
  background-color:white;
  min-height:80vh;
  border-radius:20px;
}

.page-content.bigpadding {
  padding:3em;
}

/* NEWS */

.news-container {
  display:flex;
  max-width:1400px;
  margin:auto;
  flex-wrap: wrap;
  margin-bottom:5em;
  min-height:80vh;
}

.news-container .post-box {
  display:flex;
  flex: 1 0 45%;
  position:relative;
  flex-direction: column;
  align-items: flex-start;
  margin:2%;
  border-radius:1em;
  background-color:white;
  overflow:hidden;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 18px 20px -10px;
}

.news-container .post-thumbnail {
  margin:3%;
  border-radius:1em;
  width:94%;
  height:25vw;
  max-height:350px;
  overflow:hidden;
}


.news-container .post-thumbnail-img {
  width:100%;
  height:100%;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}

.news-container .post-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin:3%;
  margin-top:0;
  flex-grow: 1;
  width:94%;
}

.news-container .post-content h2 {
  color:#001974;
}

.news-container .post-content .post-link {
  display:flex;
  justify-content:right;
  width:100%;
  margin-top: auto;
}

.news-container .post-content .post-link a {
  display: inline-block;
  position: relative;
  padding: 0.5em 1.5em;
  color: white;
  border-radius: 2em;
  border: 1px solid white;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
  z-index: 0;
  transition: color 0.2s ease;
}


.news-container .post-content .post-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #001974;
  z-index: -2;
}

.news-container .post-content .post-link a::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background-color: #45e3b7;
  transition: width 0.3s ease;
  z-index: -1;
}

.news-container .post-content .post-link a:hover::after {
  width: 100%;
}

.news-container .post-content .post-link a:hover {
  color: white;
}

@media (max-width: 1000px) {
  .news-container {
    flex-direction: column;
    align-items: center; /* facultatif, pour centrer les blocs */
  }

  .news-container .post-box {
    flex: 0 0 100%;
    margin:10px;
    width:calc(100% - 20px);
  }
  
  .news-container .post-thumbnail {
    height:50vw;
    max-height:350px;
    overflow:hidden;
  }
}

/* NEWS PAGE */

.onenews-container .news-content ul {
  padding:1em 1em 0em 1em;
}

.onenews-container .news-thumbnail {
  position:relative;
  width: 100%;
  overflow: hidden;
  border-radius:2em;
  margin-bottom:2em;
}

.onenews-container .news-thumbnail a {
  position:absolute;
  top:1em;
  left:1em;
  text-decoration:none;
  background-color:#001974;
  padding:5px 10px;
  border-radius:50px;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 15px;
  height:50px;
}

.onenews-container .news-thumbnail a svg {
  fill:white;
  width:40px;
  height:40px;
  border-radius:50px;  
}

.onenews-container .news-thumbnail a span {
  color:white;
  vertical-align:14px;
  font-size:18px;
  margin-left:5px;
  font-weight:600;
}


.onenews-container .news-thumbnail img {
  width:100%;
  height:50vw;
  max-height:700px;
  display: block;
  object-fit: cover; /* Optionnel si tu veux qu'elle remplisse en recadrant */
}

.onenews-container .news-thumbnail h1 {
  position:absolute;
  bottom:1em;
  margin-right:2em;
  left:1em;
  background-color:white;
  padding:0.1em 2em;
  border-radius:2em;
  font-size:2em;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 15px;
  color:#001974;
}

@media (max-width: 1000px) {
  
  .onenews-container .news-thumbnail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius:0;
  }

  .onenews-container .news-thumbnail h1 {
    position: static;
    margin: 1em 0 0 0;
    font-size: 1.5em;
    padding:0;
    border-radius: 1em;
    box-shadow: none;
    background-color: transparent;
  }
  
  .onenews-container .news-thumbnail img {
    border-radius:1em;
  }
 
  .onenews-container .news-thumbnail a {
    height:32px;
  }
  
  .onenews-container .news-thumbnail a svg {
    width:20px;
    height:20px; 
  }

  .onenews-container .news-thumbnail a span {
    vertical-align:5px;
    font-size:14px;
  }

  
}

.onenews-container p {
  margin-top:0.5em;
}

.onenews-container h2 {
  margin-top:1.5em;
}

.onenews-container h4, .onenews-container h3 {
  margin-top:1em;
}

.onenews-container hr {
  margin-top:2em;
  height:1px;
  border:#f5f5f5 1px solid;
}


.onenews-container .news-meta {
  display:block;
  text-align:center;
  margin:2em;
  color:#001974;
  height:1px;
  font-weight:600;
}

#projectForm {
  display:flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top:6em;
}

#projectForm .step { 
  display: none;
  flex-direction: column;
  margin-bottom: 1rem; 
}

#projectForm .step.active { 
  display: flex; 
}

#projectForm .step input {
  border-radius:50px;
  border:1px solid #001974;
  font-size:1.5em;
  padding:0.5em 1em;
  width:100%;
}

#projectForm .step label {
  text-align:center;
  color:#001974;
  font-weight:600;
  font-size:1.4em;
  margin:1em;
}

#projectForm button { 
  margin-top: 1rem;
  background-color:#001974;
  color:white;
  border:0;
  border-radius:50px;
  font-size:1.2em;
  padding:0.5em 1.2em;
  cursor:pointer;
}

#projectConfirmation { 
  display: none;
  margin-top: 2rem;
  background-color:rgba(0,25,116,0.03);
  padding: 1.8rem;
  border: 1px solid #001974;
  border-radius:15px;
}

#projectConfirmation h3 {
  background-color:rgba(0,25,116,0.7);
  color:white;
  padding:1rem 2rem;
  border-radius:50px;
}

#projectConfirmation p {
  margin: 2rem 0;
}

#projectSummary p { 
  margin: 0.4rem 0;
}

#projectForm .checkbox-group label {
    display: block;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#projectForm .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

#projectForm .checkbox-group label:hover {
    background-color: #eef6ff;
    border-color: #3399ff;
}

#projectForm .step-message {
  width:100%;
  max-width:1000px;
}

#projectForm .step-message textarea {
  height:300px;
  border-radius:15px;
  border:1px solid #001974;
  padding:20px;
  font-size:18px;
}

#projectForm .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
