/* ===================================================== */
/* =================== RESET GLOBAL ==================== */
/* ===================================================== */

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

body {
	background:linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
	url("frame/fond.jpg") center/cover fixed;
	font-family: Verdana, Arial, sans-serif;
	color: white;
	line-height: 1.7;
}

/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ====================== HERO ========================= */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */

.hero-header {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3em 1em;
}

.hero-overlay {
	background: rgba(0,0,0,0.55);
	backdrop-filter: blur(8px);
	padding: 2em;
	border-radius: 24px;
	max-width: 900px;
	box-shadow:
	0 0 25px rgba(218,165,32,0.25);
}

.titreh1,
.titreh2 {
	color: #f1d18a;
	text-align: center;
	text-shadow:
	-2px -2px 0 black,
	 2px -2px 0 black,
	-2px  2px 0 black,
	 2px  2px 0 black,
	0 0 15px goldenrod;
}

.titreh1 {
	font-size: 3em;
	margin-bottom: 0.5em;
}

.titreh2 {
	font-size: 2em;
	margin-bottom: 1em;
}

/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ====================== MENU ========================= */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */

.navigation {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(0,0,0,0.85);
	backdrop-filter: blur(10px);
	padding: 1em;
}

.navigation ul {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	list-style: none;
}

.navigation a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	transition:
	transform 0.3s ease,
	color 0.3s ease;
}

.navigation a:hover {
	color: #f1d18a;
	transform: scale(1.08);
}

/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================== CARDS ========================= */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */

.section-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
	background: rgba(40,40,40,0.72);
	backdrop-filter: blur(10px);
	padding: 2em;
	border-radius: 28px;
	width: min(1200px, 92%);
	box-shadow:
	0 0 25px rgba(0,0,0,0.45);
	transition:
	transform 0.4s ease,
	box-shadow 0.4s ease;
}

.section-card:hover {
	transform: translateY(-6px);
	box-shadow:
	0 0 30px rgba(218,165,32,0.3);
}

.card-image img{
    max-width:100%;
    height:auto;
    display:block;
    border-radius:20px;
}

.card-content p {
	margin-bottom: 1em;
}

.dark-card {
	background: rgba(20,20,20,0.82);
}

@media screen and (max-width:768px){

    /* Règles fondamentales */
    .mini-cards-section{
        display:grid;
        grid-template-columns:1fr;
        gap:12px;
    }

    /* Priorités */
    .priorites-layout{
        display:flex;
        flex-direction:column;
        gap:12px;
    }

    .priorites-slider{
        order:999;
        width:100%;
    }

    .nourriture-card{
        width:100%;
    }
}
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ==================== MINI CARDS ===================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */

.regle-overlay{
    width:min(1200px,92%);
    margin:2em auto;
    padding:1em;
    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(8px);
    border-radius:24px;
    box-shadow:
    0 0 25px rgba(218,165,32,0.25);
    text-align:center;
}

.mini-cards-section{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    width:100%;
}

.mini-card{
    background:
    linear-gradient(
        rgba(60,60,60,.85),
        rgba(35,35,35,.85)
    );

    border:1px solid rgba(218,165,32,.25);
    padding:1.4em;
    border-radius:18px;
    text-align:center;
    transition:.35s;
}

.mini-card h3{
    color:#f1d18a;
    margin:0;
}

.mini-card:hover{
    transform:translateY(-4px);
    border-color:goldenrod;
    box-shadow:
    0 0 18px rgba(218,165,32,.35);
}

/*.mini-cards-section .mini-card:last-child:nth-child(odd){
    grid-column:1 / -1;
    justify-self:center;
   */

/* ===================================================== */
/* ===================================================== */
/* ===================================================== */
/* ================= PRIORITES SURVIE ================== */
/* ===================================================== */
/* ===================================================== */
/* ===================================================== */

.priorites-layout{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:20px;
    align-items:center;
    justify-items:center;
}

.priorites-slider{
    grid-column:2;
    grid-row:1 / span 3;
    justify-self:center;
    width:100%;
}

.priorites-slider .premium-slider{
    max-width:450px;
    height:450px;
}

.priorites-slider .premium-slider{
    width:100%;
    max-width:450px;
    height:450px;
    margin:auto;
}

.priorites-slider figure{
    position:relative;
    flex:0 0 100%;
    margin:0;
}

