:root {
    --main-color: #F99F45;
    --second-color: #2f7a7a;
    --grey-color: #6d6d6d;
    --admin-color: #555BA9;
}

* {
    text-decoration: none;
    font-family: 'Poppins';
}

body {
    margin: 0;
    background-color: #243040;
}
.displaymobile{
    display: none;
}
@font-face {
    font-family: 'Bubbler';
    src: url("../fonts/Bubbler_One/BubblerOne-Regular.ttf");
}

@font-face {
    font-family: 'Poppins';
    src: url("../fonts/Poppins/Poppins-Light.ttf");
}

@font-face {
    font-family: 'Poppinsbold';
    src: url("../fonts/Poppins/Poppins-Bold.ttf");
}
a {
    text-decoration: none!important;
    color: var(--main-color);
}
hr {
    margin: unset;
    color: inherit;
    border: unset;
    border-top: unset;
    opacity: 1;
}
#paper-back {
    width: 100%;
    height: 100vh;
    background-color: #243040;
    position: fixed;
    top: 100px;
    left: 0;
    font-size: 33px;
}

#paper-back nav {
    padding: 120px 34px;
}

#paper-back nav a {
    display: block;
    font-size: 100%;
    margin-bottom: 25px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

#paper-window {
    position: relative;
    overflow-x: hidden;
    
    z-index: 2;
}

#paper-window.tilt {
    overflow: hidden;
    pointer-events: none;
}

#paper-window.tilt #paper-front {
    transform: rotate(10deg) translateZ(0);
}

#paper-front {
    pointer-events: auto;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    transform-origin: center 70%;
    transition: all 0.3s ease;
    z-index: 500;
}

#container section {
    height: 600px;
    text-align: center;
}

#container section:first-of-type {
    padding-top: 10vh;
}

#container section:first-of-type h1 {
    font-size: 45px;
}

#container section:first-of-type p {
    font-size: 25px;
}

@media (max-width: 600px) {
    #container section:first-of-type {
        padding-top: 15vh;
    }
    #container section:first-of-type h1 {
        font-size: 30px;
    }
    #container section:first-of-type p {
        font-size: 18px;
    }
}

#container section:nth-of-type(2n) {
    background-color: #edf1f5;
}

.hamburger {
    width: 45px;
    height: 34px;
    cursor: pointer;
    user-select: none;
}

.hamburger span {
    position: relative;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
    display: block;
    width: 45px;
    height: 6px;
    background-color: #243040;
    border-radius: 2px;
}

.hamburger span:before,
.hamburger span:after {
    content: "";
    position: absolute;
}

.hamburger span:before {
    bottom: -14px;
}

.hamburger span:after {
    bottom: -28px;
}

.close {
    position: fixed;
    top: 130px;
    left: 30px;
    width: 45px;
    height: 34px;
    cursor: pointer;
}

.close:before,
.close:after {
    content: "";
    position: absolute;
    display: block;
    width: 45px;
    height: 6px;
    top: 50%;
    background-color: white;
    border-radius: 2px;
}

.close:before {
    transform: translateY(-50%) rotate(45deg);
}

.close:after {
    transform: translateY(-50%) rotate(-45deg);
}

h1,
h2,
h3 {
    font-family: 'Bubbler';
}

.test {
    display: none;
}

.compresswrap {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.compressalign {
    align-items: center!important;
    justify-content: space-between!important;
}

.compressalign p {
    width: 90%;
}

.fancybox-inner {
    max-height: auto;
}


/* Theme general */

.clroe {
    color: var(--main-color);
}

.clrbl {
    color: var(--second-color);
}

.clrgy {
    color: var(--grey-color);
}

.adminboard .clradm{
  color: var(--admin-color)!important;
  border-color: var(--admin-color)!important;
}
.clradm {
    color: white!important;
    border-color: white!important;
}
.btnorore.clradm:hover {
    background-color: var(--admin-color);
    color: white!important;
}
.clradmf {
    border-color: var(--admin-color)!important;
}

.clradmicon {
    color: var(--admin-color)!important;
}

.orore-modal-content,
.modale-content {
    background-color: #fefefe;
    margin: 3% auto;
    /* 15% from the top and centered */
    border: 3px solid var(--second-color);
    border-radius: 2rem;
    width: 35%;
    /* Could be more or less, depending on screen size */
}

.wrapmodal div:last-child {
    margin-bottom: 2rem;
}

.reduc {
    width: 80%;
    margin: auto;
}

.reducG {
    width: 60%;
}


/* Toute les pages */

#title_block {
    text-align: center;
    color: white;
    padding-top: 1.5rem;
}

