/* ========================================
   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 */
}

/* ==========================
   HEADER — alignement identique à #wrapper .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; }
    #header nav > ul > li > a.menuToggle:after {
        height: 3em;
        width: 1.5em;
    }
}

/* ========================================
   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; }
}

/* ========================================
   FIX BACKGROUND MOBILE PORTRAIT - Image centrée, pleine hauteur, floutée
   ======================================== */

@media screen and (max-width: 736px) and (orientation: portrait) {
    /* Background : prend toute la hauteur, centré horizontalement, peut déborder */
    .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;
    }
}

/* ========================================
   CORRECTIONS URGENTES
   ======================================== */

/* ========================================
   1. MENU MOBILE (bandeau latéral droit, fond violet sombre)
   ======================================== */

/* Menu off-canvas (panneau latéral) */
#menu {
    -moz-transform: translateX(20em);
    -webkit-transform: translateX(20em);
    -ms-transform: translateX(20em);
    transform: translateX(20em);
    -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;
    top: 0;
    right: 0;
    width: 20em;
    max-width: 80%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    background: #4a235a; /* Violet sombre */
    box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    visibility: hidden;
    z-index: 10002;
    padding: 3em 1.5em;
}

/* Menu visible */
#menu.visible {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
}

/* Affiche le menu quand body a la classe is-menu-visible */
body.is-menu-visible #menu {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
}

/* Overlay sombre derrière le menu mobile */
body.is-menu-visible:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

/* Liste du menu mobile */
#menu ul {
    list-style: none !important;
    margin: 0 0 1em 0;
    padding: 0;
}

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

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

#menu ul li a {
    display: block;
    padding: 0.85em 0;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border: 0;
    outline: 0;
}

#menu ul li a:hover {
    color: #fff;
}

/* Bouton fermeture du menu */
#menu .close {
    text-decoration: none;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: block;
    height: 3.25em;
    line-height: 3.25em;
    padding-right: 1.25em;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    vertical-align: middle;
    width: 7em;
}

#menu .close: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;
    content: '\f00d';
    font-size: 1.25em;
}

#menu .close:hover {
    color: #fff;
}

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

/* ========================================
   2. SPOTLIGHT (liste matériel) - Photo gauche, texte droite, alternance
   ======================================== */

/* Réinitialisation complète des spotlights */
.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 !important; /* Supprime marges entre sections */
    padding: 0 !important;
}

/* Image à gauche (40% largeur) */
.spotlight .image {
    -moz-order: 1;
    -webkit-order: 1;
    -ms-order: 1;
    order: 1;
    border-radius: 0;
    width: 40%;
    margin: 0;
    padding: 0;
}

.spotlight .image img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Supprime espace sous image */
}

/* Texte à droite (60% largeur) */
.spotlight .content {
    -moz-order: 2;
    -webkit-order: 2;
    -ms-order: 2;
    order: 2;
    max-width: none;
    width: 60%;
    padding: 3em 4em; /* Espace entre texte et bords/image */
    box-sizing: border-box;
}

/* Texte justifié */
.spotlight .content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: justify; /* Texte justifié */
    margin: 0 0 1em 0;
}

.spotlight .content h2,
.spotlight .content h3 {
    margin: 0 0 1em 0;
}

/* Ligne paire : inverse (image droite, texte gauche) */
.spotlight:nth-child(even) {
    -moz-flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

/* Couleurs de fond progressives (dégradé) */
.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); }

/* Mobile : tout empilé verticalement */
@media screen and (max-width: 980px) {
    .spotlight {
        display: block !important;
    }

    .spotlight .image {
        width: 100% !important;
    }

    .spotlight .content {
        padding: 3em 2em !important;
        max-width: none;
        text-align: center;
        width: 100% !important;
    }

    .spotlight .content p {
        text-align: center; /* Centre sur mobile */
    }
}

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

