@charset "utf-8";
/* CSS Document */
/* Ordre des données : Top Right Bottom Left */

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

/* Active le défilement fluide pour toute la page */
html {
	scroll-behavior: smooth; 
}

/* classe pour le bouton retour haut de page */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: #333;
	color: rgb(150, 150, 150);
	text-align: center;
	line-height: 46px; /* Centre la flèche verticalement */
	font-size: 48px;
	text-decoration: none;
	border-radius: 50px; /* Rend le bouton parfaitement rond */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 1000; /* S'assure que le bouton passe par-dessus le contenu */
}

/* Effet au survol de la souris */
.scroll-to-top:hover {
	background-color: #1e1e24;
	transform: translateY(-4px); /* Petit effet de saut */
}
  
/* MISE EN PAGE GÉNÉRALE */
/* CONTENEURS GENERAUX */
body {
	min-height: 100vh; 
	background-color: #414141;
	background-image: url("../visuel/technique/les_Pyrenees.webp");
    font: 400 13.5px/1.5 'League Spartan', sans-serif !important;
	background-position: center center; 
	background-repeat: no-repeat; 
	background-size: contain; 
	text-align: left;
	width: 100vw;
	max-width: 100%; 
	overflow-x: hidden; 
}

/* Classe pour le conteneur général */
div.contenu {
	background-color: transparent;
	color: rgb(160, 160, 160);
	position: absolute;
	top: 0vw;
	width: 100vw;
	height: 100vh;
	margin: 0vw;
	overflow: auto;
	justify-content: center;
	align-items: center;
	z-index: 0;
}

/* Classe des balises <div> contenant les listes de sous-dossiers dans les pages de contenu et des balises <div> contenant les textes */
div.listedessousdossiers, div.texte {
	width: 90vw;
	margin: 0 auto;
	overflow: auto;
	background-color: #333;
	padding: 1vw;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
	border-top: solid black 1px;
	border-left: solid black 1px;
}
 /* Particularités des balises <div> contenant les listes de sous-dossiers dans les pages de contenu */
div.listedessousdossiers {	
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

 /* Particularités des balises <div> contenant les textes */
div.texte {
	text-align: justify;
	align-items: center;
}

/* Alignement au milieu du premier bloc inséré dans un <div> de texte */
div.texte :first-child {
	align-self: center;
}

/* Classe pour les titre de chapitre <h3> */
h3 {
	border-bottom: 2px solid goldenrod;
	margin-bottom: 15px;
}

/* Classe pour la <div> pop up de présentation du travail */
div.texte_page_de_garde {
	position: absolute;
	bottom: 0vh;
	left: auto;
	width: 100vw;
	margin: auto;
	overflow: auto;
	background-color: #333;
	text-align: justify;
	padding: 1vw;
	z-index: 5;
	opacity: 0.9;
	visibility: hidden;
}

/* Classe spéciale pour la signature de la page d'accueil et le copyright (signature) des photos */
.signature {
	width: 8vw;
}

img.copyright {
	position: absolute;
	z-index: 5;
	bottom: 20px;
	right: 15px;
	width: 8vw;
}

/* Classe pour la balise <div> contenant l'image de la page d'accueil */
div.cadrephoto {
	display: flex;
	justify-content: center;
	align-items: center;
	background: none;
	font-family: Arial, sans-serif;
	font-size: clamp(1rem, 2.5vw, 2rem);
}

/* Classe pour les images de fioriture */
.fioriture {
  width: clamp(20px, 10vw, 80px); 
  height: auto; 
}

/* Classe pour la balise <img> de la page d'accueil général */
img.photopagedegarde {
	background: none;
	margin: 0px auto auto auto;
	cursor: url("../visuel/technique/canon_eos_r7.gif"), auto;
	width: clamp(60px, 40vw, 600px); 
	height: auto;
}

/* Classe pour la balise <img> de la page d'accueil photo et Technique */
img.photopagedaccueil {
	background: none;
	margin: 0px auto auto auto;
	cursor: url("../visuel/technique/canon_eos_r7.gif"), auto;
	width: clamp(60px, 20vw, 400px); 
	height: auto;
}

/* Classe pour la balise <div> contenant le titre du chapitre de page */
div.titre_chapitre {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: Arial, sans-serif;
	font-size: clamp(1rem, 2.5vw, 2rem);
}

/* Classe pour les mots en évidence */
b.waouh {
	color: goldenrod;
}

a {
	color: rgb(180, 180, 160);
	font-family: Arial, sans-serif;
}

a:hover {
	color: goldenrod;
}

div.liste_choix {
	width: auto;
	margin-right: 3vw;
}

/* Classe des balises <div> contenant les <img> vignettes */
div.vignettesdesimages {
	display: flex;
	width: 99vw;
	margin: 0 auto;
	height: 450px;
	align-items: center;
	vertical-align: middle;
	overflow-y: hidden;
	overflow-x: scroll;
	scrollbar-color: #666 #AAA;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
	background-image: url("../visuel/technique/pellicule.png");
	background-size: auto 435px;
	background-position: top;
	background-repeat: repeat-x;
	background-color: #333;
	padding: 10px 10px 10px 15px;
}

img.vignette {
	max-width: 450px;
	max-height: 300px;
	background: rgb(0, 0, 0);
	/*border: 1px white solid;*/
	padding: 0px;
	margin: 5px 5px 15px 5px;
	transition: transform .5s;
	cursor: pointer;
	pointer-events: auto;
}

img.vignette:hover {
	transform: scale(1.2);
}

div.blocAgrandissement {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #222;
	padding: 0px;
	z-index: 5;
}

#image_agrandie {
	border: 3px solid black;
	min-height: 150px;
	min-width: 150px;
	max-height: 95vh;
	max-width: 90vw;
    cursor: pointer;
    /* On active la transition sur l'opacité */
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* Cette classe sera ajoutée temporairement en JS pour masquer l'image */
#image_agrandie.fondu-cache {
    opacity: 0;
}

