/* ==========================================================================
   Pages : À propos, Contact, Nos montres, Équipe
   ========================================================================== */

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.about { background-color: var(--m-bg); }
.about-hero {
	display: flex;
	align-items: flex-end;
	min-height: calc(70vh + 70px);
	padding: 0 0 70px 115px;
	background-color: var(--m-bg);
	background-image: var(--about-bg);
	background-position: center left;
	background-size: cover;
}
.about-hero__inner { width: calc(50% - 15px); }
.about-hero__title { margin: 0 0 16px -5px; font-size: 75px; line-height: 75px; letter-spacing: -1.8px; color: var(--m-dark); }
.about-hero__lead { margin: 0; font-size: 20px; line-height: 24px; color: #5f5f5f; }
.about__space { height: 60px; }
.about-row { display: flex; align-items: flex-start; margin-bottom: 100px; }
.about-row__media, .about-row__text { width: 50%; }
.about-row__media img { display: block; width: 100%; height: auto; }
.about-row--1 .about-row__text { padding: 55px 40px 0; }
.about-row--2 .about-row__text { padding: 0 40px; }
.about-row__title { margin: 0 0 30px; line-height: 1; color: var(--m-dark); }
.about-row__body { margin-bottom: 20px; }
.about__team-head { padding-top: 40px; }
.about__team-title { margin: 0 0 21px; font-size: 46px; line-height: 1; color: var(--m-dark); }

/* Carte d'équipe (reprise du rendu ThemeRex) */
.myrah-team { display: flex; flex-wrap: wrap; margin: 0 -30px -40px 0; }
.myrah-team__item { width: 50%; padding: 0 30px 0 0; }
.myrah-team__thumb { display: inline-block; line-height: 0; }
.myrah-team__thumb img { width: 570px; max-width: 100%; height: auto; }
.myrah-team__info { margin-top: 32px; }
.myrah-team__name { font-family: var(--f-ui); font-size: 24px; font-weight: 500; line-height: 1.2em; color: var(--m-dark); }
.myrah-team__name a { color: inherit; }
.myrah-team__role { margin-top: 11px; font-size: 17px; font-weight: 300; line-height: 20px; color: var(--m-text); }
.myrah-team__socials { margin-top: 12px; padding: 7px 0; font-size: 16px; line-height: 30px; }
.myrah-team__socials a { display: inline-block; color: var(--m-dark); opacity: 0; transition: opacity .3s; }
.myrah-team__item:hover .myrah-team__socials a { opacity: 1; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-page { background-color: var(--m-bg); }
.contact-page__main { padding-top: 40px; }
.contact-page__space { height: 60px; }
.contact-page__space2 { height: 33px; }
.contact-page__row { display: flex; align-items: flex-start; }
.contact-page__info { width: 50%; padding-right: 11%; }
.contact-page__form { width: 50%; padding-left: 15px; }
.contact-page__title { margin: 0 0 0 -3px; font-size: 50.672px; line-height: 50.672px; letter-spacing: -1.8px; color: var(--m-dark); }
.contact-page__title > span { font-size: 55px; }
.contact-page__list { margin: 0 0 0 -3px; padding: 0; list-style: none; }
.contact-page__list li { display: flex; align-items: flex-start; margin: 0; font-size: 17px; line-height: 28.9px; color: var(--m-text); }
.contact-page__list li + li { margin-top: 19.2px; }
.contact-page__list a { padding-bottom: 7px; color: inherit; }
.contact-page__list a:hover { color: var(--m-dark); }
.contact-page__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25.6px; min-width: 0; height: 25.6px; margin-right: 12.8px; font-size: 20.8px; color: #674e58; }
.contact-page__form-title { display: none; }
.contact-page__map { margin-top: 80px; line-height: 0; }
/* Carte au format 4:1 (iframe 600×150 redimensionnée), carrée sur mobile */
.contact-page__map iframe { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; border: 0; }

/* Formulaire sur fond clair */
.myrah-form--light .wpcf7 { color: var(--m-text); }
.myrah-form--light .style-line::before { background-color: #a3a4b3; }
.myrah-form--light input[type="text"],
.myrah-form--light input[type="email"],
.myrah-form--light textarea { color: #a3a4b3; border-bottom-color: var(--m-border); }
.myrah-form--light input::placeholder,
.myrah-form--light textarea::placeholder { color: #a3a4b3; }
.myrah-form--light .wpcf7-list-item-label { color: var(--m-text); }
.myrah-form--light .wpcf7-list-item-label::before { border-color: var(--m-border); }
.myrah-form--light .wpcf7-list-item-label::after { background-color: var(--m-dark); }

/* --------------------------------------------------------------------------
   Nos montres (plein écran)
   -------------------------------------------------------------------------- */
body.myrah-fullscreen { background-color: #000; }
/* Le slider est dans assets/css/watch-slider.css. */

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.about-hero { min-height: calc(38vh + 50px); padding: 0 0 50px 50px; }
	.about-hero__title { font-size: 41px; line-height: 41px; }
	.about-hero__lead { font-size: 16px; }
	.about-row--1 .about-row__text { padding: 0 0 0 20px; }
	.about-row--2 .about-row__text { padding: 0 20px 0 0; }
	.about-row__body { font-size: 15px; }
	.myrah-team__item { padding-bottom: 30px; }
	.myrah-team__info { margin-top: 25px; }
	.myrah-team__name { font-size: 22px; }
	.myrah-team__socials { margin-top: 9px; }
	.myrah-team__socials a { opacity: 1; }
	.contact-page__space { height: 40px; }
	.contact-page__space2 { height: 30px; }
	.contact-page__info { padding-right: 2.5%; }
	.contact-page__title { font-size: 46px; line-height: 46px; }
	.contact-page__title > span { font-size: 36px; }
	.contact-page__list li { line-height: 25.5px; }
	.contact-page__list li + li { margin-top: 11.2px; }
}
@media (max-width: 1023px) {
	.contact-page__title { margin-left: -1px; font-size: 38px; line-height: 42px; }
	.myrah-team__info { margin-top: 20px; }
	.myrah-team__name { font-size: 20px; }
	.myrah-team__role { margin-top: 9px; }
	.myrah-team__socials { margin-top: 5px; padding: 5px 0; font-size: 14px; }
}

@media (max-width: 767px) {
	/* Elementor : deux colonnes empilées (texte 80px + colonne vide 1px) réparties dans 38vh, puis 250px */
	.about-hero { display: block; min-height: 0; padding: max(0px, calc(19vh - 40.5px)) 20px calc(max(0px, calc(19vh - 40.5px)) + 251px); background-image: var(--about-bg-mobile); }
	.about-hero__inner { width: 100%; }
	.about-hero__title { font-size: 40px; line-height: 40px; }
	.about__space { height: 30px; }
	.about-row { flex-wrap: wrap; }
	.about-row--2 { flex-direction: column-reverse; }
	.about-row__media, .about-row__text { width: 100%; }
	.about-row--1 .about-row__text { padding: 0 10px; }
	.about-row--1 .about-row__title { margin: 30px 0 15px; font-size: 35px; }
	.about-row--2 .about-row__title { margin: 30px 0 15px; font-size: 31px; }
	.about__team-title { font-size: 33px; }
	.myrah-team { margin-right: -20px; margin-bottom: -30px; }
	.myrah-team__item { padding: 0 20px 20px 0; }
	.contact-page__main { padding-top: 0; }
	.contact-page__space { height: 30px; }
	.contact-page__space2 { height: 25px; }
	.contact-page__row { flex-wrap: wrap; }
	.contact-page__info, .contact-page__form { width: 100%; padding: 0; }
	.contact-page__title { font-size: 30px; line-height: 34px; letter-spacing: -1px; }
	.contact-page__title > span { font-size: 33px; line-height: 1.2em; }
	.contact-page__list li { font-size: 16px; line-height: 24px; }
	.contact-page__list li + li { margin-top: 16px; }
	.contact-page__form-title { display: block !important; margin: 80px 0 10px; font-size: 20px; line-height: 20px; }
	.contact-page__map iframe { aspect-ratio: 1 / 1; }
}

/* --------------------------------------------------------------------------
   Équipe — liste et fiche
   -------------------------------------------------------------------------- */
.team-archive__grid { display: flex; flex-wrap: wrap; margin-right: -30px; }
.team-archive__item { width: 33.3333%; padding-right: 30px; }
.team-archive__card { height: 100%; background: #fff; overflow: hidden; }
.team-archive__thumb { display: block; overflow: hidden; line-height: 0; }
.team-archive__thumb img { display: block; width: 100%; height: auto; transform: scale(1.01); transition: transform .5s; }
.team-archive__info { padding: 32px; text-align: center; }
.team-archive__name { font-family: var(--f-ui); font-size: 24px; font-weight: 500; line-height: 1.2em; color: var(--m-dark); }
.team-archive__name a { display: block; color: inherit; }
.team-archive__role { margin-top: 11px; font-size: 17px; font-weight: 300; line-height: 20px; color: var(--m-text); }
.team-archive__socials { margin: 15px 0 0 -2px; line-height: 0; }
.team-archive__socials a,
.team-single__socials a { display: inline-flex; align-items: center; justify-content: center; box-sizing: content-box; width: 45px; height: 45px; border: 1px solid var(--m-border); border-radius: 50%; color: var(--m-dark); font-size: 16px; }
.team-archive__socials a { margin: 3px 0; }
.team-single__socials a { box-sizing: border-box; border: 0; background: #fff; }
.team-archive__socials a:hover,
.team-single__socials a:hover { background: var(--m-dark); border-color: var(--m-dark); color: #fff; }

.team-single__role { margin: 0; font-family: var(--f-head); font-size: 14px; font-weight: 500; line-height: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--m-dark); }
.team-single__name { margin: 16px 0 44.8px; font-family: var(--f-head); font-size: 57px; font-weight: 500; line-height: 1.1em; letter-spacing: -0.1px; color: var(--m-dark); }
/* Photo à 53 % (marge droite 50px), encart blanc qui chevauche la photo de 145px et va jusqu'au bord droit */
.team-single__body { position: relative; display: flex; align-items: flex-start; }
.team-single__media { flex: 0 0 53%; max-width: 53%; padding-right: 50px; line-height: 0; }
.team-single__media img { display: block; width: 600px; max-width: 100%; height: auto; }
.team-single__socials { margin-top: 55px; padding-bottom: 7px; line-height: 1; }
.team-single__content { position: relative; z-index: 1; display: flex; flex: 1 1 auto; gap: 30px; min-width: 0; margin: 41px 0 0 -145px; padding: 50px 60px; background: #fff; }
.team-single__col { flex: 1 1 0; min-width: 0; }
.team-single__col--2 { margin-top: 20px; }
.team-single__cols { columns: 2; column-gap: 30px; }
/* La lettrine est dans un paragraphe vide : son espacement passe au-dessus pour qu'elle s'aligne sur la 1re ligne du texte */
.team-single__dropcap { margin-bottom: 0; padding-top: 1.57em; }
.myrah-dropcap { float: left; min-width: 60px; height: 55px; padding-right: 5px; font-family: var(--f-ui); font-size: 57px; font-weight: 500; line-height: 48px; color: var(--m-dark); }

@media (max-width: 1439px) {
	.team-archive__info { padding: 2.1429em; }
}
@media (max-width: 1279px) {
	.team-archive__info { padding: 1.8em; }
	.team-archive__name { font-size: 22px; }
	.team-archive__socials a { width: 41px; height: 41px; }
	.team-single__name { margin-top: 10px; font-size: 47px; }
	.team-single__socials { margin-top: 45px; }
	.team-single__content { padding: 40px 50px; }
	.team-single__dropcap { padding-top: 1em; }
	.myrah-dropcap { min-width: 55px; height: 45px; font-size: 47px; line-height: 39px; }
}
@media (max-width: 1023px) {
	.team-archive__info { padding: 1.45em; }
	.team-archive__socials a { width: 36px; height: 36px; }
	.team-single__name { margin-bottom: 35.2px; font-size: 38px; }
	.team-single__media { padding-right: 30px; }
	.team-single__socials { margin-top: 35px; }
}
@media (max-width: 767px) {
	.team-archive__grid { margin-right: -20px; }
	.team-archive__item { width: 50%; padding-right: 20px; }
	.team-archive__info { padding: 1.2em; }
	.team-archive__name { font-size: 20px; }
	.team-archive__role { margin-top: 7px; font-size: 16px; }
	.team-archive__socials { margin-top: 10px; }
	.team-archive__socials a { font-size: 15px; }
	.team-single__name { margin: 5px 0 25.6px; font-size: 34px; }
	.team-single__body { display: block; }
	.team-single__media { max-width: none; margin-bottom: 30px; padding-right: 0; }
	.team-single__socials { margin-top: 30px; }
	.team-single__content { display: block; margin: 71px 0 0; padding: 30px 35px; }
	.team-single__cols { columns: 1; }
}
@media (max-width: 479px) {
	.myrah-team__item { width: 100%; }
	.team-archive__item { width: 100%; }
	.team-single__role { font-size: 13px; line-height: 16px; }
	.team-single__name { font-size: 26px; }
	.team-single__media { margin-bottom: 25px; }
	.team-single__socials { margin-top: 20px; }
	.team-single__content { margin-top: 66px; }
}
@media (max-width: 767px) {
	.contact-page__title { hyphens: auto; }
}
@media (max-width: 479px) {
	.contact-page__title { font-size: 26px; line-height: 30px; letter-spacing: normal; }
	.contact-page__icon { margin-right: 8px; }
}