/* ========================================
   3. PACKS - Maximum 2 blocs par ligne
   ======================================== */

/* Container des packs : grille fixe 2 colonnes max */
#three .features {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* MAXIMUM 2 colonnes */
    gap: 2rem;
    width: 100%;
}

/* Chaque pack */
#three .features > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 2rem 1.5rem !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#three .features > li:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Supprime markers */
#three .features > li::marker,
#three .features > li::before {
    content: none !important;
    display: none !important;
}

/* Couleurs violettes (6 packs) */
#three .features > li:nth-child(1) {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

#three .features > li:nth-child(2) {
    background: linear-gradient(135deg, #6c3483, #8e44ad);
}

#three .features > li:nth-child(3) {
    background: linear-gradient(135deg, #5b2c6f, #6c3483);
}

#three .features > li:nth-child(4) {
    background: linear-gradient(135deg, #7d3c98, #9b59b6);
}

#three .features > li:nth-child(5) {
    background: linear-gradient(135deg, #9b59b6, #bb8fce);
}

#three .features > li:nth-child(6) {
    background: linear-gradient(135deg, #4a235a, #5b2c6f);
}

#three .features > li:nth-child(n+7) {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

/* Texte vert */
#three .features > li h3 {
    color: #dddddd !important;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#three .features > li p {
    color: #dddddd !important;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

#three .features > li p strong {
    color: #dddddd !important;
    font-size: 1.2rem;
    display: block;
    margin-top: 1rem;
}

/* Responsive : 1 colonne sur mobile */
@media screen and (max-width: 980px) {
    #three .features {
        grid-template-columns: 1fr; /* Une seule colonne sur tablette/mobile */
        gap: 1.5rem;
    }

    #three .features > li {
        padding: 1.5rem 1rem !important;
    }
}

@media screen and (max-width: 736px) {
    #three .features {
        gap: 1rem;
    }

    #three .features > li {
        padding: 1.2rem 0.8rem !important;
    }

    #three .features > li h3 {
        font-size: 1.2rem;
    }

    #three .features > li p {
        font-size: 0.95rem;
    }

    #three .features > li p strong {
        font-size: 1.1rem;
    }
}

/* ========================================
   4. FOOTER - Centrage et suppression décorations listes
   ======================================== */

/* Footer global */
#footer {
    padding: 6em 0 4em 0;
    background-color: #1d242a;
    text-align: center;
}

#footer > .inner {
    max-width: 65em;
    margin: 0 auto;
}

/* Suppression décorations listes footer */
#footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#footer ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

/* Icônes sociales centrées */
#footer .icons {
    font-size: 1em;
    text-align: center;
}

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

#footer .icons li a {
    color: rgba(255, 255, 255, 0.5);
    border: 0;
}

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

/* Copyright centré */
#footer .copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin: 2em 0 0 0;
    padding: 0;
    text-align: center;
}

#footer .copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

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

/* Liste de liens footer (si présents) */
#footer .menu {
    list-style: none !important;
    padding: 0;
    margin: 0 0 2em 0;
    text-align: center;
}

#footer .menu li {
    border-left: solid 1px rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 0 0 0 1em;
    margin: 0 0 0 1em;
}

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

#footer .menu li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

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

/* Responsive footer */
@media screen and (max-width: 980px) {
    #footer {
        padding: 4em 3em 2em 3em;
    }
}

@media screen and (max-width: 736px) {
    #footer {
        padding: 3em 2em 1em 2em;
    }

    #footer .icons li {
        padding: 0 0.5em;
    }

    #footer .menu li {
        display: block;
        border-left: 0;
        padding: 0.75em 0 0 0;
        margin: 0;
    }
}

/* ========================================
   BANNER - Affichage desktop ET mobile corrigé
   ======================================== */

/* SUPPRIMEZ les anciennes règles de banner et remplacez par ceci : */

/* Banner de base (desktop) */
#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-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    cursor: default;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 8em 0 2em 0;
}

