/* =====================================================================
   STEFFENS EIGENBAU - MOBILES
   Active en dessous de 780 px.

   Tout passe sur une colonne. Le bouton de contact quitte la barre
   pour rejoindre le volet burger, faute de place a cote du logo.
   ===================================================================== */


/* --------------- BASE --------------- */
html{min-width:0}
body{min-width:0}

.main_width{width:auto;margin:0 auto;padding:0 20px}
section{padding:56px 0}


/* --------------- EN-TETE ET VOLET BURGER --------------- */
.en_tete_inner{height:72px;gap:14px}
.logo_lien{width:132px}

.nav_principale{gap:12px}

.nav_burger{
	display:block;width:42px;height:42px;position:relative;
	border:1px solid var(--line);background:none;cursor:pointer;order:3;
}
.nav_burger_traits,
.nav_burger_traits:before,
.nav_burger_traits:after{
	content:'';position:absolute;left:50%;width:19px;height:2px;
	background:var(--black);transform:translateX(-50%);transition:transform .25s ease,opacity .2s ease;
}
.nav_burger_traits{top:50%;margin-top:-1px}
.nav_burger_traits:before{top:-6px;left:0;transform:none}
.nav_burger_traits:after{top:6px;left:0;transform:none}
body.menu_ouvert .nav_burger_traits{background:transparent}
body.menu_ouvert .nav_burger_traits:before{top:0;transform:rotate(45deg)}
body.menu_ouvert .nav_burger_traits:after{top:0;transform:rotate(-45deg)}

.nav_panneau{
	display:none;position:fixed;top:72px;left:0;right:0;bottom:0;z-index:59;
	background:var(--paper);border-top:1px solid var(--line-soft);
	flex-direction:column;align-items:stretch;justify-content:flex-start;
	gap:0;padding:22px 20px 36px;overflow-y:auto;
}
body.menu_ouvert{overflow:hidden}
body.menu_ouvert .nav_panneau{display:flex}

.nav_liste{flex-direction:column;align-items:stretch;gap:0}
.nav_liste li{border-bottom:1px solid var(--line-soft)}
.nav_liste a{display:block;padding:16px 0;font-size:18px;color:var(--black)}

.choix_langue{border-left:0;padding-left:0;margin-top:26px;font-size:13px;gap:14px}

/* faute de place a cote du logo, l'appel a l'action passe dans le volet */
.btn_contact{display:none}
.nav_panneau .btn_panneau{display:block;margin-top:26px;text-align:center;padding:16px 24px}


/* --------------- TYPOGRAPHIE --------------- */
h1{font-size:34px;line-height:1.14;letter-spacing:-0.025em}
.titre_2{font-size:26px;line-height:1.18}
.titre_3{font-size:17px}
.chapeau{font-size:17px}
.texte{font-size:16px}
.libelle_section{font-size:11.5px;margin-bottom:16px}
.btn_principal{padding:15px 26px;font-size:14.5px}


/* --------------- COMPOSANTS PARTAGES --------------- */
.liste_offres{grid-template-columns:1fr;gap:40px}
.offre_visuel{height:220px}
.offre_prix_valeur{font-size:20px}
.offre_caracteristiques{gap:16px;font-size:13.5px;flex-wrap:wrap}
.entete_section{margin-bottom:34px}
.lien_suite{margin-top:34px;flex-direction:column;align-items:flex-start;gap:14px;font-size:15.5px}
.liste_filtres{gap:8px;margin-bottom:30px;padding-bottom:20px}
.filtre{padding:9px 14px;font-size:13px}


/* =====================================================================
   PAGE HOME
   ===================================================================== */

#home #accueil{padding:40px 0 0}
#home .accueil_grille{grid-template-columns:1fr;gap:20px;padding-bottom:30px;align-items:start}
#home .accueil_accroche{font-size:16.5px;padding-bottom:0}
#home .accueil_zone{margin-top:16px}
#home .accueil_visuel{height:240px}

