/**
 * ==========================================================
 * MetrYMMO V2
 * Responsive
 * ==========================================================
 *
 * Mobile / tablette / desktop
 *
 * @package MetrYMMO_V2
 */

.metrymmo-form-trap {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}


/* ==========================================================
   TABLETTE — 1100 PX
   ========================================================== */

@media (max-width: 1100px) {

	.container {
		width: min(100% - 48px, 1180px);
	}


	/* --------------------------------------------------------
	   HEADER
	-------------------------------------------------------- */

	.site-header__inner {
		padding-inline: 24px;
	}

	.site-navigation {
		gap: 20px;
	}

	.site-navigation a {
		font-size: 14px;
	}

	.site-header__actions {
		gap: 14px;
	}

	.site-header__phone,
	.site-header__email {
		display: none;
	}


	/* --------------------------------------------------------
	   HERO
	-------------------------------------------------------- */

	.hero__inner,
	.buy-hero-inner,
	.sell-hero-inner,
	.financing-page-hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__content,
	.buy-hero-content,
	.sell-hero-content,
	.financing-page-hero__content {
		max-width: 760px;
	}

	.hero__visual,
	.buy-hero-visual,
	.sell-hero-visual,
	.financing-page-hero__visual {
		min-height: 360px;
	}


	/* --------------------------------------------------------
	   GRILLES
	-------------------------------------------------------- */

	.featured-properties__grid,
	.services__grid,
	.buy-featured-grid,
	.buy-process-grid,
	.sell-process-grid,
	.sell-services-grid,
	.financing-page-services__grid,
	.financing-page-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}


	/* --------------------------------------------------------
	   INTRO / CONTENT
	-------------------------------------------------------- */

	.sell-intro-grid,
	.financing-page-intro__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.buy-finance-card,
	.sell-estimation-card,
	.financing-page-info__card {
		grid-template-columns: 1fr;
		gap: 32px;
	}


	/* --------------------------------------------------------
	   FOOTER
	-------------------------------------------------------- */

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		max-width: 600px;
	}

}


/* ==========================================================
   TABLETTE — 900 PX
   ========================================================== */

@media (max-width: 900px) {

	.container {
		width: min(100% - 40px, 1180px);
	}


	/* --------------------------------------------------------
	   HEADER
	-------------------------------------------------------- */

	.site-header__inner {
		min-height: 76px;
	}

	.site-navigation {
		display: none;
	}

	.site-header__actions {
		display: none;
	}

	.site-header__mobile-toggle,
	.mobile-menu-toggle {
		display: flex;
	}


	/* --------------------------------------------------------
	   TITRES
	-------------------------------------------------------- */

	.hero h1,
	.buy-hero h1,
	.sell-hero h1,
	.financing-page-hero h1 {
		font-size: clamp(52px, 8vw, 84px);
		line-height: .95;
	}

	.hero h2,
	.buy-section-heading h2,
	.sell-section-heading h2,
	.financing-page-heading h2,
	.financing-page-intro__content h2 {
		font-size: clamp(38px, 6vw, 58px);
		line-height: 1;
	}


	/* --------------------------------------------------------
	   PROPERTY ARCHIVE
	-------------------------------------------------------- */

	.property-archive__grid,
	.properties-grid,
	.property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}


	/* --------------------------------------------------------
	   FILTERS
	-------------------------------------------------------- */

	.property-filters__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.property-filter--sort {
		grid-column: span 2;
	}


	/* --------------------------------------------------------
	   SINGLE PROPERTY
	-------------------------------------------------------- */

	.property-single__hero,
	.property-single__layout,
	.property-single__content-grid,
	.property-location__grid {
		grid-template-columns: 1fr;
	}

	.property-single__gallery {
		min-height: 500px;
	}

	.property-single__sidebar {
		position: static;
	}


	/* --------------------------------------------------------
	   BUY / SELL / FINANCING
	-------------------------------------------------------- */

	.buy-section-heading--center,
	.sell-section-heading--center,
	.financing-page-heading {
		max-width: 760px;
	}

	.sell-section-heading--split,
	.financing-page-properties__header {
		grid-template-columns: 1fr;
		gap: 28px;
	}


	/* --------------------------------------------------------
	   CONTACT
	-------------------------------------------------------- */

	.contact-page__grid,
	.contact-page__content,
	.contact-page__form-grid {
		grid-template-columns: 1fr;
	}


	/* --------------------------------------------------------
	   FOOTER
	-------------------------------------------------------- */

	.site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

}


