/* ========================================
   1. IMPORTS & VARIABLES GLOBALES
   ======================================== */

@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic");

:root {
    --primary-color: #2c3e50;
    --secondary-color: #61BD56;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-bg: #1a2530;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);;
}

/* ========================================
   2. RESET & BASIC
   ======================================== */

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

/* ========================================
   3. TYPO & TEXTE
   ======================================== */

html {
    box-sizing: border-box;
}

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

body {
    background: white;
    background-image: url("images/bg02.png");
    font-family: 'Source Sans Pro';
    font-weight: 300;
    color: #5d5d5d;
    font-size: 14pt;
    line-height: 1.75em;
}

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

strong, b {
    color: #252122;
    font-weight: 400;
}

i, em {
    font-style: italic;
}

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

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

blockquote {
    border-left: solid 0.75em #dddddd;
    padding: 1em 0 1em 1.5em;
    font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
    color: #252122;
    font-weight: 700;
}

h3 {
    color: #ffffff;
    font-weight: 300;
}

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

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.35em;
}

a {
    color: #61BD56;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

br.clear {
    clear: both;
}

hr {
    border: 0;
    border-top: solid 1px #dddddd;
    height: 1px;
    margin: 2em 0 2em 0;
}

p, ul, ol, dl, table {
    margin-bottom: 2em;
}

/* ========================================
   4. CONTAINER & GRID
   ======================================== */

.container {
    margin: 0 auto;
    max-width: 100%;
    width: 70em;
}

.row {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    align-items: stretch;
}

.row > * {
    box-sizing: border-box;
}

.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

.row.aln-left {
    justify-content: flex-start;
}

.row.aln-center {
    justify-content: center;
}

.row.aln-right {
    justify-content: flex-end;
}

.row.aln-top {
    align-items: flex-start;
}

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

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

.row > .imp {
    order: -1;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 102, 204, 0.08);
    padding: 5px 12px;
    border-radius: 40px;
}

.language-switcher a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.2s ease;
    color: #2c3e50;
}

.language-switcher a.active {
    background: #0066CC;
    color: white;
}

.language-switcher a:hover:not(.active) {
    background: rgba(0, 102, 204, 0.15);
    color: #0066CC;
}

.language-switcher span {
    color: #ccc;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-left {
        flex-direction: column;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-switcher {
        margin-top: 5px;
    }
}
/* ========================================
   5. COLONNES
   ======================================== */

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

/* ========================================
   6. ESPACEMENT (GTR)
   ======================================== */

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

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

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

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

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

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

/* ========================================
   7. FORMULAIRES
   ======================================== */

form label {
    display: block;
    color: #252122;
    font-weight: 400;
    margin: 0 0 0.5em 0;
}

form input[type=text],
form input[type=email],
form input[type=password],
form select,
form textarea {
    -webkit-appearance: none;
    display: block;
    border: 0;
    padding: 0.75em 1em;
    font-size: 1em;
    border-radius: 5px;
    border: solid 1px #dddddd;
    background: #fff;
    width: 100%;
}

form input[type=text]:focus,
form input[type=email]:focus,
form input[type=password]:focus,
form select:focus,
form textarea:focus {
    box-shadow: inset 0px 0px 1px 1px #43bff0;
}

form textarea {
    height: 15em;
}

