:root{
  --yellow:#fffcca;
  --green:#16552d;
  --pale-green:#dff3d2;
}
::selection {
    background: #16552d;
    color: black;
    text-shadow: none;
}

::-moz-selection {
    background: #16552d;
    color: #EEE;
    text-shadow: none;
}
/* Font titres du caphe */
@font-face {
    font-family: 'Sarifa';
    src: url('fonts/Sarifa-Regular.eot');
    src: url('fonts/Sarifa-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/Sarifa-Regular.woff2') format('woff2'),
		url('fonts/Sarifa-Regular.woff') format('woff'),
        url('fonts/sarifa-regularweb.ttf') format('truetype'),
        url('fonts/Sarifa-Regular.svg#Sarifa-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {box-sizing:border-box;}
html {scroll-behavior:smooth;}

h1, h2, h3, h4, h5, h6,
nav, .social,
.ticker
 {
	font-family: "Sarifa", "Times New Roman", serif;
}
nav a:focus,
nav a:hover {
	border-bottom: 1px solid;
}
body {
	margin:0;
	background:#fffcca;
	color: #422709;
	font-family:"Source Sans 3","Arial", sans-serif;
	font-size: 16px; /* base */
}
a {
	color:inherit;
	text-decoration:none
}
img {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover
}
p {
	font-size: 1.125em;
	line-height:1.45;
}
.container {
	max-width: 1476px;
	margin:auto
}
section {
	width: 1220px;
	scroll-margin-top:30px
}

/* HEADER */

.header {
	padding: 45px 20px;
	max-width: 1476px;
	margin:auto;
	position:relative;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.125em;
}
header:before {
	content:"";
	background: url("images/feuilles-bg.jpg") center top;
	width:100%;
	height: 20px;
	display: block;
}
.logo {
	width:171px;
	height:242px;
}

.logo img {
	object-fit:contain;
}
nav {
	position:absolute;
	left:0;
	top:50%;
	transform:translateY(-50%);
	display:flex;
	gap:20px;
	border-bottom: 1px solid transparent;
	transition: 0.3s;
}
.social {
	position:absolute;
	right:0;
	top:50%;
	transform:translateY(-50%);
	text-align:right;
}
.social small {
	display:block;
	margin-bottom:7px;
	font-size:1.125em;
	text-align: right;
}
.social a,
.footer-social a {
	display: inline-block;
	width: 44px;
	height: 44px;
	border: 2px solid transparent;
	transition: 0.3s;
}
.footer-social a:focus,
.footer-social a:hover,
.social a:focus,
.social a:hover {
	border-radius: 6px;
	border: 2px solid green;
}
.footer-social {
	display: flex;
	gap: 4px;
}
.footer-social a {
	width: 24px;
	height: 24px;
}
/* HISTOIRE */
.story {
	position:relative;
	display:grid;
/*	grid-template-columns:1fr 1fr;
	gap:10px;*/	
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}
.story-photo {
	border-radius:12px;
	overflow:hidden;
	height: 590px;
}
.story-photo:first-child {

}
.story-photo:nth-child(2) {
    grid-column: span 2 / span 2;
}
.story-photo:nth-child(3) {
    grid-column: span 2 / span 2;
    grid-row-start: 2;
}
.story-photo:nth-child(4){
    grid-column-start: 3;
    grid-row-start: 2;
}
.story-photo:first-child img,
.story-photo:nth-child(4) img {
	aspect-ratio: 7/5;
	width: 100%;
}
.story-photo:nth-child(2) img,
.story-photo:nth-child(3) img {
	aspect-ratio: 7/10;
	width: 100%;
}
.story-photo:first-child,
.story-photo:nth-child(4) {
	
}
.story-card {
	position:absolute;
	z-index:2;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	width:57.37704%;
	padding: 45px 30px;
	background: #fffef4;
	border:3px solid #16552d;
	border-radius:12px;
	text-align:center;
}
.story-card h1{
	font-size:3em; /* 48px */
	line-height:1.14;
	font-weight:400;
	margin:0 0 22px
}
.story-card h1:after,
.section-title h2:after {
	display: block;
	content:"";
	width: 102px;
	height: 12px;
	margin: 22px auto;
	background: url(images/eil-sep.svg) no-repeat center top;
}
.story-card p {
	margin:10px 0;
}
/* TITRES ENTRE SECTIONS */
.section-title {
	text-align:center;
	margin:45px 0;
}
.section-title small {
	display:block;
	font-size:1.125em;
	margin-bottom:5px;
	color: #225e36;
}
.section-title h2 {
	margin:0;
	font-size:3em;
	line-height:1;
	font-weight:400;
}
/* MENU */
.menu{
}
.menu a{
	display:block;
}
.menu img{
	margin-bottom: 20px;
	border-radius: 12px;
}

/* NOUS TROUVER */
.find-intro{
	max-width:57.37704%;
	margin:-15px auto 35px;
	text-align:center;
	line-height:1.45
}
.find-container{
	display:flex;
}
.info {
	flex-basis: 33.33334%;
}
.info h3{
	font-weight:400;
	margin:0 0 22px 0;
}
.info p{
	line-height:1.45;
	margin:0 0 20px
}
.info a {
	border-bottom: 1px solid;
	transition: 0.3s;
}
.info a:hover,
.info a:focus {
	background: #dcf5cd;
}
.map{
	min-height:250px;
	overflow:hidden;
	border-radius:12px;
	flex: auto;
}
.map iframe{
	width:100%;
	height:100%;
	border:0
}

/* AVIS */
.review{
	max-width:730px;
	margin:45px auto 60px;
	text-align:center;
}
.review .section-title{
	margin-bottom:25px;
}
.review p{
	margin:0 auto 10px;
}
.stars{
	font-weight: bold;
	display: flex;
	align-items: center; /* Aligne verticalement le texte et les étoiles */
	justify-content: center;
	gap: 5px;
}
.star {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #ff8127;
  
}

/* Étoile pleine (couleur dorée) */
.star.full {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23ff8127" d="M341.5 45.1C337.4 37.1 329.1 32 320.1 32C311.1 32 302.8 37.1 298.7 45.1L225.1 189.3L65.2 214.7C56.3 216.1 48.9 222.4 46.1 231C43.3 239.6 45.6 249 51.9 255.4L166.3 369.9L141.1 529.8C139.7 538.7 143.4 547.7 150.7 553C158 558.3 167.6 559.1 175.7 555L320.1 481.6L464.4 555C472.4 559.1 482.1 558.3 489.4 553C496.7 547.7 500.4 538.8 499 529.8L473.7 369.9L588.1 255.4C594.5 249 596.7 239.6 593.9 231C591.1 222.4 583.8 216.1 574.8 214.7L415 189.3L341.5 45.1z"/></svg>')
}

/* Étoile vide */
.star.empty {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23ff8127" d="M320.1 32C329.1 32 337.4 37.1 341.5 45.1L415 189.3L574.9 214.7C583.8 216.1 591.2 222.4 594 231C596.8 239.6 594.5 249 588.2 255.4L473.7 369.9L499 529.8C500.4 538.7 496.7 547.7 489.4 553C482.1 558.3 472.4 559.1 464.4 555L320.1 481.6L175.8 555C167.8 559.1 158.1 558.3 150.8 553C143.5 547.7 139.8 538.8 141.2 529.8L166.4 369.9L52 255.4C45.6 249 43.4 239.6 46.2 231C49 222.4 56.3 216.1 65.3 214.7L225.2 189.3L298.8 45.1C302.9 37.1 311.2 32 320.2 32zM320.1 108.8L262.3 222C258.8 228.8 252.3 233.6 244.7 234.8L119.2 254.8L209 344.7C214.4 350.1 216.9 357.8 215.7 365.4L195.9 490.9L309.2 433.3C316 429.8 324.1 429.8 331 433.3L444.3 490.9L424.5 365.4C423.3 357.8 425.8 350.1 431.2 344.7L521 254.8L395.5 234.8C387.9 233.6 381.4 228.8 377.9 222L320.1 108.8z"/></svg>');
}
/* Étoile moitie 0.5 */
.star.half {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path fill="%23ff8127" d="M320.1 417.6C330.1 417.6 340 419.9 349.1 424.6L423.5 462.5L410.5 380C407.3 359.8 414 339.3 428.4 324.8L487.4 265.7L404.9 252.6C384.7 249.4 367.2 236.7 357.9 218.5L319.9 144.1L319.9 417.7zM489.4 553C482.1 558.3 472.4 559.1 464.4 555L320.1 481.6L175.8 555C167.8 559.1 158.1 558.3 150.8 553C143.5 547.7 139.8 538.8 141.2 529.8L166.4 369.9L52 255.4C45.6 249 43.4 239.6 46.2 231C49 222.4 56.3 216.1 65.3 214.7L225.2 189.3L298.8 45.1C302.9 37.1 311.2 32 320.2 32C329.2 32 337.5 37.1 341.6 45.1L415 189.3L574.9 214.7C583.8 216.1 591.2 222.4 594 231C596.8 239.6 594.5 249 588.2 255.4L473.7 369.9L499 529.8C500.4 538.7 496.7 547.7 489.4 553z"/></svg>');
}

/* Slider Avis*/
.review {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
}

.review .avis {
	box-sizing: border-box;
	padding:0 40px;
}

.review-prev,
.review-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px;
	height: 40px;

	padding: 0;
	border: 0;
	border-radius: 50%;

	cursor: pointer;

	font-size: 16px;
	line-height: 16px;
	text-align: center;
	background-color: #fcf9c7;
	border: 2px solid #16552d;
	opacity:0;
	visibility: hidden;
	transition: 0.3s;
}
.review:hover .review-prev,
.review:hover .review-next,
.review:focus .review-prev,
.review:focus .review-next {
	opacity:1;
	visibility: visible;
}


.review-prev {
	left: 0px;
}

.review-next {
	right:0px;
}

/* FOOTER */
.ticker{
	overflow:hidden;
	background: url("images/feuilles-bg.jpg") center top;
	color:#fff;
	padding:125px 0;
	white-space:nowrap
}
.ticker-track{
	display:flex;
	width:max-content;
	animation:ticker 24s linear infinite
}
.ticker-item{
	font-size: 3em;
	padding-right:45px;
}
.ticker-item img.ticker-icon {
	display: inline-block;
	width: 54px;
	height: 54px;
	transform: translateY(10px);
	margin:0 10px;
}
@keyframes ticker{
  from{transform:translateX(-50%)}
  to{transform:translateX(0)}
}
.footer-bottom{
	display:flex;
	justify-content:space-between;
	padding:20px 0;
}

/* MOBILE */
@media(max-width:1219px){
	.header{
		width:100%;
		padding: 15px 0;
	}
	section {
		width: 100%;
		padding:0 15px;
	}
	.logo{
		width:120px;
		height: auto;
		padding:20px 0 40px 0;
	}
	nav{
		top:auto;
		bottom:0;
		left:0;
		right:0;
		transform:none;
		justify-content:center;
		gap:30px;
	}
	.social{
		top:6px;
		right:20px;
		transform:none;
		font-size:20px;
		margin-top:100px;
	}
	.social small{
		font-size: 14px;
	}
	.social a { width: 20px; height: 20px; line-height:20px;}

	.section-title{
		margin:40px 0 30px;
	}
	.section-title h2{
		font-size:32px;
	}
	.story {
		margin-top: 40px;
	display:grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
    grid-template-rows: auto repeat(2, 1fr) ;
	gap: 15px;
	}

	.story-photo:nth-child(1),
	.story-photo:nth-child(2),
	.story-photo:nth-child(3),
	.story-photo:nth-child(4)
	{
		aspect-ratio: 1;
		grid-column: initial;
		grid-column-start: initial;
	}
	.story-photo:first-child {
		grid-column-start: 1;
		grid-row-start: 2;
	}

	.story-photo:nth-child(2) {
		grid-column-start: 2;
		grid-row-start: 2;
	}

	.story-photo:nth-child(3) {
		grid-column-start: 1;
		grid-row-start: 3;
	}

	.story-photo:nth-child(4) {
		grid-column-start: 2;
		grid-row-start: 3;
	}
	.story-photo {
		width: 100%;
		position:relative;
		height: 0;
		padding-top: 100%;
	}
	.story-photo img {
		position:absolute;
		top: 0;
		aspect-ratio: 1;
	}
	.story-card{
		position:static;
		transform:none;
	/*	grid-column:1 / -1;*/
		width:100%;
		padding:25px 20px 22px;
		border-width:2px;
		border-radius:12px;
		grid-column-start: 1;
		grid-row-start: 1;
		grid-column: span 2 / span 2;
	}
	.story-card h1{
		font-size:32px;
		margin-bottom:18px;
	}
	/*
	.story-card p:last-child{
		display: none;		
	}
	*/
	.menu{
		padding:20px;
	}
	.menu img{
		margin-bottom:15px;
	}
	.find-intro{
		margin:-5px auto 25px;
		max-width: 100%;
		padding: 0 20px;
	}
	.find-container{
		/* grid-template-columns:1fr; */
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(2, 1fr);
		gap:15px;
	}
	.info{
		display:grid;
		grid-template-columns:1fr 1fr;
		grid-row-start: 2;
	}
	.map{
		height:280px;
		grid-row-start: 1;
	}
	.info h3 {
		font-size: 1.125em;
	}
	
	.review{
		margin:42px auto 45px;
	}
	
	.ticker{
		padding:60px 0
	}
	.ticker-item{
		font-size:2em;
		padding-right:30px;

	}
	.footer-bottom{
		padding:9px 15px;
	}
}

@media(prefers-reduced-motion:reduce){
	html{scroll-behavior:auto}
	.ticker-track{animation:none}
}