#banner.ase-banner {
    position: relative;
    min-height: 100vh;
    height: auto;
}

/* Background image/video (desktop) */
.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;
    object-fit: cover;
    pointer-events: none;
}

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

/* Contenu du banner (desktop) */
.banner-inner, #banner .inner {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2em;
}

/* Logo */
.ase-logo {
    width: 180px;
    max-width: 40vw;
    height: auto;
    margin-bottom: 1.2em;
}

/* Titre */
#banner h2, #banner .banner-inner h2, #banner .inner h2 {
    font-size: 2.5em;
    line-height: 1.05;
    margin: 0 0 0.5em 0;
}

/* Boutons header (desktop) */
.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;
}

/* Sous-titre (punchline) */
.header-subtitle {
    font-size: 1.2em;
    margin: 1em 0 0.5em 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
}

/* Bouton "En savoir plus" (desktop - positionné en bas) */
#banner .more, #banner .more.scrolly {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2em;
    display: inline-block;
    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;
    z-index: 3;
}

#banner .more:hover, #banner .more.scrolly:hover {
    background: #3b1b4a;
    color: #ffffff;
}

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

/* Tablette (max 980px) */
@media screen and (max-width: 980px) {
    #banner, #banner.ase-banner {
        min-height: 80vh;
        padding: 6em 0 2em 0;
    }

    #banner h2 {
        font-size: 2em;
    }

    .ase-logo {
        width: 140px;
    }

    .header-subtitle {
        font-size: 1.1em;
    }
}

/* Mobile (max 736px) - ORDRE MODIFIÉ */
@media screen and (max-width: 736px) {
    #banner, #banner.ase-banner {
        min-height: 100vh;
        height: auto;
        padding: 5em 0 2em 0;
    }

    /* Contenu empilé verticalement */
    .banner-inner, #banner .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        padding: 0 1rem;
        min-height: 70vh;
    }

    /* ORDRE VISUEL : logo → titre → boutons → sous-titre → more */
    .ase-logo { 
        order: 1; 
        width: 100px; 
        margin-bottom: 0.5em; 
    }

    #banner h2, 
    #banner .banner-inner h2, 
    #banner .inner h2 { 
        order: 2; 
        font-size: 1.5em; 
        margin: 0.3em 0;
    }

    .header-buttons { 
        order: 3; 
        margin: 0.5em 0; 
        gap: 0.5em; 
    }

    .header-buttons .header-btn { 
        padding: 0.4em 1em; 
        font-size: 0.9em; 
    }

    .header-subtitle { 
        order: 4; 
        font-size: 1em; 
        margin: 0.5em 0; 
        max-width: 90%; 
    }

    /* Bouton "En savoir plus" - DANS LE FLUX sur mobile */
    #banner .more, 
    #banner .more.scrolly { 
        order: 5; 
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        margin: 0.8em auto 0;
        padding: 0.5em 1.2em; 
        font-size: 1em; 
    }

    /* Background mobile : remplissage hauteur */
    .header-bg-img, .header-bg-video {
        height: 100vh;
        width: auto;
        min-width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile portrait spécifique (si besoin d'ajustements) */
@media screen and (max-width: 736px) and (orientation: portrait) {
    #banner, #banner.ase-banner {
        min-height: 100vh;
    }

    .banner-inner, #banner .inner {
        min-height: 85vh;
    }
}

/* ========================================
   FIX MENU - Suppression décorations de liste UNIQUEMENT
   ======================================== */

/* MENU DESKTOP - Suppression TOTALE des décorations */
#header nav ul,
#header nav ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

/* Affiche les items en ligne (desktop) */
#header nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

#header nav ul > li {
    display: inline-block;
    vertical-align: middle;
}

/* Liens menu desktop - pas de soulignement ni bordure */
#header nav ul > li > a {
    display: inline-block;
    padding: 0 1.25rem;
    line-height: inherit;
    color: inherit;
    text-decoration: none !important;
    border-bottom: 0 !important;
    border: 0 !important;
}