form ::-webkit-input-placeholder { color: #555 !important; }
form :-moz-placeholder { color: #555 !important; }
form ::-moz-placeholder { color: #555 !important; }
form :-ms-input-placeholder { color: #555 !important; }
form ::-moz-focus-inner { border: 0; }

/* ========================================
   8. TABLES
   ======================================== */

table {
    width: 100%;
}

table tr {
    border-top: solid 1px #dddddd;
}

table tr:first-child {
    border-top: 0;
}

table td {
    padding: 0.5em 1em 0.5em 1em;
}

table th {
    text-align: left;
    padding: 0.5em 1em 0.5em 1em;
    font-weight: 700;
    margin: 0 0 1em 0;
}

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

/* ========================================
   9. SECTIONS & ARTICLES
   ======================================== */

section, article {
    margin-bottom: 2.5em;
}

section > :last-child, section:last-child, article > :last-child, article:last-child {
    margin-bottom: 0;
}

header {
    margin: 0 0 1.5em 0;
}

header > p {
    display: block;
    font-style: italic;
    margin: 0.5em 0 0 0;
    padding-bottom: 0.5em;
}

header.major {
    position: relative;
    text-align: center;
    border-top: solid 0px #ccc;
    top: 1em;
    margin: 0 0 3em 0;
}

header.major h2 {
    background: #fff;
    position: relative;
    top: -0.65em;
    display: inline;
    margin: 0;
    padding: 0 1em 0 1em;
}

footer {
    margin: 2.25em 0 0 0;
}

/* ========================================
   10. BOX
   ======================================== */

.box {
    background: #ffffff;
    border-bottom: solid 1px #ccc;
    padding: 2.75em 1.75em 2.75em 1.75em;
}

.box .image.featured {
    position: relative;
    width: auto;
    left: 1.75em;
    top: 1.75em;
    margin: -4.5em 0 4.25em -3.5em;
}

.box.post header {
    padding-top: 1em;
    margin: 0 0 2em 0;
}

.box.post h2 {
    font-size: 2.5em;
    letter-spacing: -0.015em;
}

.box.post header > p {
    margin-top: 1.25em;
    font-size: 1.25em;
}

.box footer ul.actions {
    margin-bottom: 0;
}

/* ========================================
   11. BOUTONS
   ======================================== */

input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    -webkit-appearance: none;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    background: #61BD56;
    color: #fff !important;
    font-weight: 700;
    outline: 0;
    font-size: 1.1em;
    padding: 0.5em 1.5em 0.65em 1.5em;
    text-align: center;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
    -ms-transition: background-color .25s ease-in-out;
    transition: background-color .25s ease-in-out;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    background: #e53359;
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active,
.button:active {
    background: #c51349;
}

input[type="button"].alt,
input[type="submit"].alt,
input[type="reset"].alt,
button.alt,
.button.alt {
    background: #252122;
}

input[type="button"].alt:hover,
input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
button.alt:hover,
.button.alt:hover {
    background: #353132;
}

input[type="button"].alt:active,
input[type="submit"].alt:active,
input[type="reset"].alt:active,
button.alt:active,
.button.alt:active {
    background: #151112;
}

input[type="button"].icon:before,
input[type="submit"].icon:before,
input[type="reset"].icon:before,
button.icon:before,
.button.icon:before {
    opacity: 0.35;
    position: relative;
    top: 0.05em;
    margin-right: 0.75em;
}

input[type="button"].large,
input[type="submit"].large,
input[type="reset"].large,
button.large,
.button.large {
    font-size: 1.5em;
    padding: 0.75em 1.5em 0.75em 1.5em;
}

.button-tech.disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}
/* ========================================
   12. IMAGES
   ======================================== */

.image {
    display: inline-block;
    outline: 0;
}

.image img {
    display: block;
    width: 100%;
}

.image.centered {
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}

.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 2em 0;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
}

.half-height-image {
    height: 400px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.half-height-image .category-link {
    display: block;
    height: 50%;
    position: relative;
    overflow: hidden;
}

.half-height-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   13. LISTES
   ======================================== */

ul {
    list-style: disc;
    padding-left: 1em;
}

ul li {
    padding-left: 0.5em;
}

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ul.actions {
    list-style: none;
    padding-left: 0;
}

ul.actions li {
    display: inline-block;
    margin-left: 1em;
    padding-left: 0;
}

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

ul.links {
    list-style: none;
    padding-left: 0;
}

ul.links li {
    display: inline-block;
    border-left: solid 1px rgba(255, 255, 255, 0.05);
    padding: 0 0 0 1em;
    margin: 0 0 0 1em;
}

ul.links li:first-child {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
}

ul.contact {
    list-style: none;
    padding-left: 0;
}

ul.contact li {
    position: relative;
    border-top: solid 1px #ddd;
    padding: 1.3em 0 1.3em 7em;
}

ul.contact li h3 {
    position: absolute;
    left: 0;
    top: 1.3em;
    font-size: 1.1em;
}

ul.contact li p {
    margin: 0;
}

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

ul.contact li:first-child h3 {
    top: 0;
}

ul.dates {
    list-style: none;
    padding-left: 0;
}

ul.dates li {
    position: relative;
    border-top: solid 1px #ddd;
    padding: 1.3em 0 1.3em 6.75em;
}

ul.dates .date {
    display: block;
    position: absolute;
    left: 0;
    top: 1.3em;
    background-color: #61BD56;
    height: 3.5em;
    text-align: center;
    color: #fff;
    line-height: 1em;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 0.5em 0.75em 0 1em;
}

ul.dates .date:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -1.2em;
    border-left: solid 1.25em #61BD56;
    border-top: solid 1.8em transparent;
    border-bottom: solid 1.8em transparent;
}

ul.dates .date strong {
    display: block;
    font-size: 1.75em;
    padding-top: 0.15em;
}

ul.dates h3 {
    font-size: 1.1em;
}

ul.dates p {
    margin: 0;
}

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

ul.dates li:first-child .date {
    top: 0;
}

ul.divided {
    list-style: none;
    padding-left: 0;
}

ul.divided li {
    border-top: solid 1px #ddd;
    padding: 1em 0 1em 0;
}

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

ul.social {
    list-style: none;
    padding-left: 0;
    overflow: hidden;
    cursor: default;
    margin: 0 0 3.25em 0;
}

ul.social li {
    display: inline-block;
    padding-left: 0;
    margin-left: 0.75em;
}

ul.social li:first-child {
    margin-left: 0;
}

ul.social li a {
    display: inline-block;
    width: 3em;
    height: 3em;
    text-align: center;
    border-radius: 5px;
    background: #888;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
    -ms-transition: background-color .25s ease-in-out;
    transition: background-color .25s ease-in-out;
}

ul.social li a:before {
    color: #fff;
    font-size: 2em;
    line-height: 1.5em;
}

ul.social li a.fa-facebook { background: #3c5a98; }
ul.social li a.fa-facebook:hover { background: #4c6aa8; }
ul.social li a.fa-twitter { background: #2daae4; }
ul.social li a.fa-twitter:hover { background: #3dbaf4; }
ul.social li a.fa-dribbble { background: #c4376b; }
ul.social li a.fa-dribbble:hover { background: #d4477b; }
ul.social li a.fa-linkedin { background: #006599; }
ul.social li a.fa-linkedin:hover { background: #1075a9; }
ul.social li a.fa-tumblr { background: #2b4661; }
ul.social li a.fa-tumblr:hover { background: #3b5671; }
ul.social li a.fa-google-plus { background: #da2713; }
ul.social li a.fa-google-plus:hover { background: #ea3723; }

/* ========================================
   14. ICÔNES
   ======================================== */

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

.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: 400;
}

.icon.solid:before {
    font-weight: 900;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

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

.icon > .label {
    display: none;
}

.icon.featured {
    position: relative;
    display: inline-block;
    background-color: #61BD56;
    width: 9em;
    padding: 1.75em 0 0.75em 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: 0 0 4.5em 0;
    cursor: default;
}

.icon.featured:before {
    font-size: 4.5em;
    line-height: 1em;
    color: #fff;
}

.icon.featured:after {
    content: '';
    position: absolute;
    bottom: -1.95em;
    left: 0;
    border-top: solid 2em #61BD56;
    border-left: solid 4.5em transparent;
    border-right: solid 4.5em transparent;
}

.icon.featured.alt {
    background-color: #252122;
}

.icon.featured.alt:after {
    border-top-color: #252122;
}

.icon.featured.alt2 {
    background-color: #827a7c;
}

.icon.featured.alt2:after {
    border-top-color: #827a7c;
}
/* col*/
[class*="col-"] {
    padding: 1rem 0 0 1rem;
    display: flex;           /* Permet à la carte interne de s'étirer */
    flex-direction: column;
}

/* 1. Desktop : 3 colonnes (100/3) */
.col-4 {
    width: 33.33333%;
}

/* 2. Tablette (Medium) : 2 colonnes (100/2) */
@media (max-width: 980px) {
    .col-6-medium {
        width: 50%;
    }
    
    /* On ajuste la hauteur d'image pour tablette si besoin */
    .image.fit {
        height: 180px; 
    }
}

/* 3. Mobile (Small) : 1 colonne pleine largeur */
@media (max-width: 736px) {
    .col-12-small {
        width: 100%;
    }}
/* ========================================
   15. PAGE WRAPPER
   ======================================== */

#page-wrapper > section {
    margin-bottom: 0;
}

/* ========================================
   16. HEADER
   ======================================== */
#header {
    position: relative;
    background: white;
    border-bottom: solid 1px #e0e0e0;
    padding: 0.1em 0; /* Ajusté */
    text-align: center;
}

/* Container principal avec logo à gauche et nav à droite */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 0 ;
    flex-wrap: wrap;
	min-height: auto;
}

/* Partie gauche avec logo et slogan */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    flex: 1;
}

/* Logo */
.logo-container {
    flex-shrink: 0;
    height: auto;
}

.site-logo {
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.03);
}

.logo-img {
    margin-left: 0;
    max-height: 170px; /* Taille adaptée */
    width: auto;
    display: block;
}

@media screen and (min-width: 981px) {
    .header-container {
        justify-content: flex-start;
        padding-left: 2rem;
    }
}
@media screen and (max-width: 980px) {
    .logo-img {
        max-height: 80px;  /* Adaptez aussi en tablette */
    }
}

@media screen and (max-width: 736px) {
    .logo-img {
        max-height: 70px;   /* Plus petit en mobile */
    }
}

/* Texte à côté du logo */
.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 1.3rem;
    color: #252122;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.header-text h1 a {
    color: #252122;
    text-decoration: none;
}

.header-text blockquote {
    margin: 0.1rem 0 0 0;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    text-align: left;
    max-width: 300px;
    line-height: 1.4;
}
/* ========================================
   16.2. version arabe
   ===========
   ============================= */


html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
html[dir="rtl"]  a {
    font-size: 1.2rem !important;
}

html[dir="rtl"] .bouton_small a {
    font-size: 1rem !important;
}

html[dir="rtl"]  p {
    font-size: 1.3rem !important;
}

html[dir="rtl"]  h4 {
    font-size: 1.5rem !important;
}

html[dir="rtl"] .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
}

html[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

html[dir="rtl"] .contact-wrapper {
    direction: rtl;
}

html[dir="rtl"] .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}

html[dir="rtl"] .info-item i {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .form-group {
    text-align: right;
}

html[dir="rtl"] .form-group label i {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .btn-submit i {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .footer-links li i, 
html[dir="rtl"] .contact-info li i {
    margin-left: 10px;
    margin-right: 0;
}

html[dir="rtl"] .social-media a {
    margin-left: 0;
    margin-right: 12px;
}

/* Style pour le blockquote en RTL */
html[dir="rtl"] .header-text blockquote {
    text-align: right;
    border-left: none;
    border-right: 8px solid #cccccc;
    padding-left: 0;
    padding-right: 15px;
}


/* ========================================
   17. NAVIGATION 
   ===========
   ============================= */
/* Structure de base */
#nav {
    margin: 0;
    text-align: right;
    position: relative;
    flex-shrink: 0;
}

#nav > ul {
    margin: 0;
    padding: 0;
    list-style: none; 
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.8em; 
}

/* Container principal  */
#nav.nav_encadre {
    position: relative;
    border-radius: 20px; 
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.7); /* Transparence pour le blur */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

/* Liens de navigation */
#nav > ul > li > a {
    position: relative;
    border-radius: 12px;
    color: #4a4a4a;
    text-decoration: none;
    padding: 0.6em 1.2em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* Effet au survol des liens */
#nav > ul > li > a:hover {
    color: #2d2d2d;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Indicateur de page active (si class .current présente) */
#nav > ul > li.current > a {
    background: #61BD56;
    color: grey;
    box-shadow: 0 4px 10px rgba(97, 189, 86, 0.3);
}

/* Soulignement animé discret */
#nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #61BD56;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

#nav > ul > li > a:hover::after {
    width: 40%;
    left: 30%;
}

/* Masquer le soulignement pour l'élément actif ou si on ne veut pas l'effet */
#nav > ul > li.current > a::after {
    display: none;
}

/* --- Responsive Unique --- */
@media (max-width: 768px) {
    #nav {
        width: 100%;
        margin-top: 1.5em;
    }

    #nav.nav_encadre {
        margin: 0 auto;
        width: 95%;
        padding: 10px;
    }

    /* Sur mobile, rendre le nav complètement blanc (pas de transparence) */
    #nav.nav_encadre {
        background: #000000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: var(--box-shadow);
    }

    #nav > ul {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    #nav > ul > li {
        width: 100%;
    }

    #nav > ul > li > a {
        text-align: center;
        padding: 0.8em;
    }
}
/* ========================================
   18. BANNER
   ======================================== */