.priorites-slider figcaption{
    position:absolute;
    left:15px;
    bottom:15px;
    background:rgba(0,0,0,.75);
    color:#f1d18a;
    padding:10px 15px;
    border-radius:12px;
    font-weight:bold;
    border:1px solid rgba(218,165,32,.4);
}

.nourriture-card{
    grid-column:2;
}

.slider{
    display:flex;
    height:100%;
}

.slider figure{
    position:relative;
    flex:0 0 100%;
    margin:0;
    height:100%;
}

.slider figure img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.slider figcaption{
    position:absolute;
    bottom:15px;
    left:15px;
    background:rgba(0,0,0,.75);
    color:#f1d18a;
    padding:10px 15px;
    border-radius:12px;
    font-weight:bold;
    border:1px solid rgba(218,165,32,.4);
    z-index:100;
}

@media screen and (max-width:768px){
    .large-card .card-content{
        padding-right:12px;
    }

    .large-card .titreh2{
        text-align:center;
        width:100%;
    }
}

@media screen and (max-width:950px)
and (orientation:landscape){
    .mini-cards-section{
        justify-items:center;
    }

    .mini-card:last-child{
        grid-column:1 / -1;
        max-width:320px;
    }
}

/* ===================================================== */
/* ============== PRIORITES RESPONSIVE ================= */
/* ===================================================== */

/* Téléphone vertical */

@media screen and (max-width:768px){

    .priorites-layout{
        display:flex;
        flex-direction:column;
        gap:12px;
        width:100%;
    }

    .priorites-layout .mini-card,
    .nourriture-card{
        width:100%;
    }

    .priorites-slider{
        width:100%;
        order:999;
    }

    .priorites-slider .premium-slider{
        width:100%;
        max-width:none;
        height:320px;
    }
}

/* Téléphone horizontal */

@media screen and (max-width:950px)
and (orientation:landscape){

    .priorites-layout{
        display:grid;
        grid-template-columns:
        repeat(auto-fit,minmax(180px,1fr));
        gap:15px;
    }

    .priorites-slider{
        grid-column:1 / -1;
        grid-row:auto;
        order:999;
    }

    .nourriture-card{
        justify-self:center;
        width:min(350px,100%);
    }
}

/* ===================================================== */
/* ==================== Accordeons ===================== */
/* ===================================================== */

.accordeon-mini-card summary::after{
    content:"▼ Voir les détails";
    display:block;
    margin-top:8px;
    color:#f1d18a;
    font-size:0.9em;
}

.accordeon-mini-card[open] summary::after{
    content:"▲ Fermer les détails";
}

.accordeon-mini-card summary{
    list-style:none;
    cursor:pointer;
}

.accordeon-mini-card summary::-webkit-details-marker{
    display:none;
}

.accordeon-mini-card{
    overflow:hidden;
}

.mini-card-details{
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:
        max-height .5s ease,
        opacity .35s ease,
        padding .35s ease;
    padding:0 10px;
}

.accordeon-mini-card[open] .mini-card-details{
    max-height:250px;
    opacity:1;
    padding:10px;
}

    .mini-card:last-child{
        grid-column:auto;
        max-width:none;
    }

    .large-card{
        grid-template-columns:1fr 1fr;
    }

    .large-card .card-content{
        order:1;
    }

    .large-card .card-image{
        order:2;
    }
    

/* ===================================================== */
/* ==================== MEDICAL ======================== */
/* ===================================================== */

.double-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    width:min(1200px,92%);
    margin:2em auto;
    justify-content: center;
}

.medical-card{
    background:rgba(30,30,30,0.78);
    padding:2em; /*  azertyuiokjhgf  */
    border-radius:24px;
    backdrop-filter:blur(8px);
    transition:transform .35s ease;
}

.medical-card:hover{
    transform:translateY(-5px);
    border-color:goldenrod;
    box-shadow:
    0 0 18px rgba(218,165,32,.35);
}

.medical-card ul{
    padding-left:20px;
}

@media screen and (max-width:768px){

    .double-grid{
        grid-template-columns:1fr;
        justify-items:center;
    }

    .medical-card{
        width:min(500px,100%);
        text-align:center;
        padding:1em;
    }

    .medical-card h2{
        margin-top:0;
        margin-bottom:8px;
    }

    .medical-card ul{
        display:inline-block;
        text-align:left;
    }
}

/* Bobologie / Traumakit */

