/* ==========================================================================
   Amirtech – thème enfant Divi pour siao.bf
   Les réglages de module Divi (polices, couleurs) gardent la priorité :
   ces règles définissent la base typographique, l'en-tête, le pied de page,
   les cartes, le popup badge et la responsivité.
   ========================================================================== */

:root {
	--am-blue: #0258ad;
	--am-blue-dark: #063e7a;
	--am-navy: #06285a;
	--am-green: #0a883e;
	--am-green-dark: #046e2e;
	--am-red: #e90f20;
	--am-red-dark: #b80c19;
	--am-ocre: var(--am-green);
	--am-terre: var(--am-green-dark);
	--am-sand: #f6f1e8;
	--am-ink: #1b1d22;
	--am-muted: #5e6472;
	--am-line: #e6e1d8;
	--am-white: #ffffff;
	--am-font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
	--am-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--am-radius: 18px;
	--am-shadow: 0 24px 60px -28px rgba(6, 62, 122, 0.35);
	--am-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base typographique
   -------------------------------------------------------------------------- */
body.amirtech {
	font-family: var(--am-font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--am-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.amirtech h1,
body.amirtech h2,
body.amirtech h3,
body.amirtech h4,
body.amirtech h5,
body.amirtech h6 {
	font-family: var(--am-font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--am-blue-dark);
}

body.amirtech a {
	color: var(--am-blue);
	transition: color 0.2s var(--am-ease);
}

body.amirtech a:hover {
	color: var(--am-ocre);
}

body.amirtech ::selection {
	background: var(--am-ocre);
	color: #fff;
}

body.amirtech img {
	height: auto;
	max-width: 100%;
}

body.amirtech :focus-visible {
	outline: 3px solid var(--am-ocre);
	outline-offset: 3px;
}

body.amirtech sup {
	font-size: 0.55em;
	line-height: 0;
	vertical-align: super;
}

/* Boutons Divi côte à côte (classe am-inline sur le module Bouton ; Divi 5 pose la classe sur le lien) */
body.amirtech .et_pb_button_module_wrapper.am-inline,
body.amirtech .am-inline.et_pb_button_module_wrapper,
body.amirtech .et_pb_button_module_wrapper:has(> a.am-inline),
body.amirtech .et_pb_module.am-inline {
	display: inline-block;
	vertical-align: middle;
	margin-right: 14px;
	margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   En-tête Divi
   -------------------------------------------------------------------------- */
body.amirtech #top-header {
	background: var(--am-navy);
	font-family: var(--am-font-body);
	font-size: 13px;
}

body.amirtech #top-header a,
body.amirtech #et-info a,
body.amirtech #et-info-phone,
body.amirtech #et-info-email {
	color: rgba(255, 255, 255, 0.85);
}

body.amirtech #main-header {
	box-shadow: 0 1px 0 rgba(14, 46, 92, 0.06);
	transition: box-shadow 0.3s var(--am-ease);
}

body.amirtech.am-scrolled #main-header {
	box-shadow: 0 12px 32px -20px rgba(14, 46, 92, 0.4);
}

body.amirtech #logo {
	max-height: 64px;
}

body.amirtech #top-menu > li > a {
	font-family: var(--am-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--am-blue-dark);
}

body.amirtech #top-menu > li > a:hover,
body.amirtech #top-menu > li.current-menu-item > a,
body.amirtech #top-menu > li.current-menu-ancestor > a {
	color: var(--am-ocre);
	opacity: 1;
}

body.amirtech #top-menu li li a {
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
}

body.amirtech #top-menu li ul {
	border-color: var(--am-ocre);
	border-radius: 0 0 12px 12px;
	box-shadow: var(--am-shadow);
}

/* Lien de menu « Créer mon badge » (URL #amirtech-badge) rendu en bouton */
body.amirtech #top-menu > li.am-menu-cta > a {
	background: var(--am-red);
	color: #fff;
	border-radius: 999px;
	padding: 10px 20px !important;
	margin-top: -10px;
	transition: background 0.2s var(--am-ease), transform 0.2s var(--am-ease);
}

body.amirtech #top-menu > li.am-menu-cta > a:hover {
	background: var(--am-red-dark);
	color: #fff;
	transform: translateY(-1px);
}