#banner {
    background: #fff url("../../images/banniere_flacon2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 10em 0;
    margin-top: 2em;
    display: flex;
}

#banner::before {
    content: "";
    flex: 1;
    order: 2;
}

#banner header {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3em;
    border-radius: 8px;
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#banner h2 {
    color: #fff;
}

/* ========================================
   19. INTRO
   ======================================== */

#intro {
    text-align: center;
    overflow: hidden;
}

#intro section {
    margin: 3em 0;
    padding: 2.5em 0;
}

#intro h2 {
    font-size: 1.75em;
}

#intro p {
    margin: 0;
}

#intro .middle {
    position: relative;
    z-index: 1;
}

#intro .middle:before {
    content: '';
    width: 32px;
    height: 100%;
    position: absolute;
    left: -24px;
    top: 0;
    display: block;
    z-index: -1;
    box-shadow: 32px 0 0 0 #fff, 0 -32px 0 0 #fff, 0 32px 0 0 #fff, 32px 32px 0 0 #fff, 32px -32px 0 0 #fff, 0 0 32px 0 rgba(0, 0, 0, 0.15);
}

#intro .middle:after {
    content: '';
    width: 32px;
    height: 100%;
    position: absolute;
    right: -24px;
    top: 0;
    display: block;
    z-index: -1;
    box-shadow: -32px 0 0 0 #fff, 0 -32px 0 0 #fff, 0 32px 0 0 #fff, -32px 32px 0 0 #fff, -32px -32px 0 0 #fff, 0 0 32px 0 rgba(0, 0, 0, 0.15);
}

