/* ========================================
   IMPORTS & FONTS
   ======================================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic");

/* ========================================
   RESET CSS (Spectral by HTML5 UP)
   ======================================== */
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* ========================================
   BASE STYLES
   ======================================== */
@-ms-viewport {
    width: device-width;
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background: #2e3842;
    color: #fff;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 15pt;
    font-weight: 400;
    letter-spacing: 0.075em;
    line-height: 1.65em;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after {
    -moz-animation: none !important;
    -webkit-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

/* Responsive Typography */
@media screen and (max-width: 1280px) {
    body, input, select, textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 736px) {
    body, input, select, textarea {
        font-size: 11pt;
        letter-spacing: 0.0375em;
    }
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

/* Liens */
a {
    -moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
    -webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
    -ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
    color: inherit;
    text-decoration: none;
}

a:hover {
    border-bottom-color: transparent;
}

a, a:active, a:focus {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Texte en gras et italique */
strong, b {
    color: #fff;
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* Paragraphes */
p {
    margin: 0 0 2em 0;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.225em;
    line-height: 1em;
    margin: 0 0 1em 0;
    text-transform: uppercase;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-size: 1.35em;
    line-height: 1.75em;
}

h3 {
    font-size: 1.15em;
    line-height: 1.75em;
}

h4 {
    font-size: 1em;
    line-height: 1.5em;
}

h5 {
    font-size: 0.8em;
    line-height: 1.5em;
}

h6 {
    font-size: 0.7em;
    line-height: 1.5em;
}

/* Responsive Titres */
@media screen and (max-width: 736px) {
    h2 {
        font-size: 1.1em;
        line-height: 1.65em;
    }
    h3 {
        font-size: 1em;
        line-height: 1.65em;
    }
}

/* Exposants et indices */
sub {
    font-size: 0.8em;
    position: relative;
    top: 0.5em;
}

sup {
    font-size: 0.8em;
    position: relative;
    top: -0.5em;
}

/* SÃ©parateurs */
hr {
    border: 0;
    border-bottom: solid 2px #fff;
    margin: 3em 0;
}

hr.major {
    margin: 4.5em 0;
}

/* Citations */
blockquote {
    border-left: solid 4px #fff;
    font-style: italic;
    margin: 0 0 2em 0;
    padding: 0.5em 0 0.5em 2em;
}

/* Code */
code {
    background: rgba(144, 144, 144, 0.25);
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    letter-spacing: 0;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75em;
    padding: 1em 1.5em;
    overflow-x: auto;
}

/* Alignement du texte */
.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

/* ========================================
   EN-TÃŠTES DE SECTIONS
   ======================================== */

section.special, article.special {
    text-align: center;
}

header p {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    top: -0.25em;
}

header h3 + p {
    font-size: 1.1em;
}

header h4 + p,
header h5 + p,
header h6 + p {
    font-size: 0.9em;
}

header.major {
    margin: 0 0 3.5em 0;
}

header.major h2, header.major h3, header.major h4, header.major h5, header.major h6 {
    border-bottom: solid 2px #fff;
    display: inline-block;
    padding-bottom: 1em;
    position: relative;
}

header.major h2:after, header.major h3:after, header.major h4:after, header.major h5:after, header.major h6:after {
    content: '';
    display: block;
    height: 1px;
}

header.major p {
    color: #fff;
    top: 0;
}

/* Responsive En-tÃªtes */
@media screen and (max-width: 736px) {
    header.major {
        margin: 0 0 2em 0;
    }
}

@media screen and (max-width: 980px) {
    header br {
        display: none;
    }
}

/* Section/Article */

section.special, article.special {
    text-align: center;
}

header p {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    top: -0.25em;
}

header h3 + p {
    font-size: 1.1em;
}

header h4 + p,
header h5 + p,
header h6 + p {
    font-size: 0.9em;
}

header.major {
    margin: 0 0 3.5em 0;
}

header.major h2, header.major h3, header.major h4, header.major h5, header.major h6 {
    border-bottom: solid 2px #fff;
    display: inline-block;
    padding-bottom: 1em;
    position: relative;
}

header.major h2:after, header.major h3:after, header.major h4:after, header.major h5:after, header.major h6:after {
    content: '';
    display: block;
    height: 1px;
}

header.major p {
    color: #fff;
    top: 0;
}

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

    header.major {
        margin: 0 0 2em 0;
    }

}

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

    header br {
        display: none;
    }

}

/* Form */

/* ========================================
   FORMULAIRES
   ======================================== */

/* Conteneur de formulaire */
form {
    margin: 0 0 2em 0;
}

/* Labels */
label {
    color: #fff;
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    margin: 0 0 1em 0;
}

/* Champs de texte, email, password, select, textarea */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: rgba(144, 144, 144, 0.25);
    border-radius: 3px;
    border: none;
    color: inherit;
    display: block;
    outline: 0;
    padding: 0 1em;
    text-decoration: none;
    width: 100%;
}

/* Suppression du style par dÃ©faut de validation invalide */
input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

/* Focus sur les champs */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px #21b2a6;
}

/* Select (liste dÃ©roulante) */
select {
    background-size: 1.25em;
    background-repeat: no-repeat;
    background-position: calc(100% - 1em) center;
    height: 2.75em;
    padding-right: 2.75em;
    text-overflow: ellipsis;
}

select:focus::-ms-value {
    background-color: transparent;
}

select::-ms-expand {
    display: none;
}

/* Hauteur des inputs simples */
input[type="text"],
input[type="password"],
input[type="email"],
select {
    height: 2.75em;
}

/* Textarea (zone de texte multi-lignes) */
textarea {
    padding: 0.75em 1em;
}

/* ========================================
   CHECKBOX & RADIO
   ======================================== */

/* Masquage du checkbox/radio natif */
input[type="checkbox"],
input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2em;
    opacity: 0;
    width: 1em;
    z-index: -1;
}

/* Label du checkbox/radio */
input[type="checkbox"] + label,
input[type="radio"] + label {
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 400;
    padding-left: 2.4em;
    padding-right: 0.75em;
    position: relative;
}

/* IcÃ´ne Font Awesome pour les labels */
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* CarrÃ©/cercle personnalisÃ© avant le label */
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    background: rgba(144, 144, 144, 0.25);
    border-radius: 3px;
    content: '';
    display: inline-block;
    font-size: 0.8em;
    height: 2.0625em;
    left: 0;
    line-height: 2.0625em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 2.0625em;
}

