body
{
	background-color: #9C4E6F;
	font-family: 'Source Sans 3', Arial, sans-serif;
    width: auto;
    margin: auto;
}



nav a
{
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-weight:normal;
    text-transform: uppercase;
    text-align: center;
    text-decoration:none;
}


header
{
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: #394f5e;
    height: 70px;
    width: auto;
    border-radius:15px;
    margin-top:2%;
    margin-left:1%;
    margin-right:1%;
    text-decoration:none;
    

}

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
	font-family: 'Source Sans 3', Arial, sans-serif;
	position: relative;
    width: 235px;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    margin-left:79%;
    margin-top:-31%;
    margin-bottom:2%;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article p
{
    font-size: 0.8em;
}

aside
{
	font-family: 'Source Sans 3', Arial, sans-serif;
    position: relative;
    width: 235px;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.8em;
    margin-left:1%;
    margin-top:2%;
    margin-bottom:2%;
}


footer
{
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: #394f5e;
    height: 20px;
    width: auto;
    border-radius:15px;
    margin-top:1%;
    margin-left:1%;
    margin-right:1%;
    margin-bottom:2%;
    font-weight:normal;
    text-align: center;
    text-decoration:none;
    padding:5px;
}

#menu { margin-top:-65px;}
			
			/* État par défaut */
			#menu ul {  padding:0; list-style:none; text-align:center; font-size:1em; letter-spacing:-2px; }
			#menu li { display:inline-block; position:relative; z-index:10; }
			#menu li li { display:block; }
			#menu a { 
				display:block; 
				width:150px; 
				height:40px; 
				font-size:12px; 
				letter-spacing:normal; 
				line-height:40px; 
				color:#fff; 
				background: #394f5e; }
				
			/*#menu .sous-menu { background:#2ab2df url("puce.png") no-repeat 95% center }*/
			#menu li ul { display:none; position:absolute; }
			
			/* Survol d'un lien racine */
			#menu a:hover, #menu li:hover > a { color: #2ab2df; background: #fff; }
			#menu li:hover > ul { display:block; }
			
			/* Survol d'un lien de sous-menu */
			#menu li li:hover > ul { left: 150px; top: 0; }
			


 

#center2
{
	font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: normal;
    margin-left: 23%;
    width:550px;
}

#center3
{
	font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: normal;
  	width:550px;
    margin:auto;
    margin-top:5%;
    text-align:center;
}