#intro .button {
    min-width: 12em;
}

#intro footer {
    margin: 0;
}

/* ========================================
   20. MAIN
   ======================================== */

#main {
    position: relative;
    background: #f7f7f7 url("images/bg02.png");
    padding: 4em 0 4em 0;
}

#main:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: url("images/bg01.png");
    background-size: 100% 100%;
    z-index: 0;
    opacity: 0.1;
}

#main .major h2 {
    background: #f7f7f7 url("images/bg02.png");
    margin-top: 0px;
}
/* ========================================
   21. CATÉGORIES 
   ======================================== */

.category-description {
    display: flex;
    flex-direction: column;
    min-height: 250px; /* Donne une hauteur uniforme à tes blocs */
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    /* On remplace la grosse bordure par quelque chose de plus fin */
    border: 1px solid #e0e0e0;
    border-top: 4px solid #61BD56; 
    transition: var(--transition);
}

/* Effet de survol sur tout le bloc */
.col-4:hover .category-description {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #61BD56;
}

.category-description h2 {
    margin-top: 10px;
    margin-bottom: 12px;
    color: #121826;
    font-size: 1.4em;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.category-description p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95em;
    flex-grow: 1; /* Pousse le bouton vers le bas peu importe la longueur du texte */
}

.col-4.col-12-medium {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;}

/* Style du Bouton */
.category-description .button.small {
    align-self: center; /* Centre le bouton */
    padding: 8px 20px;
    background-color: #61BD56;
    color: var(--light-bg) !important; /* Force le blanc */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
}

.category-description .button.small:hover {
    background-color: #4da64d; /* Un vert un peu plus sombre */
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(97, 189, 86, 0.3);
}

.image.fit {
    margin: 0;
    height: 220px; /* Fixe la hauteur de l'image */
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    display: block;
}

.image.fit img {
    width: 100%;
    height: 100%; /* L'image remplit tout le bloc parent */
    object-fit: cover; 
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.col-4:hover .image.fit img {
    transform: scale(1.08);
}

/* ========================================
   22. HERO SECTION
   ======================================== */

.image-hero-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.image-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 400px;
}

.image-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}
/* ========================================
   22.2 section produit
   ======================================== */
.section-produits .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.section-produits .col-4 {
    display: flex;
    flex-direction: column;
}