/* MENU MOBILE (#menu) - Suppression TOTALE des décorations */
#menu ul,
#menu ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

#menu ul li a {
    text-decoration: none !important;
    border: 0 !important;
}

/* ========================================
   FIX GALERIE - Banner mobile portrait + Titre plus gros
   ======================================== */

/* Mobile portrait : background pleine hauteur, déborde sur les côtés */
@media screen and (max-width: 736px) and (orientation: portrait) {
    /* Background : prend toute la hauteur de l'écran */
    .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;
    }

    /* Titre "Galerie" plus gros sur mobile portrait */
    #banner h2, 
    #banner .banner-inner h2, 
    #banner .inner h2 {
        font-size: 2em !important; /* Plus gros que 1.5em par défaut */
        margin: 0.5em 0 !important;
    }
}

/* Mobile (tous modes) : titre un peu plus gros aussi */
@media screen and (max-width: 736px) {
    #banner h2, 
    #banner .banner-inner h2, 
    #banner .inner h2 {
        font-size: 1.8em !important; /* Au lieu de 1.5em */
    }
}

/* ========================================
   FIX FOOTER - Suppression décorations listes (complément)
   ======================================== */

/* Force la suppression sur TOUTES les listes du footer */
#footer ul,
#footer ul li,
#footer .copyright ul,
#footer .copyright 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,
#footer .copyright ul li::marker,
#footer .copyright ul li::before {
    content: none !important;
    display: none !important;
}

/* Copyright : liens inline avec séparateurs (pas de puces) */
#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;
}

/* Liens footer sans décoration */
#footer ul li a,
#footer .copyright li a {
    text-decoration: none !important;
    border: 0 !important;
}

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

/* ========================================
   FIX GALERIE - Lien .more EN DESSOUS du contenu
   ======================================== */

/* Force le container banner en flex column */
#banner .inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ordre des éléments : titre → sous-titre → actions (.more) */
#banner .inner h2 { 
    order: 1 !important; 
    margin-bottom: 0.5em;
}

#banner .inner .header-subtitle { 
    order: 2 !important; 
    margin-bottom: 0.5em;
}

#banner .inner .actions,
#banner .inner ul.actions { 
    order: 99 !important; /* Force en dernier */
    margin: 1em 0 0 0 !important;
}

/* Le lien .more dans le flux (pas absolute) */
#banner .more, 
#banner .more.scrolly {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    bottom: auto !important;
    display: inline-block !important;
}

/* ========================================
   FIX LEGAL - Texte justifié avec marges + .more EN DESSOUS
   ======================================== */

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

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

#main .wrapper.style5 .inner h2,
#main .wrapper.style5 .inner h3 {
    text-align: left;
    margin-bottom: 1em;
}

/* 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;
    }
}

/* 2. FIX .more - TOUJOURS en dessous sur TOUTES les tailles */
#banner .inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ordre forcé : titre (1) → sous-titre (2) → .more (99) */
#banner .inner h2 { 
    order: 1 !important; 
    margin-bottom: 0.5em;
}

#banner .inner .header-subtitle { 
    order: 2 !important; 
    margin-bottom: 0.5em;
}

#banner .inner .more,
#banner .inner .more.scrolly,
#banner .inner .actions,
#banner .inner ul.actions { 
    order: 99 !important; /* Force en dernier */
    margin: 1.5em 0 0 0 !important;
}

/* Le .more en position relative (dans le flux) sur TOUTES les tailles */
#banner .more, 
#banner .more.scrolly {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    bottom: auto !important;
    display: inline-block !important;
}

/* Desktop : garde le style visuel */
@media screen and (min-width: 737px) {
    #banner .more, 
    #banner .more.scrolly {
        font-size: 1.2em;
        padding: 0.5em 1.5em;
    }
}