/* Accueil : styles isolés pour permettre la reprise progressive des autres pages. */
@font-face {
  font-family: 'FV Almelo';
  src: url('fv_almelo-webfont.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body.home {
  --home-bg: #333343;
  --home-text: #F5F3FF;
  --home-accent: #FFD88A;
  background: var(--home-bg);
  color: var(--home-text);
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
.home *, .home *::before, .home *::after { box-sizing: border-box; }
.home a { color: inherit; text-underline-offset: .3em; }
.home a:hover { color: var(--home-accent); }
.home a:focus-visible { outline: 3px solid var(--home-accent); outline-offset: 7px; }
.home .home-skip { position: absolute; top: -100px; left: 20px; z-index: 2; padding: 12px; background: var(--home-bg); }
.home .home-skip:focus { top: 12px; }
.home .home-header, .home .home-footer {
  width: min(1200px, 88%);
  margin: 0 auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 0;
}
.home .home-header { border-bottom: 1px solid #656574; }
.home .home-name { font-family: 'FV Almelo', sans-serif; font-size: 32px; text-decoration: none; }
.home .home-label { font-size: 14px; }
.home .home-main {
  width: min(1100px, 88%);
  margin: auto;
  padding: 48px 0;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 157px;
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
}
.home .home-eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 30px; }
.home h1 { font-family: 'FV Almelo', sans-serif; font-size: clamp(42px, 7.4vw, 100px); font-weight: 400; line-height: 1.08; margin: 0; color: var(--home-accent); overflow-wrap: anywhere; }
.home .home-intro { font-family: 'Newsreader', Georgia, serif; font-size: 22px; line-height: 1.6; max-width: 65ch; margin: 30px 0; }
.home .home-enter { display: inline-flex; gap: 28px; align-items: center; border: 1px solid var(--home-accent); padding: 12px 22px; min-height: 48px; text-decoration: none; }
.home .home-enter:hover { background: var(--home-accent); color: var(--home-bg); }
.home .home-film { margin: 0; }
.home .home-film img { display: block; width: 157px; max-width: 100%; height: auto; box-shadow: 0 14px 40px #0005; }
.home .home-footer { border-top: 1px solid #656574; font-size: 14px; text-align: left; }
.home .home-footer a { display: inline-block; padding: 10px 0; }
@media (max-width: 600px) {
  .home .home-header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .home .home-main { grid-template-columns: minmax(0, 1fr); padding: 42px 0; gap: 40px; }
  .home .home-film { justify-self: center; }
  .home .home-intro { font-size: 19px; }
}

/* Biographie : lecture longue, sans modifier les styles des pages à reprendre. */
.biography .bio-nav { width: 100%; }
.biography .bio-nav ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.biography .bio-nav a { display: inline-block; padding: 8px 0; min-height: 44px; font-size: 16px; font-weight: 400; text-transform: none; text-align: left; }
.biography .bio-nav a[aria-current="page"] { color: var(--home-accent); text-decoration: underline; }
.biography .bio-language { font-size: 15px; padding: 8px 0; }
.biography .bio-main { flex: 1; width: min(760px, 88%); margin: 0 auto; padding: clamp(36px, 7vw, 80px) 0; }
.biography .bio-heading { margin-bottom: 36px; }
.biography .home-eyebrow { letter-spacing: .1em; margin-bottom: 18px; }
.biography h1 { font-size: clamp(44px, 8vw, 76px); }
.biography .bio-text { font-family: 'Arial Narrow', Georgia, serif; font-size: 20px; line-height: 1.65; max-width: 65ch; text-align: justify; overflow-wrap: break-word; }
.biography .bio-text p { margin: 0 0 1.5em; }
.biography .bio-text p:first-child { font-size: 24px; line-height: 1.5; }
.biography .home-enter { margin-top: 16px; }
@media (max-width: 600px) {
  .biography .home-header { flex-direction: row; align-items: center; gap: 12px; }
  .biography .bio-nav ul { gap: 4px 20px; }
}

/* Galerie des travaux : ajouter une carte ne nécessite aucun changement de grille. */
.projects .projects-main { flex: 1; width: min(1100px, 88%); margin: 0 auto; padding: clamp(36px, 7vw, 80px) 0; }
.projects .projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.projects .project-card { min-width: 0; }
.projects .project-card a { display: block; text-decoration: none; }
.projects .project-image { width: 50%; margin-inline: auto; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #292936; border: 1px solid #656574; }
.projects .project-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.projects .project-title { width: 50%; margin-inline: auto; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-family: 'Arial Narrow', Georgia, serif; font-size: 20px; line-height: 1.65; }
.projects .project-card a:hover .project-image { border-color: var(--home-accent); }
@media (max-width: 800px) { .projects .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .projects .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Garder la flèche au bord droit lorsque le titre occupe plusieurs lignes. */
.projects .project-title > span { flex-shrink: 0; }

/* Biographie en deux encarts : styles réservés à cette page. */
.bio-columns-page .home-header,
.bio-columns-page .home-footer,
.bio-columns-page .bio-main { width: min(1400px, 94%); }
.bio-columns-page .home-header { padding: 12px 0; gap: 4px 20px; }
.bio-columns-page .bio-main { padding: 18px 0; }
.bio-columns-page .bio-heading { margin-bottom: 16px; }
.bio-columns-page .home-eyebrow { margin-bottom: 6px; }
.bio-columns-page h1 { font-size: clamp(38px, 4vw, 52px); }
.bio-columns-page .bio-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.bio-columns-page .bio-text { max-width: none; min-width: 0; margin: 0; padding: 22px; background: #505060; color: #F5F3FF; border: 1px solid #717181; border-radius: 10px; font-size: 17px; line-height: 1.45; hyphens: auto; }
.bio-columns-page .bio-text p { margin: 0 0 .8em; }
.bio-columns-page .bio-text p:first-child { font-size: inherit; line-height: inherit; }
.bio-columns-page .bio-text .bio-introduction:first-child { font-size: 19px; line-height: 1.4; text-align: left; }
.bio-columns-page .bio-text p:last-child { margin-bottom: 0; }
.bio-columns-page .home-enter { margin-top: 14px; padding: 7px 18px; min-height: 40px; font-size: 16px; }
.bio-columns-page .home-footer { padding: 8px 0; }
@media (min-width: 1000px) and (max-height: 850px) {
  .bio-columns-page .home-header { padding: 8px 0; }
  .bio-columns-page .bio-main { padding: 12px 0; }
  .bio-columns-page .bio-heading { margin-bottom: 12px; }
  .bio-columns-page h1 { font-size: 40px; }
  .bio-columns-page .bio-text { font-size: 16px; line-height: 1.38; padding: 18px; }
  .bio-columns-page .bio-text .bio-introduction:first-child { font-size: 18px; }
}
@media (max-width: 999px) {
  .bio-columns-page .bio-columns { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bio-columns-page .bio-main { width: min(760px, 92%); padding: 24px 0; }
  .bio-columns-page .bio-text { font-size: 18px; line-height: 1.5; }
  .bio-columns-page .bio-text .bio-introduction:first-child { font-size: 20px; }
}

/* Galerie compacte : sept œuvres par ligne sur ordinateur. */
.projects .home-header, .projects .home-footer,
.projects .projects-main { width: min(1400px, 94%); }
.projects .home-header { padding: 12px 0; gap: 4px 20px; }
.projects .projects-main { padding: 18px 0 24px; }
.projects .bio-heading { margin-bottom: 20px; }
.projects .home-eyebrow { margin-bottom: 6px; }
.projects h1 { font-size: clamp(38px, 4vw, 52px); }
.projects .projects-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px 18px; }
.projects .project-image, .projects .project-title { width: 100%; }
.projects .project-title { gap: 8px; padding: 8px 0 0; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.projects .project-title > span { flex-shrink: 0; }
.projects .home-footer { padding: 8px 0; }
@media (max-width: 1099px) { .projects .projects-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .projects .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; } }
@media (max-width: 540px) { .projects .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .projects .projects-grid { grid-template-columns: minmax(0, 1fr); } }
