/* =====================================================================
   STEFFENS EIGENBAU - TABLETTES
   Active entre 780 et 1030 px.

   C'est a cette largeur que la barre de navigation cesse de tenir :
   les liens et le selecteur de langue passent dans un volet burger,
   le bouton de contact reste visible dans la barre. Les grandes
   grilles descendent a deux colonnes et les blocs en deux colonnes
   passent l'un sous l'autre.
   ===================================================================== */


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

.main_width{width:auto;margin:0 auto;padding:0 32px}
section{padding:80px 0}


/* --------------- EN-TETE ET VOLET BURGER --------------- */
.en_tete_inner{height:84px;gap:20px}
.logo_lien{width:150px}

.nav_principale{gap:16px}

.nav_burger{
	display:block;width:44px;height:44px;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:20px;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:-7px;left:0;transform:none}
.nav_burger_traits:after{top:7px;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:84px;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:28px 32px 40px;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:18px 0;font-size:19px;color:var(--black)}

.choix_langue{
	border-left:0;padding-left:0;margin-top:30px;font-size:13px;gap:14px;
}
.nav_panneau .btn_panneau{display:none}
.btn_contact{padding:11px 18px;font-size:13.5px;order:2}


/* --------------- TYPOGRAPHIE --------------- */
h1{font-size:46px}
.titre_2{font-size:32px}
.titre_3{font-size:18px}
.chapeau{font-size:18px}
.texte{font-size:17px}


/* --------------- COMPOSANTS PARTAGES --------------- */
.liste_offres{grid-template-columns:1fr 1fr;gap:36px}
.offre_visuel{height:230px}
.offre_prix_valeur{font-size:21px}
.entete_section{margin-bottom:44px}
.lien_suite{
	margin-top:40px;flex-direction:column;align-items:flex-start;gap:16px;font-size:16px;
}
.liste_filtres{margin-bottom:36px;padding-bottom:24px}


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

#home #accueil{padding:56px 0 0}
#home .accueil_grille{grid-template-columns:1fr;gap:26px;padding-bottom:40px;align-items:start}
#home .accueil_accroche{font-size:18px;padding-bottom:0}
#home .accueil_visuel{height:380px}

/* le medaillon ne chevauche plus la photo : il se pose au-dessus des chiffres */
#home .medaillon_jubile{
	position:relative;top:auto;right:auto;margin:26px 0 0 auto;width:130px;height:130px;
}
#home .jubile_nombre{font-size:40px}
#home .jubile_unite{font-size:10.5px}

#home .liste_chiffres{grid-template-columns:1fr 1fr;margin-top:26px}
#home .chiffre{padding:24px 20px;border-bottom:1px solid var(--line-soft)}
#home .chiffre:nth-child(2n){border-right:0}
#home .chiffre:nth-child(n+3){border-bottom:0}
#home .chiffre:first-child{padding-left:20px}
#home .chiffre_nombre{font-size:25px}
#home .chiffre_libelle{font-size:15px}

#home .histoire_grille{grid-template-columns:1fr;gap:40px}
/* la photo est un portrait de 760 par 918 : recadree en pleine largeur elle
   perdait ses personnages, on la laisse donc a sa taille d'origine, centree.
   Le bloc prend la largeur de l'image pour que l'icone posee en haut a
   droite reste sur la photo. */
#home .histoire_texte{max-width:620px;margin:0 auto}
#home .histoire_visuel{max-width:520px;margin:0 auto}
#home .histoire_visuel img{height:auto}

#home .relance_inner{flex-direction:column;align-items:center;text-align:center;gap:26px}
#home #relance .texte{margin-left:auto;margin-right:auto}

#home #offres{padding:120px 0 80px}
#home #offres:after{width:180px;height:58px;top:40px}
#home #offres .entete_section{flex-direction:column;gap:18px}

#home .encart_terrains{grid-template-columns:1fr;gap:28px;padding:32px}
#home .terrains_liste{gap:16px}

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

#home #equipe{padding:30px 0 80px}
#home .liste_equipe{gap:20px;margin-top:40px}
/* 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:22px;padding:26px 28px;
	max-width:420px;text-align:center;
}


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

#a-propos h1{font-size:38px}
#a-propos .presentation_grille{grid-template-columns:1fr;gap:0}
#a-propos .presentation_cadre{height:320px}
#a-propos .presentation_texte{max-width:none;padding:40px 32px 0}
#a-propos .presentation_accroche{font-size:18px;margin-top:20px}

#a-propos .heritage_grille{grid-template-columns:1fr;gap:40px}
/* le decalage decoratif de l'archive et sa vignette superposee n'ont plus
   la place de fonctionner : on remet le bloc dans le flux, et textes comme
   photos sont centres sur une largeur de lecture */
#a-propos .archive{position:static;top:auto;right:auto}
#a-propos .archive:after{display:none}
#a-propos .archive_haute img{height:400px}
#a-propos .heritage_texte{max-width:620px;margin:0 auto}
#a-propos .heritage_archives{max-width:460px;margin:0 auto}

#a-propos .liste_reperes{grid-template-columns:1fr 1fr}
#a-propos .repere{padding:24px 20px;border-bottom:1px solid var(--line-soft)}
#a-propos .repere:nth-child(2n){border-right:0}
#a-propos .repere:nth-child(n+3){border-bottom:0}
#a-propos .repere:first-child{padding-left:20px}

#a-propos .prestations{grid-template-columns:1fr;gap:28px}
#a-propos .partenaires_grille{grid-template-columns:1fr;gap:44px}
#a-propos .partenaires_gauche,
#a-propos .partenaires_droite{max-width:620px;margin:0 auto}
#a-propos #partenaires .titre_2{font-size:28px}


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

#nos-projets h1{font-size:38px}
#nos-projets #projets{padding:48px 0 80px}
#nos-projets #bien{padding:48px 0 80px}
#nos-projets .bien_retour{margin-bottom:30px}
#nos-projets .bien_entete{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:32px}
#nos-projets .bien_galerie{margin-bottom:44px}
#nos-projets .bien_photo img{height:380px}
#nos-projets .bien_grille{grid-template-columns:1fr;gap:44px}
#nos-projets .bien_resume{padding:30px 28px 34px}
#nos-projets .bien_sous_titre{font-size:22px}
#nos-projets #suggestions{padding:0 0 80px}


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

#realisations h1{font-size:38px}
#realisations #intro{padding:48px 0 0}
#realisations #chantiers{padding:44px 0 80px}
#realisations .liste_chantiers{grid-template-columns:1fr 1fr;gap:40px 28px}
#realisations .chantier_visuel{height:240px}


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

.modale_photo{
	grid-template-columns:1fr;max-width:calc(100% - 48px);
	max-height:calc(100% - 48px);overflow-y:auto;
}
.modale_photo_visuel img{height:300px}
.modale_photo_infos{padding:32px}
.modale_photo .modale_fermer{color:var(--paper)}
.modale_photo.photo_seule{max-width:calc(100% - 48px)}

.modale_demande{width:calc(100% - 48px);max-width:620px;padding:42px 34px 38px}
.modale_demande .titre_2{font-size:28px}

/* trois colonnes dans deux laissaient Contact seule sur la deuxieme ligne :
   le logo prend toute la largeur, adresse et contact se partagent la suite */
.pied_colonnes{grid-template-columns:1fr 1fr;gap:36px}
.pied_col:first-child{grid-column:1 / -1}
#pied_de_page{padding:64px 0 32px}
.pied_bas{margin-top:48px}