/* ==========================================================
   MOBILE — 700 PX
   ========================================================== */

@media (max-width: 700px) {

	.container {
		width: calc(100% - 32px);
	}


	/* --------------------------------------------------------
	   GLOBAL SAFETY
	-------------------------------------------------------- */

	html,
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}


	/* --------------------------------------------------------
	   HEADER
	-------------------------------------------------------- */

	.site-header__inner {
		min-height: 68px;
		padding-inline: 16px;
	}

	.site-branding__logo {
		width: 105px;
		height: auto;
	}

	.site-header__mobile-toggle,
	.mobile-menu-toggle {
		width: 42px;
		height: 42px;
	}


	/* --------------------------------------------------------
	   MOBILE MENU
	-------------------------------------------------------- */

	.mobile-menu,
	.site-mobile-menu {
		padding: 24px 16px;
	}

	.mobile-menu a,
	.site-mobile-menu a {
		font-size: 20px;
		padding: 12px 0;
	}


	/* --------------------------------------------------------
	   HERO
	-------------------------------------------------------- */

	.hero,
	.buy-hero,
	.sell-hero,
	.financing-page-hero {
		padding-block: 80px 64px;
	}

	.hero h1,
	.buy-hero h1,
	.sell-hero h1,
	.financing-page-hero h1 {
		font-size: clamp(42px, 13vw, 64px);
		line-height: .96;
		letter-spacing: -0.045em;
	}

	.hero p,
	.buy-hero p,
	.sell-hero p,
	.financing-page-hero p {
		font-size: 16px;
		line-height: 1.7;
	}

	.hero__visual,
	.buy-hero-visual,
	.sell-hero-visual,
	.financing-page-hero__visual {
		min-height: 280px;
	}

	.hero__actions,
	.buy-hero-actions,
	.sell-hero-actions,
	.financing-page-hero__actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 12px;
	}


	/* --------------------------------------------------------
	   BOUTONS MOBILE — BASE
	-------------------------------------------------------- */

	.btn,
	.button,
	.hero-button,
	.buy-button,
	.sell-button,
	.financing-page-button,
	.estimation-page-button,
	.contact-page-button,
	.error-404__button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-height: 50px;
		height: 50px;
		max-width: 100%;
		padding: 0 22px;
		flex: 0 0 auto;
		white-space: nowrap;
	}


	/* --------------------------------------------------------
	   GROUPES DE BOUTONS
	-------------------------------------------------------- */

	.btn-group,
	.hero-buttons,
	.cta-buttons,
	.financing-page-hero__actions,
	.financing-page-contact__actions,
	.estimation-page-hero__actions,
	.location-hero-actions,
	.location-dossier-action {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 12px;
	}


	/* --------------------------------------------------------
	   BOUTONS DES HERO
	   Pleine largeur sur mobile
	-------------------------------------------------------- */

	.hero__actions .hero-button,
	.hero-buttons .hero-button,
	.buy-hero-actions .buy-button,
	.sell-hero-actions .sell-button,
	.financing-page-hero__actions .financing-page-button,
	.estimation-page-hero__actions .estimation-page-button,
	.estimation-page-hero__actions .hero-button,
	.location-hero-actions .location-button {
		display: flex;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		flex: 0 0 auto;
		justify-content: center;
	}


	/* --------------------------------------------------------
	   CTA
	-------------------------------------------------------- */

	.cta-buttons a {
		display: flex;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}


	/* --------------------------------------------------------
	   EXCEPTIONS — PLEINE LARGEUR
	-------------------------------------------------------- */

	.btn-block,
	.property-filters__submit,
	.contact-page__form button,
	.contact-page__form input[type="submit"],
	.estimation-page__form button,
	.estimation-page__form input[type="submit"],
	form .btn-block {
		width: 100%;
		max-width: 100%;
	}


	/* --------------------------------------------------------
	   BOUTONS DES CARTES IMMOBILIÈRES
	   RESTENT COMPACTS
	-------------------------------------------------------- */

	.property-button,
	.property-card__button {
		display: inline-flex;
		width: fit-content;
		max-width: 100%;
		min-height: 46px;
		height: auto;
		padding: 8px 9px 8px 17px;
		white-space: nowrap;
	}


	/* --------------------------------------------------------
	   SECTIONS
	-------------------------------------------------------- */

	section {
		overflow: hidden;
	}

	.featured-properties,
	.services,
	.estimation,
	.financing,
	.cta,
	.buy-search-section,
	.buy-process-section,
	.buy-finance-section,
	.buy-advice-section,
	.buy-cta-section,
	.sell-intro-section,
	.sell-process-section,
	.sell-services-section,
	.sell-estimation-section,
	.sell-properties-section,
	.sell-cta-section,
	.financing-page-intro,
	.financing-page-services,
	.financing-page-process,
	.financing-page-info,
	.financing-page-properties,
	.financing-page-cta {
		padding-block: 72px;
	}


	/* --------------------------------------------------------
	   TITRES
	-------------------------------------------------------- */

	.hero h2,
	.buy-section-heading h2,
	.sell-section-heading h2,
	.financing-page-heading h2,
	.financing-page-intro__content h2,
	.financing-page-info__content h2 {
		font-size: 38px;
		line-height: 1.02;
		letter-spacing: -0.035em;
	}

	.buy-section-heading p,
	.sell-section-heading p,
	.financing-page-heading p {
		font-size: 16px;
		line-height: 1.7;
	}


	/* --------------------------------------------------------
	   PROPERTY GRIDS
	-------------------------------------------------------- */

	.featured-properties__grid,
	.services__grid,
	.buy-featured-grid,
	.buy-process-grid,
	.sell-process-grid,
	.sell-services-grid,
	.financing-page-services__grid,
	.financing-page-process__grid,
	.property-archive__grid,
	.properties-grid,
	.property-grid {
		grid-template-columns: 1fr;
	}


	/* --------------------------------------------------------
	   PROPERTY CARDS
	-------------------------------------------------------- */

	.property-card {
		width: 100%;
		min-width: 0;
	}

	.property-card__image,
	.property-card__media {
		aspect-ratio: 4 / 3;
	}


	/* --------------------------------------------------------
	   FILTERS
	-------------------------------------------------------- */

	.property-filters {
		padding-block: 20px;
	}

	.property-filters__inner {
		width: 100%;
	}

	.property-filters__mobile-toggle {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
	}

	.property-filters__form {
		display: none;
	}

	.property-filters__form.is-open {
		display: block;
	}

	.property-filters__grid {
		grid-template-columns: 1fr;
		gap: 16px;
		padding-top: 20px;
	}

	.property-filter--sort {
		grid-column: auto;
	}

	.property-filters__actions {
		flex-direction: column;
		align-items: stretch;
		padding-top: 20px;
	}

	.property-filters__submit {
		width: 100%;
		justify-content: center;
	}

	.property-filters__reset {
		text-align: center;
	}


	/* --------------------------------------------------------
	   ARCHIVE TOOLBAR
	-------------------------------------------------------- */

	.property-archive__toolbar,
	.property-toolbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}


	/* --------------------------------------------------------
	   SINGLE PROPERTY
	-------------------------------------------------------- */

	.property-single__gallery {
		min-height: 300px;
	}

	.property-single__gallery-main {
		aspect-ratio: 4 / 3;
	}

	.property-single__gallery-thumbnails {
		gap: 8px;
		overflow-x: auto;
		padding-bottom: 6px;
	}

	.property-single__gallery-thumbnail {
		flex: 0 0 72px;
	}

	.property-single__navigation {
		grid-template-columns: 1fr;
		gap: 12px;
	}


	/* --------------------------------------------------------
	   BUY
	-------------------------------------------------------- */

	.buy-process-card,
	.buy-service-card,
	.buy-property-item {
		min-width: 0;
	}

	.buy-finance-card,
	.buy-advice-card {
		padding: 28px 22px;
	}

	.buy-finance-card h2,
	.buy-advice-card h2 {
		font-size: 32px;
		line-height: 1.08;
	}


	/* --------------------------------------------------------
	   SELL
	-------------------------------------------------------- */

	.sell-process-card,
	.sell-service-card {
		padding: 26px 22px;
	}

	.sell-estimation-card {
		padding: 30px 22px;
	}

	.sell-estimation-card h2 {
		font-size: 34px;
		line-height: 1.05;
	}

	.sell-cta {
		padding: 64px 24px;
	}


	/* --------------------------------------------------------
	   FINANCING
	-------------------------------------------------------- */

	.financing-page-service {
		padding: 26px 22px;
	}

	.financing-page-process__item {
		padding-bottom: 28px;
	}

	.financing-page-info__card {
		padding: 30px 22px;
	}

	.financing-page-info__mark {
		display: none;
	}

	.financing-page-cta__inner {
		padding: 64px 24px;
	}

	.financing-page-cta h2 {
		font-size: 40px;
		line-height: 1;
	}


	/* --------------------------------------------------------
	   ESTIMATION
	-------------------------------------------------------- */

	.estimation-page__form,
	.estimation-page__content {
		padding: 24px 18px;
	}

	.estimation-page__form-grid,
	.estimation-form__grid {
		grid-template-columns: 1fr;
	}


	/* --------------------------------------------------------
	   CONTACT
	-------------------------------------------------------- */

	.contact-page__hero {
		padding-block: 72px 56px;
	}

	.contact-page__hero h1 {
		font-size: 46px;
		line-height: 1;
	}

	.contact-page__form,
	.contact-page__info-card {
		padding: 26px 20px;
	}

	.contact-page__form-grid {
		grid-template-columns: 1fr;
	}


	/* --------------------------------------------------------
	   LOCATION
	-------------------------------------------------------- */

	.location-hero {
		padding-block: 72px 60px;
	}

	.location-hero-inner {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.location-hero-content {
		width: 100%;
		max-width: 100%;
	}

	.location-hero-content h1 {
		font-size: clamp(42px, 13vw, 62px);
		line-height: .96;
		letter-spacing: -0.045em;
	}

	.location-hero-content p {
		font-size: 16px;
		line-height: 1.7;
	}

	.location-hero-actions {
		width: 100%;
	}

	.location-hero-visual {
		width: 100%;
		min-height: 280px;
	}

	.location-intro-section,
	.location-properties-section,
	.location-process-section,
	.location-dossier-section,
	.location-cta-section {
		padding-block: 64px;
	}

	.location-intro-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.location-properties-grid,
	.location-process-grid {
		grid-template-columns: 1fr;
	}

	.location-property-item {
		min-width: 0;
	}

	.location-dossier-card {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 30px 22px;
	}

	.location-dossier-action {
		width: 100%;
	}

	.location-cta {
		padding: 56px 22px;
	}

	.location-cta h2 {
		font-size: 38px;
		line-height: 1.02;
	}


	/* --------------------------------------------------------
	   CTA
	-------------------------------------------------------- */

	.cta__inner,
	.cta__content {
		padding: 56px 22px;
	}

	.cta h2 {
		font-size: 38px;
		line-height: 1.02;
	}

}