/* Ã‰tat cochÃ© */
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
    background: #2e3842;
    color: #fff;
    content: '\f00c'; /* IcÃ´ne checkmark Font Awesome */
}

/* Focus sur checkbox/radio */
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
    box-shadow: 0 0 0 2px #4F1C90;
}

/* Checkbox (carrÃ©) */
input[type="checkbox"] + label:before {
    border-radius: 3px;
}

/* Radio (cercle) */
input[type="radio"] + label:before {
    border-radius: 100%;
}

/* ========================================
   PLACEHOLDERS
   ======================================== */

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1.0;
}

/* ========================================
   LISTES
   ======================================== */

/* Listes ordonnÃ©es (numÃ©rotÃ©es) */
ol {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

/* Listes non ordonnÃ©es (Ã  puces) */
ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

/* Liste alternative (sans puces, avec bordures) */
ul.alt {
    list-style: none;
    padding-left: 0;
}

ul.alt li {
    border-top: solid 1px #fff;
    padding: 0.5em 0;
}

ul.alt li:first-child {
    border-top: 0;
    padding-top: 0;
}

/* Liste de dÃ©finitions */
dl {
    margin: 0 0 2em 0;
}

/* ========================================
   LISTES D'ACTIONS (boutons alignÃ©s)
   ======================================== */

ul.actions {
    display: flex;
    cursor: default;
    list-style: none;
    margin-left: -1em;
    padding-left: 0;
}

ul.actions li {
    padding: 0 0 0 1em;
    vertical-align: middle;
    text-align: center;
}

/* Actions centrÃ©es */
ul.actions.special {
    justify-content: center;
    width: 100%;
    margin-left: 0;
}

ul.actions.special li:first-child {
    padding-left: 0;
}

/* Actions empilÃ©es verticalement */
ul.actions.stacked {
    flex-direction: column;
    margin-left: 0;
}

ul.actions.stacked li {
    padding: 1em 0 0 0;
}

ul.actions.stacked li:first-child {
    padding-top: 0;
}

/* Actions pleine largeur */
ul.actions.fit {
    width: calc(100% + 1em);
}

ul.actions.fit li {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

ul.actions.fit li > * {
    width: 100%;
}

ul.actions.fit.stacked {
    width: 100%;
}

/* Responsive : actions empilÃ©es sur mobile */
@media screen and (max-width: 480px) {
    ul.actions:not(.fixed) {
        flex-direction: column;
        margin-left: 0;
        width: 100% !important;
    }

    ul.actions:not(.fixed) li {
        flex-grow: 1;
        flex-shrink: 1;
        padding: 1em 0 0 0;
        text-align: center;
        width: 100%;
    }

    ul.actions:not(.fixed) li > * {
        width: 100%;
    }

    ul.actions:not(.fixed) li:first-child {
        padding-top: 0;
    }

    ul.actions:not(.fixed) li input[type="submit"],
    ul.actions:not(.fixed) li input[type="reset"],
    ul.actions:not(.fixed) li input[type="button"],
    ul.actions:not(.fixed) li button,
    ul.actions:not(.fixed) li .button {
        width: 100%;
    }

    ul.actions:not(.fixed) li input[type="submit"].icon:before,
    ul.actions:not(.fixed) li input[type="reset"].icon:before,
    ul.actions:not(.fixed) li input[type="button"].icon:before,
    ul.actions:not(.fixed) li button.icon:before,
    ul.actions:not(.fixed) li .button.icon:before {
        margin-left: -0.5em;
    }
}

/* ========================================
   LISTES D'ICÃ”NES
   ======================================== */

ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0;
    font-size: 2em;
}

ul.icons li {
    display: inline-block;
    padding: 0 1em 0 0;
}

ul.icons li:last-child {
    padding-right: 0 !important;
}

/* IcÃ´nes majeures (espacÃ©es) */
ul.icons.major {
    padding: 1em 0;
}

ul.icons.major li {
    padding-right: 3.5em;
}

@media screen and (max-width: 736px) {
    ul.icons.major li {
        padding: 0 1em !important;
    }
}

/* ========================================
   ICÃ”NES (Font Awesome)
   ======================================== */

.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.icon > .label {
    display: none;
}

.icon:before {
    line-height: inherit;
}

/* IcÃ´nes solides */
.icon.solid:before {
    font-weight: 900;
}

/* IcÃ´nes de marques */
.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

/* IcÃ´ne majeure (grande, tournÃ©e, encadrÃ©e) */
.icon.major {
    transform: rotate(-45deg);
    border-radius: 3px;
    border: solid 2px #fff;
    display: inline-block;
    font-size: 2.35em;
    height: calc(3em + 2px);
    line-height: 3em;
    text-align: center;
    width: calc(3em + 2px);
}

.icon.major:before {
    transform: rotate(45deg);
    display: inline-block;
    font-size: 1.5em;
}

@media screen and (max-width: 736px) {
    .icon.major {
        font-size: 1em;
    }
}

/* Couleurs d'icÃ´nes */
.icon.style1 {
    color: #00ffcc;
}

.icon.style2 {
    color: #00f0ff;
}

.icon.style3 {
    color: #5a135e;
}

/* ========================================
   IMAGES
   ======================================== */

.image {
    border-radius: 3px;
    border: 0;
    display: inline-block;
    position: relative;
}

.image img {
    border-radius: 3px;
    display: block;
}

/* Image alignÃ©e Ã  gauche */
.image.left {
    float: left;
    margin: 0 2em 2em 0;
    top: 0.25em;
}

/* Image alignÃ©e Ã  droite */
.image.right {
    float: right;
    margin: 0 0 2em 2em;
    top: 0.25em;
}

.image.left, .image.right {
    max-width: 40%;
}

/* Image pleine largeur */
.image.fit {
    display: block;
    margin: 0 0 2em 0;
    width: 100%;
}

.image.fit img {
    width: 100%;
}

/* ========================================
   TABLES
   ======================================== */

.table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

table {
    margin: 0 0 2em 0;
    width: 100%;
}

table tbody tr {
    border: solid 1px #fff;
    border-left: 0;
    border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
    background-color: rgba(144, 144, 144, 0.25);
}

table td {
    padding: 0.75em 0.75em;
}

table th {
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
    padding: 0 0.75em 0.75em 0.75em;
    text-align: left;
}

table thead {
    border-bottom: solid 2px #fff;
}

table tfoot {
    border-top: solid 2px #fff;
}

/* Table alternative (bordures complÃ¨tes) */
table.alt {
    border-collapse: separate;
}

table.alt tbody tr td {
    border: solid 1px #fff;
    border-left-width: 0;
    border-top-width: 0;
}

table.alt tbody tr td:first-child {
    border-left-width: 1px;
}

table.alt tbody tr:first-child td {
    border-top-width: 1px;
}

table.alt thead {
    border-bottom: 0;
}

table.alt tfoot {
    border-top: 0;
}

/* ========================================
   BOX (conteneur avec bordure)
   ======================================== */

.box {
    border-radius: 3px;
    border: solid 2px #fff;
    margin-bottom: 2em;
    padding: 1.5em;
}

.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
    margin-bottom: 0;
}