body.amirtech #et_mobile_nav_menu .mobile_menu_bar:before {
	color: var(--am-blue-dark);
}

body.amirtech .et_mobile_menu {
	border-top: 3px solid var(--am-ocre);
	border-radius: 0 0 14px 14px;
	box-shadow: var(--am-shadow);
}

body.amirtech .et_mobile_menu li a {
	font-family: var(--am-font-body);
	font-weight: 600;
	color: var(--am-blue-dark);
}

body.amirtech .et_mobile_menu li.am-menu-cta a {
	color: var(--am-red);
}

/* --------------------------------------------------------------------------
   Boutons Divi
   -------------------------------------------------------------------------- */
body.amirtech .et_pb_button {
	font-family: var(--am-font-body);
	font-weight: 600;
	letter-spacing: 0.02em;
	border-radius: 999px;
	transition: transform 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease), background 0.2s var(--am-ease), color 0.2s var(--am-ease);
}

body.amirtech .et_pb_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   Classes utilitaires pour les modules Divi (champ « Classe CSS » du module)
   -------------------------------------------------------------------------- */
body.amirtech .am-kicker {
	font-family: var(--am-font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--am-ocre);
}

body.amirtech .am-rounded img,
body.amirtech .am-rounded .et_pb_video_box,
body.amirtech .am-rounded video,
body.amirtech .am-rounded iframe {
	border-radius: var(--am-radius);
	overflow: hidden;
}

body.amirtech .am-rounded .et_pb_image_wrap {
	border-radius: var(--am-radius);
	overflow: hidden;
	box-shadow: var(--am-shadow);
}

/* Cartes (blurbs, textes) */
body.amirtech .am-card {
	background: #fff;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius);
	padding: 34px 30px;
	height: 100%;
	transition: transform 0.3s var(--am-ease), box-shadow 0.3s var(--am-ease), border-color 0.3s var(--am-ease);
}

body.amirtech .am-card:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--am-shadow);
}

body.amirtech .am-card--dark {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
}

body.amirtech .am-card--dark:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
}

body.amirtech .am-card .et_pb_main_blurb_image {
	margin-bottom: 18px;
}

body.amirtech .am-card .et-pb-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--am-sand);
	font-size: 28px !important;
}

body.amirtech .am-card--dark .et-pb-icon {
	background: rgba(255, 255, 255, 0.12);
}

/* Divi 5 (mode compatibilité) ne joue pas l'animation d'entrée des icônes : on les affiche directement. */
body.amirtech .et-pb-icon.et-waypoint,
body.amirtech .et_pb_blurb .et-pb-icon {
	opacity: 1 !important;
	animation: none !important;
}

body.amirtech .am-cards .et_pb_column {
	display: flex;
	flex-direction: column;
}

body.amirtech .am-cards .et_pb_column > .et_pb_module {
	flex: 1 1 auto;
}

/* Grands chiffres */
body.amirtech .am-stat h3,
body.amirtech .am-stat .am-stat__n {
	font-family: var(--am-font-head);
	font-size: clamp(32px, 3.6vw, 46px);
	color: var(--am-ocre);
	line-height: 1;
	margin: 0 0 10px;
	white-space: nowrap;
	letter-spacing: -0.03em;
}

body.amirtech .am-stat h3 sup {
	font-size: 0.5em;
	vertical-align: top;
	line-height: 1;
}

body.amirtech .am-stat p {
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

/* Liste à puces stylée */
body.amirtech .am-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

body.amirtech .am-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

body.amirtech .am-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--am-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Témoignages */
body.amirtech .am-quote.et_pb_testimonial {
	background: #fff;
	border-radius: var(--am-radius);
	border: 1px solid var(--am-line);
	box-shadow: none;
	padding: 36px 36px 36px 120px;
}

body.amirtech .am-quote .et_pb_testimonial_description {
	font-style: italic;
	color: var(--am-ink);
}

body.amirtech .am-quote .et_pb_testimonial_author {
	font-family: var(--am-font-body);
	font-weight: 700;
	color: var(--am-blue-dark);
}

/* Accordéon / FAQ */
body.amirtech .am-faq .et_pb_toggle {
	border: 1px solid var(--am-line);
	border-radius: 14px;
	background: #fff;
	margin-bottom: 12px;
	padding: 20px 24px;
}

body.amirtech .am-faq .et_pb_toggle_title {
	font-family: var(--am-font-body);
	font-weight: 600;
	font-size: 17px;
	color: var(--am-blue-dark);
}

body.amirtech .am-faq .et_pb_toggle_open {
	border-color: var(--am-ocre);
}

/* Carte Google Maps intégrée (module Code) */
body.amirtech .am-map iframe {
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
	border-radius: var(--am-radius);
	display: block;
}

/* Formulaire SureForms dans Divi */
body.amirtech .am-form .srfm-form-container {
	background: #fff;
	border-radius: var(--am-radius);
	padding: 8px;
}

/* Pleine largeur sur les pages construites avec Divi, même si une barre latérale est configurée. */
body.amirtech.et_pb_pagebuilder_layout.et_full_width_page #main-content .container {
	padding-top: 0;
}