#title_block div * {
    font-family: 'Poppinsbold'!important;
}

#title_block h1 {
    font-family: 'Poppinsbold'!important;
    
}


.divorore {
    margin: 1em;
}

.btnorore {
    font-family: 'Poppinsbold';
    color: white;
    cursor: pointer;
}

.btnorore a {
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    border: none;
}

a:has(>.btnorore) {
    height: 100%;
    width: auto;
}

.align {
    margin: 1.5em;
    text-align: center;
}

h2,
h3 {
    font-size: 1.8rem;
}

#logorore {
    height: 45px;
}
#menunav {
    display: flex;
    align-items: center;
    width: 95%;
    justify-content: space-between;
    margin: auto;
  }
  
  #liennav a {
    color: var(--main-color);
    font-family: 'Poppinsbold'!important;
  }
  
  #header_nav {
  background-color: white;
    height: 55px;
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}

#footer {
    border-top: solid 0.3rem var(--second-color);
    text-align: center;
    background: white;
}

.bandoror {
    background-color: var(--second-color);
    color: var(--second-color);
    padding: 1rem;
    padding-left: 0;
    padding-right: 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
}
.flash_message {
    text-align: left;
    width: 30%;
    position: absolute;
    height: auto;
    padding: 1em;
    font-size: 22px;
    top: 10rem;
    z-index: 1000;
    display: block;
    padding-left: 10%;
    animation: slide-up 1.25s forwards;
    animation-delay: 2.25s;
    -webkit-animation-delay: 2.25s;
  }
  
  @-webkit-keyframes slide-up {
    from {
      transition: translateY(0);
      opacity: 1;
    }
    to {
      transition: translateY(-150px);
      opacity: 0;
      top: 0px;
    }
  }
  .success{
    color: green;
  }
.footerlogos {
    height: 60px;
}

#footflex {
    display: flex;
    margin: auto;
    justify-content: space-between;
    width: 95%;
    align-items: center;
}
#footflex p{
    margin: 0.3rem;
}
/* Landing page */

#home_block {
    margin: auto;
    max-width: 1100px;
    display: flex;
    justify-content: space-evenly;
}

#home_block h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.wrapperadmin {
    display: flex;
    justify-content: space-evenly
}

.rightorore {
    /* float: right; */
}

.leftorore {
    float: left;
}

#titrespe {
    margin-top: 0;
}


#divhome div {
    margin: auto;
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: justify;
    font-size: large;
}

#bouquin {
    height: 250px;
    box-shadow: var(--second-color) 20px 20px 1px 4px;
    transition: ease-in-out, .3s;
}

#bouquin:hover {
    box-shadow: none;
}

.event_block,
.shar_block {
    width: auto;
    text-align: center;
    background-color: white;
}

.blockorore {
    border: #D6D6D4 solid 2px;
    padding: 1em;
    border-radius: 1rem;
    width: 430px;
    box-shadow: 6px 3px 10px 1px #d6d6d6;
    transition: ease-in-out, .3s;
    margin: 1rem;
    height: auto;
}

.blockorore h4 {
    margin-top: 0.5rem;
    display: inline;
}

.formbuttonorore {
    background-color: white;
    border: none;
    cursor: pointer;
}

.blockorore form {
    display: inline;
}

.blockorore:hover {
    box-shadow: none;
}

#articlmor {
    width: 20%;
    margin: auto;
}

.blockorore>.compresswrap .btnorore {
    padding-bottom: 0.8rem;
}

.blockorore .compresswrap {
    margin-top: 2rem;
}

.blockorore h2 {
    display: inline;
}


/* Events index page */

#articllist {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination {
    width: 50%;
    margin: auto;
    text-align: center;
    margin-top: 2rem;
}

.pagination .current {
    font-size: 120%;
}

.linkcdc {
    width: 80%;
    justify-content: space-between;
}

.sharlist h3 {
    margin-left: 20%;
}

#addmin {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

#addmin div {
    margin-right: 1rem;
}

#addmin div:last-child {
    margin-right: 0;
}

#addentet {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#addentet h2 {
    width: 33%;
}


