/***** grille commune des sections *****/
.grid 										{ display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;}


/***** hero *****/
.hero 										{ position: relative; margin-top: 8px;}
.hero .frame 								{ position: relative; height: 660px; border-radius: var(--imgRadius); overflow: hidden; background: var(--bgColorDark);}
.hero .frame img 							{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;}
/* voile pour la lisibilité du titre */
.hero .frame:after 							{ position: absolute; inset: 0; background: linear-gradient(to top, rgba(36,29,66,0.80) 0%, rgba(36,29,66,0.42) 40%, rgba(36,29,66,0) 68%), linear-gradient(90deg, rgba(36,29,66,0.45) 0%, rgba(36,29,66,0) 55%); content: "";}
.hero .txt 									{ position: absolute; left: 0; bottom: 0; z-index: 2; max-width: calc(100% - 500px); padding: 56px; color: var(--bgColorLight);}
.hero h1 									{ max-width: 660px; font: 600 64px/66px var(--fontTitle); letter-spacing: -0.005em; text-wrap: balance; color: var(--bgColorLight);}
.hero .txt p 								{ margin-top: 18px; max-width: 540px; font-size: 18px; line-height: 28px; color: rgba(251,248,243,0.92);}

.hero .card 								{ position: absolute; right: 40px; bottom: 40px; z-index: 3; width: 400px; padding: 28px 28px 22px; background: var(--bgColorCard); border-radius: var(--imgRadius);}
.hero .card_titre 							{ font: 600 28px/32px var(--fontTitle); color: var(--mainColor1);}
.hero .card_sub 							{ margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--textMuted);}
.hero .choices 								{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px;}
.hero .choice 								{ display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 14px; border: 1px solid var(--borderControl); border-radius: var(--linkRadius); background: var(--bgColorLight); font: 500 15px/18px var(--fontBody); color: var(--textColor); text-align: left; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;}
.hero .choice svg 							{ flex: none; width: 16px; height: 16px; color: var(--mainColor2); transition: transform 200ms ease;}
.hero .card_rating 							{ display: none;}

@media (min-width:1201px) {
.hero .choice:hover 						{ border-color: var(--mainColor1); background: var(--bgColorAlt); color: var(--mainColor1);}
.hero .choice:hover svg 					{ transform: translateX(3px);}
}


/***** hero plein écran (body.hero_full) *****/
/* bloc autonome : le supprimer suffit pour revenir à la version encadrée */
.hero_full .hero 								{ margin-top: calc(-1 * var(--headerHeight));}
.hero_full .hero .wrapper_large 				{ width: 100%; max-width: none;}
.hero_full .hero .frame 						{ height: 100vh; height: 100svh; min-height: 600px; border-radius: 0;}
.hero_full .hero .frame img 					{ object-position: 58% 45%;}
/* voile : léger sur toute la photo, renforcé en bas et à gauche pour le titre */
.hero_full .hero .frame:after 					{ background: linear-gradient(to top, rgba(36,29,66,0.86) 20%, rgba(36,29,66,0.48) 50%, rgba(36,29,66,0) 70%), linear-gradient(90deg, rgba(36,29,66,0.50) 0%, rgba(36,29,66,0) 70%), rgba(36,29,66,0.12);}
.hero_full .hero .txt p 						{ color: var(--bgColorLight);}
.hero_full .hero .txt 							{ left: 5vw; max-width: calc(90vw - 460px); padding: 0 0 72px;}
.hero_full .hero h1 							{ max-width: 760px; font-size: 72px; line-height: 76px;}
.hero_full .hero .card 							{ right: 5vw; bottom: 72px;}

/* header clair posé sur la photo, un peu plus compact en desktop */
.hero_full .header 								{ background: rgba(251,248,243); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);}

@media (min-width:1201px) {
.hero_full 										{ --headerHeight: 76px;}
}
@media (max-width:1200px) {
.hero_full .hero .txt 							{ left: 0; max-width: none; padding: 0 5vw 56px;}
.hero_full .hero h1 							{ font-size: 54px; line-height: 58px;}
.hero_full .hero .card 							{ margin: 12px 5vw 0;}
}
/* tablette : la carte rendez-vous chevauche le bas de la photo */
@media (min-width:701px) and (max-width:1200px) {
.hero_full .hero .txt 							{ padding-bottom: 136px;}
.hero_full .hero .card 							{ position: relative; right: auto; bottom: auto; margin: -96px 5vw 0; border: 1px solid var(--borderColor);}
}
@media (max-width:700px) {
.hero_full .hero .frame 						{ min-height: 520px;}
.hero_full .hero .frame img 					{ object-position: 70% 50%;}
.hero_full .hero .txt 							{ padding-bottom: 40px;}
.hero_full .hero h1 							{ font-size: 40px; line-height: 44px;}
}