/* --- UNIFORMISATION DE L'IMAGE --- */

.section-produits .image.fit {
    height: 250px;       
    background: #fff;   
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
    border-bottom: none;
}

.section-produits .image.fit img {
    max-width: 100%;
    max-height: 100%;
    width: auto;       
    height: auto;
    object-fit: contain; 
    transition: var(--transition);
}

/* --- UNIFORMISATION DU TEXTE ET BOUTON --- */
.section-produits .category-description {
    flex: 1;            
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--light-bg);
    border: 1px solid #eee;
}

.section-produits .category-description h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.section-produits .category-description p {
    flex-grow: 1;        /* Pousse le bouton vers le bas */
    margin-bottom: 20px;
}

.section-produits .button.small {
    align-self: flex-start; /* Aligne le bouton à gauche comme sur ton image */
    margin-top: auto;
    transition: var(--transition);
}

/* ========================================
   22.2 section alternate
   ======================================== */

/* --- SECTION ALTERNATE --- */
.section-alternate {
    padding: 60px 0;
    background: var(--light-bg);
}

/* Force l'alignement horizontal sur PC */
.section-alternate .text-image-section {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap; /* Permet le passage à la ligne uniquement en responsive */
    align-items: center; 
    justify-content: space-between;
}

/* Gestion des colonnes */
.section-alternate .col-6 {
    width: 50%; /* Largeur fixe pour PC */
    flex: 0 0 50%;
    box-sizing: border-box;
}

/* --- CONTENU TEXTE --- */
.section-alternate .content {
    padding-right: 40px;
}

.section-alternate h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #252122;
}

.section-alternate .subtitle {
    color: #61BD56;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.section-alternate .feature-item {
    margin: 1.5rem 0;
}

.section-alternate .feature-item h4 {
    margin-bottom: 5px;
    font-weight: 700;
}

.section-alternate .feature-item i {
    color: #61BD56;
    margin-right: 8px;
}

/* --- IMAGE (CORRECTIF) --- */
.section-alternate .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-alternate .image-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
    .section-alternate .text-image-section {
        flex-direction: column !important; /* Empile sur mobile */
    }

    .section-alternate .col-6 {
        width: 100% !important;
        flex: 0 0 100%;
    }

    .section-alternate .content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
}
/* ========================================
   22.3 Nos Produits Phares (Style Premium)
   ======================================== */

/* Conteneur de la grille pour assurer l'alignement */
#main .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* Force toutes les colonnes à la même hauteur */
}

/* Transformation de la Box en Carte */
#main .row .col-4 .box {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 0; /* On enlève le padding interne pour que l'image touche les bords */
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#main .row .col-4 .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e44c65; /* Rappel de la couleur d'accentuation */
}

/* Gestion de l'image "Featured" */
#main .row .col-4 .box .image.featured {
    margin: 0;
    height: 220px;
    overflow: hidden;
    display: block;
    border-radius: 0; /* Pas d'arrondi ici pour l'image du haut */
}

#main .row .col-4 .box .image.featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#main .row .col-4 .box:hover .image.featured img {
    transform: scale(1.08); /* Zoom léger au survol */
}

/* Contenu textuel sous l'image */
#main .row .col-4 .box header, 
#main .row .col-4 .box p {
    padding: 0 1.5rem; /* On remet du padding pour le texte */
}

#main .row .col-4 .box header h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: #333;
}

#main .row .col-4 .box p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Footer de la box (Bouton) */
#main .row .col-4 .box footer {
    margin-top: auto; /* Pousse le bouton en bas */
    padding: 1.5rem;
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
}

/* Style du bouton "En savoir plus" version Tech */
#main .row .col-4 .box .button {
    display: block;
    width: 100%;
    text-align: center;
    background: #444;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.3s;
}

#main .row .col-4 .box .button:hover {
    background: #e44c65;
}

/* Style spécifique pour les badges sur les produits phares */
.image-container {
    position: relative;
    overflow: hidden;
}

.arome-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: rgba(228, 76, 101, 0.9); /* Rose IMPG avec légère transparence */
    color: #fff;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    pointer-events: none; /* Le clic passe à travers pour atteindre l'image */
}

/* On réutilise les styles de la carte que nous avons définis précédemment */
#main .row .col-4 .box h3 {
    margin-bottom: 0.5rem;
    color: #e44c65; /* On met le titre en couleur pour le faire ressortir */
}
/* ========================================
   23. CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #61BD56, #3498db);
}

.cta-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content h2 i {
    color: #61BD56;
    margin-right: 10px;
}

.cta-content > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.cta-features .feature i {
    color: #61BD56;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-buttons .button.primary {
    background: #61BD56;
    color: white;
    border: 2px solid #61BD56;
}

.cta-buttons .button.primary:hover {
    background: #2c3e50;
    border-color: #2c3e50;
    transform: translateY(-3px);
}

.cta-buttons .button.alt {
    background: #2c3e50;
    color: white;
    border: 2px solid #2c3e50;
}

.cta-buttons .button.alt:hover {
    background: #1a2530;
    border-color: #1a2530;
    transform: translateY(-3px);
}

/* ========================================
   24. FOOTER
   ======================================== */

