/* RESET complet */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background: #eeeeee;
  font-size: 0.9rem;
/*
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='210'%3E%3Ctext x='0' y='200' font-size='180' fill='%23dcdcdc' font-family='Georgia' opacity='0.18'%3E%CE%B5%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-attachment: fixed;
*/
}


@media (min-width: 1251px) {
  body {
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden; /* facultatif, évite scroll horizontal */
  }
}


em {
  color: #2a7ae2;
  font-style: italic;
}

.container {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-family: 'Lobster', cursive;
  color: #434343;
  font-size: 3rem;
  margin: 0;
}

/* NAVIGATION */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  margin-top: 10px;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* MAIN */
main {
  width: 100%;
  background: #f4f4f4;
}

section {
  width: 100%;
  padding: 20px;
  background: f4f4f4;
  border-bottom: 0px solid #ccc;
}


/* FOOTER */


footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  position: relative;
}

.footer-email {
  margin-bottom: 10px;
}

.email-link {
  color: #ffd700;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.email-link span {
  background: white;
  color: #333;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.email-link:hover {
  color: #ff9800;
  transform: scale(1.05);
}

.email-link:hover span {
  background: #ff9800;
  color: white;
}



/* Responsive NAV */
@media (max-width: 1248px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }
}

/* Logo */
.logo {
  display: block;
  margin: 0 auto;
  height: auto;
  width: 60%;
  max-width: 100%;
}

@media screen and (min-width: 1248px) {
  .logo {
    width: auto;
    max-width: none;
  }
}

/* Image pleine largeur */
.image-container {
  width: 100%;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: transparent;
  margin-bottom: 2rem;
}

/* Image fade-in */
.fade-image {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media screen and (min-width: 1248px) {
  .fade-image {
    width: 70%;
  }
}

.fade-image.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Tailles fixes en pixels === */
.img-200px { width: 200px !important; }
.img-300px { width: 300px !important; }
.img-400px { width: 400px !important; }
.img-500px { width: 500px !important; }
.img-600px { width: 600px !important; }
.img-700px { width: 700px !important; }

/* Caption container */
.caption-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Orientations */
.caption-right {
  flex-direction: row;
}

.caption-left {
  flex-direction: row-reverse;
}

.caption-bottom {
  flex-direction: column;
  align-items: center;
  margin-top: 0 !important;
}

/* Image dans caption */
.caption-container picture {
  flex: 1 1 50%;
  max-width: 50%;
  flex-shrink: 0;
}

.caption-container img.fade-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Bloc texte */
.photo-caption {
  flex: 1 1 47%;
  max-width: 47%;
  background-color: f4f4f4;
  border-left: 3px solid red;
  border-radius: 0px;
  padding: 1.5rem;
  box-shadow: 0 0 0px rgba(0,0,0,0.1);
  
  line-height: 1.6;
  color: #333;
}

/* Caption-bottom spécifique : texte plus large */
.caption-bottom .photo-caption {
	width: 100% !important;
  max-width: 100% !important;
}

/* Responsive global */
@media (max-width: 1247px) {
  .caption-container {
    flex-direction: column !important;
    align-items: center;
    gap: 0;
  }

  .caption-container picture,
  .photo-caption {
    max-width: 100%;
    flex: 1 1 100%;
	width: 100%;
  }

  .caption-bottom .photo-caption {
    width: 100%;
    margin-top: 0;
  }
}






.tag-container {
  display: flex;
  flex-direction: column; /* empile verticalement */
  gap: 0.5rem;
  align-items: flex-start; /* alignement à gauche */
  margin-left: 20px; /* marge gauche */
  margin-top: 1rem;
}

.tag {
  background-color: #fff;
  border-left: 4px solid red; /* liseret rouge */
  border: 1px solid #ccc; /* bordure grise 1px */
  border-left-width: 4px; /* garde le liseret rouge plus épais */
  border-left-style: solid;
  border-left-color: red;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;

  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-family: 'Roboto', sans-serif;
  white-space: nowrap;
  width: fit-content;
}


.image-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex: 1 1 50%;
  max-width: 50%;
}
.image-group picture {
  flex: 1 1 50%;
}



.handwritten {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  padding: 0rem 1rem 0rem 1rem;
}


.etiquette {
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
	font-weight: bold;
  } 
.rouge {
    background-color: #ff0000;
  }
.verte {
    background-color: #009900;
  }
.grise {
    background-color: #888888;
  }
  
 .gras-rouge {
    font-size: 1.1rem;
	font-weight: bold;
    color: red;
 }
  
 .italique-grand {
    font-size: 1rem;
	font-style: italic;
 }

  
  .tech-section {
  font-size: 0.9rem;
  padding: 60px 20px;
  max-width: 1250px;
  margin: auto;
}

.tech-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.tech-block {
  line-height: 1.5;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tech-block h3 {
  color: #006699;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.tech-block p, .tech-block li {
  color: #333;
  line-height: 1.5;
}

.tech-block ul {
  padding-left: 20px;
  margin: 0;
}

.tech-block ul li {
  margin-bottom: 6px;
}

.commercial-section {
  background: #f9fbfd;
  border-left: 3px solid #2a7ae2;
  border-radius: 0px;
  padding: 28px 24px;
  margin: 40px auto;
  max-width: 680px;
  box-shadow: 0 4px 12px rgba(42, 122, 226, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a3a6d;
  text-align: center;
}

.commercial-section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #1a3a6d;
}

.commercial-section div {
  text-align:left;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  margin: 12px 0;
}

.commercial-section p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  margin: 12px 0;
}

.commercial-section p strong {
  color: #2a7ae2;
  font-weight: 600;
}

.contact-link {
  color: #2a7ae2;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
  color: #005fcc;
  text-decoration: underline;
  outline: none;
}


.experience-line {
  font-family: 'Roboto', sans-serif; /* Ou la police utilisée dans vos autres paragraphes */
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #89bce6; /* Bleu subtil */
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  margin: 0 0 1.5em 0; /* identique à vos autres paragraphes */
}


.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.language-switcher a img {
  width: 28px;
  height: auto;
  transition: transform 0.2s ease;
  border-radius: 3px;
}

.language-switcher a:hover img {
  transform: scale(1.15);
}

/* Taille réduite de 30% sur mobile */
@media (max-width: 1248px) {
  .language-switcher a img {
    width: 19.6px; /* 28px * 0.7 */
  }
}







.table-container {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  overflow-x: auto;
  border: 1px solid #e0e0e0;
}

/* Tableau global */
table.visitor-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Roboto', sans-serif;
  border-radius: 12px;
  overflow: hidden;
}

/* En-têtes */
table.visitor-table th {
  background-color: #2a7ae2;
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #d0d8e0;
}

/* Lignes normales */
table.visitor-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

/* Alternance (zebra striping) */
table.visitor-table tr:nth-child(even) td {
  background-color: #f9fbfd;
}

/* Effet au survol */
table.visitor-table tr:hover td {
  background-color: #eef3fa;
}

/* Ligne de date */
.date-row td {
  background-color: #dceeff;
  font-weight: bold;
  color: #1a3a6d;
  font-size: 1rem;
  padding: 14px 10px;
  border-top: 2px solid #b8dcff;
  border-bottom: 2px solid #b8dcff;
}

/* Premier .date-row : arrondi haut */
table.visitor-table .date-row:first-of-type td {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}





