:root {
    --blue: #3fa9f5;
    --yellow: #ffd200;
    --white: #ffffff;
    --bkg: #fbedd5;
    --sable: #fbedd5;
}
/* sable: #fbedd5; */

* {
    box-sizing: border-box;
    margin: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    /*background: linear-gradient(135deg, var(--blue), var(--yellow)); var(--bkg)*/
    position: sticky;
    top: 0;
    z-index: 1000;
    background : var(--bkg);
    
}

.evenement {
    /*font-family: cursive;*/
    font-family: serif;
    font-size: 35px;
    }

a {
    color: black;
    text-decoration: none;
    margin-right: 10px
    }

.burger {
    font-size: 26px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    display: flex;
}

/* MENU LATÉRAL */
.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100%;
    background: var(--blue);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 1001;
}

.side-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* ACTIVE STATES */
.side-menu.active {
    left: 0;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* CAROUSEL */
.carousel-section {
    /* padding: 40px;*/
    text-align: center;
}

.carousel {
    overflow: hidden;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.event {
    min-width: 100%;
    padding: 5px;
    background: var(--blue);
    color: white;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
}

.event_date {
    text-decoration: underline;
    text-underline-offset: 6px;
    margin-right: 35px;
    /*margin-left: 20px;*/
}

.event a { color: white }

.lieu { font-weight: 900;
    margin-left: 20px;
    margin-right: 20px;
    }

.card-container {
    width: 95%;
    /*min-height: 560px;*/
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    border-top: 50px solid var(--bkg);
    }

.image-header {
    background-color: var(--bkg);
    padding-bottom: 60px;
    position: relative;
    }

.profile-circle {
    width: 250px;
    height: 250px;
    background-color: #f0ede9;
    border-radius: 50%;
    margin: -60px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    }

.profile-circle img {
    width: 100%;
    height: auto;
    }

.content {
    padding: 0 30px 0px 30px;
    }

h1 {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: bold;
    }

.content-section {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: white;
    margin: 20px;
    border-radius: 8px;
}

.content-section img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
}
.rs_nav {
    margin-left: auto;
    display:inherit;
}

.contacts {
    font-size: 30px;
    list-style: none; /* enlève les puces */
    padding: 0;
    margin: 0;
}

.contacts li {
    display: flex;           /* met image et texte côte à côte */
    align-items: center;     /* centre verticalement */
    gap: 15px;               /* espace entre image et texte */
    margin-bottom: 20px;
}

.contacts img {
    height: 100px;
    width: 100px;
}

.contactRef { color : black;}

li a {
    display: flex;
    align-items: center; /* Aligne verticalement au centre */
    text-decoration: none; /* Optionnel : enlève le soulignement */
    gap: 10px; /* Ajoute un espace propre entre l'image et le texte */
}

.divdescription {
    width: 90%;
    margin: auto;
    text-align: center;
}

.description { font-size:22px;
    display: flex;
    text-align: left;
}

.h1pp {
    font-size: 45px;
}

.comment { text-align: left }

.rowTemoin {
    display:grid;
    grid-template-columns: 150px 100px 120px 1fr;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    align-items: center;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.profile-circle img[src="img/logo.png"]{width : 100%;
}

.profile-circle img { height: 100%;
    object-fit: cover;
}

.accSpe {
    border: 1px solid black;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

h2 {
    text-decoration-line: underline;
}


.cards { width: 90%;}

.bigchapter { 
    border: 1px solid black;
    border-radius: 16px;
    padding-left: 60px;
}

.chapter {font-size: 25px;}

.pres1 { margin:auto}

.sectionTemoin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 15px;
    padding: 15px;
}

.temoinImg {
    border: 1px solid black;
    /*border-radius: 2%;*/
    padding: 10px;
    width: 100%;
    height: auto;
    object-fit: cover; /* Garde les proportions si vous fixez une hauteur */
    border-radius: 8px;
}

.photoImg {
    border: 1px solid black;
    /*border-radius: 2%;*/
    padding: 10px;
    height: auto;
    object-fit: cover; /* Garde les proportions si vous fixez une hauteur */
    border-radius: 8px;
    margin: 5px;
}



.menu a {
    transition: 
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), /* Effet légèrement élastique */
    background-color 0.2s ease;
    
    /*will-change: transform; /* Prépare le navigateur pour l'animation */
    /*transform: scale(1);*/
    display: inline-block; /* Crucial pour que le transform fonctionne bien */
}

.menu a:hover { transition: transform 0.3s ease;
    transform: scale(1.3) !important;
    opacity: 1 !important;
    background-color: var(--bkg);
}

.navRsImg:hover{
    transition: transform 0.3s ease;
    transform: scale(1.3) !important;
    opacity: 1 !important;
    background-color: var(--bkg);
}

.navbar:hover .menu {
    opacity: 0.8;
}


/* L'élément juste après celui survolé grossit aussi un peu */
.menu a:hover + .menu {
    transform: scale(1.2);
    opacity: 0.9;
}

.burger svg { transition: transform 0.3s ease; }

/*.burger svg.zoom,*/
.burger svg:hover {
    transform: scale(1.65);
    background-color: var(--bkg);
}

.asideMenu { transition: transform 0.1s ease; }

/*.asideMenu.zoom*/
.asideMenu:hover { transition: transform 0.1s ease;
    transform: scale(1.3);
    background-color: #3fa9f5;
}


.contactImg { margin-left: 20%;}

.contactRef { margin-left: 20%;}
.contactRefTxt { margin: auto;}
/*#sideMenu { display: flex;
    align-items: center;}*/
#sideMenu {
    padding-left: 30px;
}

