@charset "utf-8";
/* =====================================================================
   officespace.ma – design d'origine du site (2013), repris à l'identique
   sur ordinateur, et réorganisé en une colonne sur téléphone.
   Partie 1 : feuille de style d'origine (css/css.css), chemins adaptés.
   Partie 2 : remplacement du diaporama jQuery par du code natif.
   Partie 3 : éléments ajoutés par le nouveau site (formulaires, espace client…).
   Partie 4 : adaptation aux petits écrans.
   ===================================================================== */

/* ---------------------------------------------- 1. Style d'origine */
*{margin:0;padding:0}
img{border:none}
a{text-decoration:none}
.left{float:left}
.right{float:right}
body{background:url(/images/bg.gif) repeat-x #FFF;color:#373d43;font-family:Tahoma, Geneva, sans-serif;font-size:13px;}
body.bg2{background:url(/images/bg2.gif) repeat-x #FFF}
#main{width:1001px;margin:0 auto;min-height:300px}
#main:after{content:"";display:table;clear:both}
#flags{float:right;margin-right:30px;margin-top:10px}
#flags a{display:inline-block;margin-left:2px;vertical-align:middle}
#flags img{height:15px;width:auto;opacity:.75}
#flags a[aria-current] img,#flags a:hover img{opacity:1}
#logo{width:179px;height:86px;float:left;margin:61px 0 0 79px}
#accroche{width:416px;height:36px;float:right;margin:83px 30px 0 0 ;font-size:18px;color:#000;font-weight:bold;}
#facebook{float:right;clear:both;height:20px;width:130px;margin:-2px 27px 8px 0 ;font-size:11px}
#facebook a{float:right;margin-top:-3px}
#menu{width:100%;height:62px;margin:0 auto;clear:both}
#left_menu{height:62px;background:url(/images/left_menu.gif) no-repeat;float:left;width:6px}
#right_menu{height:62px;background:url(/images/right_menu.gif) no-repeat;float:right;width:7px}
#middle_menu{height:62px;background:url(/images/menu.gif) repeat-x;float:left;width:988px}
#menu ul{margin-left:20px;float:left}
#menu li{list-style:none;float:left}
#menu li a{float:left;height:62px;padding:0 25.5px;color:#aca1b3;font-weight:bold;line-height:60px}
#menu li a:hover, #menu li .active{color:#bad814;}
/* Six rubriques depuis le retrait de la page Tarifs : réparties sur toute la largeur du menu */
#menu ul{display:flex;width:948px}
#menu li{flex:1;text-align:center}
#menu li a{float:none;display:block;padding:0 10px}
.suite{color:#bad814;text-decoration:underline}
.padding a{color:#261627;text-decoration:underline}
#ecran{height:387px;width:100%;clear:both;float:left;background:url(/images/ecran.gif) repeat-x}
#banniere{float:left;margin:0 0 0 11px;border:8px #FFF solid;width:663px;height:358px}
#rectangle{width:265px;float:right;margin:0 17px 0 0;}
.rec1{width:100%;height:54px;background:url(/images/rec1.jpg) repeat-x;border-radius:2px;float:left}
.rec2{width:100%;height:107px;background:url(/images/rec2.jpg) repeat-x;border-radius:2px;float:left}
.rec3{width:100%;height:108px;background:url(/images/rec3.jpg) repeat-x;border-radius:2px;float:left}
.rec4{width:100%;height:65px;background:url(/images/rec4.gif) repeat-x;border-radius:2px;float:left}
.rec5{width:100%;height:65px;background:url(/images/rec5.gif) repeat-x;border-radius:2px;float:left}
.rec6{width:100%;height:65px;background:url(/images/rec6.gif) repeat-x;border-radius:2px;float:left}
.sep1{width:100%;height:1px;margin:5px 0px 6px 0px;border-bottom:1px #63577d dotted;float:left}
.table1{width:232px;float:left;margin-left:15px;margin-top:6px}
.sep2{width:2px;background:url(/images/sep.png) repeat-y;}
.sep4{width:2px;background:url(/images/sep2.gif) repeat-y;}
.sep5{width:2px;background:url(/images/sep3.gif) repeat-y;}
.sep6{width:2px;background:url(/images/sep4.gif) repeat-y;}
.sep7{width:2px;background:url(/images/sep5.gif) repeat-y;}
.mini{font-size:9px;color:#FFF;margin:2px 0 0 3px;float:left}
.noir{font-weight:bold;color:#000}
.blanc{font-weight:bold;color:#FFF;font-size:16px}
.table2{width:232px;float:left;margin-left:15px;margin-top:23px}
.table3{width:232px;float:left;margin-left:15px;margin-top:23px}
.cl_noir{color:#262626;font-size:11px}
#left{float:left;width:700px;clear:both;padding:7px;background:url(/images/ombre.png) no-repeat;margin-left:-10px}
#texte{width:680px;margin:13px 13px 0 13px;background-color:#FFF;min-height:320px;line-height:22px}
h1, h2, h3{background:url(/images/h3.gif) repeat-x;width:100%;height:41px;color:#261627;font-size:17px;font-weight:bold;line-height:40px;border-top-left-radius: 5px 5px;border-top-right-radius: 5px 5px;text-align:left}
.page-title{padding-left:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box}
#left > h1.page-title{width:681px;margin:10px 0 -13px 13px}
.padding{padding:30px}
#right{float:right;margin:17px 17px 0 0;width:265px;text-align:center;min-height:350px}
.input1{width:217px;height:34px;-webkit-box-shadow: inset 0px 0px 3px 1px #666;box-shadow: inset 0px 0px 3px 1px #666;border:1px;margin-bottom:10px;padding-left:13px;color:#606978;font-size:11px;font-family:inherit }
.rose{color:#bad814}
.input{width:300px;-webkit-box-shadow: inset 0px 0px 3px 1px #666;box-shadow: inset 0px 0px 3px 1px #666;border:1px;height:24px;padding:0 6px;font-family:inherit}
.input2{width:86px;border-radius:5px;background:#cecece;border:none;color:#686666;font-weight:bold;padding:4px 0px;cursor:pointer;font-family:inherit}
.input2:hover{background:#bad814;color:#261627}
.partenaires{width:100%;height:140px;background-color:#fff;-webkit-box-shadow: inset 0px 0px 3px 1px #666;box-shadow: inset 0px 0px 3px 1px #666;border:1px;float:left;clear:both;margin-bottom:30px}
#footer1{width:100%;height:45px;background-color:#7e5d92;clear:both;float:left;color:#FFF;font-size:11px}
#top{width:958px;padding:10px;margin:0 auto;background:#FFF;height:360px;overflow:hidden}
#footer2{width:100%;height:324px;background-color:#492c5c;clear:both;float:left;color:#FFF;font-size:11px;}
#footer2 a{color:#FFF}
.droit{margin-top:20px;margin-left:-50px}
#footer1 a{color:#FFF}
.sickers{margin-left:-30px;margin-top:-7px;float:left}
.centre{width:1001px;margin:0 auto}
.marge3{margin-right:20px}
.marge1{margin-bottom:3px}
.marge2{margin-top:10px}
.bold{font-weight:bold;text-decoration:underline;color:#FFF}
.th{font-weight:bold;color:#FFF}
.bas{margin-top:35px}
.sep3{height:78px;width:1px;background-color:#361e43;margin:0;}
.titre1{font-size: 25px; color: #07001b; margin-top: 20px; font-weight: 100; background: transparent; border: 0 none; line-height: initial; width: auto; height: initial;}
h1.titre1{font-size: 25px; color: #07001b; margin-top: 37px; font-weight: 100; background: transparent; border: 0 none; line-height: initial; width: auto; height: initial;}
.titre2{font-size:18px;color:#4a4a4a;margin-top:5px;font-weight:100;margin-bottom:14px}
#top p{color: #656565;line-height:20px}
#top ul{color:#a1a1a1;font-weight:bold;line-height:20px;list-style:none;margin-top:-5px;float:left;width:550px}
.border{border:5px #CCC solid}
#texte li{list-style-image:url(/images/puce1.png);margin-left:15px}
#top li{list-style-image:url(/images/puce1.png);margin-left:15px}
.gris{color:#A1A1A1}
.lft{float:left;text-decoration:underline;color:#373d43}

/* Titres de la colonne de droite et du pied de page (ajouts de la phase 1) */
.side-title{background:url(/images/h3.gif) repeat-x;width:100%;height:41px;color:#261627;font-size:17px;font-weight:bold;line-height:40px;border-top-left-radius:5px 5px;border-top-right-radius:5px 5px;text-align:left;float:left;padding-left:20px;box-sizing:border-box}
.side-title.mt10{margin-top:10px;}
#footer2 .foot-title{width:100%;height:41px;line-height:40px;text-align:left;font-weight:bold;text-decoration:underline;color:#FFF;font-size:11px;background:transparent;}
#footer2 .foot-title a{color:#FFF;}
.rec-titre{color:#FFF;font-size:15px;font-weight:bold;line-height:21px;}
.rec1 .rec-titre,.rec4 .rec-titre{color:#261627;}
.rec-link{display:block;color:inherit}
.rec-link:hover{filter:brightness(1.06)}

/* Colonne de droite : ombres de l'encadré « Espace client » */
.omb{background:url(/images/omb.png) no-repeat;width:10px;height:170px;float:left;margin-left:-10px;clear:both}
.omb2{background:url(/images/omb2.png) no-repeat;width:10px;height:170px;float:right;margin-right:-10px}
.login-box{float:left;padding:10px 0 0 10px;width:100%;box-sizing:border-box;text-align:center;min-height:130px}
.login-box form{padding-top:10px}
.login-box .welcome{padding:20px 10px 0;text-align:left;line-height:20px}
.login-box .welcome a{color:#373d43;text-decoration:underline}
.login-box .welcome form{display:inline;padding:0}
.login-box .welcome button{background:none;border:0;color:#373d43;text-decoration:underline;cursor:pointer;font:inherit;padding:0}
.login-error{color:#b3261e;font-size:11px;margin:0 0 6px}

/* ------------------------------------ 2. Diaporamas (remplacent Nivo Slider) */
.slides{position:relative;width:100%;height:100%;overflow:hidden;background:#fff}
.slides img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s ease}
.slides img.is-active{opacity:1;position:relative}
.slides picture{display:contents}
.slides__caption{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);color:#fff;font-size:11px;font-weight:bold;padding:6px 10px;z-index:2}
.slides__dots{position:absolute;right:50px;bottom:3px;z-index:3;display:flex}
.slides__dots button{width:22px;height:22px;border:0;background:url(/images/bullets.png) no-repeat;cursor:pointer;text-indent:-9999px;overflow:hidden}
.slides__dots button[aria-current="true"]{background-position:0 -22px}
.partner-slides{width:179px;height:100px;margin:20px auto;position:relative;overflow:hidden}
.partner-slides a{position:absolute;inset:0;opacity:0;transition:opacity .8s;display:flex;align-items:center;justify-content:center}
.partner-slides a.is-active{opacity:1;z-index:1}
.partner-slides img{max-width:179px;max-height:100px;width:auto;height:auto}

/* --------------------------------------- 3. Éléments du nouveau site */
.skip-link{position:absolute;left:-999px;top:8px;background:#261627;color:#fff;padding:8px 14px;z-index:100}
.skip-link:focus{left:8px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid #bad814;outline-offset:2px}
.nav-toggle{display:none}
#texte .padding img{max-width:100%;height:auto}
#texte .padding table{max-width:100%}
.table-wrap{overflow-x:auto}

/* Galerie des bureaux (page Location) */
.gallery{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 20px}
#texte .gallery li{list-style:none;margin:0}
.gallery img{width:100%;height:110px;object-fit:cover;opacity:.85;cursor:zoom-in;display:block}
.gallery img:hover{opacity:1}
.gallery-title{background:none;height:auto;line-height:1.3;text-align:center;font-size:20px;margin:15px 0}
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(10,10,25,.92);display:grid;place-items:center;padding:16px}
.lightbox img{max-height:88vh;max-width:100%;width:auto}
.lightbox button{position:absolute;background:rgba(255,255,255,.15);color:#fff;border:0;width:48px;height:48px;border-radius:50%;font-size:26px;cursor:pointer}
.lightbox__close{top:16px;right:16px}
.lightbox__prev{left:12px;top:50%;transform:translateY(-50%)}
.lightbox__next{right:12px;top:50%;transform:translateY(-50%)}

/* Formulaires (contact, espace client) dans le style d'origine */
.form-classic{width:400px;margin:0 auto;text-align:left}
.form-classic .field{display:grid;grid-template-columns:90px 300px;gap:2px 10px;margin-bottom:4px;align-items:start}
.form-classic label{line-height:24px}
.form-classic .field__error{grid-column:2}
.form-classic .input{width:300px;box-sizing:border-box;height:24px}
.form-classic select.input{height:24px}
.form-classic textarea.input{height:100px;padding:4px 6px;resize:vertical}
.form-classic [aria-invalid="true"]{box-shadow:inset 0 0 3px 1px #b3261e}
.field__error{color:#b3261e;font-size:11px;margin-top:2px}
.form__note{font-size:11px;margin:6px 0 10px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.notice{padding:12px 15px;margin:0 0 15px;border:1px solid;border-radius:4px}
.notice--success{background:#f4f9e0;border-color:#bad814;color:#261627}
.notice--error{background:#fdeceb;border-color:#f4c3bf;color:#7a1a14}
.contact-map{margin:20px auto 0;width:500px;max-width:100%;text-align:center}
.contact-map iframe{width:100%;height:300px;border:1px #666 solid}
.contact-coords{margin:0 auto 20px;max-width:430px;line-height:20px}

/* Espace client */
.client-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}
.client-search{display:flex;gap:6px}
.client-search .input{width:220px;height:28px}
.doc-list{list-style:none;border-top:1px dotted #cfc8d6}
#texte .doc-list li{list-style:none;margin:0}
.doc{display:flex;gap:12px;align-items:center;padding:10px 4px;border-bottom:1px dotted #cfc8d6}
.doc__body{flex:1;min-width:0}
.doc__title{font-weight:bold;color:#261627;text-decoration:underline}
.doc__desc{color:#656565;font-size:12px}
.doc__date{color:#7e5d92;font-size:12px;white-space:nowrap}
.doc__icon{color:#7e5d92;display:flex}
.doc__dl{color:#7e5d92;display:flex}
.pagination{margin-top:15px;text-align:center}
.pagination a{display:inline-block;min-width:24px;padding:2px 6px;margin:2px;border:1px solid #cecece;border-radius:3px;color:#373d43}
.pagination a[aria-current]{background:#bad814;border-color:#bad814;color:#261627;font-weight:bold}
.login-card{max-width:300px;margin:10px auto;text-align:center}
.login-card .input1{width:100%;box-sizing:border-box}

/* Partenaires */
.partner-row{display:flex;gap:12px;align-items:flex-start;padding:0 0 30px}
.partner-row:after{content:"";display:table;clear:both}
#texte .partner-row a.suite,#texte a.suite{color:#bad814}
.partner-row__logo{flex:0 0 190px}
.partner-row__logo img{width:190px;height:auto;display:block}
.partner-row__text{flex:1;min-width:0;text-align:justify}
.partner-row__desc{max-height:87px;overflow:hidden}

/* Actualités */
.news-list{display:grid;gap:15px}
.news-item{border-bottom:1px dotted #cfc8d6;padding-bottom:12px}
.news-item h2,.news-item h3{background:none;height:auto;line-height:1.3;font-size:16px;padding:0;margin:0 0 4px;border-radius:0}
.news-item time,.post-date{color:#7e5d92;font-size:11px}
.news-item img{max-width:100%;height:auto;margin:6px 0}
.post-cover img{max-width:100%;height:auto;margin:10px 0}
#texte .padding h2,#texte .padding h3{margin:18px 0 10px}
#texte .padding h2.titre1,#texte .padding h3.titre1{margin-top:20px}

/* Pages d'erreur et plan du site */
.error-code{font-size:60px;font-weight:bold;color:#bad814;line-height:1}
.sitemap-list{columns:2;column-gap:30px}

/* Bouton d'appel sur téléphone */
.call-fab{display:none}

/* ------------------------------------------- 4. Petits écrans */
@media (max-width:1020px){
    body,body.bg2{background:#fff}
    #main{width:auto}
    .centre{width:auto;padding:0 12px}
    #flags{margin:8px 12px 0 0}
    #logo{margin:14px 0 10px 12px;width:150px;height:auto}
    #logo img{width:150px;height:auto}
    #accroche,#facebook{display:none}
    .nav-toggle{display:flex;float:right;align-items:center;gap:8px;margin:28px 12px 0 0;background:#492c5c;color:#fff;border:0;border-radius:5px;padding:9px 14px;font:bold 13px Tahoma,Geneva,sans-serif;cursor:pointer}
    .nav-toggle span{display:block;width:18px;height:2px;background:#bad814;box-shadow:0 5px 0 #bad814,0 -5px 0 #bad814}
    #menu{height:auto;background:#492c5c;display:none}
    #menu.is-open{display:block}
    #left_menu,#right_menu{display:none}
    #middle_menu{float:none;width:auto;height:auto;background:#492c5c}
    #menu ul{float:none;margin:0;display:block;width:auto}
    #menu li{text-align:left}
    #menu li{float:none;border-top:1px solid #5e3f72}
    #menu li a{float:none;display:block;height:auto;line-height:46px;padding:0 16px}
    #ecran{height:auto;float:none;background:#5c3e70;padding:10px 0}
    #ecran:after{content:"";display:table;clear:both}
    #banniere{float:none;margin:0 10px;width:auto;height:auto;border-width:5px}
    #banniere .slides{aspect-ratio:663/358;height:auto}
    #rectangle{float:none;width:auto;margin:10px}
    .rec1,.rec2,.rec3,.rec4,.rec5,.rec6{background-size:100% 100%}
    .rec2,.rec3{height:auto;min-height:64px;padding-bottom:10px}
    .table2,.table3{margin-top:10px}
    .slides__caption{display:none}
    .slides__dots{right:6px}
    .table1,.table2,.table3{width:auto;margin-right:10px}
    .sep1{display:none}
    #rectangle .rec-link,#rectangle > div{margin-bottom:6px}
    #top{width:auto;height:auto;padding:12px;margin:0 10px;box-sizing:border-box}
    #top > img,#top > picture img{float:none!important;display:block;width:100%;max-width:368px;height:auto;margin:0 auto 10px}
    #top ul{float:none;width:auto}
    #left{float:none;width:auto;margin:0;padding:10px;background:none}
    #left > h1.page-title{width:auto;margin:10px 0 0}
    #texte{width:auto;margin:0;min-height:0}
    h1,h2,h3{height:auto;min-height:41px;line-height:1.3;padding-top:10px;padding-bottom:10px;box-sizing:border-box}
    .page-title{white-space:normal}
    .padding{padding:18px 12px}
    #right{float:none;width:auto;margin:10px;min-height:0}
    #right:after{content:"";display:table;clear:both}
    .gallery{grid-template-columns:repeat(2,1fr)}
    .partner-row{flex-direction:column}
    .partner-row__logo{flex:none}
    .sitemap-list{columns:1}
    #footer1{height:auto;float:none;padding:10px 0}
    #footer1 .centre > *{float:none!important;display:block;margin:6px 0!important}
    #footer2{height:auto;float:none;padding:20px 0 80px}
    #footer2 table,#footer2 tbody,#footer2 tr,#footer2 td{display:block;width:auto!important}
    #footer2 .sep3{display:none}
    #footer2 td{margin-bottom:12px}
    .bas{margin-top:0}
    .call-fab{display:grid;place-items:center;position:fixed;right:14px;bottom:14px;width:56px;height:56px;border-radius:50%;background:#bad814;color:#261627;box-shadow:0 6px 18px rgba(0,0,0,.3);z-index:40}
    .client-search .input{width:160px}
    .form-classic{width:auto}
    .form-classic .field{grid-template-columns:1fr}
    .form-classic .input{width:100%}
    .input{max-width:100%}
}
@media (prefers-reduced-motion:reduce){.slides img,.partner-slides a{transition:none}}