#footer {
    position: relative;
    color: #858484;
    padding: 4em 0;
    background: #2c3e50;
    z-index: 1;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #61BD56, #3498db);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #61BD56;
    border-radius: 2px;
}

.footer-column h3 i {
    color: #61BD56;
}

.company-description {
    color: #b0b7c3;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: #b0b7c3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links li a:hover {
    color: #61BD56;
    padding-left: 0.5rem;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #b0b7c3;
}

.contact-info li i {
    color: #61BD56;
    margin-right: 1rem;
    font-size: 1.1rem;
    margin-top: 0.25rem;
    width: 20px;
}

.contact-info strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: #61BD56;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #61BD56;
}

.newsletter-form button {
    background: #61BD56;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #2c3e50;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #b0b7c3;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #b0b7c3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #61BD56;
}

#copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#copyright ul.links {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 0;
    padding: 0.85em 2.25em;
}

#copyright ul.links li {
    display: inline-block;
    margin: 0 1rem;
    padding: 0;
}

#copyright ul.links li a {
    color: #c5c4c4;
    text-decoration: none;
}

#copyright ul.links li a:hover {
    color: var(--secondary-color);
}

/* ========================================
   25. INDUSTRIES SERVED
   ======================================== */

.industries-served {
    background: var(--light-bg);
    padding: 4rem 0;
}

.industries-served .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.industries-served .major {
    text-align: center;
    margin-bottom: 3rem;
}

.industries-served .major h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.industries-served .major p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.industry-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.industry-icon {
    text-align: center;
    width: 200px;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.industry-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.industry-icon i {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.industry-icon h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.industry-icon p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   26. ANIMATIONS & UTILITAIRES
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   27. RESPONSIVE - XLarge (1680px)
   ======================================== */

@media screen and (max-width: 1680px) {
    body, input, textarea, select {
        font-size: 12pt;
    }

    .container {
        width: 70em;
    }

    /* Grid - XLarge */
    .row.gtr-0 { margin-top: 0px; margin-left: 0px; }
    .row.gtr-25 { margin-top: -12.5px; margin-left: -12.5px; }
    .row.gtr-50 { margin-top: -25px; margin-left: -25px; }
    .row { margin-top: -50px; margin-left: -50px; }
    .row.gtr-150 { margin-top: -75px; margin-left: -75px; }
    .row.gtr-200 { margin-top: -100px; margin-left: -100px; }

    /* Section */
    header.major {
        margin: 0.75em 0 2.5em 0;
    }

    header.major h2 {
        padding: 0 1em 0 1em;
    }

    /* Social */
    ul.social li {
        margin: 0 0 0.25em 0.75em;
    }

    /* Header */
    #header {
        padding: 4em 0 3em 0;
    }

    /* Banner */
    #banner {
        padding: 6em 0;
        margin: 3em 0 0 0;
    }

    /* Intro */
    #intro {
        padding: 0;
    }

    #intro section {
        padding: 1em 2em;
    }

    #intro .middle:before {
        left: -12px;
    }

    #intro .middle:after {
        right: -12px;
    }
}

/* ========================================
   28. RESPONSIVE - Large (1280px)
   ======================================== */

@media screen and (max-width: 1280px) {
    body, input, textarea, select {
        font-size: 11pt;
    }

    .container {
        width: calc(100% - 60px);
    }

    /* Grid - Large */
    .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%; }

    /* Espacement - Large */
    .row.gtr-0 { margin-top: 0px; margin-left: 0px; }
    .row.gtr-0 > * { padding: 0px 0 0 0px; }
    .row.gtr-25 { margin-top: -7.5px; margin-left: -7.5px; }
    .row.gtr-25 > * { padding: 7.5px 0 0 7.5px; }
    .row.gtr-50 { margin-top: -15px; margin-left: -15px; }
    .row.gtr-50 > * { padding: 15px 0 0 15px; }
    .row { margin-top: -30px; margin-left: -30px; }
    .row > * { padding: 30px 0 0 30px; }
    .row.gtr-150 { margin-top: -45px; margin-left: -45px; }
    .row.gtr-150 > * { padding: 45px 0 0 45px; }
    .row.gtr-200 { margin-top: -60px; margin-left: -60px; }
    .row.gtr-200 > * { padding: 60px 0 0 60px; }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* CTA */
    .cta-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   29. RESPONSIVE - Medium/Tablet (980px)
   ======================================== */