/* Events edit page */

#ifsecondday {
    justify-content: flex-end;
}

.eventmodal .datelimit,
#formedit #checksecondday {
    display: none;
}

.formedit textarea {
    width: 100%;
}

.wrapperadmin textarea,
#formevent textarea,
#formevent input,
.eventmodal select {
    border: 3px solid var(--second-color);
    border-radius: 8px;
}

#minmax {
    display: flex;
    justify-content: space-around;
}

.modalsho .modal-content,
.modformevt .modal-content {
    width: 60%;
}

.modformevt .eventmodal form {
    margin: 2rem;
}


/* Share index page */

.shar_block .modal-content {
    width: 65%;
    padding-bottom: 3rem;
}

#sharmodal article>.rightorore {
    margin-right: 1.5rem;
}

.linkshar .compresswrap>div {
    margin-left: 1rem;
}

.linkshar form {
    display: inline;
}

.wraparticl {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.wraparticl>div{
    width: 26px;
    height: 26px;
}
#addentet h2 {
    width: auto;
}

/* Documentation page*/

.pho {
    position: relative;
}

.pho img {
    width: 300px;
    height: 220px;
    overflow: hidden;
    /* margin: 1rem; */
}

.pho .delbtn {
    color: var(--second-color);
    border: none;
    background-color: white;
}

.phodlt .formbuttonorore {
    background-color: transparent;
}

.doc_page h2 {
    margin-top: 0;
}
.doc_page #bouquin{
  height: 275px;
}
.phodlt {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: transparent;
}


/* Admin Page */

.shar_index .titleshar,
.wrapperadmin .titleshar {
    display: none;
}

.wrapperadmin div>div {
    margin: 2rem;
}

.wrapperadmin>div {
    text-align: center;
}

#papadm {
    height: 450px;
    margin-top: 10%;
}


#adm_page::before{
    content: '';
    background: url(../img/papillondroit.svg) no-repeat center center;
    position: absolute;
    top: 0%;
    left: 40%;
    bottom: 40%;
    right: 40%;
    opacity: 0.3;
    z-index: -1;
}
#adm_page>div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 50%;
    margin: auto;
    text-align: center;
    gap: 30px;
}

/* Contact Page */

.modformshar textarea,
.eventmodal textarea,
.contact textarea {
    resize: none;
    width: 100%;
    border-radius: 8px;
    border: 3px solid var(--second-color);
}

.modformshar textarea {
    width: 90%;
}

.modformshar #cke_partages_text {
    margin-bottom: 2rem;
}

.eventmodal .textrow,
#formevent .textrow {
    margin: auto;
    width: 80%;
}

#whoiam {
    color: white;
    font-family: 'Poppinsbold';
    padding-top: 1rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
        border: solid 1px white;
    border-radius: 1rem;
}

#certif img,
#phome {
    height: 300px;
}

#pratique_page .titre {
    margin-right: 4rem;
}

#pratique_page .compresswrap {
    align-content: center
}

#pratique_page h4 {
    margin-bottom: 0;
    margin-top: 0;
}

#pratique_page .phopratik {
    height: 450px;
}

/* Overlay */
.orore-modal, .modale, .modal{
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); /* petit effet flouté élégant */
  overflow-y: auto;
}

/* Contenu */
.orore-modal-content, .modale-content, .modal__content {
  background: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  max-width: 700px;
  width: 90%;
  animation: popIn 0.3s ease;
  position: relative;
}

/* Animation d'apparition */
@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Titre */
.orore-modal-content h2, 
.modale-content h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--main-color);
}

/* Texte */
.orore-modal-content p,
.modale-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}


.orore-modal-content .btnorore:hover,
.modale-content .btnorore:hover {
  background: #e37400; /* couleur plus foncée */
}

/* Bouton de fermeture */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #666;
  transition: 0.2s;
}
.modal-close:hover {
  color: #000;
}


#slider-round {
    height: 10px;
}

#slider-round .noUi-connect {
    background: var(--admin-color);
}

#slider-round .noUi-handle {
    height: 18px;
    width: 18px;
    top: -5px;
    right: -9px;
    /* half the width */
    border-radius: 9px;
}

.noUi-connect {
    background: var(--admin-color);
}

.noUi-horizontal .noUi-handle,
.noUi-vertical .noUi-handle {
    background: var(--main-color);
}