/* --------------------------------------------------------------------------
   Pied de page Divi
   -------------------------------------------------------------------------- */
body.amirtech #main-footer {
	background: var(--am-navy);
	color: rgba(255, 255, 255, 0.78);
}

body.amirtech #main-footer .footer-widget h4.title,
body.amirtech #main-footer .footer-widget h4 {
	font-family: var(--am-font-head);
	color: #fff;
}

body.amirtech #main-footer .footer-widget li:before {
	border-color: var(--am-ocre);
}

body.amirtech #footer-bottom {
	background: rgba(0, 0, 0, 0.3);
	padding: 22px 0;
}

body.amirtech #footer-info {
	font-family: var(--am-font-body);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}

body.amirtech #footer-info a {
	color: #fff;
}

body.amirtech .et-social-icons a {
	color: rgba(255, 255, 255, 0.8);
}

body.amirtech .et-social-icons a:hover {
	color: var(--am-ocre);
}

/* --------------------------------------------------------------------------
   Blog et barre latérale
   -------------------------------------------------------------------------- */
body.amirtech #left-area .et_pb_post {
	background: #fff;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius);
	padding: 28px;
	margin-bottom: 32px;
}

body.amirtech #left-area .et_pb_post .entry-featured-image-url img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

body.amirtech #left-area .et_pb_post .entry-featured-image-url img,
body.amirtech #left-area .et_pb_post .entry-featured-image-url {
	border-radius: 12px;
	overflow: hidden;
}

body.amirtech #sidebar .widget_search input,
body.amirtech #sidebar .widgettitle {
	font-family: var(--am-font-body);
}

body.amirtech #sidebar .widgettitle {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--am-blue-dark);
}

/* --------------------------------------------------------------------------
   Boutons Amirtech (shortcode / popup)
   -------------------------------------------------------------------------- */
body.amirtech .am-btn,
.am-popup .am-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 12px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--am-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--am-ease), box-shadow 0.2s var(--am-ease), background 0.2s var(--am-ease), color 0.2s var(--am-ease), border-color 0.2s var(--am-ease);
}

.am-btn--primary {
	background: var(--am-red);
	color: #fff !important;
	box-shadow: 0 12px 28px -14px rgba(233, 15, 32, 0.8);
}

.am-btn--primary:hover {
	background: var(--am-red-dark);
	transform: translateY(-2px);
}

.am-btn--blue {
	background: var(--am-blue);
	color: #fff !important;
}

.am-btn--blue:hover {
	background: var(--am-blue-dark);
	transform: translateY(-2px);
}

.am-btn--white {
	background: #fff;
	color: var(--am-blue-dark) !important;
}

.am-btn--white:hover {
	background: var(--am-sand);
	transform: translateY(-2px);
}

.am-btn--ghost {
	background: transparent;
	border-color: var(--am-line);
	color: var(--am-muted) !important;
}

.am-btn--ghost:hover {
	border-color: var(--am-blue-dark);
	color: var(--am-blue-dark) !important;
}

/* --------------------------------------------------------------------------
   Popup badge « J'y serai »
   -------------------------------------------------------------------------- */
.am-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.25s var(--am-ease);
}

.am-popup[hidden] {
	display: none;
}

.am-popup.is-open {
	opacity: 1;
}

.am-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 28, 58, 0.66);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.am-popup__card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	width: min(900px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: 22px;
	border: 3px solid var(--am-green);
	box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.55);
	transform: translateY(18px) scale(0.98);
	transition: transform 0.35s var(--am-ease);
	outline: none;
	font-family: var(--am-font-body);
	color: var(--am-ink);
}