.box.alt {
    border: 0;
    border-radius: 0;
    padding: 0;
}

/* ========================================
   BOUTONS
   ======================================== */

/* Style de base des boutons */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 3px;
    border: 0;
    box-shadow: inset 0 0 0 2px #fff;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    height: 3.125em;
    letter-spacing: 0.225em;
    line-height: 3.125em;
    max-width: 30em;
    padding: 0 2.75em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ã‰tat hover (survol) */
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
    background-color: rgba(144, 144, 144, 0.25);
}

/* Ã‰tat active (clic) */
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
    background-color: rgba(144, 144, 144, 0.5);
}

/* Bouton avec icÃ´ne Font Awesome */
input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
    margin-right: 0.5em;
}

/* Bouton pleine largeur */
input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
    width: 100%;
}

/* Petit bouton */
input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
    font-size: 0.8em;
}

/* Grand bouton */
input[type="submit"].large,
input[type="reset"].large,
input[type="button"].large,
button.large,
.button.large {
    font-size: 1.35em;
}

/* Bouton primaire (violet) */
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
    background-color: #4F1C90;
    box-shadow: none !important;
    color: #ffffff !important;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
    background-color: #751b89 !important;
}

input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
button.primary:active,
.button.primary:active {
    background-color: #650774 !important;
}

/* Bouton dÃ©sactivÃ© */
input[type="submit"].disabled, 
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
    pointer-events: none;
    opacity: 0.25;
}

/* Responsive : boutons sur mobile */
@media screen and (max-width: 736px) {
    input[type="submit"],
    input[type="reset"],
    input[type="button"],
    button,
    .button {
        height: 3.75em;
        line-height: 3.75em;
    }
}

/* ========================================
   BOUTONS PERSONNALISÃ‰S (header-btn)
   ======================================== */

/* Boutons dans le header/banner */
.header-buttons {
    margin: 1em 0 0.5em 0;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}