.noUi-tooltip {
    display: none!important;
}

.noUi-active .noUi-tooltip {
    display: block!important;
}


/* Modal Content/Box */

.modal-content * {
    transition: ease-in-out, .3s;
}


/* Datetimepicker */

.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

.ui-timepicker-div dl dt {
    float: left;
    clear: left;
    padding: 0 0 0 5px;
}

.ui-timepicker-div dl dd {
    margin: 0 10px 10px 40%;
}

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-timepicker-div .ui_tpicker_unit_hide {
    display: none;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input {
    background: none;
    color: inherit;
    border: none;
    outline: none;
    border-bottom: solid 1px #555;
    width: 95%;
}

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus {
    border-bottom-color: #aaa;
}

.ui-timepicker-rtl {
    direction: rtl;
}

.ui-timepicker-rtl dl {
    text-align: right;
    padding: 0 5px 0 0;
}

.ui-timepicker-rtl dl dt {
    float: right;
    clear: right;
}

.ui-timepicker-rtl dl dd {
    margin: 0 40% 10px 10px;
}


/* Shortened version style */

.ui-timepicker-div.ui-timepicker-oneLine {
    padding-right: 2px;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
.ui-timepicker-div.ui-timepicker-oneLine dt {
    display: none;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label {
    display: block;
    padding-top: 2px;
}

.ui-timepicker-div.ui-timepicker-oneLine dl {
    text-align: right;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd,
.ui-timepicker-div.ui-timepicker-oneLine dl dd>div {
    display: inline-block;
    margin: 0;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before {
    content: ':';
    display: inline-block;
}

.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before {
    content: '.';
    display: inline-block;
}

.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before {
    display: none;
}

.screenpc {
    display: block;
}

.mobile {
    display: none;
}

@media (max-width:992px) {
    .mobile {
        display: block;
    }
    .screenpc {
        display: none;
    }
    #liennav {
        display: none;
    }
    #divhome {
        flex-direction: column;
    }
    #divhome div{
      margin: auto!important;
    }
    .containerSection{
        width: 90%!important;
        margin: 3rem auto!important;
    }
    .modale-content, .orore-modal-content {
        width: 90%!important;
        margin: 10% auto!important;
    }
    #home_block div {
        margin: auto;
    }
    .align {
        margin-top: 2rem!important;
        margin-bottom: 2rem!important;
    }
    .btnorore {
        font-size: 22px!important;
    }
    .modal-content {
        width: 80%!important;
        margin: 20% auto!important;
    }
    .compresswrap {
        display: block;
        width: 100%;
    }
    #header_nav {
        height:100px;
    }
    p{
        font-size: 26px;
    }
    .rightorore{
      display: none;
    } 
    h3{
      font-size: 34px!important;
    }
    h4{
      font-size: 32px!important;
    }
    h5{
      font-size: 28px!important;
    }
    div{
      font-size: 22px;
    }
    /* Share_index mobile */
    #shar_index {
        width: 100%;
        text-align: center;
    }
    #articllist {
        display: block;
    }
    .linkcdc {
        display: block;
        width: 100%;
        justify-content: center;
    }
    
    .linkcdc .linkshar {
        padding: 5%;
    }
    #brochure-block{
      position: absolute;
      bottom: 5rem;
      top: unset!important;
      left: 1rem;
      width: 32%;
      text-align: center;
    }
    /* Event_index mobile */
    #event_index .reduc {
        width: 90%;
        margin: auto;
    }
    .mobilreduc {
        width: 90%;
        margin: auto;
    }
    /* Documentation mobile */
    #bouquindoc {
        text-align: center;
    }
    #bouquindoc>div:last-child p {
        text-align: justify;
    }
    #pratique_page {
        text-align: justify;
    }
    #pratique_page .phopratik {
        width: 100%;
        height: auto;
    }
    .contact .contactform {
        width: 100%;
    }
    .contact {
        text-align: center;
    }
    
    #whoiam {
        text-align: justify;
    }
    #whoiam>.reduc {
        width: 100%;
    }
    #whoiamtext {
        padding: 2rem;
    }
    #wrapwoiam {
      display: grid;
      grid-template-areas:
        "text text"
        "certif portrait";
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      text-align: center;
    }

    #whoiamtext { grid-area: text; }
    #certif     { grid-area: certif; }
    #phome      { grid-area: portrait; }
    #wrapwoiam a[href$="Attestation.jpg"] { grid-area: certif; }
    #wrapwoiam a[href$="portrait.jpg"] { grid-area: portrait; }


    .clradmicon {
        color: var(--admin-color)!important;
        display: none;
    }
    .eventmodal .clradm,
    #sharmodal .clradm {
        display: none;
    }
    .wraparticl h4 {
        margin: auto;
        font-size: 150%;
    }
}