@media screen and (max-width: 980px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 80px);
    }

    /* Grid - Medium */
    .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%; }

    /* Espacement - Medium */
    .row.gtr-0 { margin-top: 0px; margin-left: 0px; }
    .row.gtr-0 > * { padding: 0px 0 0 0px; }
    .row.gtr-25 { margin-top: -10px; margin-left: -10px; }
    .row.gtr-25 > * { padding: 10px 0 0 10px; }
    .row.gtr-50 { margin-top: -20px; margin-left: -20px; }
    .row.gtr-50 > * { padding: 20px 0 0 20px; }
    .row { margin-top: -40px; margin-left: -40px; }
    .row > * { padding: 40px 0 0 40px; }
    .row.gtr-150 { margin-top: -60px; margin-left: -60px; }
    .row.gtr-150 > * { padding: 60px 0 0 60px; }
    .row.gtr-200 { margin-top: -80px; margin-left: -80px; }
    .row.gtr-200 > * { padding: 80px 0 0 80px; }

    /* Box */
    .box footer ul.actions li {
        margin: 1em 0 0 0;
        display: block;
    }

    .box footer ul.actions li .button {
        width: 100%;
    }

    .box footer ul.actions li:first-child {
        margin-top: 0;
    }

    /* Header */
    #header {
        padding: 3.5em 0 3em 0;
    }

    /* Nav */
    #nav {
        display: none;
    }

    /* Intro */
    #intro {
        padding: 3em 0 0 0;
    }

    #intro section {
        position: relative;
        border-top: solid 1px #dfdfdf;
        margin: 0;
        padding: 40px 0 0 0;
    }

    #intro section.first {
        border-top: 0;
        padding-top: 0;
    }

    #intro section p {
        margin: 0;
    }

    #intro .middle:before, #intro .middle:after {
        display: none;
    }

    #intro footer {
        padding: 3em 0 0 0;
    }

    #intro footer ul.actions {
        margin-bottom: 0;
    }

    /* Main */
    #main {
        padding: 40px 0;
    }

    /* Copyright */
    #copyright ul.links {
        display: block;
    }

    /* Header Container */
    .header-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        gap: 0.5rem;
    }

    .logo-img {
        max-height: 12rem;
        width: auto;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .header-text blockquote {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* CTA */
    .cta-features {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero */
    .image-hero-container {
        min-height: 400px;
    }

    .image-hero-overlay {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.4);
    }

    .image-hero-overlay h2 {
        font-size: 1.8rem;
    }

    /* Industries */
    .industry-icons {
        gap: 1.5rem;
    }

    .industry-icon {
        width: calc(50% - 0.75rem);
    }
}

/* Mobile Navigation Panel */
#navPanel, #titleBar {
    display: none;
}

@media screen and (max-width: 980px) {
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -ms-transition: -ms-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding-bottom: 1px;
    }

    #titleBar {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -ms-transition: -ms-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
        height: 44px;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10001;
        background: transparent;
    }

    #titleBar .toggle {
        text-decoration: none;
        width: 44px;
        height: 44px;
        display: block;
        position: relative;
        cursor: pointer;
    }

    #titleBar .toggle: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: '\f0c9';
        position: absolute;
        left: 15px;
        top: 12px;
        font-size: 20px;
        color: #333;
        text-align: center;
        transition: opacity 0.3s ease;
    }

    #titleBar .toggle:hover:before {
        opacity: 0.7;
    }

    #navPanel {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transform: translateX(-280px);
        -webkit-transform: translateX(-280px);
        -ms-transform: translateX(-280px);
        transform: translateX(-280px);
        -moz-transition: -moz-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        -ms-transition: -ms-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 280px;
        z-index: 10002;
        background: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    #navPanel .link {
        display: block;
        color: #4a4a4a;
        text-decoration: none;
        padding: 15px 25px;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: 0.5px;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    #navPanel .link:hover {
        background: #fafafa;
        color: #000;
        padding-left: 30px;
    }

    #navPanel .link:first-child {
        border-top: none;
    }

    #navPanel .indent-1 { 
        display: inline-block; 
        width: 20px; 
        margin-left: 10px;
        opacity: 0.5;
    }
    
    #navPanel .indent-2 { 
        display: inline-block; 
        width: 35px; 
        margin-left: 10px;
        opacity: 0.5;
    }
    
    #navPanel .indent-3 { 
        display: inline-block; 
        width: 50px; 
        margin-left: 10px;
        opacity: 0.5;
    }
    
    #navPanel .indent-4 { 
        display: inline-block; 
        width: 65px; 
        margin-left: 10px;
        opacity: 0.5;
    }
    
    #navPanel .indent-5 { 
        display: inline-block; 
        width: 80px; 
        margin-left: 10px;
        opacity: 0.5;
    }

    #navPanel .depth-0 {
        color: #000;
        font-weight: 600;
        font-size: 16px;
        background: #f8f8f8;
        border-bottom: 1px solid #e8e8e8;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    #navPanel .depth-0:hover {
        background: #f0f0f0;
        color: #000;
    }

    /* Scrollbar discrète */
    #navPanel::-webkit-scrollbar {
        width: 3px;
    }

    #navPanel::-webkit-scrollbar-track {
        background: #f5f5f5;
    }

    #navPanel::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    #navPanel::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

    body.navPanel-visible #page-wrapper {
        -moz-transform: translateX(280px);
        -webkit-transform: translateX(280px);
        -ms-transform: translateX(280px);
        transform: translateX(280px);
    }

    body.navPanel-visible #titleBar {
        -moz-transform: translateX(280px);
        -webkit-transform: translateX(280px);
        -ms-transform: translateX(280px);
        transform: translateX(280px);
    }

    body.navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}