/***** introduction *****/
.intro 										{ position: relative; overflow: hidden;}
/* reprise du symbole du logo en filigrane */
.intro .intro_mark 							{ position: absolute; left: 0; bottom: 0; width: 680px; height: auto; fill: var(--bgColorLight); pointer-events: none;}
.intro .grid 								{ position: relative; z-index: 1; align-items: start;}
.intro .head 								{ grid-column: 1 / span 6;}
.intro .titre_main 							{ font-size: 52px; line-height: 56px;}
.intro .txt 								{ grid-column: 8 / span 5; padding-top: 8px;}
.intro .txt p + p 							{ margin-top: 18px;}
.intro .txt p:not(.chapo) 					{ color: var(--textSoft);}
.intro .more_link 							{ margin-top: 24px;}


/***** services *****/
/* titre et paragraphe centrés sur la page */
.services .head 							{ /*max-width: 600px;*/ margin: 0 auto; text-align: center;}
.services .head p 							{ margin-top: 20px; color: var(--textSoft);}
/* quatre cards de même largeur et de même hauteur */
.services .cards 							{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px;}
.services .card 							{ position: relative; display: flex; flex-direction: column; padding: 36px 28px 28px; background: var(--bgColorCard); border: 1px solid transparent; border-radius: var(--imgRadius); transition: border-color 250ms ease, transform 250ms var(--ease);}
.services .picto 							{ display: block; width: 52px; height: 52px; color: var(--mainColor2);}
/* titres sur deux lignes réservées : les paragraphes démarrent à la même hauteur */
.services .titre_card 						{ /*min-height: 60px;*/ margin-top: 20px; display: flex; align-items: flex-end;}
.services .card p 							{ margin-top: 14px; color: var(--textSoft);}
.services .for 								{ margin-top: auto; padding-top: 20px; font-size: 14px; line-height: 20px; color: var(--textMuted);}
.services .more_link 						{ margin-top: 12px; align-self: flex-start;}
/* toute la card est cliquable */
.services .more_link:after 					{ position: absolute; inset: 0; border-radius: var(--imgRadius); content: "";}

@media (min-width:1201px) {
.services .card:hover 						{ /*border-color: var(--mainColor1);  filter: drop-shadow(0px 20px 20px rgba(169, 79, 39, 0.1)); */transform: translateY(-10px);}
.services .card:hover .more_link svg 		{ transform: translateX(4px);}
}


/***** bloc CTA *****/
.cta_band 									{ --bgPhoto: url("../images/bkg-2.webp"); padding: 180px 0;}
.cta_band .grid 							{ align-items: center;}
.cta_band .txt 								{ grid-column: 1 / span 6;}
.cta_band .titre_main 						{ color: var(--bgColorLight);}
.cta_band .txt p 							{ margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 29px; color: rgba(251,248,243,0.86);}
.cta_band .actions 							{ grid-column: 7 / -1; display: flex; flex-direction: column; align-items: flex-end; gap: 16px;}
/* bouton principal de la section : plus grand, plus contrasté */
.cta_band .link.light 						{ min-height: 76px; padding: 14px 40px; gap: 14px; font-size: 18px; line-height: 24px; font-weight: 600;}
.cta_band .link.light svg 					{ width: 22px; height: 22px;}
.cta_band .tel 								{ display: inline-flex; align-items: center; min-height: 44px; color: var(--bgColorLight); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;}

@media (min-width:1201px) {
.cta_band .tel:hover 						{ color: var(--mainColor2Light);}
}


