:root {
	--couleur-fond1:#F5F5F5;
	--couleur-police1:#666;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Nunito';
  scroll-behavior: smooth;
  height: 100%;
  background:var(--couleur-fond1);
  color:var(--couleur-police1);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}


.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-top: 70px;
  padding: 2rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.not-found-container {
  text-align: center;
  padding: 4rem 1rem;
}

.not-found-container h1 {
  font-size: 6rem;
  color: var(--couleur-404);
}

.not-found-container p {
  font-size: 1.25rem;
  color: var(--couleur-texte-404);
}

.no-underline {
	text-decoration: none;
	color:inherit;
}

.stt {
  display: flex;
  align-items: right;
  justify-content: right;
}

.solution-card {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px;
}

.solution-card img {
  width: 32px;
  height: auto;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #003577;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background-color 0.3s, transform 0.3s;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-to-top i {
  color: white;
}

.hover-underline {
  position: relative;
  display: inline-block;
}

.hover-underline:after {
    background-color: currentcolor;
    bottom: -1px;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s cubic-bezier(0,0,0,0),visibility 0s .4s;
    visibility: hidden;
    z-index: 1
}

.hover-underline:hover:after {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform .4s cubic-bezier(0,.01,0,1);
    visibility: visible
}

.cta {
  background: #003577;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  margin-right:10px;
}

.cta:hover {
  background: #005bb5;
  transform: scale(1.05);
  opacity: 0.9;
}

.carousel-container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0.5rem;
  scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar { display: none; }

.brand-carousel {
  padding: 20px 0;
  text-align: center;
  border-radius:10px;
  margin-top: clamp(-5rem, -20vw, -4rem);
}

.brand-card {
  flex: 0 0 auto;
  width: 205px;
  height: 275px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
   flex-direction: column; 
  gap: 0.75rem;
  min-width: 200px;
  max-width: 350px;
}

.brand-card img {
  width: 115px;
  height: 115px;
  object-fit: contain;
}

.brand-name {
  font-weight: 500;
  font-size: 1.1rem;
  flex: 1;
  word-break: break-word;
  text-align: center;
}

.carousel-wrapper.without-arrows {
  position: relative;
  padding-bottom: 25px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #003577;
  outline: none;
  cursor: pointer;
  padding:0;
}

.carousel-dot.active {
  background: white;
  box-shadow: 0 0 0 2px rgba(13, 61, 87, 0.75);
}

.carousel-dot-nverse.active {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(13, 61, 87, 0.25);
}

.brand-description {
  flex: 1;                     
  display: grid;
  place-items: center;
}

.brand-description-inner {
  line-height: 1.35;
  color: #555;
  width: 100%;
}

.brand-footer {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--couleur-police1);
  display: flex;
  justify-content: center;
  gap: .5rem;
  color:#555;
}

.hero {
  margin-top:-50px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
	font-size: clamp(1rem, 3vw + 1rem, 5rem);
	color:#003577;
	margin-bottom:-15px;
}