.header-buttons .header-btn {
    background: #fff;
    color: #222;
    border-radius: 24px;
    padding: 0.5em 1.5em;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.header-buttons .header-btn:hover {
    background: #222;
    color: #fff;
}

/* Bouton "En savoir plus" (scrolly) */
.more.scrolly {
    display: inline-block;
    margin-top: 1.5em;
    font-size: 1.2em;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    padding: 0.5em 1.5em;
    text-decoration: none;
    transition: background 0.2s;
}

.more.scrolly:hover {
    background: #3b1b4a;
    color: #ffffff;
}
/* ========================================
   BOUTON WHATSAPP PERSONNALISÃ‰
   ======================================== */

.button.whatsapp {
    background-color: #25D366; /* Vert WhatsApp */
    color: #ffffff !important; /* Texte blanc */
    box-shadow: none !important; /* Supprime l'ombre par dÃ©faut */
    transition: background-color 0.3s ease; /* Transition douce au survol */
}

.button.whatsapp:hover {
    background-color: #128C7E; /* Vert plus foncÃ© au survol */
}

/* ========================================
   SYSTÃˆME DE GRILLES (ROW/COL)
   ======================================== */

/* Conteneur de ligne */
.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

/* Suppression des marges nÃ©gatives par dÃ©faut */
.row > * {
    box-sizing: border-box;
}

/* Grille standard (espacement 2em) */
.row {
    margin-top: 0;
    margin-left: -2em;
}

.row > * {
    padding: 0 0 0 2em;
}

/* Uniformisation verticale : ajoute un espacement vertical entre les colonnes */
.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

/* Espacement vertical entre les lignes */
.row.aln-top {
    align-items: flex-start;
}

.row.aln-middle {
    align-items: center;
}

.row.aln-bottom {
    align-items: flex-end;
}

/* ========================================
   COLONNES (LARGEURS)
   ======================================== */

.col-1 { width: 8.33333%; }
.col-2 { width: 16.66667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33333%; }
.col-5 { width: 41.66667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33333%; }
.col-8 { width: 66.66667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33333%; }
.col-11 { width: 91.66667%; }
.col-12 { width: 100%; }

/* ========================================
   ESPACEMENTS PERSONNALISÃ‰S (GTR)
   ======================================== */

/* Pas d'espacement (gtr-0) */
.row.gtr-0 {
    margin-top: 0;
    margin-left: 0;
}

.row.gtr-0 > * {
    padding: 0;
}

.row.gtr-0.gtr-uniform {
    margin-top: 0;
}

.row.gtr-0.gtr-uniform > * {
    padding-top: 0;
}

/* Espacement 25% (gtr-25) */
.row.gtr-25 {
    margin-top: 0;
    margin-left: -0.5em;
}

.row.gtr-25 > * {
    padding: 0 0 0 0.5em;
}

.row.gtr-25.gtr-uniform {
    margin-top: -0.5em;
}

.row.gtr-25.gtr-uniform > * {
    padding-top: 0.5em;
}

/* Espacement 50% (gtr-50) */
.row.gtr-50 {
    margin-top: 0;
    margin-left: -1em;
}

.row.gtr-50 > * {
    padding: 0 0 0 1em;
}

.row.gtr-50.gtr-uniform {
    margin-top: -1em;
}

.row.gtr-50.gtr-uniform > * {
    padding-top: 1em;
}

/* Espacement 150% (gtr-150) */
.row.gtr-150 {
    margin-top: 0;
    margin-left: -3em;
}

.row.gtr-150 > * {
    padding: 0 0 0 3em;
}

.row.gtr-150.gtr-uniform {
    margin-top: -3em;
}

.row.gtr-150.gtr-uniform > * {
    padding-top: 3em;
}

/* Espacement 200% (gtr-200) */
.row.gtr-200 {
    margin-top: 0;
    margin-left: -4em;
}

.row.gtr-200 > * {
    padding: 0 0 0 4em;
}

.row.gtr-200.gtr-uniform {
    margin-top: -4em;
}

.row.gtr-200.gtr-uniform > * {
    padding-top: 4em;
}

/* ========================================
   RESPONSIVE : MEDIUM (max-width: 1280px)
   ======================================== */

@media screen and (max-width: 1280px) {
    .row > .imp-large { order: -1; }
    .row > .col-1-large { width: 8.33333%; }
    .row > .off-1-large { margin-left: 8.33333%; }
    .row > .col-2-large { width: 16.66667%; }
    .row > .off-2-large { margin-left: 16.66667%; }
    .row > .col-3-large { width: 25%; }
    .row > .off-3-large { margin-left: 25%; }
    .row > .col-4-large { width: 33.33333%; }
    .row > .off-4-large { margin-left: 33.33333%; }
    .row > .col-5-large { width: 41.66667%; }
    .row > .off-5-large { margin-left: 41.66667%; }
    .row > .col-6-large { width: 50%; }
    .row > .off-6-large { margin-left: 50%; }
    .row > .col-7-large { width: 58.33333%; }
    .row > .off-7-large { margin-left: 58.33333%; }
    .row > .col-8-large { width: 66.66667%; }
    .row > .off-8-large { margin-left: 66.66667%; }
    .row > .col-9-large { width: 75%; }
    .row > .off-9-large { margin-left: 75%; }
    .row > .col-10-large { width: 83.33333%; }
    .row > .off-10-large { margin-left: 83.33333%; }
    .row > .col-11-large { width: 91.66667%; }
    .row > .off-11-large { margin-left: 91.66667%; }
    .row > .col-12-large { width: 100%; }
    .row > .off-12-large { margin-left: 100%; }
}

/* ========================================
   RESPONSIVE : SMALL (max-width: 980px)
   ======================================== */

@media screen and (max-width: 980px) {
    .row > .imp-medium { order: -1; }
    .row > .col-1-medium { width: 8.33333%; }
    .row > .off-1-medium { margin-left: 8.33333%; }
    .row > .col-2-medium { width: 16.66667%; }
    .row > .off-2-medium { margin-left: 16.66667%; }
    .row > .col-3-medium { width: 25%; }
    .row > .off-3-medium { margin-left: 25%; }
    .row > .col-4-medium { width: 33.33333%; }
    .row > .off-4-medium { margin-left: 33.33333%; }
    .row > .col-5-medium { width: 41.66667%; }
    .row > .off-5-medium { margin-left: 41.66667%; }
    .row > .col-6-medium { width: 50%; }
    .row > .off-6-medium { margin-left: 50%; }
    .row > .col-7-medium { width: 58.33333%; }
    .row > .off-7-medium { margin-left: 58.33333%; }
    .row > .col-8-medium { width: 66.66667%; }
    .row > .off-8-medium { margin-left: 66.66667%; }
    .row > .col-9-medium { width: 75%; }
    .row > .off-9-medium { margin-left: 75%; }
    .row > .col-10-medium { width: 83.33333%; }
    .row > .off-10-medium { margin-left: 83.33333%; }
    .row > .col-11-medium { width: 91.66667%; }
    .row > .off-11-medium { margin-left: 91.66667%; }
    .row > .col-12-medium { width: 100%; }
    .row > .off-12-medium { margin-left: 100%; }

    .row.gtr-0 { margin-top: 0; margin-left: 0; }
    .row.gtr-0 > * { padding: 0 0 0 0; }
    .row.gtr-0.gtr-uniform { margin-top: 0; }
    .row.gtr-0.gtr-uniform > * { padding-top: 0; }

    .row.gtr-25 { margin-top: 0; margin-left: -0.375em; }
    .row.gtr-25 > * { padding: 0 0 0 0.375em; }
    .row.gtr-25.gtr-uniform { margin-top: -0.375em; }
    .row.gtr-25.gtr-uniform > * { padding-top: 0.375em; }

    .row.gtr-50 { margin-top: 0; margin-left: -0.75em; }
    .row.gtr-50 > * { padding: 0 0 0 0.75em; }
    .row.gtr-50.gtr-uniform { margin-top: -0.75em; }
    .row.gtr-50.gtr-uniform > * { padding-top: 0.75em; }

    .row { margin-top: 0; margin-left: -1.5em; }
    .row > * { padding: 0 0 0 1.5em; }
    .row.gtr-uniform { margin-top: -1.5em; }
    .row.gtr-uniform > * { padding-top: 1.5em; }

    .row.gtr-150 { margin-top: 0; margin-left: -2.25em; }
    .row.gtr-150 > * { padding: 0 0 0 2.25em; }
    .row.gtr-150.gtr-uniform { margin-top: -2.25em; }
    .row.gtr-150.gtr-uniform > * { padding-top: 2.25em; }

    .row.gtr-200 { margin-top: 0; margin-left: -3em; }
    .row.gtr-200 > * { padding: 0 0 0 3em; }
    .row.gtr-200.gtr-uniform { margin-top: -3em; }
    .row.gtr-200.gtr-uniform > * { padding-top: 3em; }
}

/* ========================================
   RESPONSIVE : MOBILE (max-width: 736px)
   ======================================== */

@media screen and (max-width: 736px) {
    .row > .imp-small { order: -1; }
    .row > .col-1-small { width: 8.33333%; }
    .row > .off-1-small { margin-left: 8.33333%; }
    .row > .col-2-small { width: 16.66667%; }
    .row > .off-2-small { margin-left: 16.66667%; }
    .row > .col-3-small { width: 25%; }
    .row > .off-3-small { margin-left: 25%; }
    .row > .col-4-small { width: 33.33333%; }
    .row > .off-4-small { margin-left: 33.33333%; }
    .row > .col-5-small { width: 41.66667%; }
    .row > .off-5-small { margin-left: 41.66667%; }
    .row > .col-6-small { width: 50%; }
    .row > .off-6-small { margin-left: 50%; }
    .row > .col-7-small { width: 58.33333%; }
    .row > .off-7-small { margin-left: 58.33333%; }
    .row > .col-8-small { width: 66.66667%; }
    .row > .off-8-small { margin-left: 66.66667%; }
    .row > .col-9-small { width: 75%; }
    .row > .off-9-small { margin-left: 75%; }
    .row > .col-10-small { width: 83.33333%; }
    .row > .off-10-small { margin-left: 83.33333%; }
    .row > .col-11-small { width: 91.66667%; }
    .row > .off-11-small { margin-left: 91.66667%; }
    .row > .col-12-small { width: 100%; }
    .row > .off-12-small { margin-left: 100%; }

    .row.gtr-0 { margin-top: 0; margin-left: 0; }
    .row.gtr-0 > * { padding: 0 0 0 0; }
    .row.gtr-0.gtr-uniform { margin-top: 0; }
    .row.gtr-0.gtr-uniform > * { padding-top: 0; }

    .row.gtr-25 { margin-top: 0; margin-left: -0.3125em; }
    .row.gtr-25 > * { padding: 0 0 0 0.3125em; }
    .row.gtr-25.gtr-uniform { margin-top: -0.3125em; }
    .row.gtr-25.gtr-uniform > * { padding-top: 0.3125em; }

    .row.gtr-50 { margin-top: 0; margin-left: -0.625em; }
    .row.gtr-50 > * { padding: 0 0 0 0.625em; }
    .row.gtr-50.gtr-uniform { margin-top: -0.625em; }
    .row.gtr-50.gtr-uniform > * { padding-top: 0.625em; }

    .row { margin-top: 0; margin-left: -1.25em; }
    .row > * { padding: 0 0 0 1.25em; }
    .row.gtr-uniform { margin-top: -1.25em; }
    .row.gtr-uniform > * { padding-top: 1.25em; }

    .row.gtr-150 { margin-top: 0; margin-left: -1.875em; }
    .row.gtr-150 > * { padding: 0 0 0 1.875em; }
    .row.gtr-150.gtr-uniform { margin-top: -1.875em; }
    .row.gtr-150.gtr-uniform > * { padding-top: 1.875em; }

    .row.gtr-200 { margin-top: 0; margin-left: -2.5em; }
    .row.gtr-200 > * { padding: 0 0 0 2.5em; }
    .row.gtr-200.gtr-uniform { margin-top: -2.5em; }
    .row.gtr-200.gtr-uniform > * { padding-top: 2.5em; }
}

/* ========================================
   RESPONSIVE : BANNER - Ajustements spÃ©cifiques pour locdj.php sur mobile
   ======================================== */

@media screen and (max-width: 736px) {
    /* Augmente la hauteur du banner sur mobile pour locdj.php */
    .landingLocation #banner, .landingLocation section#banner {
        min-height: calc(100vh - 2.5em + 5em); /* Ajoute 15em d'espace supplÃ©mentaire */
        height: calc(100vh - 2.5em + 5em); /* Force la hauteur pour Ã©viter les dÃ©bordements */
    }

    /* RÃ©duit encore plus les Ã©lÃ©ments pour optimiser l'espace */
    .landingLocation .ase-logo {
        max-width: 120px; /* Logo plus petit */
        margin: 0 auto 0.3em auto;
    }

    .landingLocation #banner h2 {
        font-size: 1em; /* Titre plus petit */
        margin: 0 0 0.3em 0;
        line-height: 1.2em;
    }

    .landingLocation .header-subtitle {
        font-size: 0.8em; /* Sous-titre plus petit */
        margin: 0.3em 0;
        line-height: 1.3em;
    }

    .landingLocation .header-buttons {
        margin: 0.3em 0;
    }

    .landingLocation .header-buttons .header-btn {
        font-size: 0.7em; /* Boutons plus petits */
        padding: 0.3em 0.8em;
        margin: 0.1em 0;
    }
}

