@media screen and (max-device-width: 480px)
{
	/* mobiles*/

}

@font-face {
    font-family: "Lato";
    url(https://fonts.gstatic.com/s/lato/v14/S6uyw4BMUTPHjx4wXg.woff2) format('woff2'),
    font-style: normal;
    font-weight: 400;
}

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: normal;
  src: local('Lobster'), url('http://themes.googleusercontent.com/static/fonts/lobster/v4/NIaFDq6p6eLpSvtV2DTNDQLUuEpTyoUstqEm5AMlJo4.woff') format('woff');
}

.content {
    width: 100%;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #E0E0D1;
}

body {
    font-family: 'Lato';
    background-color: white;
}

p {
    font-family: 'Lato';
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-family: 'Lobster', cursive;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-align: center;
    color: white;
    border-radius: 5px;
    background-color: #E60068FF;
}

#services_intro h3 {
    font-family: 'Lato', sans-serif; /* pour garder la lisibilité */
    font-size: 2rem; /* plus grand que le texte normal */
    font-weight: 600; /* un peu plus gras */
    color: #007BFF; /* bleu pour rester dans la palette */
    margin-top: 0.5em;
    margin-bottom: 1em;
    text-align: center;
}

.active, .collapsible:hover
{
	background-color: #5BC0EB;
}

.collapsible:hover .more, .collapsible:hover .less {
  background-color: transparent;
  color: #fff;
  font-weight: bold;
}

.collapsible {
    background-color: #80DFFF;
    color: #fff;
    border-radius: 5px;
    padding: 1em;
    text-align: left;
    font-family: 'Lato', cursive;
    font-size: 1.3em;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    width: 90%;
    transition: background-color 0.3s;
}

.collapsible:hover {
    background-color: #5BC0EB;
}

.collapsible .offer {
    color: #fff;
    display: inline-block;
    width: 90%;
}

.collapsible {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 5px 2px;
}

.collapsible p {
  display: inline-block;
  font-size: 1.5em;
  font-family: 'Lato', cursive;
  width: 95%;
}

.highlight {
    color: #FFD700;
    font-weight: bold;
}

.offer-subtitle {
    font-size: 0.95em;
    margin-top: 0.3em;
    text-align: left;
}

.highlight-human {
  border: 3px solid #FFC107; /* liseré or */
  background-color: #FFF8E1; /* fond très clair or */
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.highlight-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #D88000; /* or un peu plus foncé pour le texte */
  margin-bottom: 0.5rem;
}

.highlight-description {
  font-size: 1.2rem;
  color: #555;
  margin-top: 0;
}

.full
{
	display: none;
	background-color: #F1F1F1FF;
}

.abstract
{
	display: block;
	margin: 2px 0px;
}

.abstract .task
{
	display: none;
}

.offer
{
	width: 95%;
	text-align: left;
}

.more {
    display: inline-block;
    vertical-align: top;
    float: right;
    width: 2em;
}

.less {
    display: none;
    vertical-align: top;
    float: right;
    width: 2em;
}

header h1{
    display: inline-block;
    margin-bottom: 0px;
}

.me {
    display: inline-block;
    margin: 5px 5px;
}

#mainTitle h1, #mainTitle h3, #mainTitle ul {
   margin: 0;
}

#mainTitle .subtitle {
    margin: 0.2em 0;
    font-size: 1.1em;
    color: #333;
    padding-left: 1em;
    text-align: left;
}

.photo {
    display: inline-block;
    vertical-align: middle;
    width: 70px;
}

.logo {
    height: 100px;
    width: 100px;
}

#mainTitle {
    display: inline-block;
    vertical-align: middle;
}

/* drop down */
.dropbtn {
    background-color: #E60068FF;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F7F7F7FF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a, button {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover, .dropdown-content button:hover {
    background-color: #F1F1F1FF;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #D80464FF;
}

.flag {
    vertical-align: middle;
    height: 16px;
}

header nav {
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    width: 60%;
}

nav ul {
    list-style-type: none;
}

header nav li {
    display: inline-block;
    margin-right: 15px;
}