/***** engagements *****/
.engagements .grid 							{ align-items: center;}
/* titre et paragraphe sur toute la largeur, au-dessus des deux colonnes */
.engagements .head 							{ grid-column: 1 / -1; margin-bottom: 32px;}
.engagements .head p 						{ margin-top: 20px; color: var(--textSoft);}
/* deux photos superposées : un portrait, un paysage décalé en bas à droite */
.engagements .photos 						{ grid-column: 1 / span 6; position: relative; padding-bottom: 120px;}
.engagements .photos img 					{ display: block; height: auto; object-fit: cover; border-radius: var(--imgRadius);}
.engagements .photo_main 					{ width: 78%; aspect-ratio: 4 / 5; object-position: 50% 50%;}
.engagements .photos .photo_second 			{ position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3; object-position: 45% 50%; border: 5px solid var(--bgColorLight); border-radius: calc(var(--imgRadius) + 10px);}
/* adresse en haut à droite de la photo principale, dans le ciel */
.engagements .photo_address 				{ position: absolute; top: 24px; right: calc(22% + 24px); max-width: 260px; padding: 16px 20px; background: rgba(251,248,243,0.94); border-radius: var(--linkRadius); font-size: 15px; line-height: 22px; color: var(--textColor);}
.engagements .photo_address .label 			{ display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 600 18px/24px var(--fontTitle); color: var(--mainColor1);}
.engagements .photo_address .label:before 	{ color: var(--mainColor2);}
.engagements .content 						{ grid-column: 8 / span 5;}
.engagements .content p 					{ color: var(--textSoft);}
/* quatre cellules sur une colonne, alignées sur le titre */
.engagements .list 							{ border-bottom: 1px solid var(--borderColor);}
.engagements .list li 						{ display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--borderColor);}
.engagements .picto 						{ display: block; width: 40px; height: 40px; color: var(--mainColor2);}
.engagements .titre_card 					{ font-size: 24px; line-height: 28px;}
.engagements .list p 						{ margin-top: 8px; font-size: 15px; line-height: 24px;}


/***** outils *****/
/* fond photo + voile bleu foncé, commun aux sections Outils et CTA (photo via --bgPhoto) */
.bg_photo 									{ background-color: var(--bgColorDark); background-image: linear-gradient(90deg, rgba(36,29,66,0.80) 0%, rgba(36,29,66,0.62) 55%, rgba(36,29,66,0.55) 100%), var(--bgPhoto); background-size: cover; background-position: center 45%; background-repeat: no-repeat; color: var(--bgColorLight);}

/* fond fixe sur grand écran uniquement */
@media (min-width:1201px) and (max-height:1400px) and (prefers-reduced-motion: no-preference) {
.bg_photo 									{ background-attachment: fixed;}
}

.outils 									{ --bgPhoto: url("../images/bkg.webp");}
.outils .grid 								{ align-items: start;}
.outils .txt 								{ grid-column: 1 / span 5; position: sticky; top: calc(var(--headerHeight) + 40px);}
.outils .titre_main 						{ color: var(--bgColorLight);}
.outils .txt p 								{ margin-top: 20px; color: rgba(251,248,243,0.86);}
.outils .cards 								{ grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;}
.outils .tool 								{ display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--bgColorCard); border-radius: var(--imgRadius); color: var(--textColor);}
.outils .role 								{ font-size: 14px; line-height: 20px; color: var(--textMuted);}
.outils .titre_card 						{ font-size: 28px; line-height: 32px;}
.outils .tool p 							{ font-size: 15px; line-height: 24px; color: var(--textSoft);}


/***** avis *****/
.avis .grid 								{ align-items: start;}
.avis .score_bloc 							{ grid-column: 1 / span 4; position: sticky; top: calc(var(--headerHeight) + 40px);}
.avis .score 								{ display: flex; align-items: flex-end; gap: 16px; margin-top: 40px;}
.avis .score b 								{ font: 600 104px/0.85 var(--fontTitle); color: var(--mainColor1);}
.avis .score_sub 							{ margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--textMuted);}
.avis .more_link 							{ margin-top: 24px;}
.avis .quotes 								{ grid-column: 6 / span 7;}
/* avis empilés sur une colonne, séparés par un filet */
.avis .quote 								{ padding: 48px 0; border-bottom: 1px solid var(--borderColor);}
.avis .quote:first-of-type 					{ padding-top: 0;}
.avis .quote:last-of-type 					{ padding-bottom: 0; border-bottom: 0;}
.avis .quote p 								{ font-size: 20px; line-height: 32px; color: var(--textColor); text-wrap: pretty;}
.avis figcaption 							{ display: block; margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--textMuted);}
.avis figcaption b 							{ font-weight: 500; color: var(--textColor);}
.avis .stars.small 							{ gap: 2px; margin-bottom: 16px;}
.avis .stars.small svg 						{ width: 16px; height: 16px;}