/* ========================================
   WRAPPER (Conteneur principal) - Largeur max 1280px
   ======================================== */

#wrapper > .wrapper > .inner {
    max-width: 1280px; /* Limite la largeur maximale Ã  1280px */
    width: 100%; /* Prend toute la largeur disponible jusqu'Ã  1280px */
    margin: 0 auto; /* Centre le contenu */
    padding: 0 1em; /* Ajoute un petit padding pour Ã©viter les bords collÃ©s */
}

/* Ajustement sur Ã©crans moyens */
@media screen and (max-width: 1280px) {
    #wrapper > .wrapper > .inner {
        width: 90%; /* Garde 90% sur Ã©crans moyens pour la lisibilitÃ© */
        max-width: 1280px; /* Toujours limitÃ© Ã  1280px */
    }
}

/* Ajustement sur Ã©crans mobiles */
@media screen and (max-width: 980px) {
    #wrapper > .wrapper > .inner {
        width: 95%; /* Plus large sur mobile pour optimiser l'espace */
        max-width: 1280px; /* Limite maintenue */
    }
}

/* ========================================
   PAGE WRAPPER
   ======================================== */

#page-wrapper {
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    opacity: 1;
    padding-top: 3em;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden; /* Ã‰vite les dÃ©bordements */
}

#page-wrapper:before {
    background: rgba(0, 0, 0, 0);
    content: '';
    display: block;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10001;
}

@media screen and (max-width: 980px) {
    #page-wrapper {
        padding-top: 0;
    }
}

body.is-preload #page-wrapper {
    opacity: 0;
}

body.is-menu-visible #page-wrapper {
    opacity: 0.35;
}

body.is-menu-visible #page-wrapper:before {
    display: block;
}

/* ========================================
   HEADER (Barre de navigation fixe)
   ======================================== */

/* HEADER â€” contenu contraint comme #wrapper .inner (marques pour cas avec et sans .inner) */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #2e3842;
    height: 3rem;
    line-height: 3rem;
    box-sizing: border-box;
    -moz-transition: background-color 0.2s ease;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

/* Cas normal : contenu dans .inner (prÃ©fÃ©rÃ©) */
#header > .inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Fallback CSS â€” lorsque il n'y a PAS de .inner : on crÃ©e des "gouttiÃ¨res" latÃ©rales
   pour reproduire visuellement l'alignement du wrapper (supporte browsers modernes) */