/* ==========================================================
   SMALL MOBILE — 480 PX
   ========================================================== */

@media (max-width: 480px) {

	.container {
		width: calc(100% - 24px);
	}


	/* --------------------------------------------------------
	   HEADER
	-------------------------------------------------------- */

	.site-header__inner {
		padding-inline: 12px;
	}

	.site-branding__logo {
		width: 96px;
	}


	/* --------------------------------------------------------
	   HERO
	-------------------------------------------------------- */

	.hero,
	.buy-hero,
	.sell-hero,
	.financing-page-hero {
		padding-block: 64px 52px;
	}

	.hero h1,
	.buy-hero h1,
	.sell-hero h1,
	.financing-page-hero h1 {
		font-size: 40px;
	}

	.hero p,
	.buy-hero p,
	.sell-hero p,
	.financing-page-hero p {
		font-size: 15px;
	}


	/* --------------------------------------------------------
	   BOUTONS
	-------------------------------------------------------- */

	.btn,
	.button,
	.hero-button,
	.buy-button,
	.sell-button,
	.financing-page-button,
	.estimation-page-button,
	.contact-page-button,
	.error-404__button {
		min-height: 48px;
		height: 48px;
		padding: 0 18px;
		font-size: 14px;
		max-width: 100%;
	}

	.hero__actions .hero-button,
	.hero-buttons .hero-button,
	.buy-hero-actions .buy-button,
	.sell-hero-actions .sell-button,
	.financing-page-hero__actions .financing-page-button,
	.estimation-page-hero__actions .estimation-page-button,
	.estimation-page-hero__actions .hero-button,
	.location-hero-actions .location-button,
	.cta-buttons a {
		width: 100%;
		max-width: 100%;
	}


	/* --------------------------------------------------------
	   BOUTONS CARTES
	-------------------------------------------------------- */

	.property-button,
	.property-card__button {
		width: fit-content;
		max-width: 100%;
		min-height: 44px;
		height: auto;
		padding: 7px 8px 7px 15px;
		font-size: 13px;
	}


	/* --------------------------------------------------------
	   EXCEPTIONS FORMULAIRES
	-------------------------------------------------------- */

	.btn-block,
	.property-filters__submit,
	.contact-page__form button,
	.contact-page__form input[type="submit"],
	.estimation-page__form button,
	.estimation-page__form input[type="submit"],
	form .btn-block {
		width: 100%;
	}


	/* --------------------------------------------------------
	   TITRES
	-------------------------------------------------------- */

	.buy-section-heading h2,
	.sell-section-heading h2,
	.financing-page-heading h2,
	.financing-page-intro__content h2 {
		font-size: 34px;
	}


	/* --------------------------------------------------------
	   PROPERTY
	-------------------------------------------------------- */

	.property-card__content {
		padding: 18px;
	}

	.property-card__title {
		font-size: 22px;
	}

	.property-single__gallery {
		min-height: 250px;
	}


	/* --------------------------------------------------------
	   LOCATION
	-------------------------------------------------------- */

	.location-hero {
		padding-block: 60px 50px;
	}

	.location-hero-content h1 {
		font-size: 40px;
	}

	.location-hero-content p {
		font-size: 15px;
	}

	.location-hero-visual {
		min-height: 240px;
	}

	.location-intro-section,
	.location-properties-section,
	.location-process-section,
	.location-dossier-section,
	.location-cta-section {
		padding-block: 56px;
	}

	.location-dossier-card {
		padding: 26px 18px;
	}

	.location-cta {
		padding: 50px 18px;
	}

	.location-cta h2 {
		font-size: 34px;
	}


	/* --------------------------------------------------------
	   FOOTER
	-------------------------------------------------------- */

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
	}

	.site-footer__legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}


	/* --------------------------------------------------------
	   SPACING
	-------------------------------------------------------- */

	.featured-properties,
	.services,
	.estimation,
	.financing,
	.cta,
	.buy-search-section,
	.buy-process-section,
	.buy-finance-section,
	.buy-advice-section,
	.buy-cta-section,
	.sell-intro-section,
	.sell-process-section,
	.sell-services-section,
	.sell-estimation-section,
	.sell-properties-section,
	.sell-cta-section,
	.financing-page-intro,
	.financing-page-services,
	.financing-page-process,
	.financing-page-info,
	.financing-page-properties,
	.financing-page-cta {
		padding-block: 56px;
	}

}


/* ==========================================================
   TOUCH DEVICES
   ========================================================== */

@media (hover: none) and (pointer: coarse) {

	a,
	button,
	select,
	input,
	textarea {
		-webkit-tap-highlight-color: transparent;
	}

	.property-card:hover,
	.buy-process-card:hover,
	.sell-process-card:hover,
	.sell-service-card:hover,
	.financing-page-service:hover {
		transform: none;
	}

}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

}