@media (min-width:992px) {
    .hamburger {
        display: none;
    }
    .wrapper {
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: auto;
    }
    .disflex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #bouquindoc {
        display: flex;
        width: 75%;
        margin: auto;
        justify-content: space-between;
    }
    #bouquindoc>div:last-child {
        /* margin-left: 4rem; */
        text-align: justify;
    }
    #pholist {
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #pratique_page .textpra {
        text-align: justify;
        width: 55%;
        margin-right: 2em;
    }
    #wrapwoiam {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #whoiamtext {
        width: 52%;
        text-align: justify;
        padding-right: 3rem;
    }
    #whoiamtext>div {
        margin-left: 5rem;
    }
}

#divhome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto;
    background: white;
    padding: 3rem 0;
    border-radius: 2%;
}
#divhome img {
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
#divhome p {
  max-width: 650px;
  line-height: 1.6;
  text-align: justify;
}

/* Mobile */
@media (max-width: 768px) {
  #divhome {
    flex-direction: column;
    text-align: center;
  }
  #divhome p {
    text-align: left;
  }
  #displaymobile{
    display: initial;
  }
  
}
#paper-front {
  background: #2f7a7a url('https://www.transparenttextures.com/patterns/arches.png');
}
/* PROVISOIRE SELECTIONNEUR DE FOND TEXTURE */
 #texture-selector {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  #texture-preview {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    background-size: contain;
  }
  #texture-index {
    font-size: 0.9em;
    text-align: center;
  }
  #color-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
#rgba-input {
  width: 160px;
  font-family: monospace;
  padding: 4px;
}
/*  FIN PROVISOIRE SELECTIONNEUR DE FOND TEXTURE */
#divhome, #home_block {
    isolation: isolate; 
}
.containerSection{
    position: relative; 
    margin: 2rem auto; 
    padding: 1.5rem 1rem;
    max-width: 1600px;
    width: 1600px;
    text-align: center;
}
.containerSection::before {
  content:""; position:absolute; inset:-8px -12px;
  background:rgba(255,255,255,.82); border:1px solid rgba(0,0,0,.04);
  border-radius:16px; box-shadow:0 10px 26px rgba(0,0,0,.06); backdrop-filter:blur(2.5px);
  z-index:-1;
}
#whoiam::before{
    content:""; position:absolute; inset:-8px -12px;
    background:rgba(47,122,122,.82); border:1px solid rgba(0,0,0,.04);
    border-radius:16px; box-shadow:0 10px 26px rgba(0,0,0,.06); backdrop-filter:blur(2.5px);
    z-index:-1;
}
#wrapperpartage .bandoror{
    z-index: -1;
    position: relative;
}
.bandoror {
  padding: unset;
  border: 0;
  height: 2px;
  width: 90%;
  margin: 3rem auto;
  background: linear-gradient(to right, var(--main-color), var(--second-color));
  opacity: 0.6;
  max-width: 1100px;
}

#home_block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    align-items: start;
    align-content: center;
    justify-items: center;
}
#home_block h3 {
  grid-column: span 2; /* titre sur toute la largeur */
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--main-color);
}
#home_block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}
#home_block h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--main-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.blockorore {
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blockorore:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}


.btn-secondary {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}
.btn-secondary:hover {
  background: var(--main-color);
  color: #fff;
}
.containerCard{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.blockorore {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  padding: 1.5rem;
  overflow: hidden;
}
.blockorore::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--main-color); /* violet signature */
}
.shar_block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--second-color); /* violet signature */
}
.blockorore h5 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.blockorore p {
  color: #000000;
  margin-bottom: 1.5rem;
}
.btnorore {
  font-size: 14px;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px; /* pill */
  border: 1px solid var(--main-color);
  background: transparent;
  color: var(--main-color);
  transition: all 0.2s ease;
}
.btnorore:hover {
  background: var(--main-color);
  color: #fff;
}
#bouquin {
  height: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#bouquin:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}