/***** tablette *****/
@media (max-width:1200px) {
.hero .frame 								{ height: 520px;}
.hero .txt 									{ max-width: none; padding: 36px;}
.hero h1 									{ font-size: 50px; line-height: 54px;}
.hero .card 								{ position: static; width: auto; margin-top: 12px; padding: 28px;}
.hero .choices 								{ grid-template-columns: repeat(4, minmax(0, 1fr));}

.intro .head,
.intro .txt 								{ grid-column: 1 / -1;}
.intro .txt 								{ padding-top: 16px;}
.intro .titre_main 							{ font-size: 42px; line-height: 46px;}
/* filigrane entier, proportionnel à la largeur d'écran */
.intro .intro_mark 							{ width: 47vw;}

.services .cards 							{ grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px;}
.services .titre_card 						{ min-height: 0;}

.cta_band 									{ padding: 96px 0;}
.cta_band .txt,
.cta_band .actions 							{ grid-column: 1 / -1;}
.cta_band .actions 							{ margin-top: 12px; align-items: flex-start;}

/* photos à gauche, texte à droite, comme en desktop */
.engagements .photos 						{ grid-column: 1 / span 6; padding-bottom: 80px;}
.engagements .photo_main 					{ width: 86%;}
.engagements .photos .photo_second 			{ width: 58%;}
.engagements .content 						{ grid-column: 7 / -1;}
.engagements .list li 						{ grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; padding: 20px 0;}
.engagements .picto 						{ width: 32px; height: 32px;}
.engagements .titre_card 					{ font-size: 22px; line-height: 26px;}
.engagements .photo_address 				{ top: 12px; right: calc(14% + 12px); padding: 10px 14px; font-size: 13px; line-height: 19px;}
.engagements .photo_address .label 			{ font-size: 16px; line-height: 20px;}

.outils .txt,
.outils .cards 								{ grid-column: 1 / -1;}
.outils .cards 								{ margin-top: 24px;}
.outils .txt 								{ position: static;}


.avis .score_bloc,
.avis .quotes 								{ grid-column: 1 / -1;}
.avis .score_bloc 							{ position: static; margin-bottom: 48px;}
}


/***** mobile *****/
@media (max-width:700px) {
.hero 										{ margin-top: 4px;}
.hero .frame 								{ height: 460px;}
.hero .txt 									{ padding: 24px;}
.hero h1 									{ font-size: 38px; line-height: 42px;}
.hero .txt p 								{ font-size: 16px; line-height: 24px;}
.hero .card 								{ padding: 24px 20px 20px;}
.hero .choices 								{ grid-template-columns: repeat(2, minmax(0, 1fr));}
.hero .card_rating 							{ display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--textColor);}
.hero .card_rating svg 						{ color: var(--mainColor2);}

.intro .titre_main 							{ font-size: 34px; line-height: 38px;}
.intro .intro_mark 							{ width: 60vw;}

.services .cards 							{ grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px;}
.services .card 							{ padding: 28px 24px 20px;}
.services .picto 							{ width: 44px; height: 44px;}
.services .titre_card 						{ margin-top: 20px;}

.cta_band 									{ padding: 72px 0;}
.cta_band .actions 							{ align-items: stretch;}
.cta_band .link.light 						{ width: 100%; min-height: 64px; padding: 12px 20px; font-size: 17px;}
.cta_band .tel 								{ justify-content: center;}

.outils 									{ background-position: 30% 50%;}

/* titre, liste, puis photos */
.engagements .content,
.engagements .photos 						{ grid-column: 1 / -1;}
.engagements .photos 						{ order: 1;}
.engagements .head 							{ margin-bottom: 12px;}
.engagements .list li 						{ padding: 24px 0;}
.engagements .photos 						{ margin-top: 40px; padding-bottom: 64px;}
.engagements .photo_main 					{ width: 84%;}
.engagements .photos .photo_second 			{ width: 56%; border-width: 6px; border-radius: calc(var(--imgRadius) + 6px);}
.engagements .photo_address 				{ top: 12px; right: calc(16% + 12px); padding: 10px 14px; font-size: 13px; line-height: 19px;}
.engagements .photo_address .label 			{ font-size: 16px; line-height: 20px;}

.outils .cards 								{ grid-template-columns: minmax(0, 1fr);}
.outils .tool 								{ padding: 24px;}

.avis .score b 								{ font-size: 84px;}
.avis .quote 								{ padding: 36px 0;}
.avis .quote p 								{ font-size: 18px; line-height: 29px;}
}


/***** bandeaux CTA : bouton et téléphone empilés, alignés à gauche *****/
.cta_band .actions 							{ justify-self: end; align-items: flex-start; gap: 20px;}
@media (max-width:1200px) {
.cta_band .actions 							{ justify-self: start;}
}
@media (max-width:700px) {
.cta_band .actions 							{ align-items: stretch;}
.cta_band .tel_block 						{ justify-content: center;}
}