.boutonFermeture {
	position: absolute;
	z-index: 0;
	font-family: 'Times New Roman', Times, serif;
	color: white;
	top: 10px;
	right: 15px;
	font-size: 35px;
	cursor: pointer;
}
/*
.signature_bas_de_page {
	visibility: visible;
}*/

/* ==========================================================================
   NAVIGATION DES IMAGES AGRANDIES (FLÈCHES ET INFOS)
   ========================================================================== */

.fleche_de_direction {
    position: fixed;
    bottom: 20px;       
	max-width: 50%;
	margin: 0 auto;
    display: flex;
    justify-content: center;
    z-index: 10;        
    pointer-events: none; 
    align-items: center;
    background-color: rgba(45, 45, 45, 0.85); 
    backdrop-filter: blur(5px);               
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;                       
    padding: 6px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
	color: #777777;
}

.bouton-nav, .bouton-infos-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFF;
    transition: color 0.2s, background-color 0.2s;
    user-select: none;
    touch-action: manipulation; 
}

.bouton-nav {
    padding: 8px;
    border-radius: 50%;
}

.bouton-nav:hover {
    color: goldenrod;
    background-color: rgba(255, 255, 255, 0.1);
}

.mon-icone {
  fill: goldenrod;       
  stroke: goldenrod;      
  stroke-width: 2px;     
}

.mon-i {
	color: goldenrod;
	font-family: courier, monospace;
	font-weight: bold;
	font-size: 150%;
}

div.infos_techniques {
	position: absolute;
	top: 0px;
	width: 400px;
	height: 100%;
	visibility: hidden;
	background-color: rgb(80, 80, 80);
	color: black;
	line-height: 1.5; 
	opacity: 0.9;
	padding: 10px;
	z-index: 6;
}

div.legende {
	font-family: courier, monospace;
	font-weight: bold;
	font-size: 80%;
	color: #000;
}

div.designation {
	font-family: courier, monospace;
	color: white;
	font-size: 80%;
}

div.exif {
	font-family: courier, monospace;
	color: goldenrod;
	font-size: 80%;
}

div.exif br {
	line-height: 0.5;
}

.titre_photo {
	text-align: center;
	font-family: Arial, sans-serif;
	color: goldenrod;
	font-size: 100%;
}

/* TABLEAUX POUR LA PAGE MATÉRIEL */
h1 {
	color: white;
}
table {
	width: 100%;
	color: rgb(128, 128, 128);
}

td {
	padding: 10px;
	border: solid black 1px;
}

td.materiel {
	color: rgb(128, 128, 128);
	width: 40%;
	vertical-align: middle;
	padding: 10px;
}

td.description {
	color: rgb(128, 128, 128);
	width: 60%;
	vertical-align: middle;
	padding: 10px;
}

td.description img {
	box-shadow: 5px 5px 5px 1px #000;
}

td.description a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

td.description a:hover {
	color: goldenrod;
	border-bottom: 2px solid gold;
}

td.illustration img {
	box-shadow: 5px 5px 5px 1px #000;
}

/* Boîtes de saisie contact */
input,
input[type="text"],
input[type="email"],
textarea,
button.joliboitedesaisie {
	padding: 3px;
	width: 500px;
	font-size: 110%;
}

input[type="submit"] {
	background-color: gray;
	color: goldenrod;
}