#title_block h1 {
  font-size: clamp(32px, calc(54.74px - 1.73vw), 44px);
  font-weight: 500;
  text-transform: none; /* respecte la minuscule */
  letter-spacing: 0.5px;
  color: #ffffff;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
#title_block h1::after {
  content: '';
    display: block;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, var(--main-color), var(--second-color));
    border-radius: 2px;
    margin: 0.5rem auto 0;
}
#title_block h3 {
  font-size: clamp(16px, calc(48.74px - 1.73vw), 38px);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  margin-top: 0.4rem;
}
#bouquin {
  height: 575px;
  transition: all .3s ease-in-out;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: rotate(-1deg);
  margin: auto;
}
#bouquin:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
#bouquin {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  background: white;
}
#bouquin-wrapper {
  display: inline-block;
  padding: 10px;
  background: rgba(255,255,255,0.8);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.orore-modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 800px;
  margin: 5% auto;
  padding: 2rem;
  position: relative;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* Titre */
.orore-modal-content h2 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--main-color);
  margin-bottom: 1rem;
  position: relative;
}
.orore-modal-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--main-color);
  margin: 0.5rem auto 1rem auto;
  border-radius: 3px;
}

/* Texte infos */
.orore-modal-content p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

/* Bouton flyer */

/* Carte */
.orore-modal-content iframe {
  width: 80%;
  margin: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.orore-modal-content {
  text-align: center;
}

.orore-modal-content p {
  margin: 0.5rem 0;
}
/* Contenu de la modale "partages" */
.modale-content {
  width: 1000px;
  max-width: unset;
  margin: 40px auto;
  padding: 40px 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  line-height: 1.7;
  font-size: 1rem;
  text-align: justify; /* lecture + propre */
}

/* Header titre */
.modale-content h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--main-color);
  position: relative;
}
.modale-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--main-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Texte (issu du wysiwyg) */
.modale-content .reduc p {
  margin: 0 0 1.2em;
}
.modale-content .reduc b {
  font-weight: 600;
}
.modale-content .reduc i {
  font-style: italic;
  opacity: 0.95;
}

/* Date en bas */
.modale-content .rightorore {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: right;
  color: #666;
  font-style: italic;
}
/* Conteneur du formulaire */
.modal__content form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem 2rem;
}

/* Champs */
.modal__content textarea,
.modal__content input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

.modal__content textarea:focus,
.modal__content input[type="text"]:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(255, 136, 0, 0.2);
  outline: none;
}

/* Placeholder style */
.modal__content ::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Bouton sauvegarde */
.modal__content .btn {
  align-self: center;
  margin-top: 0.5rem;
}
textarea {
  resize: none;
}

textarea.resizable {
  resize: vertical;
}
.linkcdc {
    display: flex;
    gap: 40px;
    justify-content: space-around;
}

.linkcdc h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--main-dark, #2a2a2a);
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 5px;
    text-align: center;
    width: 29%;
    margin: 1rem auto;
}

/* --- Coup de cœur (texte mis en valeur) --- */
.cdcshar .compresswrap {
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  line-height: 1.6;
}

/* --- Liens listés --- */
.linkshar .compresswrap {
  background: #fff;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.linkshar .compresswrap a {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}

.linkshar .compresswrap a:hover {
  text-decoration: underline;
}

/* --- Responsive mobile --- */
@media (max-width: 768px) {
  .linkcdc {
    grid-template-columns: 1fr;
  }
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 20px;
}
#shar_index{
    max-width: 1600px;
    text-align: center;
    position: relative;
    margin: 2rem auto;
     padding: 1.5rem 1rem;
}


/* --- Boutons Ajouter --- */
.section-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.section-header {
     text-align: center;
    margin: 40px 0 25px;
    position: absolute;
    top: 10px;
    right: 10px;
}
#phaudio_block h2,
.containerSection>h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--main-dark);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--main-color);
}
#articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}
.pagination{
    font-size: x-large;
    justify-content: center;
}
.pagination a{
    color: var(--second-color);
}
.pagination a:hover{
    color: var(--main-color);
}
.pagination span{
    margin: 0 0.3rem;
}
.linkcdc{
    max-width: 1600px;
    width: 1600px;
    margin: 2rem auto;
     padding: 1.5rem 1rem;
    position: relative;
}
.cdcshar{
    width: 60%;
}
/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 25px auto;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  color: var(--main-dark);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--main-color);
  color: #fff;
}