#header:not(:has(.inner)) {
    /* calc pour centrer une zone de 1280px ; min/max peuvent Ãªtre adaptÃ©s */
    padding-left: max(1rem, calc((100% - 1280px) / 2));
    padding-right: max(1rem, calc((100% - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Garantit que h1/nav ne restent pas en position absolue et que flex les aligne */
#header h1,
#header nav,
#header > .inner h1,
#header > .inner nav {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    height: inherit;
    line-height: inherit;
}

/* Liens et espacement */
#header h1 a { display: block; height: inherit; line-height: inherit; border: 0; }
#header nav > ul > li > a { padding: 0 1.25rem; }

/* Responsive : mÃªmes paddings que le wrapper */
@media screen and (max-width: 980px) {
    #header > .inner { padding: 0 0.75rem; }
    #header:not(:has(.inner)) { padding-left: 0.75rem; padding-right: 0.75rem; }
    #header nav > ul > li > a { padding: 0 0.5rem; }
}

@media screen and (max-width: 736px) {
    #header { height: 2.5rem; line-height: 2.5rem; }
    #header > .inner { padding: 0 0.75rem; }
    #header:not(:has(.inner)) { padding-left: 0.75rem; padding-right: 0.75rem; }
    #header h1 a { font-size: 0.9rem; }
    #header nav > ul > li > a { padding: 0 0.5rem; }
}

/* ========================================
   MENU (Menu mobile/hamburger)
   ======================================== */

#menu {
    -moz-transform: translateX(22em);
    -webkit-transform: translateX(22em);
    -ms-transform: translateX(22em);
    transform: translateX(22em);
    -moz-transition: -moz-transform 0.5s ease, visibility 0.5s;
    -webkit-transition: -webkit-transform 0.5s ease, visibility 0.5s;
    -ms-transition: -ms-transform 0.5s ease, visibility 0.5s;
    transition: transform 0.5s ease, visibility 0.5s;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    width: 22em;
    max-width: 80%;
    height: 100%;
    box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.2);
    background: #411b3f;
    padding: 2.75em 1.75em 0 1.75em;
    z-index: 10002;
}

#menu ul {
    list-style: none;
    padding: 0;
}

#menu ul > li {
    border-top: solid 1px rgba(255, 255, 255, 0.15);
    margin: 0.5em 0 0 0;
    padding: 0.5em 0 0 0;
}

#menu ul > li:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

#menu ul > li > a {
    border: 0;
    color: #fff;
    display: block;
    font-size: 0.8em;
    letter-spacing: 0.225em;
    outline: 0;
    text-decoration: none;
    text-transform: uppercase;
}

@media screen and (max-width: 736px) {
    #menu {
        padding: 2.5em 1.5em 0 1.5em;
    }
}

body.is-menu-visible #menu {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
}

/* ========================================
   BANNER (Section hÃ©ro/banniÃ¨re)
   ======================================== */

#banner, section#banner {
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 0;
    min-height: 100vh;
    position: relative;
    text-align: center;
    overflow: hidden;
}

#banner .inner {
    -moz-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
    -moz-transition: opacity 1s ease, -moz-transform 1s ease;
    -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
    -ms-transition: opacity 1s ease, -ms-transform 1s ease;
    transition: opacity 1s ease, transform 1s ease;
    opacity: 1;
    position: relative;
    z-index: 2;
}

#banner h2 {
    font-size: 2.5em;
    margin: 0 0 0.5em 0;
    padding: 0;
}

#banner p {
    font-size: 1.25em;
    margin-bottom: 1.75em;
}

#banner .more {
    -moz-transition: -moz-transform 0.75s ease, opacity 0.75s ease;
    -webkit-transition: -webkit-transform 0.75s ease, opacity 0.75s ease;
    -ms-transition: -ms-transform 0.75s ease, opacity 0.75s ease;
    transition: transform 0.75s ease, opacity 0.75s ease;
    -moz-transition-delay: 3.5s;
    -webkit-transition-delay: 3.5s;
    -ms-transition-delay: 3.5s;
    transition-delay: 3.5s;
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    border: none;
    bottom: 0;
    color: inherit;
    font-size: 0.8em;
    height: 8.5em;
    left: 50%;
    letter-spacing: 0.225em;
    margin-left: -8.5em;
    opacity: 1;
    outline: 0;
    padding-left: 0.225em;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    width: 16em;
    z-index: 1;
}

#banner .more:after {
    content: none; /* Supprime la flÃ¨che SVG */
}

/* Background image/video pour le banner */
.header-bg-img, .header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.header-bg-img.blur, .header-bg-video.blur {
    filter: blur(8px) brightness(0.7);
}

.header-bg-video iframe,
.header-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
}

/* Logo dans le banner */
.ase-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto 1em auto;
    display: block;
}

/* Sous-titre du banner */
.header-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.85);
    margin: 1em 0;
    line-height: 1.5em;
}

/* Responsive Banner */
@media screen and (max-width: 1280px) {
    #banner, section#banner {
        min-height: 50vh;
    }
    #banner h2 {
        font-size: 2em;
    }
}

@media screen and (max-width: 980px) {
    #banner, section#banner {
        min-height: 50vh;
    }
    #banner br {
        display: none;
    }
}

/* Responsive Banner - Ajustements mobiles */
@media screen and (max-width: 736px) {
    #banner, section#banner {
        min-height: calc(100vh - 2.5em); /* Prend tout l'Ã©cran sauf le header (2.5em) */
        height: calc(100vh - 2.5em); /* Force la hauteur pour Ã©viter les dÃ©bordements */
        background-attachment: scroll; /* AmÃ©liore les performances sur mobile */
    }

    /* Flou du background sur mobile pour amÃ©liorer la lisibilitÃ© */
    .header-bg-img, .header-bg-video {
        filter: blur(8px) brightness(0.7); /* Flou ajoutÃ© + rÃ©duction de luminositÃ© */
    }

    /* Ajustements du contenu pour Ã©viter les coupures */
    #banner .inner {
        padding: 1em; /* RÃ©duit le padding pour gagner de l'espace */
        text-align: center; /* Centre tout pour une meilleure prÃ©sentation */
    }

    /* Logo plus petit pour Ã©viter les coupures */
    .ase-logo {
        max-width: 150px; /* RÃ©duit la taille du logo */
        margin: 0 auto 0.5em auto; /* Espace rÃ©duit */
    }

    /* Titre plus petit */
    #banner h2 {
        font-size: 1.2em; /* RÃ©duit la taille */
        margin: 0 0 0.5em 0; /* Espace rÃ©duit */
        line-height: 1.3em; /* AmÃ©liore la lisibilitÃ© */
    }

    /* Sous-titre plus petit */
    .header-subtitle {
        font-size: 0.9em; /* RÃ©duit la taille */
        margin: 0.5em 0; /* Espace rÃ©duit */
        line-height: 1.4em; /* AmÃ©liore la lisibilitÃ© */
    }

    /* Boutons plus petits et empilÃ©s si nÃ©cessaire */
    .header-buttons {
        margin: 0.5em 0; /* Espace rÃ©duit */
    }

    .header-buttons .header-btn {
        font-size: 0.8em; /* RÃ©duit la taille */
        padding: 0.4em 1em; /* Padding rÃ©duit */
        margin: 0.2em 0; /* Espace vertical entre boutons */
    }

    /* Bouton "En savoir plus" cachÃ© sur mobile pour gagner de l'espace */
    #banner .more {
        display: none; /* Cache le bouton scrolly pour Ã©viter les coupures */
    }
}