header nav a {
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

header nav input {
    font-family: 'Lato';
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav input, .menu_nav input  {
    border: none;
    cursor: pointer;
    font-family: 'Lato';
    font-size: 1em;
    color: #3391ff;
    background: transparent;
    text-decoration: underline;
    padding: 0px;
}

nav a:hover {
    color: #760001;
    border-bottom: 3px solid #760001;
}

nav input:hover {
    color: #760001;
    border-bottom: 3px solid #760001;
}

* {
    box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
    /*max-width: 1000px;*/
    position: relative;
    margin: auto;
}

.slide-container, .customer-slide-container {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover, .inactive {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to  {opacity: 1}
}

.expertise, .col, .field {
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.row {
    text-align: center;
    word-wrap: normal;
}

.col {
    width: 24.5%;
}

/*
.form {
    display: flex;
    justify-content: space-between;
}*/

.achievement_col {
    display: inline-block;
    margin: 0px 10px 0px 10px;
    vertical-align: top;
    min-width: 45%;
}

div.card {
    display: inline-block;

    text-align: center;
    vertical-align: top;
}

.flex-card {
  flex: 1;
  align-items: stretch;
  white-space: nowrap;
}

.center {
  text-align: center;
  align-self: center;
}

#services_schema .flex-card + .flex-card::before {
  content: "→";
  font-size: 1.5em;
  margin: 0 10px;
  align-self: center;
}

.cell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.rounded {
  border-radius: 25px;
  border: 2px solid #80DFFF;
  margin: 5px;
  padding: 1em;
}

.half {
  flex: 1;
}

.wide {
  flex: 3 1;
}

.small {
  align-items: center;
  justify-content: center;
}

.image {
    position: relative;
    width: 100%;
}

.image_50 {
  position: relative;
  width: 50%;
}

a .image {
    width: 50%;
}

.subtitle {
    text-align: center;
}

.left {
    text-align: left;
}

footer nav li, .col {
    text-align: left;
}

footer {
    background-color: #E1E0D1;
}

.column {
    margin: 0px 20% 0px 20%;
    max-width: 80%;
}

.field, .contact_field {
    max-width: 50%;
}

.text_field {
    max-width: 100%;
}

.submit-button {
    display: inline-block;
    font-size: 15px;
    background-color: #D80464FF;
    color: #FFF;
    border-radius: 5px; 
    width: 200px;

    padding: 26px 18px;
    vertical-align: middle;
}

.placeholderRed {
    color: red;
}

.loader {
    display: none;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    animation: spin 2s linear infinite;

    vertical-align: middle;
}

.thanks {
    display: none;
    font-size: 15px;
    border-radius: 5px;
    background-color: #66FF33;
    padding: 26px 18px;
    color: black;
}

.displayable_content {
  display: none;
}

.inline {
  display: inline-block;
  width: 40%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-gray {
    color: gray;
}

.text-green {
    color: green;
}

.text-red {
    color: red;
}

.red {
    background-color: #FE0006;
}

.navigation_menu {
	display: block;
}

.menu_nav
{
	display: none;
	padding: 16px;
	color: #FFFFFF;
}

.menu_buttons
{
	display: inline-block;
}

.toggler
{
	display: none;
	width: 2.5rem;
	height: 2rem;
	padding: 0.5rem 0.2rem;
	font-size: 1.25rem;
	line-height: 1rem;
	margin: 1.5em 1.5em;
	background-color: #E0E1D1;
}

.toggler span
{
	display: block;
	position: relative;
	height: 3px;
	width: 50%;
	background: #E0E1D1;
	border-radius: 3px;
	opacity: 1;
	left: 25%;
	
}

.toggler .line
{
	background: #000000;
}

.text-key {
  font-weight: bold;
}

#services_cta button {
  display: inline-block;
  text-align: center;
  background-color: #D80464FF;
  color: white;
  font-size: 1.2em;
  padding: 20px 30px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

#services_cta button:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 15px rgba(216, 4, 100, 0.6);
}

#services_results .results-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;      /* Responsive sur mobile */
  gap: 2rem;
  margin-top: 2rem;
}

#services_results .result-card {
  text-align: center;
  min-width: 220px;
  padding: 2rem;
  border-radius: 10px;
  background: #f9f9f9;   /* léger fond pour mieux distinguer chaque carte */
}

#services_results .results-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

#services_results .result-card {
  text-align: center;
  min-width: 220px;
  padding: 2rem;
  border-radius: 10px;
  border: 3px solid #007BFF; /* liseré bleu */
  background: #f9f9f9;
  transition: transform 0.3s, box-shadow 0.3s;
}

#services_results .result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#services_results .big-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #007BFF; /* même bleu que le liseré */
}

#services_results .description {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#services_results .company_type {
  font-size: 0.9rem;
  color: #555;
}

#achievements {
    display: inline-block;
    width: 100%;
}

#achievements .projects {
     display: inline-block;
     vertical-align: top;
     width: 20%;
}

#achievements .projects .dropdown {
    display: block;
    width: 80%;
}

#achievements .projects .dropdown button{
   width: 80%;
   margin: auto;
}

#achievements .description {
    display: inline-block;
    width: 79%;
    overflow-y: scroll;
    height: 800px;
}