.pagination .current {
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
}
#modal-event-create .modal__content{
    max-width: unset;
    width: 42%;
}
#bouquindoc {
  display: grid;
  grid-template-columns: 1fr 2fr; /* image à gauche, texte à droite */
  gap: 40px;
  align-items: start;
  padding: 20px;
}

#bouquin-left {
  text-align: center;
}

#bouquin-left img {
  max-width: 220px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#bouquin-left blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  padding: 10px;
  border-left: 3px solid var(--main-color);
  background: #fafafa;
  border-radius: 6px;
  margin-top: 3rem;
}

#bouquin-right {
  line-height: 1.6;
}

#bouquin-right h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

#bouquin-right p {
  margin-bottom: 1rem;
}

/* Responsive : pile les colonnes */
@media (max-width: 768px) {
  #bouquindoc {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #bouquin-left img {
    margin: 0 auto;
  }
  #bouquin-left blockquote {
    margin-top: 15px;
  }
}
#livres-block{
    margin-top: 1rem;
}
#brochure-block{
    position: absolute;
    top: 1rem;
    left: 1rem;
}
/* Liste livres : sans puces, petites “cards” propres */
#livres-block ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

#livres-block li {
  position: relative;
  margin: 10px 0;
  padding: 12px 16px 12px 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}


/* Titre du livre en italique & un peu plus dense */
#livres-block li em {
  font-style: italic;
  font-weight: 600;
  color: var(--main-dark, #2a2a2a);
}

/* Éditeur / ISBN : même ligne, typo un poil plus douce */
#livres-block li {
  color: #555;
  line-height: 1.6;
}
#phaudio_block{
    display: grid;
    grid-template-columns: 1fr 1.6fr;
}
.episode_list{
    display: flex;
    gap: 1rem;
}
.episode{
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: fit-content;
    margin: auto;
    align-items: center;
}
#pholist_block {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Layout of the 2 columns: audio | photos */
#phaudio_block {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 2rem;
}

/* Give a bit of air between the download link and the player */
#episodes_block .btnorore {
  display: inline-block;
  margin-bottom: .5rem;
}

/* Photos: 2x2 tiles per "page", horizontal slider */
#pholist_block {
  --tile-w: 280px;   /* width of each tile */
  --tile-h: 180px;   /* height of each tile */
  --gap: 12px;
    margin: auto;
  display: grid;
  grid-auto-flow: column dense;
  /* First group (first page) has 2 columns: */
  grid-template-columns: var(--tile-w) var(--tile-w);
  /* Every time we need more space, create 2 new columns (=> next page): */
  grid-auto-columns: var(--tile-w) var(--tile-w);
  /* Two rows (top/bottom) per page: */
  grid-template-rows: repeat(2, var(--tile-h));
  gap: var(--gap);
  max-width: calc((2 * var(--tile-w)) + var(--gap));

  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}

/* Each photo tile */
#pholist_block > .pho {
  width: var(--tile-w);
  height: var(--tile-h);
}

/* Make the image fill the tile nicely */
#pholist_block img.img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Snap to the first tile of each 2x2 page (item 1, 5, 9, ...). */
#pholist_block > .pho:nth-child(2n + 1) {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Optional: subtle scrollbar styling (keeps it tidy) */
#pholist_block::-webkit-scrollbar { height: 8px; }
#pholist_block::-webkit-scrollbar-thumb { background: #ddd; border-radius: 8px; }
#pholist_block { scrollbar-color: #ddd transparent; scrollbar-width: thin; }

/* Responsive: stack on narrow screens */
@media (max-width: 1024px) {
  #phaudio_block {
    grid-template-columns: 1fr;
  }
  /* Keep the 2×2 pages but make tiles fluid for mobile */
  #pholist_block {
    --tile-w: min(42vw, 240px);
    --tile-h: calc(var(--tile-w) * 0.64);
  }
}
.episode-toggle {
  text-align: center;
  margin-bottom: .8rem;
}