@media screen and (max-width: 480px) {
    #banner, section#banner {
        min-height: 35vh;
    }
}

body.is-preload #banner .inner {
    -moz-transform: scale(0.99);
    -webkit-transform: scale(0.99);
    -ms-transform: scale(0.99);
    transform: scale(0.99);
    opacity: 0;
}

body.is-preload #banner .more {
    -moz-transform: translateY(8.5em);
    -webkit-transform: translateY(8.5em);
    -ms-transform: translateY(8.5em);
    transform: translateY(8.5em);
    opacity: 0;
}

body.is-mobile #banner {
    background-attachment: scroll;
}

/* ========================================
   SPOTLIGHT (Section mise en avant)
   ======================================== */

.spotlight {
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin: 0 0 2em 0;
}

.spotlight .content {
    -moz-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.spotlight .image {
    border-radius: 0;
    display: inline-block;
    position: relative;
    width:50%;
}

.spotlight .image img {
    max-width: none; /* Limite la largeur maximale Ã  400px */
    height: auto; /* Garde les proportions sans dÃ©formation */
    width: 100%; /* S'adapte si plus petit que 400px */
}

.spotlight:nth-child(2n) {
    -moz-flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.spotlight:nth-child(1) {
    background-color: rgba(0, 0, 0, 0.075);
}

.spotlight:nth-child(2) {
    background-color: rgba(0, 0, 0, 0.15);
}

.spotlight:nth-child(3) {
    background-color: rgba(0, 0, 0, 0.225);
}

.spotlight:nth-child(4) {
    background-color: rgba(0, 0, 0, 0.3);
}

.spotlight:nth-child(5) {
    background-color: rgba(0, 0, 0, 0.375);
}

.spotlight:nth-child(6) {
    background-color: rgba(0, 0, 0, 0.45);
}

@media screen and (max-width: 1280px) {
    .spotlight {
        display: block;
        text-align: center;
    }
    .spotlight .content {
        padding: 4em 3em 2em 3em;
    }
    .spotlight .image {
        width: 100%;
    }
}

@media screen and (max-width: 736px) {
    .spotlight .content {
        padding: 3em 1.5em 1em 1.5em;
    }
}

/* ========================================
   FEATURES (Grille de fonctionnalitÃ©s/services)
   ======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes max sur Ã©crans larges */
    gap: 0; /* Pas d'Ã©cart */
    margin: 0 0 2em 0;
}

.features li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1; /* Maintient les carrÃ©s */
    background: #4F1C90; /* Couleur violette unie par dÃ©faut */
    color: #fff;
    border-radius: 0px;
    padding: 0.5em; /* Padding rÃ©duit pour plus d'espace texte */
    text-align: center;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: visible; /* Laisse le texte visible si dÃ©bordement, mais ajustÃ© pour Ã©viter */
}

.features li h3 {
    margin: 0 0 0.3em 0;
    font-size: 0.9em; /* Police rÃ©duite */
    line-height: 1.2;
}

.features li p {
    margin: 0;
    font-size: 0.8em; /* Police rÃ©duite */
    line-height: 1.2;
}

/* Couleurs diffÃ©rentes pour chaque carrÃ© */
.features li:nth-child(1) {
    background: #4F1C90;
}

.features li:nth-child(2) {
    background: #5A1A91;
}

.features li:nth-child(3) {
    background: #651891;
}

.features li:nth-child(4) {
    background: #701692;
}

.features li:nth-child(5) {
    background: #7B1493;
}

.features li:nth-child(6) {
    background: #861294;
}

.features li:nth-child(7) {
    background: #911095;
}

.features li:nth-child(8) {
    background: #9C0E96;
}

/* Responsive : 2 colonnes sur Ã©crans moyens */
@media screen and (max-width: 980px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive : 1 colonne sur Ã©crans petits */
@media screen and (max-width: 736px) {
    .features {
        grid-template-columns: repeat(1, 1fr);
    }
}

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

#footer {
    background: #1d242a;
    color: rgba(255, 255, 255, 0.5);
    padding: 4.5em 0 2.5em 0;
    text-align: center;
}

#footer .icons {
    font-size: 1.5em;
    margin: 0 0 1em 0;
}

#footer .icons a {
    color: rgba(255, 255, 255, 0.65);
}

#footer .icons a:hover {
    color: #fff;
}

#footer .copyright {
    font-size: 0.8em;
    letter-spacing: 0.225em;
    list-style: none;
    padding: 0;
    text-transform: uppercase;
}

#footer .copyright li {
    border-left: solid 1px rgba(255, 255, 255, 0.5);
    display: inline-block;
    line-height: 1em;
    margin-left: 1em;
    padding-left: 1em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#footer .copyright li a {
    color: inherit;
}

#footer .copyright li a:hover {
    color: #fff;
}

@media screen and (max-width: 480px) {
    #footer .copyright li {
        border: 0;
        display: block;
        line-height: 1.65em;
        margin: 0;
        padding: 0.5em 0;
    }
}

/* ========================================
   VIDEO RESPONSIVE (YouTube, Vimeo)
   ======================================== */

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 2em auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Fallback anciens navigateurs sans aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .video-container {
        height: 0;
        padding-top: 56.25%;
    }
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ========================================
   GALERIE (Lightbox)
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1em;
    margin: 0 0 2em 0;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