#home .medaillon_jubile{
	position:relative;top:auto;right:auto;margin:20px 0 0 auto;width:112px;height:112px;
}
#home .jubile_nombre{font-size:34px}
#home .jubile_unite{font-size:9.5px;margin-top:4px}

#home .liste_chiffres{grid-template-columns:1fr;margin-top:20px}
#home .chiffre{padding:20px 0;border-right:0;border-bottom:1px solid var(--line-soft)}
#home .chiffre:last-child{border-bottom:0}
#home .chiffre:first-child{padding-left:0}
#home .chiffre_nombre{font-size:23px}
#home .chiffre_libelle{font-size:15px}

#home .histoire_grille{grid-template-columns:1fr;gap:30px}
#home .histoire_texte{max-width:520px;margin:0 auto}
/* la photo garde son ratio d'origine plutot que d'etre recadree en bandeau */
#home .histoire_visuel{max-width:420px;margin:0 auto}
#home .histoire_visuel img{height:auto}
#home .histoire_visuel::after{width:62px;height:62px;right:10px;top:10px}
#home .histoire_suite{margin-top:26px}

#home .relance_inner{flex-direction:column;align-items:flex-start;gap:22px}
#home #relance{padding:44px 0}
#home #relance .titre_2{font-size:24px}

#home #offres{padding:64px 0 56px}
#home #offres:after{display:none}
#home #offres .entete_section{flex-direction:column;gap:14px}

#home .encart_terrains{grid-template-columns:1fr;gap:24px;padding:26px 20px;margin-top:44px}
#home .terrains_titre{font-size:23px}
#home .terrains_liste{grid-template-columns:1fr;gap:14px}
#home .terrain{padding:20px}

#home .galerie_chantiers{grid-template-columns:1fr;gap:12px;margin-top:30px}
#home .galerie_chantiers .galerie_cellule{height:220px}
#home .galerie_chantiers .cellule_haute{grid-row:auto;height:220px}
#home .galerie_chantiers_bas{grid-template-columns:1fr;gap:12px;margin-top:12px}
#home .galerie_chantiers_bas .galerie_cellule{height:220px}

#home #equipe{padding:20px 0 56px}
#home .liste_equipe{grid-template-columns:1fr;gap:28px;max-width:320px;margin-top:32px}
/* les portraits gardent leur cadrage d'origine plutot que d'etre rognes */
#home .membre_visuel{height:auto;overflow:visible}
#home .membre_visuel img{height:auto}
#home .coordonnees{
	grid-template-columns:1fr;gap:20px;padding:24px 20px;margin-top:34px;
	max-width:420px;text-align:center;
}


/* =====================================================================
   PAGE A PROPOS
   ===================================================================== */

#a-propos h1{font-size:30px}
#a-propos .presentation_grille{grid-template-columns:1fr;gap:0}
#a-propos .presentation_cadre{height:230px}
#a-propos .presentation_texte{max-width:none;padding:30px 20px 0}
#a-propos .presentation_accroche{font-size:16.5px;margin-top:18px}
#a-propos .presentation_zone{margin-top:24px;padding-top:16px}

#a-propos .heritage_grille{grid-template-columns:1fr;gap:30px}
#a-propos .heritage_texte{max-width:520px;margin:0 auto}
#a-propos .archive{position:static;top:auto;right:auto}
#a-propos .archive:after{display:none}
#a-propos .archive_haute img{height:300px}
#a-propos .heritage_archives{max-width:none;gap:24px}
#a-propos .heritage_suite{margin-top:28px}

#a-propos #reperes{padding:0 0 56px}
#a-propos .liste_reperes{grid-template-columns:1fr}
#a-propos .repere{padding:20px 0;border-right:0;border-bottom:1px solid var(--line-soft)}
#a-propos .repere:last-child{border-bottom:0}
#a-propos .repere:first-child{padding-left:0}
#a-propos .repere_nombre{font-size:23px}