@media screen and (max-width:768px){

    .double-grid{
        gap:8px;
        margin:0.8em auto;
    }

    .medical-card{
        padding:0.8em;
    }

    .medical-card h2{
        margin-top:0;
        margin-bottom:5px;
    }

}

/* ===================================================== */
/* =================== IMMERSIVE ======================= */
/* ===================================================== */

.immersive-section {
	background:
	linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
	url("frame/bivouac.jpg") center/cover;
	border-radius: 30px;
	width: min(1200px, 92%);
	padding: 5em 2em;
}

.immersive-overlay {
	max-width: 800px;
	margin: auto;
	background: rgba(0,0,0,0.55);
	padding: 2em;
	border-radius: 24px;
	backdrop-filter: blur(8px);
}

.immersive-section:hover {
    transform:translateY(-4px);
        border-color:goldenrod;
        box-shadow:
        0 0 18px rgba(218,165,32,.35);
    }

/* ===================================================== */
/* ================== Margin Full ====================== */
/* ===================================================== */

.section-card,
.regle-overlay,
.double-grid,
.immersive-section{
    width:min(1200px,92%);
    margin:2em auto;
}

@media screen and (max-width:768px){

    .section-card,
    .regle-overlay,
    .double-grid,
    .immersive-section{
        width:min(1200px,95%);
        margin:1.5em auto;
    }
}

/* ===================================================== */
/* ===================== FOOTER ======================== */
/* ===================================================== */

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
	gap: 25px;
	padding: 0em 0em 2em 0em
}

.footer-social,
.footer-w3c {
    display: flex;
    flex-direction: row;
	gap: 15px;
	justify-content: center;
	align-items: center;
}

.youtube-button,
.facebook-button {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition:
	transform 0.35s ease,
	box-shadow 0.35s ease;
}

.youtube-button {
	background: red;
}

.facebook-button {
	background: #1877f2;
}

.youtube-button:hover {
	transform: scale(1.12);
	box-shadow:
	0 0 18px red;
}
.facebook-button:hover {
	transform: scale(1.12);
	box-shadow:
	0 0 18px #1877f2;
}

.social-icon {
	width: 28px;
	height: 28px;
}

.logo-vcss {
	width: 95px;
	transition:
	transform 0.35s ease,
	filter 0.35s ease;
}

.logo-vcss:hover {
	transform: scale(1.08);
	filter:
	brightness(1.15)
	drop-shadow(0 0 10px goldenrod);
}

@media screen and (max-width:768px){

    .compteur{
        margin:10px auto 0 auto;
    }

    .footer-logos{
        padding-top:0;
        padding-bottom:1em;
        gap:8px;
    }

}

@media screen and (max-width:950px)
and (orientation:landscape){

    .footer-logos{
        display:flex;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        flex-wrap:nowrap;
        gap:15px;
    }
}

/* ===================================================== */
/* ==================== Deco Lien ====================== */
/* ===================================================== */

/* Liens en savoir plus */
.learn-more{
    display:inline-block;
    margin-top:12px;
    padding:8px 14px;
    border-radius:20px;
    text-decoration:none;
    color:#f1d18a;
    border:1px solid rgba(218,165,32,.5);
}
.learn-more:hover{
    box-shadow:0 0 15px rgba(218,165,32,.4);
}

/* ===================================================== */
/* =================== Retour Haut ===================== */
/* ===================================================== */

/* Bouton retour haut */
.back-to-top{
    position:fixed;
    right:20px;
    bottom:20px;
    padding:12px 18px;
    border-radius:30px;
    text-decoration:none;
    background:rgba(20,20,20,.9);
    color:#f1d18a;
    border:1px solid goldenrod;
    z-index:9999;
}
.back-to-top:hover{
    box-shadow:0 0 15px rgba(218,165,32,.5);
}

/* ===================================================== */
/* ===================== RESPONSIVE ==================== */
/* ===================================================== */

@media screen and (max-width:768px) {
	.section-card {
		grid-template-columns: 1fr;
	}

	.titreh1 {
		font-size: 2em;
	}

	.titreh2 {
		font-size: 1.5em;
	}

	.navigation a {
		text-shadow: none;
	}

	.youtube-button,
	.facebook-button {
		width: 44px;
		height: 44px;
	}

	.logo-vcss {
		width: 75px;
	}
}

/* ===================================================== */
/* ================== SLIDER ELEGANT =================== */
/* ===================================================== */