.hero-Solution {
	font-size: clamp(0.5rem, 2vw + 1rem, 3rem);
	color:#003577;
	margin-bottom:-15px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  justify-self: end;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius:10px;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, black 50%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  
  mask-image: linear-gradient(to right, transparent 0%, black 50%, black 50%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.epic-text-column {
  flex: 1 1 55%;
}

.epic-cards {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.epic-card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.epic-transparent {
	background:transparent;
	box-shadow: 0 2px 10px rgba(0,0,0,0.0);
	justify-content:center;
}

.epic-marge {
	margin-top:55px;
}

.epic h2 {
  margin: 0rem;
  font-size: 1.5rem;
  color:#003577;
  text-decoration: underline;
}

.epic-card p {
  font-size: 1rem;
}

.epic-footer {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items:center;
}

.stat {
  flex: 1 1 45%;
  text-align:center;
}

.stat span {
	color:#003577;
	font-weight:bold;
	font-size:1.5rem;
}

.footer {
  background-color: white;
  color: inherit;
  padding: 25px 0;
  border-top: 1px solid #ddd;
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: inherit;
  font-size: 0.9rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.blog-post {
	margin-top:10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: inherit;
  text-align: center;
  height: 275px;
    max-width:220px;
}

.blog-post img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.blog-post a {
  display: inline-block;
  border-radius: 5px;
  margin-top: auto;
  align-self: center;
  width: auto;
  color:inherit;
}

.blog-post h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-grid2 {
display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.blog-post2 {
	margin-top:10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: inherit;
  text-align: center;
  height: 275px;
  max-width:275px;
}

.Solutions h1 {
	color:#003577;
	font-size:2rem;
}

.Solutions ul {
	margin-bottom:0px;
	margin-top:0px;
}

.quote-block {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  color: inherit;
  font-style:italic;
}

.quote-block li {
  list-style: none;
}

.content-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: -50px auto;
  flex-wrap: wrap;
}

.content-block h3 {
	margin-bottom:-15px;
}

.content-block .nolock {
	margin:0px;
}


.content-block.reverse {
  flex-direction: row-reverse;
}

.content-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
}

.content-text {
  flex: 1;
  min-width: 300px;
}

.quote-block p {
	margin-bottom:-15px;
}

.nous-connaitre h1 {
	font-size: clamp(1rem, 3vw + 1rem, 5rem);
	color:#003577;
	margin-bottom:-15px;
}

.nous-connaitre .section {
  margin-bottom: 3rem;
}

.nous-connaitre .section ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

.nous-connaitre .section p,
.nous-connaitre .section ul,
.nous-connaitre .section li {
  text-align: justify;
}

.simulateurs {
  font-family: Arial, sans-serif;
  margin: 20px auto;
  max-width: 600px;
}

.onglets {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.onglets button {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
}

.resAlert {
	border:2px black solid;
	background:red;
	color:white;
	font-weight:bold;
	padding:5px;
	text-align:center;
}
.onglets button.actif {
  background: #004080;
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.simulateurs button[type="submit"] {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.simulateurs .info {
	border:1px #666 solid;
	background:rgba(255, 255, 192, 1);
	color:inherit;
	padding:5px;
	text-align:center;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #0d3d57;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeInOut 0.5s ease-in-out;
  z-index: 1000;
  font-size: 0.95rem;
}

@keyframes fadeInOut {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

form.loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 768px) {
  .content-block,
  .content-block.reverse {
    flex-direction: column;
  }
.quote-block p {
  }
}

.decor-block {
  position: relative;
  background-repeat: no-repeat;
  background-size: 300px auto;
}

.bg-left   { background-position: left center; }
.bg-right  { background-position: right center; }
.bg-top    { background-position: center top; }
.bg-bottom { background-position: center bottom; }

@media (max-width: 768px) {
  .decor-block {
    background-image: none;
  }
}

.centre{
	text-align:center;
}

@media (max-width: 768px) {
	.hero-image img {
		display:none;
	}

	.brand-carousel {
		margin-top:-50px;
	}

	.hero-text {
		text-align:center;
	}
	.hero {
		grid-template-columns: 1fr 0fr;
		align-items: center;
		position: relative;
	}
	.epic-marge {
		margin-top:0px;
	}

}
@media (max-width: 1155px) {
	.carousel-container {
  justify-content: left;
}
}


    .header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; 
  background: white;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header {
  max-width: 1200px; 
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-right {
	margin-top:0px;;
	margin-right:10px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 1rem;
  margin-left:10px;
}

.site-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color:#003577;
}

.site-name {
  font-size: 1.2rem;
  margin: 0;
  color:#003577;
}

.site-tagline {
  font-size: 0.7rem;
  font-style:italic;
  color: #003577;
  margin: 0;
}

.nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1rem;
}

.nav ul li {
  position: relative;
}

.menu-button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color:var(--couleur-police1);
}

.burger {
  display: none;
  position: relative;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right:10px;
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 11px;
}
.burger span:nth-child(3) {
  bottom: 0;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.submenu li {
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding:0px 0px 0px 20px;
  list-style: none;
}

.submenu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header a {
  color: inherit;
}

.header-actions {
  display: flex;
  align-items: center;
}

.icon-diagnostic {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #0073e6;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.icon-diagnostic:hover {
  transform: scale(1.2);
  color: #005bb5;
  opacity: 0.9;
}

.icon-diagnostic img {
  width: 32px;
  height: 32px;
  display: block;
  margin-right:4px;
}

.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}

.header hr {
	width:100%;
	margin: -10px 0;  
	color:inherit;
}

@media (max-width: 915px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 250px;
    border-left: 1px solid #ddd;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
  }

  .burger {
    display: flex;
  }
  
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: inline-block;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  box-sizing: border-box;
}

.modal {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-in-out;
}


.modal h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.modal label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 500;
}

.modal input,
.modal select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0rem;
  margin-bottom: 0.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: white;
  appearance: none;
}

.modal select {
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
  cursor: pointer;
}

.confirmation {
  text-align: center;
}

@media (max-width: 480px) {
  .modal {
    padding: 1.2rem;
  }

  .modal h2 {
    font-size: 1.25rem;
  }

  .modal input {
    font-size: 0.95rem;
  }

  .modal button {
    font-size: 0.95rem;
  }
}
@media (max-height: 600px) {
  .modal {
    max-height: 90vh;
    overflow-y: auto;
  }
}

.select-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.select-row select {
  flex: 1;
}

.modal form button[type="submit"] {
	margin-top:10px;
  align-self: center;
}