#achievements .splitter {
    display: flex;
    justify-content: center;
    font-weight: bold;
}

#achievements .splitter:before,
#achievements .splitter:after {
	content: "";
	flex: 1 1;
	border-bottom: 2px solid #000;
	margin: auto 10px auto 10px;
}

#achievements table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

#achievements td {
    border: 1px solid black;
    
}

#achievements .row {
    display: flex;
    justify-content: space-around; 
    word-wrap: normal;
}

#achievements .card {
   display: block;
   width: 40%;
   margin-left: auto;
   margin-right: auto;
}

#achievements .small {
    width: 25%;
}

# SECTION ÉNERGIE — à ajouter dans le CSS existant

/* Titre h3 générique (hors #services_intro déjà défini) */
#services_energie h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #007BFF;
    margin-top: 0.5em;
    margin-bottom: 1em;
    text-align: center;
}
 
/* Rangée de cartes situations */
#services_energie .results-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}
 
/* Cartes situations — style distinct des résultats chiffrés */
#services_energie .result-card {
    text-align: left;
    flex: 1;
    min-width: 220px;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #80DFFF;
    background: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}
 
#services_energie .result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
 
#services_energie .result-card .description {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    white-space: normal;
}
 
/* Lien inline dans le texte */
#services_energie a {
    color: #D80464FF;
    text-decoration: underline;
}
 
#services_energie a:hover {
    color: #760001;
}

@media (max-width: 1000px) {
.navigation_menu
	{
		display: none;
		position: absolute;
		top: 10%;
		right: 15%;
		background-color: #E60068FF;
	}
	
	.menu_buttons
	{
		display: block;
	}
	
	.menu_buttons .dropdown
	{
		display: block;
	}

	.toggler{
		display: inline-block;
	}
	
	#services_intro h3 {
        font-size: 1.5rem;           /* réduit pour tablettes */
    }

	header nav {
	    display: none;
	}

	.content
	{
	    display: block;
	    vertical-align: top;
	    width: 100%;
	}
		
	aside
	{
	    width: 100%;
	    height: 100%;
	}
		
	.icon
	{
	    font-size: 1em;
	}
		
	.info_asset .info
	{
	    width: 66%;
	}
		
	.info_asset .assets
	{
	    width: 33%;
	}
		
	.info, .assets
	{
	    display: inline-block;
	    width: 100%;
	}
		
	.asset_line
	{
	    display: inline-block;
	    width: 100%;
	}
		
	.tooltip .tooltiptext
	{
	    display: block;
	    top: -10vh;
	    left: 0;
	}
		
	.tooltip .tooltiptext_wide
	{
	    display: block;
	    top: -10vh;
	    left: 0;
	}
		
	.skill_line
	{
	    display: inline-block;
	    width: 33%;
	}
		
	#empty
	{
	    display: none;
	}
		
	.assets p, h3
	{
	    font-size: 1.5em;
	}
		
	.assets h3
	{
	    text-align: center;
	}
	
	.menu_nav
	{
		display: block;
	}
	
	#achievements .description {
	    height: 500px;
	}
	
	#achievements .card {
	    width: 100%
	}
	
	#achievements .small {
            width: 50%;
        }
	
	#achievements .row {
            display: block;
            word-wrap: normal;
        }
        
    #services_energie h3 {
        font-size: 1.4rem;
    }

}

@media screen and (max-width: 480px) {
    /* Tout ce qui doit changer sur les petits écrans */
    body {
        font-size: 14px; /* texte plus lisible sur petit écran */
    }

    header nav {
        display: none; /* cacher menu desktop */
    }
    
    #services_intro h3 {
        font-size: 1.2rem;           /* encore plus petit pour mobiles */
        line-height: 1.4;            /* améliore la lisibilité */
    }

    .toggler {
        display: inline-block; /* menu hamburger visible */
    }

    .flex-card {
        flex-direction: column;
        width: 100%; /* cartes empilées */
    }

    .cell {
        flex-direction: column;
    }

    #services_schema .flex-card + .flex-card::before {
        content: ""; /* enlever les flèches pour mobiles */
    }

    .collapsible p {
        font-size: 1.2em; /* texte plus petit pour rentrer dans l’écran */
    }

    /* Ajustements pour boutons et images */
    #services_cta button {
        width: 90%;
        font-size: 1em;
    }

    .image_50, a .image {
        width: 100%;
    }
    
    #services_energie h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
 
    #services_energie .results-row {
        flex-direction: column;
        gap: 1rem;
    }
 
    #services_energie .result-card {
        min-width: unset;
        width: 100%;
    }

}