.premium-slider{
    position:relative;
    overflow:hidden;
    width:100%;
    height:320px;
    border-radius:22px;
    border:1px solid rgba(241,209,138,.35);
    box-shadow:
    0 0 18px rgba(218,165,32,.20),
    inset 0 0 12px rgba(241,209,138,.08);
    background:#111;
}

.slider{
    display:flex;
    height:100%;
    animation: slider1 21s infinite;
}

.slider img{
    flex:0 0 100%;
    width:100%;
	height:100%;
	border-radius: 8px;
    object-fit:cover;
}

.premium-slider::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.35),
        transparent 35%
    );

    pointer-events:none;
    z-index:2;
}

/* .premium-slider:hover .slider{

    animation-play-state:paused;
} */

.slider1 {
	border: 10px solid#535353;
	box-shadow: 0 0 15px goldenrod /* ombre boite */ 
}

.slider1:hover {
	transform: scale(1.02);
	border: 10px solid#535353;
	box-shadow: 0 0 15px rgba(218,165,32,.5) /* ombre boite */ 
}

@keyframes slider1 {
    0%,12%   { transform:translateX(0); }
    16%,28%  { transform:translateX(-100%); }
    32%,44%  { transform:translateX(-200%); }
    48%,60%  { transform:translateX(-300%); }
    64%,76%  { transform:translateX(-400%); }
    80%,92%  { transform:translateX(-500%); }
    100%     { transform:translateX(-600%); }
}
  /* Fin diaporama à défilement en boucle */

  .image-xs{
    width:50%;
    margin:auto;
    display:block;
}

.image-sm{
    width:65%;
    margin:auto;
    display:block;
}

.image-md{
    width:75%;
    margin:auto;
    display:block;
}

.image-lg{
    width:85%;
    margin:auto;
    display:block;
}

.image-xl{
    width:95%;
    margin:auto;
    display:block;
}

/* ===================================================== */
/* ================= media screen and ================== */
/* ===================================================== */

/* Mobile : texte avant image pour le sac */
@media screen and (max-width:768px){
    .sac-section .card-content{
        order:1;
    }

    .sac-section .card-image{
        order:2;
    }

    .section-card,
    .mini-cards-section,
    .double-grid,
    .immersive-section{
		width:min(1200px,95%);
		margin:1.2em auto;
		padding: 1.4em;
    }

    .mini-cards-section,
    .double-grid{
        gap: 12px;
	}
	
	.hero-header{
        min-height: 40vh;
        padding: 1.5em 0.8em;
    }

    .hero-overlay{
        padding: 1.2em;
    }

    .titreh1{
        font-size: 1.8em;
        margin-bottom: 0.3em;
    }
    
    .premium-slider{
		width: 80%;
		height: auto;
        border-radius:20px;
    }

    .slider{
        height:100%;
    }

    .slider img{
        width:100%;
        height:100%;
        object-fit:contain;
        border-radius:0;
	}
	
	.card-image{
        display:flex;
        justify-content:center;
    }

    .footer-logos{
        flex-direction:column;
        gap:15px;
    }

    .footer-social{
        order:1;
    }

    .footer-w3c{
        order:2;
    }
}

@media screen and (max-width:768px){
    .image-xs{ width:65%; }
    .image-sm{ width:55%; } /*  .image-sm{ width:75%; } */
    .image-md{ width:85%; } /*  .image-md{ width:85%; } */
    .image-lg{ width:92%; }
    .image-xl{ width:100%; }

}

@media screen and (max-width:768px){

    .section-card,
    .regle-overlay,
    .double-grid,
    .immersive-section{
        width:95%;
        margin:1.5em auto;
        padding:1.5em;
    }

    .hero-overlay,
    .immersive-overlay{
        width:100%;
    }
}

.encadre{
    background:#444;
    border-left:4px solid #c8a85a;
    border-radius:10px;
    padding:15px;
    margin:20px 0;
    }

    /* =====================================================
COMPTEUR PREMIUM
===================================================== */

.compteur{
    width:fit-content;
    margin:30px auto;
    padding:15px 25px;
    background:#3b3b3b;
    border:1px solid #c8a85a;
    border-radius:15px;
    color:#f0f0f0;
    text-align:center;
    box-shadow:
        0 0 15px rgba(200,168,90,.25);
    transition:.3s;
}

.compteur:hover{

    box-shadow:
        0 0 20px rgba(200,168,90,.6),
        0 0 40px rgba(200,168,90,.25);

    transform:translateY(-2px);
}

.compteur div{
    padding:4px 0;
}