#sideMenu img {
    width: 160px;
    border-radius: 50%;
}

.miniaturePage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.moreButton {
    display: inline-block;
    background-color: #3fa9f5;;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top:5%;
    transition: transform 0.3s ease;
}
/*.moreButton.zoom */
.moreButton:hover{ 
    transform: scale(1.2);
    background-color: #3fa9f5;
}

/*
.miniatureSection {
    height: 550px;

}
*/
/*.content h1 { min-height: 80px;}*/

.category {
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.category button {
    margin-top: auto;
    align-self: center;
    margin-bottom: 5%;
}

.agenda {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row {
    display: grid;
    grid-template-columns:  150px 1fr 120px;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    align-items: center;
}

.header {
    font-weight: bold;
    background: #f3f3f3;
}

.rs_nav img{
    height: 40px;    
    width: 40px;
    cursor: pointer;
}

.soinTem, 
.agenDate,
.agendaLieu { font-weight: bold;}
.comment { margin-top: 5px; }

.soinTem::after {
    display: none;
}

@media (max-width: 700px) {
    .row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contacts { font-size: 30px; }
    .contacts li {
        flex-direction: column;
        align-items: center;      /* centre horizontalement */
        text-align: center; 
    }

    .contacts img { margin-bottom: 10px;}


}

@media (max-width: 850px) {
    .rs_nav img{
    height: 35px;
    cursor: pointer;
    width: 35px;
}

    .divdescription {
        width: 99%;
        margin: auto;
        text-align: center;
    }

    .description h2 { font-size: 16px; }
    .description { font-size: 14px; }

    .content-section {
        flex-direction: column;
        text-align: center;
    }
    .event {
        flex-direction: column;
        justify-content: normal;
        align-items: anchor-center;
    }
    .evenement {
        font-size: 18px;
    }
    .event_date {
    margin-right: 0px;
}

    .lieu { font-weight: 900;
    margin-left: 0px;
    }

}

@media (max-width: 960px) {
    .menu { display: none; }
        .rowTemoin {
        display:block;
        gap: 20px;
        padding: 12px;
        border-bottom: 1px solid #ccc;

        align-items: center;
    }
}

@media (min-width: 961px) {
    .menu { display: flex; }
}

@media (max-width: 1060px) {
    .evenement { font-size: 25px;    }
}

@media (max-width: 1060px) {
    .event { font-size: 20px;    }
}

@media (max-width: 1100px) {
    .evenement { font-size: 27px;    }
}

@media (max-width: 1100px) {
    .event { font-size: 22px;    }
}

@media (max-width: 960px) {
    .evenement { font-size: 18px;    }
    .event { font-size: 15px;    }
}

@media (max-width: 850px) {
    .contactImg {display: none;}
    .contactRef img {display: none;}
}


@media (max-width: 768px) {
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    /*min-height: 100dvh;*/
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    }

.h1pp {
    font-size: 20px;
}

/*
section {
    max-width:90%;
}*/
.miniaturePage {
    grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
}

.descLabel { min-height: 153px; }

.evenement { font-size: 12px;    }
.event { font-size: 13px;    }
.event-date { margin: auto }
.lieu { margin: auto }

.soinTem::after {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    margin: 5px auto 0;
    background: #bbb;
}

.description h2 {
    font-size: 16px;
}

.description {
    font-size: 14px;
}

.enTeteAgenda { display: none;}
/*
.miniatureSection {
    height: 580px;

}
*/
.contacts { font-size: 20px; }



/* =========================
    CONTAINER
========================= */

.container {
    width: 100%;
    padding: 16px;
    max-width: 480px;
    margin: auto;
}

/* =========================
    HEADER
========================= */

header {
    background: #111827;
    color: white;
    padding: 20px 16px;
    text-align: center;
    /*border-radius: 0 0 16px 16px;*/
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =========================
    BUTTONS
========================= */
/*
.btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}
*/
/* =========================
    CARDS
========================= */

.card {
    background: white;
    padding: 18px;
    margin-top: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: #555;
}

/* =========================
    FORM
========================= */

form {
    margin-top: 16px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
}

/* =========================
    IMAGE
========================= */

img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

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

footer {
    text-align: center;
    padding: 24px 16px;
    font-size: 0.85rem;
    color: #666;
}

/* =========================
    MOBILE NAV
========================= */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav a {
    text-decoration: none;
    color: #111827;
    font-weight: bold;
    font-size: 0.95rem;
}

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


    .container {
        max-width: 720px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .btn {
        width: auto;
        padding: 14px 28px;
    }
}

#nav_logo {
    width:50px;
}

/*
.arrowss {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 5px solid white;
    border-right: 5px solid transparent;
    border-top: 5px solid transparent; 
    transition: transform 0.3s ease;
}

/* Rotation de la flèche quand on survol
.dropdown:hover .arrowss {
    transform: rotate(180deg);
    border-top-color: #ffcc00;
}

/*
.agenda { margin: auto;
    display: inline-block;}
    */