.am-popup.is-open .am-popup__card {
	transform: none;
}

.am-popup__card:focus,
.am-popup__card:focus-visible {
	outline: none;
}

.am-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--am-blue-dark);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s var(--am-ease), background 0.2s var(--am-ease);
}

.am-popup__close:hover {
	transform: rotate(90deg);
	background: var(--am-sand);
}

.am-popup__media {
	position: relative;
	min-height: 420px;
	background: var(--am-sand) center top / cover no-repeat;
}

.am-popup__media--pattern {
	background-color: var(--am-blue-dark);
	background-image:
		radial-gradient(circle at 20% 20%, rgba(217, 142, 43, 0.45) 0, transparent 38%),
		radial-gradient(circle at 85% 80%, rgba(45, 154, 78, 0.5) 0, transparent 40%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 10px, transparent 10px 22px),
		linear-gradient(160deg, var(--am-blue) 0%, var(--am-blue-dark) 55%, var(--am-navy) 100%);
}

.am-popup__tag {
	position: absolute;
	top: 18px;
	left: 18px;
	background: #fff;
	color: var(--am-blue-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	padding: 7px 14px;
	border-radius: 999px;
}

.am-popup__stamp {
	position: absolute;
	left: 18px;
	bottom: 24px;
	font-family: var(--am-font-head);
	font-weight: 700;
	font-size: clamp(32px, 4.5vw, 50px);
	line-height: 1;
	color: var(--am-ocre);
	border: 3px solid var(--am-ocre);
	border-radius: 14px;
	padding: 8px 18px;
	transform: rotate(-6deg);
	text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	background: rgba(8, 28, 58, 0.35);
}

.am-popup__body {
	padding: 40px 40px 30px;
}

.am-popup__kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--am-ocre);
}

.am-popup__title {
	margin: 0 0 12px;
	font-family: var(--am-font-head);
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.15;
	color: var(--am-blue-dark);
}

.am-popup__text {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--am-muted);
}

.am-countdown {
	display: flex;
	gap: 10px;
	margin: 0 0 22px;
}

.am-countdown.is-over {
	display: none;
}

.am-countdown__item {
	flex: 1 1 0;
	text-align: center;
	background: var(--am-sand);
	border-radius: 14px;
	padding: 12px 6px 10px;
}

.am-countdown__item span {
	display: block;
	font-family: var(--am-font-head);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: var(--am-blue-dark);
	font-variant-numeric: tabular-nums;
}

.am-countdown__item small {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--am-muted);
}

.am-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.am-popup__note {
	margin: 16px 0 0;
	font-size: 12.5px;
	color: var(--am-muted);
}

body.am-popup-open {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Bouton flottant
   -------------------------------------------------------------------------- */
.am-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px 13px 16px;
	border-radius: 999px;
	background: var(--am-red);
	color: #fff !important;
	font-family: var(--am-font-body);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 18px 40px -16px rgba(184, 12, 25, 0.8);
	transition: transform 0.25s var(--am-ease), box-shadow 0.25s var(--am-ease), background 0.25s var(--am-ease);
	animation: am-float-in 0.6s var(--am-ease) 1.2s both;
}

.am-float:hover {
	background: var(--am-red-dark);
	transform: translateY(-3px);
	box-shadow: 0 24px 48px -16px rgba(184, 12, 25, 0.9);
}

.am-float__icon {
	font-size: 20px;
	line-height: 1;
}

body.am-popup-open .am-float {
	opacity: 0;
	pointer-events: none;
}

@keyframes am-float-in {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Animations (apparition au défilement, survols, compteurs)
   -------------------------------------------------------------------------- */
.am-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--am-ease), transform 0.8s var(--am-ease);
	transition-delay: calc(var(--am-i, 0) * 90ms);
	will-change: opacity, transform;
}

.am-reveal.am-in {
	opacity: 1;
	transform: none;
}

body.amirtech .am-rounded .et_pb_image_wrap img,
body.amirtech .am-rounded img {
	transition: transform 0.9s var(--am-ease);
}

body.amirtech .am-rounded:hover .et_pb_image_wrap img,
body.amirtech .am-rounded:hover img {
	transform: scale(1.05);
}