footer {
	position: fixed;
	bottom: 0px;
	z-index: 7;
	background-color: #EEE;
	color: black;
	text-align: center;
	width: 100%;
	padding: 5px 3px 3px 3px;
	margin: 10px auto auto auto;
	opacity: 0.3;
}

footer:hover {
	opacity: 1;
}

/* --- Pop-up Modale --- */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
}

.modal-content {
  background-color: #333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,1);
  max-width: 450px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
  margin-top: 0;
  color: #666;
}

.modal-content p {
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
}

.modal-buttons {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.2s;
  flex: 1;
}

.btn-primary {
  background-color: white;
  color: #333;
}

.btn-primary:hover {
  background-color: goldenrod;
}

.btn-secondary {
  background-color: white;
  color: #333;
}

.btn-secondary:hover {
  background-color: goldenrod;
}

#fermer-exif-mobile {
display: block !important;
border-radius: 10px;
color: goldenrod !important;
font-weight: bold;
cursor: pointer;
z-index: 10000 !important;
border: solid white 1px;
padding: 2px;
text-align: center;
background-color: #333;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
CLASSES POUR LE MENU DÉROULANT VERTICAL (EFFET ACCORDÉON AU CLIC)
========================================================================== */
.case-menu-invisible {
display: none;
}
.bouton-declencheur-menu {
display: block;
width: 100vw;
background-color: #333;
color: goldenrod;
padding: 15px 0;
font-family: Arial, sans-serif;
font-size: 110%;
font-weight: bold;
text-align: center;
cursor: pointer;
border-bottom: 2px solid goldenrod;
user-select: none;
}
.bouton-declencheur-menu:hover {
color: goldenrod;
}
nav {
display: block;
width: 100vw;
max-height: 0px;
overflow: hidden;
opacity: 0;
background-color: #333;
font: small-caps 90%/1.0 Tahoma, Geneva, sans-serif;
transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
}
.case-menu-invisible:checked + nav {
max-height: 300px;
opacity: 1;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
}
nav li {
float: none;
width: 100%;
text-align: center;
}
nav a {
display: block;
color: rgb(170, 170, 170);
border-bottom: 1px solid #444;
padding: 12px 15px;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
color: goldenrod;
background-color: #414141;
}
/* --- CONFIGURATION DES MODULES DE CALCULS TECHNIQUES (PC) --- */
input[type="range"] {
accent-color: goldenrod;
}
.pdc-svg-container {
width: 100%;
max-width: 600px;
margin: 20px auto;
background: #1a1a1a;
border-radius: 8px;
padding: 10px;
}
svg text {
font-family: sans-serif;
font-size: 11px;
fill: #ffffff;
}
.diaph-container,
.pdc-container,
.angle-container,
.module-container {
	width: 50%;
	max-width: 50%;
	margin: 0 auto;
	font-family: sans-serif;
	background: #222;
	color: #fff;
	padding: 15px;
	border-radius: 8px;
}
.diaph-controls, .pdc-controls, .angle-controls {
	margin-bottom: 15px;
}
.diaph-control-group, .pdc-control-group, .angle-control-group {
	margin-bottom: 12px;
}
.diaph-control-group label, .angle-control-group label {
	display: inline-block;
	width: 140px;
	font-weight: bold;
}
.pdc-control-group label {
	display: inline-block;
	width: 180px;
	font-weight: bold;
}
.diaph-container input[type="range"],
.pdc-container input[type="range"],
.angle-container input[type="range"] {
	accent-color: goldenrod;
	width: 200px;
	vertical-align: middle;
}
.pdc-container select, .angle-container select {
	padding: 4px;
	background: #333;
	color: #fff;
	border: 1px solid #555;
	border-radius: 4px;
	width: 200px;
}
.diaph-val, .pdc-val, .angle-val {
	display: inline-block;
	width: 60px;
	text-align: right;
	font-weight: bold;
	color: goldenrod;
	margin-left: 10px;
}
.diaph-svg-box, .pdc-svg-box, .angle-svg-box {
	width: 100%;
	background: #1a1a1a;
	border-radius: 6px;
	padding: 5px;
	box-sizing: border-box;
}
.diaph-resultats, .pdc-resultats, .angle-resultats {
	margin-top: 15px;
	font-size: 14px;
	line-height: 1.5;
	border-top: 1px solid #444;
	padding-top: 10px;
}