/* ========================================
   30. RESPONSIVE - Small/Mobile (736px)
   ======================================== */

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

    h2, h3, h4, h5, h6 {
        font-size: 1.25em;
    }

    .container {
        width: calc(100% - 40px);
    }

    /* Grid - Small */
    .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%; }

    /* Espacement - Small */
    .row.gtr-0 { margin-top: 0px; margin-left: 0px; }
    .row.gtr-0 > * { padding: 0px 0 0 0px; }
    .row.gtr-25 { margin-top: -5px; margin-left: -5px; }
    .row.gtr-25 > * { padding: 5px 0 0 5px; }
    .row.gtr-50 { margin-top: -10px; margin-left: -10px; }
    .row.gtr-50 > * { padding: 10px 0 0 10px; }
    .row { margin-top: -20px; margin-left: -20px; }
    .row > * { padding: 20px 0 0 20px; }
    .row.gtr-150 { margin-top: -30px; margin-left: -30px; }
    .row.gtr-150 > * { padding: 30px 0 0 30px; }
    .row.gtr-200 { margin-top: -40px; margin-left: -40px; }
    .row.gtr-200 > * { padding: 40px 0 0 40px; }

    /* Button */
    input[type="button"].large,
    input[type="submit"].large,
    input[type="reset"].large,
    button.large,
    .button.large {
        font-size: 1.1em;
        padding: 0.65em 1.5em 0.65em 1.5em;
    }

    /* Actions */
    ul.actions li {
        margin: 1em 0 0 0;
        display: block;
    }

    ul.actions li .button {
        width: 100%;
    }

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

    /* Section */
    section, article {
        margin-bottom: 20px;
    }

    header {
        margin: 0 0 1em 0;
    }

    footer {
        margin: 2em 0 0 0;
    }

    /* Box */
    .box {
        padding: 25px 15px 20px 15px;
    }

    .box .image.featured {
        left: 15px;
        top: 15px;
        margin: -40px 0 40px -30px;
    }

    .box.post header {
        padding-top: 0;
        margin: 0 0 1em 0;
    }

    .box.post h2 {
        font-size: 1.5em;
        line-height: 1.5em;
    }

    .box.post header > p {
        margin-top: 0;
        font-size: 1em;
    }

    /* Listes */
    ul.divided li {
        padding: 0.5em 0 0.5em 0;
    }

    ul.contact li {
        padding: 0.8em 0 0.8em 7em;
    }

    ul.contact li h3 {
        top: 0.8em;
    }

    ul.dates li {
        padding-left: 6em;
    }

    ul.dates h3 {
        margin: 0 0 0.5em 0;
    }

    ul.links li {
        display: block;
        padding: 0.25em 0 0 0;
        margin: 0.25em 0 0 0;
        border-left: 0;
    }

    ul.links li:first-child {
        padding-top: 0;
        margin-top: 0;
    }

    ul.social li {
        margin: 0 0.5em 0.75em 0;
    }

    /* Icons */
    .icon.featured {
        width: 8em;
        margin: 0 0 3em 0;
    }

    .icon.featured:after {
        border-left: solid 4em transparent;
        border-right: solid 4em transparent;
    }

    /* Header */
    #header {
        text-align: center;
        padding: 2em 0;
    }

    #header h1 {
        color: #252122;
        font-weight: 900;
        font-size: 1.75em;
        letter-spacing: -0.035em;
    }

    /* Intro */
    #intro {
        padding: 2em 0 0 0;
    }

    #intro section {
        padding: 40px 0 0 0;
        margin: 20px 0 0 0;
    }

    #intro h2 {
        font-size: 1.25em;
    }

    /* Banner */
    #banner {
        padding: 6em 0;
        margin: 2em 0 0 0;
    }

    #banner header {
        padding: 1.5em 1em 1.5em 1em;
        display: block;
        border-radius: 0;
    }

    #banner header h2 {
        font-size: 1.5em;
        line-height: 1.5em;
        margin: 0 0 0.25em 0;
    }

    #banner header p {
        font-size: 1.2em;
    }

    /* Main */
    #main {
        padding: 20px 0;
    }

    /* CTA */
    .cta-content {
        padding: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .button {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Industries */
    .industry-icon {
        width: 100%;
    }

    /* Copyright */
    #copyright ul.links {
        padding: 0.5rem 1rem;
    }

    #copyright ul.links li {
        display: block;
        margin: 0.5rem 0;
    }

    /* Half Height Image */
    .half-height-image {
        height: 350px;
    }
}

/* ========================================
   31. RESPONSIVE - Extra Small (480px)
   ======================================== */

@media screen and (max-width: 480px) {
    body {
        font-size: 10pt;
    }

    h2, h3 {
        font-size: 1.1em;
    }

    /* Hero */
    .image-hero-container {
        min-height: 300px;
    }

    .image-hero-overlay h2 {
        font-size: 1.5rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-features {
        gap: 1rem;
    }

    /* Half Height Image */
    .half-height-image {
        height: 300px;
    }

    /* Footer */
    .footer-grid {
        gap: 1.5rem;
    }

    .contact-info li {
        font-size: 0.85rem;
    }

    /* Header */
    .logo-img {
        max-height: 100px;
    }

    .header-text h1 {
        font-size: 1.5rem;
    }

    .header-text blockquote {
        font-size: 0.9rem;
    }
}

/* ========================================
   32. PRINT STYLES
   ======================================== */

@media print {
    .header-top,
    .cta-section,
    .cta-buttons,
    .social,
    #copyright {
        display: none;
    }

    .hero-section {
        background: white !important;
        color: black !important;
        padding: 1rem 0 !important;
    }

    .hero-section h2 {
        color: black !important;
    }

    .hero-subtitle {
        color: #666 !important;
    }
}