.gallery-thumb img:hover {
    transform: scale(1.05);
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

#lightbox img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 4px;
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox .close:hover {
    color: #bbb;
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

@-moz-keyframes reveal-banner {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-webkit-keyframes reveal-banner {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-ms-keyframes reveal-banner {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes reveal-banner {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* ========================================
   UTILITAIRES
   ======================================== */

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1em !important; }
.mt-2 { margin-top: 2em !important; }
.mt-3 { margin-top: 3em !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1em !important; }
.mb-2 { margin-bottom: 2em !important; }
.mb-3 { margin-bottom: 3em !important; }

/* ========================================
   BOUTONS DANS LE BANNER - Background vert pour locdj.php
   ======================================== */

.landingLocation .header-buttons .header-btn {
    background: #8725d382; /* Vert WhatsApp */
    color: #ffffff !important; /* Texte blanc */
    border-radius: 20px; /* Arrondi pour un look moderne */
    transition: background-color 0.3s ease; /* Transition douce */
}

.landingLocation .header-buttons .header-btn:hover {
    background: #c801ff51; /* Vert plus foncÃ© au survol */
}

/* MENU â€” supprimer dÃ©coration des listes et affichage inline pour Ã©lÃ©ments du menu */
#header nav ul,
#header nav ul li,
#header nav ul li > a {
    list-style: none !important; /* supprime les puces/markers */
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important; /* supprime soulignement */
    box-shadow: none !important;
}

/* Affiche les items du menu cÃ´te Ã  cÃ´te (desktop) */
#header nav ul {
    display: flex;
    gap: 0; /* espace gÃ©rÃ© par padding des liens */
    align-items: center;
}

/* Chaque item en ligne */
#header nav ul > li {
    display: inline-block;
    vertical-align: middle;
}

/* Liens du menu : pas de dÃ©coration, hauteur/alignement conservÃ©s */
#header nav ul > li > a {
    display: inline-block;
    padding: 0 1.25rem;
    line-height: inherit;
    color: inherit;
    border-bottom: 0;
}

/* Supprime les markers modernes */
#header nav ul li::marker { content: none; }

/* Mobile / menu off-canvas (fallback) */
#menu ul,
#menu ul > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* ========================================
   FIX MOBILE PORTRAIT - Image de fond banner pleine hauteur
   ======================================== */

@media screen and (max-width: 736px) and (orientation: portrait) {
    /* Background : prend toute la hauteur de l'Ã©cran, centrÃ©, floutÃ© */
    .header-bg-img,
    .header-bg-video {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 100vh !important;
        min-width: 100vw !important;
        object-fit: cover !important;
        background-size: auto 100% !important;
        background-position: center !important;
        z-index: 1 !important;
        filter: blur(8px) brightness(0.6) !important;
    }

    /* Video iframe : mÃªme traitement */
    .header-bg-video iframe,
    .header-bg-video video {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 100vh !important;
        min-width: 100vw !important;
        object-fit: cover !important;
    }

    /* Banner pleine hauteur */
    #banner, #banner.ase-banner {
        min-height: 100vh !important;
        height: 100vh !important;
        overflow: hidden !important;
    }

    /* Contenu au-dessus du fond floutÃ© */
    .banner-inner, #banner .inner {
        position: relative !important;
        z-index: 3 !important;
    }
}

/* ========================================
   FIX FOOTER - Suppression dÃ©corations listes
   ======================================== */

/* Suppression TOTALE des dÃ©corations de listes footer */
#footer ul,
#footer ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#footer ul li::marker,
#footer ul li::before {
    content: none !important;
    display: none !important;
}

/* Liens footer sans dÃ©coration */
#footer ul li a {
    text-decoration: none !important;
    border: 0 !important;
}

/* Copyright : garde le style inline avec bordures */
#footer .copyright li {
    border-left: solid 1px rgba(255, 255, 255, 0.5);
    display: inline-block;
    line-height: 1em;
    margin-left: 1em;
    padding-left: 1em;
    list-style: none !important;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

/* Mobile : copyright empilÃ© */
@media screen and (max-width: 480px) {
    #footer .copyright li {
        border: 0;
        display: block;
        line-height: 1.65em;
        margin: 0;
        padding: 0.5em 0;
    }
}

/* ========================================
   FIX CONTENU PRINCIPAL - Texte justifiÃ©
   ======================================== */

/* Texte justifiÃ© dans la section principale */
#main .wrapper.style5 .inner p {
    text-align: justify !important;
    line-height: 1.7;
}

/* Titres restent alignÃ©s Ã  gauche ou centrÃ©s selon le style */
#main .wrapper.style5 .inner h1,
#main .wrapper.style5 .inner h2,
#main .wrapper.style5 .inner h3,
#main .wrapper.style5 .inner h4 {
    text-align: inherit; /* Garde l'alignement par dÃ©faut */
}

/* Mobile : texte centrÃ© pour meilleure lisibilitÃ© */
@media screen and (max-width: 736px) {
    #main .wrapper.style5 .inner p {
        text-align: justify !important;
    }
}

/* ========================================
   FIX CONTENU - Marges et texte justifiÃ©
   ======================================== */

/* Contenu principal avec marges confortables */
#main .wrapper.style5 .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3em 4em; /* Marges haut + gauche/droite */
}

/* Texte justifiÃ© */
#main .wrapper.style5 .inner p {
    text-align: justify !important;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

/* Titres alignÃ©s Ã  gauche */
#main .wrapper.style5 .inner h2,
#main .wrapper.style5 .inner h3,
#main .wrapper.style5 .inner h4 {
    text-align: left;
    margin-bottom: 1em;
}

/* Listes avec espacement */
#main .wrapper.style5 .inner ul,
#main .wrapper.style5 .inner ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

/* Tablette : marges rÃ©duites */
@media screen and (max-width: 980px) {
    #main .wrapper.style5 .inner {
        padding: 2.5em 3em;
    }
}

/* Mobile : marges minimales, texte centrÃ© */
@media screen and (max-width: 736px) {
    #main .wrapper.style5 .inner {
        padding: 2em 1.5em;
    }
    
    #main .wrapper.style5 .inner p {
        text-align: center !important; /* CentrÃ© sur mobile pour lisibilitÃ© */
    }
}
/* ========================================

/* ========================================
   FOND GRIS AVEC ÉCRITURE BLANCHE - PAGE CAPTATION
   ======================================== */

/* Wrapper style5 - fond gris avec texte blanc */
.wrapper.style5,
#main .wrapper.style5 {
    background-color: #3a4550 !important;
}

.wrapper.style5 .inner,
#main .wrapper.style5 .inner {
    background-color: transparent !important;
}

/* Tous les textes en blanc */
.wrapper.style5 h2,
.wrapper.style5 h3,
.wrapper.style5 h4,
#main .wrapper.style5 h2,
#main .wrapper.style5 h3,
#main .wrapper.style5 h4 {
    color: #fff !important;
}

.wrapper.style5 p,
.wrapper.style5 li,
#main .wrapper.style5 p,
#main .wrapper.style5 li {
    color: rgba(255, 255, 255, 0.85) !important;
}

.wrapper.style5 strong,
#main .wrapper.style5 strong {
    color: #fff !important;
}

/* Liens en violet */
.wrapper.style5 a,
#main .wrapper.style5 a {
    color: #7952cc !important;
    text-decoration: none;
}

.wrapper.style5 a:hover,
#main .wrapper.style5 a:hover {
    color: #9d7fd9 !important;
}