.diaph-resultats strong, .pdc-resultats strong, .angle-resultats strong {
	color: goldenrod;
}
/* Animations et éléments graphiques avancés */
#photo-overlay {
	transition: fill 0.2s ease, opacity 0.2s ease;
}
.container {
	background: #333;
	padding: 24px;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	width: 90vw;
	max-width: 850px;
}
.title { font-size: 24px; font-weight: bold; fill: #ffffff; text-anchor: middle; }
.subtitle { font-size: 13px; fill: #ffffff; text-anchor: middle; }
.section-title { font-size: 14px; font-weight: bold; fill: #ffffff; text-anchor: middle; }
.param-title { font-size: 16px; font-weight: bold; fill: #ffffff; text-anchor: middle; }
.effect-text { font-size: 11px; fill: #ffffff; text-anchor: middle; font-style: italic; }
.value-display { font-family: monospace; font-size: 16px; font-weight: bold; fill: #ffffff; text-anchor: middle; }
.track { stroke: #cbd5e1; stroke-width: 8; stroke-linecap: round; }
.track-fill { stroke-linecap: round; stroke-width: 8; }
.slider-handle { stroke: #ffffff; stroke-width: 3; cursor: grab; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); }
.slider-handle:active { cursor: grabbing; filter: brightness(0.9); }
.meter-bg { stroke: #e2e8f0; stroke-width: 12; stroke-linecap: round; }
.meter-fill { stroke-linecap: round; stroke-width: 12; transition: stroke 0.2s ease, stroke-dasharray 0.1s linear; }
.meter-center { stroke: #0f172a; stroke-width: 3; }

/* Propriétés communes aux deux blocs */
div.designation_2, 
div.exif_2 {
	font-family: courier, monospace;
	font-size: 120%;
}

/* Propriétés spécifiques */
div.designation_2 {
	color: white;
}

div.exif_2 {
	color: goldenrod;
}

/* REGLES CONSOLE EXPOSITION */
#expoConsole text {
	fill: #ffffff !important;
}
#expoConsole .title {
	fill: #ffffff !important;
}
#expoConsole .section-title {
	fill: #ffffff !important;
}
#expoConsole .param-title {
	fill: goldenrod !important;
}
#expoConsole .value-display, #expoConsole .effect-text {
	fill: #ffffff !important;
}
#expoConsole rect[fill="#ffffff"] {
	fill: #333333 !important;
}

/* ==========================================================================
CODE SPÉCIFIQUE SMARTPHONE (TOUJOURS EN TOUT DERNIER DU FICHIER)
========================================================================== */
@media screen and (max-width: 768px) {
	#menu, .menu, nav {
		position: static !important;
		float: none !important;
		width: 100% !important;
		margin: 0 auto 20px auto !important;
		padding: 10px 0 !important;
		text-align: center !important;
	}
	#menu ul, nav ul {
		display: block !important;
		padding: 0 !important;
		margin: 0 !important;
		list-style: none !important;
	}
	#menu li, nav li {
		display: inline-block !important;
		margin: 5px 8px !important;
	}
	#menu a, nav a {
		display: inline-block;
		padding: 6px 12px;
		font-size: 14px !important;
		text-decoration: none;
	}
	#image_agrandie, #main, .corps {
		margin-left: 0 !important;
		margin-right: 0 !important;
		float: none !important;
		width: 100% !important;
		/*padding: 10px !important;*/
		/*box-sizing: border-box !important;*/
	}
	div.vignettesdesimages {
		height: 180px;
		background-size: auto 165px;
	}
	img.vignette {
		max-width: 150px;
		max-height: 115px;
	}
	.bouton-nav {
		font-size: 26px !important;
		padding: 12px 20px !important;
		display: inline-block !important;
		touch-action: manipulation;
	}
	.bouton-infos-mobile {
		display: inline-block !important;
		padding: 12px 18px !important;
		font-size: 16px !important;
		background-color: #222 !important;
		color: #fff !important;
		border-radius: 4px;
		margin: 0 10px !important;
		cursor: pointer;
		touch-action: manipulation;
	}
	div.blocAgrandissement {
		height: 95%;
	}
	#tableau_exif, .info_techniques {
		position: absolute !important;
		top: 10% !important;
		left: 5% !important;
		width: 90% !important;
		max-width: 90% !important;
		box-sizing: border-box;
		padding: 35px 15px 15px 15px !important;
		background: rgba(15, 15, 15, 0.95) !important;
		border: 1px solid #444 !important;
		border-radius: 8px;
		z-index: 9999 !important;
		box-shadow: 0px 4px 15px rgba(0,0,0,0.5);
		cursor: pointer;
	}
	.fleche_de_direction {
		padding: 3px;
	}
	.bouton-declencheur-menu {
		width: 100% !important;
	}
	nav {
		width: 100% !important;
		position: static !important;
	}
	nav li {
		text-align: center !important;
	}

	/* Force les conteneurs à s'élargir UNIQUEMENT sur mobile */
	.module-container,
	.angle-container,
	.pdc-container,
	.diaph-container {
		width: 90% !important;
		max-width: 100% !important;
	}
}