#a-propos .prestations{grid-template-columns:1fr;gap:24px}
#a-propos .partenaires_grille{grid-template-columns:1fr;gap:36px}
#a-propos .partenaires_gauche,
#a-propos .partenaires_droite{max-width:520px;margin:0 auto}
#a-propos #partenaires .titre_2{font-size:24px}
#a-propos .savoir_faire_suite{margin-top:36px}


/* =====================================================================
   PAGE NOS PROJETS
   ===================================================================== */

#nos-projets h1{font-size:30px}
#nos-projets #projets{padding:34px 0 56px}
#nos-projets #bien{padding:34px 0 56px}
#nos-projets .projets_entete{margin-bottom:30px}
#nos-projets .bien_retour{margin-bottom:24px}
#nos-projets .bien_entete{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:26px}
#nos-projets .bien_galerie{margin-bottom:34px}
#nos-projets .bien_photo img{height:250px}
#nos-projets .bien_grille{grid-template-columns:1fr;gap:34px}
#nos-projets .bien_caracteristiques{grid-template-columns:1fr}
#nos-projets .bien_equipements{grid-template-columns:1fr;gap:10px}
#nos-projets .bien_resume{padding:26px 20px 30px}
#nos-projets .bien_sous_titre{font-size:21px}
#nos-projets .caracteristique dt{font-size:15px}
#nos-projets #suggestions{padding:0 0 56px}


/* =====================================================================
   PAGE REALISATIONS
   ===================================================================== */

#realisations h1{font-size:30px}
#realisations #intro{padding:34px 0 0}
#realisations #chantiers{padding:34px 0 56px}
#realisations .liste_chantiers{grid-template-columns:1fr;gap:34px}
#realisations .chantier_visuel{height:230px}
#realisations .chantier_titre{font-size:15px;margin-top:12px}


/* =====================================================================
   POP-UP, MODALE ET PIED DE PAGE
   ===================================================================== */

.modale_photo{
	grid-template-columns:1fr;max-width:calc(100% - 28px);
	max-height:calc(100% - 28px);overflow-y:auto;
}
.modale_photo_visuel img{height:220px}
.modale_photo_infos{padding:24px 20px 28px}
.modale_photo .titre_3{font-size:20px}
.modale_photo_relance{font-size:15.5px;margin-top:18px;padding-top:18px}
.modale_photo.photo_seule{max-width:calc(100% - 28px)}

.modale_demande{width:calc(100% - 28px);max-width:none;max-height:calc(100% - 28px);overflow-y:auto;padding:34px 22px 30px}
.modale_demande .titre_2{font-size:24px}
.modale_intro{font-size:15.5px;margin-bottom:20px}
.champ_paire{grid-template-columns:1fr;gap:0}
.champ_demi:first-child{border-bottom:1px solid var(--line)}

#pied_de_page{padding:48px 0 28px}
.pied_colonnes{grid-template-columns:1fr;gap:30px}
.pied_bas{margin-top:36px;flex-direction:column;gap:14px;align-items:flex-start}


/* --------------- BANDEAU COOKIES --------------- */
/* Le script TermsFeed empile lui-meme ses boutons sous 480 px ; on avance
   le seuil a nos propres bornes et on garde le troisieme choix en lien. */
#termsfeed-com---nb.termsfeed-com---nb-simple{
	left:16px;right:16px;bottom:16px;width:auto;max-width:none;
}
#termsfeed-com---nb .cc-nb-main-container{padding:24px 22px 22px}
#termsfeed-com---nb .cc-nb-title{font-size:18px}
#termsfeed-com---nb .cc-nb-text{font-size:15.5px;margin-bottom:20px}
#termsfeed-com---nb .cc-nb-buttons-container{flex-direction:column;align-items:stretch;gap:8px}
#termsfeed-com---nb .cc-nb-okagree,
#termsfeed-com---nb .cc-nb-reject{display:block;width:100%;text-align:center}
#termsfeed-com---nb .cc-nb-changep{
	align-self:center;width:auto;display:inline-block;
	border-bottom:0;text-decoration:underline;text-underline-offset:4px;padding-top:8px;
}
