/* ==========================================================================
   SOMASENS - FEUILLE DE STYLES PRINCIPALE
   ========================================================================== */

/* ========================================= */
/* 1. POLICES DE CARACTÈRES (FONTS)          */
/* ========================================= */
@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-VariableFont_wght.woff2') format('woff2'),
         url('fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Italic-VariableFont_wght.woff2') format('woff2'),
         url('fonts/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VariableFont_wght.woff2') format('woff2'),
         url('fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic-VariableFont_wght.woff2') format('woff2'),
         url('fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Cinzel';
    src: url('fonts/Cinzel-RegularFont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cinzel';
    src: url('fonts/Cinzel-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* ========================================= */
/* 2. BASE & RESET                           */
/* ========================================= */
* { margin: 0; padding: 0; }

html { height: 100%; overflow-x: hidden; }

body {
    height: 100%;
    position: relative;
    font-family: "Nunito", sans-serif;
    color: rgba(74,60,49,1);
    overflow-x: hidden;
    background-color: rgba(255,251,235,1);
}

hr { color: #4A3C31; height: 0px; margin: auto; }

.mobile_only { display: none; }
.bg-creme { background-color: #FFFBEB; }
.bg-sable { background-color: #E9DBC2; }
img { border: none; } 

/* Masquer le badge Google reCAPTCHA v3 (Texte légal présent dans le formulaire) */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* ========================================= */
/* 3. ASCENSEUR PERSONNALISÉ (SCROLLBAR)     */
/* ========================================= */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: #FFFBEB; }
::-webkit-scrollbar-thumb {
    background-color: #A17649;
    border-radius: 10px;
    border: 3px solid #FFFBEB;
}
::-webkit-scrollbar-thumb:hover { background-color: #FF7C3F; }
::-webkit-scrollbar-thumb:active { background-color: #E66A30; }

@supports (-moz-appearance:none) {
    html { scrollbar-width: auto; scrollbar-color: #A17649 #FFFBEB; }
}

/* ========================================= */
/* 4. TYPOGRAPHIE ET TEXTES                  */
/* ========================================= */
h1 {
    text-align: center;
    text-shadow: rgba(255,251,235,1) 0.1em 0.1em 0.2em;
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #4A3C31;
}
h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.8;
    color: #4A3C31; 
    text-transform: uppercase;
    letter-spacing: 2px;
}
h3 {
    font-family: "Nunito", sans-serif;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #4A3C31;
}
h4 {
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-size: 1.1em;
    color: #4A3C31;
    line-height: 150%;
}
p, li {
    font-size: 1.1rem;
    text-align: justify;
    text-align-last: center;
    line-height: 150%;
    letter-spacing: 0.3px;
    font-weight: 400;
    font-family: "Nunito", sans-serif;
}
li { text-align: left; text-align-last: left; }
.indent { text-indent: 2rem; }

a:link, a:visited, a:hover, a:active { color: #4A3C31; }
a:link { text-decoration: underline; }

.slogan {
    color: #4A3C31;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 150%;
    text-shadow: rgba(255,251,235,1) 0.1em 0.1em 0.2em;
}

/* ========================================= */
/* 5. BOUTONS                                */
/* ========================================= */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: #A17649;
    color: #FFFBEB !important;
    border-radius: 4px;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: background-color 0.3s;
    cursor: pointer;
}
.button:hover, .button:focus { background-color: #FF7C3F; }
a.button { text-decoration: none !important; box-shadow: none !important; }  

.button-fantom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
    padding: 12px 25px;
    background-color: transparent;
    color: #A17649 !important;
    border-radius: 4px;
    border: 2px solid #A17649;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    cursor: pointer;
}
.button-fantom:hover, .button-fantom:focus, .button-fantom:active { 
    background-color: #A17649;
    color: #FFFBEB !important;
}
a.button-fantom { text-decoration: none !important; }

.btn-catalogue-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #A17649 !important;
    text-decoration: none !important;
    border: 2px solid #A17649;
    border-radius: 4px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
	text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-catalogue-secondary:hover { background-color: #A17649; color: #ffffff !important; }

.btn-next-bloc, .btn-prev-bloc {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #A17649 !important;
    font-size: 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.btn-next-bloc { right: 30px; }
.btn-prev-bloc { left: 30px; }
.btn-next-bloc:hover, .btn-prev-bloc:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
    color: #FF7C3F !important;
}

#scrollUp {
    position: fixed; 
    bottom: 100px; 
    right: -100px; 
    opacity: 0.5; 
    z-index: 9999;
    border-radius: 50px;
    background-color: #A17649;
    padding: 15px;
	transition: right 0.4s ease, transform 0.3s ease, background-color 0.3s ease;
}
#scrollUp i { color: #FFFBEB; opacity: 1; }
#scrollUp:hover { transform: translateY(-5px); background-color: #FF7C3F; }

/* ========================================= */
/* 6. EN-TÊTE ET NAVIGATION (BANNIERE)       */
/* ========================================= */
div#banniere0, div#banniere, div#banniere4 {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    font-family: "Nunito", sans-serif;
    letter-spacing: 2px;
    color: #4A3C31;
    font-weight: bold;
}
div#banniere0 {
    background-color: rgba(255,255,255,0.5);
    z-index: 2;
    top: 0em;
    height: 2em;
    width: 100%;
    position: -webkit-sticky; position: sticky;
    text-align: right;
}
div#banniere {
    background-color: rgba(233,219,194,0.5);
    z-index: 2;
    top: 2em;
    height: 4em;
    width: 100%;
    position: -webkit-sticky; position: sticky;
    border-bottom: 1px solid grey;
}
div#banniere4 {
    background-color: rgba(233,219,194,0.5);
    z-index: 999; 
    top: 0em;
    height: 4.1em;
    position: fixed; 
    width: 100%;
    text-align: center;
    border-bottom: 1px solid grey;
}

.banniere-icon {
    display: inline-block; 
    color: #4A3C31 !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}
.banniere-icon i, .banniere-icon svg { color: #4A3C31 !important; transition: color 0.3s ease !important; }
.banniere-icon:hover { transform: translateY(calc(-50% - 3px)) scale(1.15) !important; color: #FF7C3F !important; }
.banniere-icon:hover i, .banniere-icon:hover svg { color: #FF7C3F !important; }

a.mail { position: absolute; right: 10em; top: 2em; transform: translateY(-50%); z-index: 2; }
a.phone { position: absolute; right: 7em; top: 2em; transform: translateY(-50%); z-index: 2; }
a.insta { position: absolute; right: 4em; top: 2em; transform: translateY(-50%); z-index: 2; }
a.fb { position: absolute; right: 1.5em; top: 2em; transform: translateY(-50%); z-index: 2; }

.logo { transition: opacity 0.3s ease, transform 0.3s ease; }
.logo:hover { opacity: 0.8; transform: scale(1.02); }

.btn-open-menu { color: #4A3C31 !important; transition: all 0.3s ease !important; display: inline-flex; }
.btn-open-menu:hover { color: #FF7C3F !important; transform: scale(1.05); }

/* ========================================= */
/* 7. MENU LATÉRAL (SIDENAV)                 */
/* ========================================= */
.sidenav {
  height: 100%; width: 100%; max-width: 450px; 
  position: fixed; z-index: 999999; top: 0; left: -100%; 
  overflow-x: hidden; overflow-y: auto; 
  transition: left 0.4s ease-out; 
  padding-top: 50px; text-align: center; 
  background-color: rgba(233,219,194,0.96); 
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  color: #4A3C31; box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}
.sidenav::after { content: ""; display: block; height: 80px; }
@media (min-width: 1025px) { .sidenav { left: -450px; } }
.sidenav.menu-ouvert { left: 0 !important; }
.sidenav a {
  display: block; padding: 12px 20px; margin-bottom: 5px; 
  text-decoration: none; font-size: 22px; font-weight: bold;
  color: #4A3C31; transition: color 0.3s; cursor: pointer;
}
.sidenav a i { margin-right: 12px; width: 25px; text-align: center; }
.sidenav a:hover { color: #FF7C3F; }
.sidenav center { margin: 10px 0; }
.sidenav .tiroir-menu a { font-size: 18px; font-weight: normal; padding: 8px 20px; margin-bottom: 2px; }
.sidenav .tiroir-menu a[onclick] { font-size: 22px; font-weight: bold; padding: 12px 20px; margin-bottom: 5px; }
.sidenav .closebtn { position: absolute; top: 5px; right: 25px; font-size: 50px; }

.tiroir-menu { overflow: hidden; max-height: 0px; transition: max-height 0.4s ease-in-out; display: block; }
.btn-catalogue-menu { background-color: #A17649; color: #FFFBEB !important; margin: 10px 20px !important; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-catalogue-menu:hover { background-color: #FF7C3F !important; }

.menu-separator { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #A17649; margin: 35px 0 15px 0; }
.menu-univers-title { display: flex !important; justify-content: space-between; align-items: center; text-align: left !important; padding: 12px 25px !important; }
.menu-univers-title i.fa-solid:first-child, .menu-univers-title i.fa-brands:first-child { margin-right: 12px; width: 25px; text-align: center; color: #FF7C3F; }
.menu-univers-title .fa-chevron-down { transition: transform 0.3s ease; }
.menu-univers-title.ouvert .fa-chevron-down { transform: rotate(180deg); }
.link-univers-total { font-weight: bold !important; color: #A17649 !important; background-color: rgba(161, 118, 73, 0.05); margin-bottom: 8px !important; }

/* ========================================= */
/* 8. HEADER MINIMALISTE ET MISE EN PAGE     */
/* ========================================= */
#header {
  position: sticky; top: 0; width: 100%; z-index: 1000;
  transition: transform 0.3s ease; -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  background-color: rgba(255, 251, 235, 0.7) !important; border-bottom: 1px solid rgba(161, 118, 73, 0.2); 
}
.header-minimaliste { padding: 10px 0; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03); position: relative; }
.container-header-centre { width: 100%; position: relative; height: 87px; }
.container-header-centre a { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; }
.container-header-centre picture { display: block; }
.logo-minimaliste { height: 87px; width: auto; display: block; transition: opacity 0.3s ease, transform 0.3s ease; }
.logo-minimaliste:hover { opacity: 0.8; transform: scale(1.02); }

div#contenu { max-width: 1100px; margin-left: auto; margin-right: auto; text-align: justify; text-align-last: center; position: relative; }
.container-spa { max-width: 1100px !important; margin: 0 auto; padding: 50px 20px; text-align: center; }

/* Centres pour titres images */
div#center { position: fixed; top: 50%; transform: translateY(-50%); margin-left: auto; margin-right: auto; width: 100%; text-align: center; }
div#center2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
  width: 80%; max-width: 1000px; display: flex; flex-direction: column; 
  align-items: center; justify-content: center; text-align: center; z-index: 2;
}

div#img-scale { position: relative; width: 100%; height: 75vh; overflow: hidden; cursor: default; z-index: 1; }
div#img-scale img { opacity: 0.8; animation: leaves 30s linear infinite alternate; backface-visibility: hidden; position: absolute; margin-left: auto; margin-right: auto; height: 100%; width: 100%; object-fit: cover; z-index: 0; }
div#img-scale::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(255,251,235,0.3), rgba(255,251,235,0.3)); z-index: 1; pointer-events: none; }
@keyframes leaves { 0% { transform: scale(1.0); } 100% { transform: scale(1.10); } }
.titre-header-responsive { line-height: 200%; }

.video-youtube { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-youtube iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
div#citation { margin-left: 15%; margin-right: 15%; }

.arborescence { position: absolute; float: left; left: 1em; top: 1em; font-family: arial; font-size: 1.25em; background-color: rgba(255,251,235,1); border-radius: 5px; padding: 3px; z-index: 2; }
.arborescence a { text-decoration: none; }
.arborescence i { color: #A17649; transition: all 0.3s ease; }
.arborescence i:hover { transform: scale(1.15); color: #FF7C3F; }

/* ========================================= */
/* 9. COMPOSANTS (PANELS, FAQ, CARTES)      */
/* ========================================= */
.panel { min-width: 1100px; max-width: 1100px; margin: 0 auto; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background: #E9DBC2; transition: max-height 0.2s ease-out; overflow: hidden; max-height: 0; }
.panel2 { padding: 1% 1% 2% 1%; border: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.panel3 { line-height: 150%; color: #4A3C31; font-size: 1.1rem; }

.derouleur { position: relative; min-width: 1100px; max-width: 1100px; margin: 0 auto; cursor: pointer; border-radius: 4px; border: none; box-shadow: 0 2px 5px rgba(0,0,0,0.02); background: #A17649; font-family: "Nunito", sans-serif; font-size: 1.1em; font-weight: bold; color: #FFFBEB; text-align: center; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.derouleur i { transition: transform 0.3s ease; }
.derouleur.active .derouleur1 i { transform: rotate(-180deg); }
.derouleur.active .derouleur3 i { transform: rotate(180deg); }
.derouleur.active { border-bottom-left-radius: 0; border-bottom-right-radius: 0; transition: 0.1s; }
.derouleur1 { width: 10%; text-align: left; color: #FFFBEB; }
.derouleur2 { width: 80%; text-align: center; }
.derouleur3 { width: 10%; text-align: right; color: #FFFBEB; }

.faq-box { background: #A17649; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-box:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.faq-btn { width: 100%; background: transparent; border: none; padding: 15px 20px; font-family: "Nunito", sans-serif; font-weight: bold; color: #FFFBEB; font-size: 1.1em; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { color: #FFFBEB; font-size: 1.5em; transition: transform 0.3s ease; }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease-out; }
.faq-text { overflow: hidden; color: #FFFBEB; padding: 0 20px; border-top: 1px solid transparent; opacity: 0; transform: translateY(-10px); transition: opacity 0.4s ease, transform 0.4s ease, padding 0.4s ease, border-color 0.4s ease; font-size: 1.1em; font-family: "Nunito", sans-serif; }
.faq-box.is-open .faq-icon { transform: rotate(45deg); }
.faq-box.is-open .faq-content { grid-template-rows: 1fr; }
.faq-box.is-open .faq-text { padding: 15px 20px 20px 20px; border-top-color: #FFFBEB; opacity: 1; transform: translateY(0); }

.piliers-grid { display: flex; gap: 30px; justify-content: space-between; }
.pilier-box { flex: 1; background-color: #FFFBEB; padding: 40px 30px; border-radius: 4px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pilier-box h3 { margin-bottom: 15px; }
.pilier-box:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); }
.icon-stat { color: #FF7C3F; font-size: 3rem; margin-bottom: 15px; }

.pilier-avis { flex: 1 1 300px; background: #E9DBC2; padding: 30px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); box-sizing: border-box; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pilier-avis:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); }
.pilier-stars { color: #FF7C3F; margin-bottom: 15px; font-size: 1.2em; }
.pilier-avis p { color: #4A3C31; font-style: italic; flex-grow: 1; text-indent: 0; }
.pilier-source { margin-top: 20px; border-top: 1px solid #A17649; padding-top: 15px; }
.pilier-nom { color: #4A3C31; display: block; }
.pilier-date { color: #4A3C31; font-size: 0.9em; }

.flex-catalogue { display: flex; align-items: center; gap: 40px; }
.catalogue-texte { flex: 0 0 45%; padding-right: 20px; }
.catalogue-3d { flex: 0 0 55%; width: 100%; }
.liste-atouts { list-style: none; padding: 0; margin-bottom: 30px; font-family:"Nunito", sans-serif; letter-spacing: 0.3px;}
.liste-atouts li { margin-bottom: 12px; color: #4A3C31; font-size: 1.1rem; }
.liste-atouts i { color: #FF7C3F; margin-right: 10px; }
.tarif-indicatif { font-weight: 600; color: #A17649; font-size: 1.1rem; margin-bottom: 0 !important; }

.bloc-financement-b2b { display: flex; align-items: center; gap: 25px; background-color: #FFFBEB; padding: 20px; border-radius: 4px; border-left: 4px solid #A17649; margin-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.img-qualiopi-b2b { width: 200px; height: auto; display: block; }
.texte-financement { display: flex; flex-direction: column; }
.titre-financement { font-weight: 600; color: #4A3C31; font-size: 1.1rem; margin-bottom: 5px; }

.contact-box { background-color: #E9DBC2; padding: 50px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); max-width: 800px; margin: 0 auto; }
.formulaire-b2b { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; gap: 20px; }
.formulaire-b2b input, .formulaire-b2b textarea, .formulaire-b2b select { width: 100%; padding: 15px; border: 1px solid #dddddd; border-radius: 4px; font-family: "Nunito", sans-serif; font-size: 1.1rem; background-color: #FFFBEB; transition: border-color 0.3s, box-shadow 0.3s; color: #4A3C31 !important; box-sizing: border-box; }
.formulaire-b2b input:hover, .formulaire-b2b textarea:hover, .formulaire-b2b input:focus, .formulaire-b2b textarea:focus { outline: none; border-color: #A17649; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.formulaire-b2b input[type="checkbox"] { width: auto !important; box-shadow: none; margin: 0; cursor: pointer; flex-shrink: 0; margin-top: 4px; }
.bloc-rgpd { display: flex; align-items: flex-start; gap: 12px; margin-top: 15px; margin-bottom: 15px; }
.bloc-rgpd label { font-size: 1.1rem; line-height: 1.5; color: #4A3C31; cursor: pointer; font-weight: 300; }

.roadmap-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 60px; margin-bottom: 20px; }
.roadmap-step { flex: 1 1 220px; max-width: 280px; background: #E9DBC2; padding: 30px 20px 20px 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-align: center; position: relative; border-top: 4px solid #A17649; }
.roadmap-icon { background: #E9DBC2; color: #FF7C3F; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: -60px auto 15px auto; border: 4px solid #A17649; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

.financeur-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #FFFBEB; border: 1px solid #dddddd; border-radius: 4px; padding: 20px 15px; width: 180px; text-align: center; text-decoration: none !important; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: all 0.3s ease; cursor: pointer; }
.financeur-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(161, 118, 73, 0.15); border-color: #A17649; }
.financeur-nom { font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 1.2em; color: #4A3C31; margin-bottom: 5px; transition: color 0.3s ease; }
.financeur-card:hover .financeur-nom { color: #FF7C3F; }
.financeur-type { font-family: 'Nunito', sans-serif; font-size: 0.85em; font-weight: bold; color: #A17649; text-transform: uppercase; letter-spacing: 1px; }

/* ========================================= */
/* 10. PIED DE PAGE & BANDEAUX (TRUST/COOKIE)*/
/* ========================================= */
.footer-spa { padding: 50px 20px 30px 20px; background-color: #E9DBC2; text-align: center; }
.container-footer { max-width: 900px; margin: 0 auto; }
.ligne-separation { border: none; border-top: 1px solid rgba(161, 118, 73, 0.3); margin-bottom: 30px; }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.contact-item { display: flex; align-items: center; gap: 10px; color: #4A3C31; font-size: 1.1rem; }
.contact-item i { color: #A17649; font-size: 1.2rem; }
.contact-item a { color: #4A3C31; text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: #FF7C3F; }
.liens-legaux { margin-bottom: 15px; }
.liens-legaux a { color: #4A3C31; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.liens-legaux a:hover { color: #FF7C3F; }
.separateur { color: #4A3C31; margin: 0 10px; }
.copyright p { color: #4A3C31 !important; font-size: 0.95rem; margin: 0; text-indent: 0; }
.pied-page-titre { font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 1.1em; color: #4A3C31; display: block; margin-bottom: 20px; text-align: center; }
.pied-page-icon { color: #A17649; font-size: 1.4em; flex-shrink: 0; }
.pied-page-icon-phone { color: #A17649; font-size: 1.2em; flex-shrink: 0; }

.trust-footer-global { background-color: #FFFBEB; padding: 30px 20px; border-top: 1px solid rgba(161, 118, 73, 0.2); border-bottom: 1px solid rgba(161, 118, 73, 0.2); }
.container-trust-global { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; }
.trust-item-global { display: flex; align-items: center; gap: 20px; }
.trust-item-global picture { display: block; width: 160px; max-width: 100%; flex-shrink: 0; }
.trust-item-global img { width: 100%; height: auto; display: block; }
.trust-texte-global { text-align: left; }
.trust-texte-global p { margin: 0 0 5px 0; text-indent: 0; color: #4A3C31; font-weight: bold; font-size: 1.1em; }
.trust-texte-global a { color: #A17649; font-size: 0.95em; text-decoration: underline; }

.cookie-banner-container { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #FFFBEB; box-shadow: 0 -4px 15px rgba(0,0,0,0.1); z-index: 9999; padding: 20px; box-sizing: border-box; border-top: 2px solid #E9DBC2; }
.cookie-banner-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cookie-text { flex: 1; }
.cookie-buttons { display: flex; gap: 15px; flex-shrink: 0; }
.btn-cookie { padding: 12px 24px; border-radius: 4px; font-weight: bold; font-family: inherit; cursor: pointer; transition: all 0.3s; font-size: 0.9em; }
.btn-cookie-primary { background-color: #A17649; color: white; border: 1px solid #A17649; }
.btn-cookie-primary:hover { background-color: #FF7C3F; border-color: #FF7C3F; }
.btn-cookie-secondary { background-color: transparent; color: #4A3C31; border: 1px solid #4A3C31; }
.btn-cookie-secondary:hover { background-color: #E9DBC2; }
.cookie-revoke-btn { position: fixed; bottom: 20px; left: 20px; background-color: #FFFBEB; color: #A17649; border: 2px solid #A17649; border-radius: 50%; width: 45px; height: 45px; font-size: 1.2em; cursor: pointer; z-index: 9998; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s; }
.cookie-revoke-btn:hover { transform: scale(1.1); }

/* ========================================= */
/* 11. SWEETALERT                            */
/* ========================================= */
.swal-button { display: inline-block; padding: 12px 25px; background-color: #A17649 !important; color: #FFFBEB !important; border-radius: 4px; border: none !important; box-shadow: none !important; text-transform: uppercase; font-size: 0.85rem !important; font-weight: 600; letter-spacing: 1.5px; transition: background-color 0.3s ease !important; outline: none !important; }
.swal-button:hover { background-color: #FF7C3F !important; }
.swal-button:focus { background-color: #A17649 !important; box-shadow: none !important; }
.swal-button:focus:hover { background-color: #FF7C3F !important; }
.swal-button:active { background-color: #FF7C3F !important; }  
.swal-modal { background-color: rgba(255,251,235,1) !important; border-radius: 4px !important; border-color: #A17649 !important; color: #4A3C31 !important; font-family: "Nunito", sans-serif !important; }
.swal-overlay { background-color: rgba(0, 0, 0, 0.6) !important; }
.swal-icon--success::before, .swal-icon--success::after, .swal-icon--success__hide-corners, .swal-icon--error__mask { background-color: #FFFBEB !important; }
.swal-icon--success { border-color: #A17649 !important; }
.swal-icon--success__ring { border: 4px solid #A17649 !important; }
.swal-icon--success__line { background-color: #A17649 !important; }
.swal-icon--error { border-color: #FF7C3F !important; }
.swal-icon--error__line { background-color: #FF7C3F !important; }
.swal-title { color: #A17649 !important; }
.swal-text { color: #4A3C31 !important; font-weight: 500; text-align: center !important; }

/* ========================================= */
/* 12. RESPONSIVE DESIGN (MEDIA QUERIES)     */
/* ========================================= */

@media (max-device-width: 1024px) and (orientation: landscape) {
  html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
}

@media screen and (max-width: 1024px) {
    ::-webkit-scrollbar { display: none; }
    body { -ms-overflow-style: none; overflow: -moz-scrollbars-none; }
    div#contenu, div#citation { width: 96%; margin-left: 2%; margin-right: 2%; }
    
    div#banniere0, div#banniere { display: none; }
    div#banniere4 { width: 100%; margin: auto; }
      
    div#img-scale { margin-top: 4.1em; max-height: 70vh; }
    
    .no_mobile { display: none; }  
    .mobile_only { display: block; }  
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    p, li { font-size: 1rem; }

    .indent { text-indent: 2rem; font-size: 1em; }
    .derouleur, .panel { min-width: 96%; max-width: 96%; }
    .panel3 { font-size: 1rem; }
    .arborescence { font-size: 0.8em; }
}

@media screen and (max-width: 992px) {
  .flex-catalogue { flex-direction: column !important; gap: 30px; }
  .catalogue-texte { order: 1 !important; width: 100%; padding-right: 0; }
  .catalogue-3d { order: 2 !important; width: 100%; }
  .liste-atouts li, .tarif-indicatif { font-size: 1rem; }
}

@media screen and (max-width: 768px) {
  .header-minimaliste { padding: 10px 0; }
  .container-header-centre, .logo-minimaliste { height: 70px; }
  
  .slogan { font-size: 1.2rem; }
  .piliers-grid { flex-direction: column; }
  .flex-catalogue { flex-direction: column-reverse; gap: 40px; }
  .bloc-financement-b2b { flex-direction: column; text-align: center; border-left: none; border-top: 4px solid #A17649; }
  .titre-financement { font-size: 1rem; }
  
  .contact-box { padding: 30px 20px; }
  .form-row { flex-direction: column; gap: 20px; }
  .formulaire-b2b input, .formulaire-b2b textarea { font-size: 1rem; }
  .formulaire-b2b input[type="text"], .formulaire-b2b input[type="email"], .formulaire-b2b input[type="tel"] { flex: 0 0 auto !important; height: 52px !important; }
  .formulaire-b2b textarea { flex: 0 0 auto !important; height: 150px !important; }
  .bloc-rgpd label { font-size: 1rem; }
  
  .faq-icon { font-size: 1.3em; }
  .faq-text, .faq-btn { font-size: 1em; }
  
  .footer-contact { flex-direction: column; align-items: center; gap: 15px; }
  .contact-item { font-size: 1rem; }
  .copyright p { font-size: 0.85rem; }
  .liens-legaux { display: flex; flex-direction: column; gap: 10px; font-size: 0.85rem; }
  .separateur { display: none; }
  .pied-page-titre { font-size: 1em; }
  .pied-page-icon { font-size: 1.2em; }
  .pied-page-icon-phone { font-size: 1.1em; }
  
  .container-trust-global { flex-direction: column; gap: 40px; }
  .trust-item-global { flex-direction: column; text-align: center; gap: 15px; }
  .trust-texte-global { text-align: center; }
  
  .cookie-banner-content { flex-direction: column; text-align: center; }
  .cookie-buttons { flex-direction: column; width: 100%; }
  .btn-cookie { width: 100%; }
  
  .btn-next-bloc, .btn-prev-bloc { font-size: 2.2rem; }
  .btn-next-bloc { right: 15px; }
  .btn-prev-bloc { left: 15px; }
}

@media screen and (max-width: 400px) {
    div#img-scale { height: auto !important; min-height: 80vh !important; max-height: none !important; padding-bottom: 40px !important; }
    .titre-header-responsive { line-height: 1.4 !important; margin-bottom: 15px !important; }
    #center2 .slogan { font-size: 0.95em !important; margin-bottom: 15px !important; }
    #center2 > div { margin-top: 15px !important; }
}

/* ========================================= */
/* STYLE ET CENTRAGE DU SPLASH SCREEN        */
/* ========================================= */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh; /* Utilise la hauteur dynamique réelle de l'écran */
    background-color: #FFFBEB; /* Fond crème TOTALEMENT OPAQUE */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px; 
    margin: auto; /* Force le centrage absolu si flexbox hésite */
    
    /* ASTUCE PRO : Ajustement du centre optique. 
       Si l'ensemble vous paraît visuellement trop bas à cause 
       des marges internes du logo, augmentez le -2vh en -4vh par exemple. */
    transform: translateY(-2vh); 
}

.splash-logo-container {
    width: 400px;
    height: auto;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

body.splash-active {
    overflow: hidden;
}

/* Apparition des Textes du Splash Screen */
.splash-title {
    font-family: 'Cinzel', serif; /* La police officielle */
    font-size: 3.5rem;
    font-weight: 700; /* Bien gras */
    color: #4A3C31; /* Le marron foncé du logo */
    letter-spacing: 1px; /* Très peu d'espacement entre les lettres */
    line-height: 1;
    margin: 0;
    opacity: 0;
    -webkit-animation: apparition-douce 1.5s ease-out forwards;
    animation: apparition-douce 1.5s ease-out forwards;
    -webkit-animation-delay: 3.2s; /* Arrive après la floraison de l'arbre */
    animation-delay: 3.2s; 
}

.splash-title sup {
    font-family: Arial, sans-serif;
    font-size: 0.5em;
    font-weight: bold;
    position: relative;
    top: 0em; /* C'est ceci qui le remonte au niveau du haut du S */
    letter-spacing: 0;
}

.splash-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700; /* Bien gras également */
    color: #4A3C31; /* Même marron foncé */
    letter-spacing: 2px;
    margin: 0 0 0 0; /* Collé au titre Somasens */
    opacity: 0;
    -webkit-animation: apparition-douce 1.5s ease-out forwards;
    animation: apparition-douce 1.5s ease-out forwards;
    -webkit-animation-delay: 3.5s;
    animation-delay: 3.5s;
}

/* ========================================= */
/* ANIMATION DU LOGO SVG (VERSION ZEN 5s)    */
/* ========================================= */

/* 1. Le Cercle (0 -> 1.5s) */
#somasens-splash #Somasens_Circle, 
#somasens-splash #somasens_circle {
    stroke-dasharray: 3000 !important; 
    stroke-dashoffset: 3000; 
    -webkit-animation: soma-draw 1.5s ease-in-out forwards;
    animation: soma-draw 1.5s ease-in-out forwards;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

/* 2. Le Tronc (0.8 -> 2.3s) */
#somasens-splash #Somasens_Trunk, 
#somasens-splash #somasens_trunk {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: bottom center;
    -webkit-transform-origin: bottom center;
    transform: translateY(5px) scale(0.1, 0.01);
    -webkit-transform: translateY(5px) scale(0.1, 0.01);
    -webkit-animation: soma-trunk 1.5s ease-out forwards;
    animation: soma-trunk 1.5s ease-out forwards;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

/* 3. Les Feuilles (À partir de 2.2s) */
#somasens-splash #Somasens_Leaves > *, 
#somasens-splash #somasens_leaves > * {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center center;
    -webkit-transform-origin: center center;
    transform: scale(0.01);
    -webkit-transform: scale(0.01);
    -webkit-animation: soma-pop 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation: soma-pop 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Délais pour que l'arbre "fleurisse" tranquillement */
#somasens-splash #Somasens_Leaves > *:nth-child(1n), #somasens-splash #somasens_leaves > *:nth-child(1n) { animation-delay: 2.2s; -webkit-animation-delay: 2.2s; }
#somasens-splash #Somasens_Leaves > *:nth-child(2n), #somasens-splash #somasens_leaves > *:nth-child(2n) { animation-delay: 2.5s; -webkit-animation-delay: 2.5s; }
#somasens-splash #Somasens_Leaves > *:nth-child(3n), #somasens-splash #somasens_leaves > *:nth-child(3n) { animation-delay: 2.8s; -webkit-animation-delay: 2.8s; }
#somasens-splash #Somasens_Leaves > *:nth-child(4n), #somasens-splash #somasens_leaves > *:nth-child(4n) { animation-delay: 2.3s; -webkit-animation-delay: 2.3s; }
#somasens-splash #Somasens_Leaves > *:nth-child(5n), #somasens-splash #somasens_leaves > *:nth-child(5n) { animation-delay: 2.6s; -webkit-animation-delay: 2.6s; }
#somasens-splash #Somasens_Leaves > *:nth-child(6n), #somasens-splash #somasens_leaves > *:nth-child(6n) { animation-delay: 2.9s; -webkit-animation-delay: 2.9s; }

/* ========================================= */
/* BOUCLIER DE SÉCURITÉ POUR MOBILES         */
/* ========================================= */
@media screen and (max-width: 768px) {
    /* Sur mobile, on annule l'animation individuelle pour éviter le lag */
    #somasens-splash #Somasens_Leaves > *, 
    #somasens-splash #somasens_leaves > * {
        -webkit-animation: none !important;
        animation: none !important;
        transform: scale(1) !important;
        -webkit-transform: scale(1) !important;
        opacity: 1 !important;
    }
    
    /* Fondu global du groupe entier (à partir de 2.2s) */
    #somasens-splash #Somasens_Leaves, 
    #somasens-splash #somasens_leaves {
        opacity: 0;
        -webkit-animation: fondu-mobile 1.5s ease-in forwards;
        animation: fondu-mobile 1.5s ease-in forwards;
        -webkit-animation-delay: 2.2s;
        animation-delay: 2.2s;
    }
    
    /* Réduction du logo et des textes sur mobile */
    .splash-logo-container { width: 220px; } 
    .splash-title { font-size: 2.1rem; letter-spacing: 1px; }
    .splash-subtitle { font-size: 0.75rem; letter-spacing: 1.5px; }
}

/* ========================================= */
/* MOTEURS D'ANIMATION (Keyframes)           */
/* ========================================= */

@-webkit-keyframes apparition-douce { to { opacity: 1; transform: translateY(0); } }
@keyframes apparition-douce { to { opacity: 1; transform: translateY(0); } }

@-webkit-keyframes soma-draw { to { stroke-dashoffset: 0; } }
@keyframes soma-draw { to { stroke-dashoffset: 0; } }

@-webkit-keyframes soma-trunk { 
    0% { opacity: 0; -webkit-transform: translateY(5px) scale(0.1, 0.01); }
    50% { opacity: 1; -webkit-transform: translateY(2px) scale(0.3, 0.8); }
    100% { opacity: 1; -webkit-transform: translateY(0) scale(1, 1); } 
}
@keyframes soma-trunk { 
    0% { opacity: 0; transform: translateY(5px) scale(0.1, 0.01); }
    50% { opacity: 1; transform: translateY(2px) scale(0.3, 0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1, 1); } 
}

@-webkit-keyframes soma-pop {
    0% { opacity: 0; -webkit-transform: scale(0.01); }
    100% { opacity: 1; -webkit-transform: scale(1); }
}
@keyframes soma-pop {
    0% { opacity: 0; transform: scale(0.01); }
    100% { opacity: 1; transform: scale(1); }
}

@-webkit-keyframes fondu-mobile { to { opacity: 1; } }
@keyframes fondu-mobile { to { opacity: 1; } }