body.amirtech .am-card .et-pb-icon {
	transition: transform 0.35s var(--am-ease), background 0.35s var(--am-ease), color 0.35s var(--am-ease);
}

body.amirtech .am-card:hover .et-pb-icon {
	transform: translateY(-4px) rotate(-6deg);
	background: var(--am-green);
	color: #fff !important;
}

body.amirtech .am-kicker p {
	position: relative;
	display: inline-block;
	padding-left: 34px;
}

body.amirtech .am-kicker p::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
	transform: translateY(-50%) scaleX(0);
	transform-origin: left center;
	transition: transform 0.6s var(--am-ease) 0.2s;
}

body.amirtech .am-in .am-kicker p::before,
body.amirtech .am-kicker.am-in p::before {
	transform: translateY(-50%) scaleX(1);
}

body.amirtech .et_pb_text_align_center .am-kicker p,
body.amirtech .am-kicker.et_pb_text_align_center p {
	padding-left: 0;
}

body.amirtech .et_pb_text_align_center .am-kicker p::before,
body.amirtech .am-kicker.et_pb_text_align_center p::before {
	display: none;
}

.am-float {
	animation: am-float-in 0.6s var(--am-ease) 1.2s both, am-pulse 2.8s ease-in-out 3s infinite;
}

@keyframes am-pulse {
	0%, 100% { box-shadow: 0 18px 40px -16px rgba(184, 12, 25, 0.8), 0 0 0 0 rgba(233, 15, 32, 0.45); }
	50% { box-shadow: 0 18px 40px -16px rgba(184, 12, 25, 0.8), 0 0 0 12px rgba(233, 15, 32, 0); }
}

body.amirtech .et_pb_countdown_timer .section.values {
	transition: transform 0.2s var(--am-ease);
}

/* --------------------------------------------------------------------------
   Actualités : grille d'articles (module Blog Divi, classe am-blog) et article seul
   -------------------------------------------------------------------------- */
body.amirtech .am-blog .et_pb_post {
	background: #fff;
	border: 1px solid var(--am-line);
	border-radius: var(--am-radius);
	overflow: hidden;
	padding: 0 !important;
	margin-bottom: 30px;
	transition: transform 0.35s var(--am-ease), box-shadow 0.35s var(--am-ease);
}

body.amirtech .am-blog .et_pb_post:hover {
	transform: translateY(-6px);
	box-shadow: var(--am-shadow);
}

body.amirtech .am-blog .et_pb_post .entry-featured-image-url {
	display: block;
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--am-sand);
}

body.amirtech .am-blog .et_pb_post .entry-featured-image-url img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--am-ease);
}

body.amirtech .am-blog .et_pb_post:hover .entry-featured-image-url img {
	transform: scale(1.06);
}

body.amirtech .am-blog .et_pb_post .entry-title {
	margin: 20px 24px 8px;
	font-family: var(--am-font-head);
	font-size: 19px;
	line-height: 1.3;
}

body.amirtech .am-blog .et_pb_post .entry-title a {
	color: var(--am-blue-dark);
}

body.amirtech .am-blog .et_pb_post .entry-title a:hover {
	color: var(--am-green);
}

body.amirtech .am-blog .et_pb_post .post-meta {
	margin: 0 24px 10px;
	font-size: 13px;
	color: var(--am-muted);
}

body.amirtech .am-blog .et_pb_post .post-meta a {
	color: var(--am-green);
}

body.amirtech .am-blog .et_pb_post .post-content {
	padding: 0 24px 24px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--am-muted);
}

body.amirtech .am-blog .et_pb_post .more-link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
	color: var(--am-blue);
}

body.amirtech .am-blog .pagination a,
body.amirtech .am-blog .et_pb_ajax_pagination_container a {
	font-weight: 700;
	color: var(--am-blue);
}

body.amirtech.single-post #main-content .container {
	padding-top: 0;
}

body.amirtech.single-post #left-area {
	width: 100%;
	max-width: 860px;
	float: none;
	margin: 0 auto;
	padding: 50px 20px 70px;
}

body.amirtech.single-post #sidebar {
	display: none;
}

body.amirtech.single-post #main-content .container::before {
	display: none;
}

body.amirtech.single-post .entry-title {
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	margin-bottom: 10px;
}