/* petit switch */
.switch { position:relative; display:inline-block; width:44px; height:24px; }
.switch input{ display:none; }
.slider{
  position:absolute; inset:0; background:#ddd; border-radius:999px; cursor:pointer;
}
.slider:before{
  content:""; position:absolute; height:18px; width:18px; left:3px; top:3px;
  background:white; border-radius:50%; transition:transform .2s;
}
.switch input:checked + .slider { background:#ffb366; }
.switch input:checked + .slider:before { transform:translateX(20px); }

/* masquer / afficher selon mode */
.episode_list[data-mode="full"] .episode--part { display:none; }
.episode_list[data-mode="parts"] .episode--full { display:none; }
#episodes_block .episode-intro {
  margin: .25rem 0 1rem;
  color: #666;
  text-align: center;
}
.episode-intro em{
  font-style: italic;
}
.episode_list .episode {
  margin-bottom: 1.1rem;
}

.episode-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  font-size: .75rem;
  line-height: 1;
  padding: .35rem .5rem;
  border-radius: 999px;
  background: #f2f2f2;
  color: #444;
}

.chip--full {
  background: rgba(255, 153, 0, .12);
  color: #d47500; /* cohérent avec ta couleur principale */
  border: 1px solid rgba(255, 153, 0, .35);
}

.episode-title {
  font-weight: 600;
  color: var(--main-dark, #2a2a2a);
}

.episode-meta {
  color: #888;
  font-size: .9rem;
}

.btnorore.btnorore--sm {
  padding: .45rem .75rem;
  font-size: .9rem;
  margin-bottom: .35rem;
}

.episode audio {
  width: 100%;
  display: block;
  margin-top: .25rem;
}

.episode-note {
  margin:.35rem 0 0;
  font-size: .9rem;
  color:#666;
}


.textpra {
  flex: 1;
}


/* Pour alterner les blocs */
#pratique_page .containerSection:nth-child(even) .compresswrap {
  flex-direction: row-reverse; /* inverse texte et image */
}


.textpra {
  flex: 1;
}

.phopratik {
  max-height: 300px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  background: white;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Pour alterner les blocs */
#pratique_page > .containerSection:nth-child(1) .compresswrap {
  flex-direction: row-reverse; /* inverse texte et image */
  gap: 2rem;
}
#pratique_page #tete{
    height: min-content;
}
/* Layout 2 colonnes */
.compresswrap.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

/* Infos à gauche */
.contact-info p {
  margin: 0.5rem 0;
}
.contact-info a {
  color: var(--main-color);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Formulaire */
.contactform textarea,
.contactform input[type="text"],
.contactform input[type="email"] {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Bouton */
.contactform button {
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  float: right;
  transition: 0.3s;
}
.contactform button:hover {
  background: #e15d1e; /* un orange un peu plus foncé */
}
.histocdc{
    display: flex;
    align-items: center;
}
#analytics{
    width: 750px;
}
#login .containerSection{
  color: var(--main-dark);
  width: 1000px;
}
/* === Container principal === */
#formevent {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  font-family: "Manrope", sans-serif;
  color: #333;
}

/* === Rows & Alignements === */
.formrow {
  margin-bottom: 1.5rem;
}

.formrow.align {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compresswrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === Inputs & Textareas === */
#formevent input[type="text"],
#formevent input[type="email"],
#formevent input[type="number"],
#formevent input[type="date"],
#formevent textarea,
#formevent select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  background: #fafafa;
}

#formevent input:focus,
#formevent textarea:focus,
#formevent select:focus {
  border-color: #5a7fff;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(90,127,255,0.2);
}

/* === Labels & Placeholders === */
#formevent label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

#formevent input::placeholder,
#formevent textarea::placeholder {
  color: #aaa;
  font-style: italic;
}

/* === Bouton === */
#formevent button.btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #5a7fff, #3d5afe);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  margin: auto;
}

#formevent button.btn:hover {
  background: linear-gradient(135deg, #3d5afe, #2c44d8);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(61,90,254,0.3);
}

/* === Slider === */
#slider-round {
  margin-top: 1.5rem;
}
#minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* === Checkbox custom === */
#ifsecondday {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
#ifsecondday input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #3d5afe;
}

/* === Responsive === */
@media (max-width: 600px) {
  .compresswrap {
    flex-direction: column;
  }
}
#liennav {
  display: flex;
  gap: 2rem;
  position: relative;
}

#liennav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

#indicator {
  position: absolute;
  bottom: -6px;
  height: 4px;
  width: 0;
  background: #ff6b35;
  border-radius: 2px;
  transition: all 0.3s ease;
}