body.amirtech.single-post .et_post_meta_wrapper img {
	border-radius: var(--am-radius);
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

body.amirtech.single-post .entry-content {
	font-size: 18px;
	line-height: 1.8;
}

body.amirtech.single-post .entry-content h2 {
	margin-top: 1.6em;
	font-size: 26px;
}

body.amirtech.single-post .post-meta {
	font-size: 14px;
	color: var(--am-muted);
	margin-bottom: 24px;
}

body.amirtech.single-post .nav-single a {
	font-weight: 700;
	color: var(--am-blue);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
	body.amirtech {
		font-size: 16px;
	}

	body.amirtech .am-card {
		padding: 28px 24px;
	}

	body.amirtech .am-quote.et_pb_testimonial {
		padding: 32px 28px 32px 100px;
	}
}

@media (max-width: 767px) {
	body.amirtech .et_pb_section {
		padding-left: 0;
		padding-right: 0;
	}

	body.amirtech .am-cards .et_pb_column {
		margin-bottom: 20px;
	}

	body.amirtech .am-quote.et_pb_testimonial {
		padding: 90px 24px 28px;
	}

	.am-popup {
		padding: 10px;
		align-items: flex-end;
	}

	.am-popup__card {
		grid-template-columns: 1fr;
		border-radius: 18px;
	}

	.am-popup__media {
		min-height: 230px;
		background-size: cover;
		background-position: center 20%;
	}

	.am-popup__stamp {
		font-size: 30px;
		bottom: 16px;
	}

	.am-popup__body {
		padding: 22px 20px 20px;
	}

	.am-countdown__item span {
		font-size: 22px;
	}

	.am-popup__actions .am-btn {
		flex: 1 1 100%;
	}

	.am-float {
		right: 14px;
		bottom: 14px;
		padding: 12px 16px;
	}

	.am-float__label {
		font-size: 13px;
	}
}

@media (max-width: 420px) {
	.am-float__label {
		display: none;
	}

	.am-float {
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.am-popup,
	.am-popup__card,
	.am-float,
	body.amirtech .am-card,
	body.amirtech .et_pb_button {
		transition: none;
		animation: none;
	}
}

/* --------------------------------------------------------------------------
   Sélecteur de langue WPML (FR | EN) dans le menu principal et le menu mobile
   -------------------------------------------------------------------------- */
body.amirtech #top-menu > li.wpml-ls-menu-item > a {
	font-size: 12px;
	letter-spacing: 0.1em;
	padding-left: 10px !important;
	padding-right: 10px !important;
	color: var(--am-blue-dark);
	opacity: 0.55;
	transition: opacity 0.2s var(--am-ease), color 0.2s var(--am-ease);
}

body.amirtech #top-menu > li.wpml-ls-menu-item > a:hover,
body.amirtech #top-menu > li.wpml-ls-menu-item.wpml-ls-current-language > a {
	opacity: 1;
	color: var(--am-blue);
}

body.amirtech #top-menu > li.wpml-ls-menu-item.wpml-ls-current-language > a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
	text-decoration-color: var(--am-ocre);
}

body.amirtech #top-menu > li.wpml-ls-menu-item.wpml-ls-first-item {
	margin-left: 6px;
	border-left: 1px solid rgba(6, 40, 90, 0.15);
}

body.amirtech #top-menu > li.wpml-ls-menu-item + li.wpml-ls-menu-item {
	padding-left: 0;
}

body.amirtech #top-menu > li.wpml-ls-menu-item {
	padding-right: 0;
}

body.amirtech .wpml-ls-flag {
	width: 18px;
	height: auto;
	border-radius: 2px;
	margin-right: 6px;
	vertical-align: -2px;
}

body.amirtech .et_mobile_menu li.wpml-ls-menu-item {
	display: inline-block;
	width: auto;
	border-bottom: 0;
}

body.amirtech .et_mobile_menu li.wpml-ls-menu-item a {
	display: inline-block;
	padding: 12px 10px;
	letter-spacing: 0.1em;
	font-size: 13px;
	opacity: 0.6;
}

body.amirtech .et_mobile_menu li.wpml-ls-menu-item.wpml-ls-current-language a {
	opacity: 1;
	color: var(--am-blue);
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-color: var(--am-ocre);
}
