/*
Theme Name: Admenio
Theme URI: https://www.admenio.com/
Description: Thème enfant de Hello Elementor pour le site de l'agence Admenio (Google Ads et réseaux sociaux). Design système léger : polices système, aucune image de fond, aucun script tiers.
Author: Creativecom-Bourgogne
Author URI: https://www.creativecom-bourgogne.fr/
Template: hello-elementor
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: admenio
*/

/* ==========================================================================
   1. Variables et base
   ========================================================================== */
:root {
	--am-blue: #325ba0;
	--am-navy: #253371;
	--am-deep: #141c45;
	--am-accent: #ffb400;
	--am-ink: #1b2140;
	--am-text: #3c4257;
	--am-muted: #5a6175;
	--am-soft: #f4f6fb;
	--am-line: #e1e6f0;
	--am-radius: 16px;
	--am-shadow: 0 10px 30px -12px rgba(37, 51, 113, .22);
	--am-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--am-text);
	font-family: var(--am-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--am-blue); }
a:hover { color: var(--am-navy); }
h1, h2, h3, h4 { color: var(--am-ink); font-family: var(--am-font); }
:focus-visible { outline: 3px solid var(--am-accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap; border: 0;
}
.am-skip {
	position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--am-accent);
	color: var(--am-navy); font-weight: 700; border-radius: 8px; text-decoration: none;
}
.am-skip:focus { top: 12px; }
.am-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* ==========================================================================
   2. En-tête et navigation
   ========================================================================== */
.am-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--am-line); }
.am-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.am-logo { display: inline-flex; align-items: center; line-height: 0; }
.am-logo img { display: block; width: auto; height: 25px; }
.am-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.am-nav a {
	display: block; padding: 10px 16px; border-radius: 10px; color: var(--am-ink); font-size: .975rem; font-weight: 600;
	text-decoration: none; transition: background-color .2s, color .2s;
}
.am-nav a:hover { background: var(--am-soft); color: var(--am-blue); }
.am-nav .current-menu-item > a { color: var(--am-blue); box-shadow: inset 0 -3px 0 var(--am-blue); border-radius: 10px 10px 0 0; }
.am-nav .menu-cta > a { margin-left: 8px; background: var(--am-accent); color: var(--am-navy); box-shadow: none; border-radius: 10px; }
.am-nav .menu-cta > a:hover { background: #ffc233; color: var(--am-navy); }
.am-burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--am-line); border-radius: 12px; background: #fff; cursor: pointer; }
.am-burger span:not(.screen-reader-text) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--am-ink); border-radius: 2px; }

.am-nav__close, .am-overlay { display: none; }
@media (max-width: 900px) {
	.am-burger { display: block; }
	/* Menu mobile : panneau off-canvas qui glisse depuis la droite */
	.am-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 70; width: min(86vw, 360px); padding: 84px 20px 28px; background: #fff; box-shadow: -20px 0 50px -20px rgba(20, 28, 69, .45); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .32s cubic-bezier(.22, .8, .3, 1), visibility 0s linear .32s; }
	.am-nav.is-open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.22, .8, .3, 1), visibility 0s; }
	.am-nav__close { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--am-line); border-radius: 12px; background: #fff; color: var(--am-ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
	.am-overlay { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(20, 28, 69, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
	.am-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
	.am-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
	.am-nav a { padding: 14px 16px; }
	.am-nav .current-menu-item > a { box-shadow: none; background: var(--am-soft); border-radius: 10px; }
	.am-nav .menu-cta > a { margin: 8px 0 0; text-align: center; }
}
html.am-noscroll { overflow: hidden; }

/* ==========================================================================
   3. Pied de page
   ========================================================================== */
.am-footer { background: var(--am-deep); color: rgba(255, 255, 255, .78); font-size: .975rem; }
.am-footer a { color: #fff; text-decoration: none; }
.am-footer a:hover { text-decoration: underline; color: var(--am-accent); }
.am-footer__grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr; padding-block: 64px 40px; }
.am-footer__logo img { display: block; height: 25px; width: auto; filter: brightness(0) invert(1); }
.am-footer__t { margin: 0 0 14px; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .02em; }
.am-footer p { margin: 16px 0 0; max-width: 34ch; }
.am-footer ul { margin: 0; padding: 0; list-style: none; }
.am-footer li + li { margin-top: 8px; }
.am-footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; font-size: .9rem; }
.am-footer__bar .am-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 800px) { .am-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 28px; } }

/* ==========================================================================
   4. Typographie des sections Elementor
   ========================================================================== */
.elementor .elementor-heading-title { font-family: var(--am-font); }
.elementor .am-h1 .elementor-heading-title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; color: var(--am-ink); margin: 0; }
.elementor .am-h2 .elementor-heading-title { font-size: clamp(1.65rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -.018em; color: var(--am-ink); margin: 0; }
.elementor .am-h3 .elementor-heading-title { font-size: 1.15rem; line-height: 1.3; font-weight: 700; color: var(--am-ink); margin: 0; }
.elementor .am-eyebrow .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--am-blue); margin: 0;
}
.elementor .am-eyebrow .elementor-heading-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--am-accent); }
.elementor .am-lead, .elementor .am-lead p { font-size: 1.2rem; line-height: 1.6; color: var(--am-text); margin: 0; }
.elementor .am-p, .elementor .am-p p { color: var(--am-text); margin: 0 0 1em; }
.elementor .am-p p:last-child { margin-bottom: 0; }
.elementor .am-center, .elementor .am-center .elementor-heading-title, .elementor .am-center p { text-align: center; }
.e-con.am-narrow { max-width: 780px; margin-inline: auto; }
.e-con.am-w800 { max-width: 800px; }
.e-con.am-center > .e-con { justify-content: center; }
.elementor .am-small, .elementor .am-small p { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--am-muted); text-align: center; }

/* Sections sombres */
.elementor .am-dark .elementor-heading-title { color: #fff; }
.elementor .am-dark .am-eyebrow .elementor-heading-title { color: var(--am-accent); }
.elementor .am-dark .am-lead, .elementor .am-dark .am-lead p, .elementor .am-dark .am-p, .elementor .am-dark .am-p p { color: rgba(255, 255, 255, .86); }
.e-con.am-hero { position: relative; overflow: hidden; }
.e-con.am-hero::before {
	content: ""; position: absolute; inset: auto -10% -55% auto; width: 62%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 180, 0, .28), rgba(255, 180, 0, 0) 68%); pointer-events: none;
}


/* ==========================================================================
   5. Boutons
   ========================================================================== */
.elementor .am-btn .elementor-button {
	padding: 15px 28px; border-radius: 12px; background: var(--am-accent); color: var(--am-navy); font-family: var(--am-font);
	font-size: 1rem; font-weight: 700; line-height: 1.2; border: 2px solid var(--am-accent); transition: transform .2s, box-shadow .2s, background-color .2s;
}
.elementor .am-btn .elementor-button:hover { background: #ffc233; border-color: #ffc233; color: var(--am-navy); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(255, 180, 0, .8); }
.elementor .am-btn--ghost .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.elementor .am-btn--ghost .elementor-button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.elementor .am-btn--blue .elementor-button { background: var(--am-blue); border-color: var(--am-blue); color: #fff; }
.elementor .am-btn--blue .elementor-button:hover { background: var(--am-navy); border-color: var(--am-navy); color: #fff; box-shadow: 0 12px 24px -12px rgba(37, 51, 113, .8); }

/* ==========================================================================
   6. Grilles et cartes
   ========================================================================== */
body .e-con.am-grid { --display: grid; display: grid; grid-template-columns: 1fr; --row-gap: 24px; --column-gap: 24px; gap: 24px; width: 100%; }
@media (min-width: 620px) {
	body .e-con.am-g2, body .e-con.am-g3, body .e-con.am-g4, body .e-con.am-g6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
	body .e-con.am-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body .e-con.am-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body .e-con.am-g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body .e-con.am-split { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
}
@media (min-width: 620px) { body .e-con.am-split { grid-template-columns: 1fr; } }
@media (min-width: 980px) { body .e-con.am-split { grid-template-columns: 1.05fr .95fr; } }

.e-con.am-card {
	--gap: 14px; --row-gap: 14px; --column-gap: 14px; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--am-line);
	border-radius: var(--am-radius); transition: transform .25s, box-shadow .25s, border-color .25s; align-items: flex-start;
}
.e-con.am-card:hover { transform: translateY(-4px); box-shadow: var(--am-shadow); border-color: transparent; }
.e-con.am-card--soft { background: var(--am-soft); border-color: transparent; }
.elementor .am-card .am-card__d, .elementor .am-card .am-card__d p { margin: 0; font-size: 1rem; color: var(--am-muted); }
.elementor .am-ico { display: grid; place-items: center; flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border-radius: 50%; background: var(--am-blue); }
.elementor .am-ico img { width: auto; height: auto; max-width: 34px; max-height: 34px; display: block; }
.elementor .am-ico--navy { background: var(--am-navy); }
/* Conteneurs internes : pas de marge par défaut d'Elementor (alignement sur le texte) */
body .e-con.e-child:not(.am-card):not(.am-stat):not(.am-formcard) { padding: 0; }

/* Chiffres clés */
.e-con.am-stat { --gap: 6px; gap: 6px; align-items: flex-start; padding-block: 8px; border-left: 3px solid var(--am-accent); padding-left: 20px; }
.elementor .am-stat__n .elementor-heading-title { font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; margin: 0; }
.elementor .am-stat__l, .elementor .am-stat__l p { margin: 0; font-size: 1rem; color: rgba(255, 255, 255, .82); }
.e-con.am-stat--light .am-stat__n .elementor-heading-title { color: var(--am-blue); }
.elementor .am-stat--light .am-stat__l, .elementor .am-stat--light .am-stat__l p { color: var(--am-text); }

/* Logos clients */
.e-con.am-logos { --display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; --gap: 32px 48px; gap: 32px 48px; width: 100%; }
.elementor .am-logos .elementor-widget { width: auto; flex: 0 0 auto; }
.elementor .am-logos img { display: block; width: auto; height: auto; max-height: 44px; max-width: 168px; opacity: .95; }
.elementor .am-logos img:hover { filter: brightness(.6); }

/* Illustrations et pastilles */
.elementor .am-shot img { width: 100%; height: auto; border-radius: var(--am-radius); box-shadow: var(--am-shadow); border: 1px solid var(--am-line); background: #fff; }
.elementor .am-chip .elementor-heading-title {
	display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .95rem; font-weight: 600; margin: 0;
}
.e-con.am-chips { --display: flex; flex-direction: row; flex-wrap: wrap; --gap: 10px; gap: 10px; }
.elementor .am-chips .elementor-widget { width: auto; }

/* ==========================================================================
   7. Formulaire de contact (WPForms)
   ========================================================================== */
.e-con.am-formcard { padding: clamp(20px, 4vw, 44px); background: #fff; border: 1px solid var(--am-line); border-radius: 20px; box-shadow: var(--am-shadow); width: 100%; max-width: 760px; margin-inline: auto; }
body div.wpforms-container-full .wpforms-form .wpforms-field-label { font-family: var(--am-font); font-weight: 600; font-size: .95rem; color: var(--am-ink); }
body div.wpforms-container-full .wpforms-form input[type=text],
body div.wpforms-container-full .wpforms-form input[type=email],
body div.wpforms-container-full .wpforms-form input[type=tel],
body div.wpforms-container-full .wpforms-form input[type=url],
body div.wpforms-container-full .wpforms-form select,
body div.wpforms-container-full .wpforms-form textarea {
	max-width: 100%; padding: 13px 14px; height: auto; border: 1px solid #c9d1e3; border-radius: 10px; background: #fff; color: var(--am-ink); font-family: var(--am-font); font-size: 1rem;
}
body div.wpforms-container-full .wpforms-form input:focus,
body div.wpforms-container-full .wpforms-form select:focus,
body div.wpforms-container-full .wpforms-form textarea:focus { border-color: var(--am-blue); box-shadow: 0 0 0 3px rgba(50, 91, 160, .22); outline: 0; }
body div.wpforms-container-full .wpforms-form .wpforms-submit {
	padding: 15px 30px; height: auto; border: 0; border-radius: 12px; background: var(--am-accent); color: var(--am-navy); font-family: var(--am-font); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s;
}
body div.wpforms-container-full .wpforms-form .wpforms-submit:hover { background: #ffc233; transform: translateY(-2px); }
body div.wpforms-container-full .wpforms-confirmation-container-full { border-radius: 12px; }

/* ==========================================================================
   8. Divers
   ========================================================================== */
.page-content, .site-main { max-width: none; padding: 0; margin: 0; }
.am-legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
@media (max-width: 767px) {
	.e-con.am-card { padding: 22px; }
	.e-con.am-stat { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.e-con.am-card:hover { transform: none; }
}

/* ==========================================================================
   9. Visuel animé du hero (CSS pur : transform et opacity uniquement)
   ========================================================================== */
.am-hv { position: relative; min-height: 440px; }
.am-hv__glow { position: absolute; inset: 6% 2%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 0, .24), rgba(255, 180, 0, 0) 66%); animation: adPulse 6s ease-in-out infinite; }
.am-hv__card { position: absolute; background: #fff; color: var(--am-ink); border-radius: 16px; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .55); }
.am-hv__serp { top: 24px; left: 0; right: 10%; padding: 18px 20px 22px; animation: adFloat 7s ease-in-out infinite; }
.am-hv__search { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--am-line); border-radius: 999px; font-size: .9rem; color: var(--am-muted); }
.am-hv__g { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--am-blue); color: #fff; font-weight: 800; font-size: .8rem; }
.am-hv__q::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--am-blue); animation: adBlink 1s steps(1) infinite; }
.am-hv__ad { display: grid; gap: 4px; margin-top: 16px; font-size: .9rem; line-height: 1.35; }
.am-hv__meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #000; }
.am-hv__tag { padding: 1px 6px; border: 1px solid #000; border-radius: 4px; background: #000; color: #fff; font-weight: 700; font-size: .72rem; }
.am-hv__ad strong { font-size: 1.05rem; color: var(--am-blue); }
.am-hv__ad > span:last-child { color: #000; }
.am-hv__line { height: 8px; margin-top: 12px; border-radius: 4px; background: var(--am-soft); }
.am-hv__line.s { width: 62%; }
.am-hv__chart { right: 0; bottom: 8px; width: 60%; padding: 16px 18px 14px; animation: adFloat 8s ease-in-out -3s infinite; }
.am-hv__lbl { margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--am-muted); }
.am-hv__bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; }
.am-hv__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ffc233, #ffb400); transform-origin: bottom; animation: adGrow 4s ease-in-out var(--d) infinite; }
.am-hv__bars i:nth-child(odd) { background: linear-gradient(180deg, #5b86c9, var(--am-blue)); }
.am-hv__chip { position: absolute; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(20, 28, 69, .78); color: #fff; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.am-hv__chip b { color: var(--am-accent); }
.am-hv__c1 { top: 0; right: 2%; animation: adFloat 6s ease-in-out -1s infinite; }
.am-hv__c2 { top: 46%; left: -4%; animation: adFloat 7s ease-in-out -4s infinite; }
.am-hv__c3 { bottom: 0; left: 6%; animation: adFloat 6.5s ease-in-out -2s infinite; }
@keyframes adFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes adGrow { 0%, 100% { transform: scaleY(.3); } 45%, 70% { transform: scaleY(1); } }
@keyframes adPulse { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes adBlink { 50% { opacity: 0; } }
@media (max-width: 979px) { body .e-con.am-herovis { display: none; } }

/* ==========================================================================
   11. Fond « réseau » animé du hero (canvas, voir footer.php)
   ========================================================================== */
.e-con.am-hero > .e-con-inner { position: static; }
.e-con.am-hero > .e-con-inner > *:not(.am-net-wrap) { position: relative; z-index: 1; }
.e-con.am-hero .am-net-wrap { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; margin: 0; pointer-events: none; }
canvas.am-net { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   12. FAQ (liste d'accordéons natifs <details>, sans JavaScript)
   ========================================================================== */
.am-faq { display: grid; gap: 12px; width: 100%; max-width: 820px; margin-inline: auto; }
.am-faq__i { background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-radius); transition: box-shadow .25s, border-color .25s; }
.am-faq__i[open] { box-shadow: var(--am-shadow); border-color: transparent; }
.am-faq__i summary { position: relative; cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--am-ink); }
.am-faq__i summary::-webkit-details-marker { display: none; }
.am-faq__i summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--am-blue); }
.am-faq__i[open] summary::after { content: "\2212"; }
.am-faq__i summary:focus-visible { outline: 3px solid var(--am-accent); outline-offset: 2px; border-radius: var(--am-radius); }
.am-faq__a { padding: 0 24px 22px; }
.am-faq__a p { margin: 0; font-size: 1rem; color: var(--am-muted); }
@media (max-width: 600px) {
	.am-faq__i summary { padding: 18px 52px 18px 18px; }
	.am-faq__i summary::after { right: 18px; }
	.am-faq__a { padding: 0 18px 20px; }
}

/* ==========================================================================
   13. Chiffres clés : courbes animées (accueil)
   ========================================================================== */
.e-con.am-stat { position: relative; overflow: hidden; }
.e-con.am-stat > .elementor-widget { position: relative; z-index: 1; }
.am-spark { position: absolute; top: 10px; right: 0; width: 46%; height: 42%; z-index: 0; pointer-events: none; overflow: visible; }
.am-spark path { fill: none; stroke: var(--am-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.am-spark .am-spark__l { opacity: .6; clip-path: inset(-3px 100% -3px 0); transition: clip-path 1.6s cubic-bezier(.22, .61, .36, 1) var(--d, 0ms); }
.am-spark .am-spark__a { fill: var(--am-accent); stroke: none; opacity: 0; transition: opacity 1s ease 1s; }
.am-stat.is-in .am-spark__l { clip-path: inset(-3px 0 -3px 0); }
.am-stat.is-in .am-spark__a { opacity: .08; }
@media (max-width: 600px) { .am-spark .am-spark__l { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
	.am-spark .am-spark__l, .am-spark .am-spark__a { transition: none; }
}

/* ==========================================================================
   14. Bouton retour en haut (ordinateur uniquement)
   ========================================================================== */
.am-top { display: none; }
@media (min-width: 1025px) and (hover: hover) {
	.am-top { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--am-navy); color: var(--am-accent); box-shadow: var(--am-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, background .2s, color .2s, visibility 0s linear .25s; }
	.am-top.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.am-top:hover { background: var(--am-accent); color: var(--am-navy); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { .am-top { transition: none; } }

/* 15. Animation « réseau de références » (SVG, page Références) */
.elementor .am-orbit { width: min(460px, 100%); height: min(460px, calc(100vw - 40px)); margin-inline: auto; position: relative; border-radius: 28px; background: radial-gradient(circle at 50% 45%, #fff 0, var(--am-soft) 72%); border: 1px solid var(--am-line); box-shadow: var(--am-shadow); overflow: hidden; }
.am-orbit svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-orbit__r1, .am-orbit__r2, .am-orbit__p { transform-origin: 200px 200px; }
.am-orbit__r1 { animation: amOrbSpin 40s linear infinite; }
.am-orbit__r2 { animation: amOrbSpin 64s linear infinite reverse; }
.am-orbit__p { fill: none; stroke: var(--am-accent); stroke-width: 2; opacity: 0; animation: amOrbPulse 5s ease-out infinite; }
.am-orbit__p--b { animation-delay: 2.5s; }
.am-orbit__k { fill: var(--am-accent); opacity: 0; animation: amOrbPkt 3.6s ease-in-out infinite; }
.am-orbit__n { transform-box: fill-box; transform-origin: center; animation: amOrbNode 3.2s ease-in-out infinite; }
.am-orbit__c { fill: none; stroke: var(--am-accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 64; animation: amOrbCheck 6s ease-in-out infinite; }
@keyframes amOrbSpin { to { transform: rotate(360deg); } }
@keyframes amOrbPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.1); opacity: 0; } }
@keyframes amOrbPkt { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(-88px); opacity: 0; } }
@keyframes amOrbNode { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes amOrbCheck { 0% { stroke-dashoffset: 64; } 22%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .am-orbit * { animation: none !important; } .am-orbit__c { stroke-dashoffset: 0; } }

/* 16. Animation « hébergement » (SVG, hero de la page Hébergement) */
.elementor .am-host { width: min(440px, 100%); height: min(440px, calc(100vw - 40px)); margin-inline: auto; position: relative; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 60px rgba(8, 12, 40, .35); overflow: hidden; }
.am-host svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-host__led { animation: amHostLed 2.4s ease-in-out infinite; }
.am-host__ld { transform-box: fill-box; transform-origin: left center; animation: amHostLoad 5s ease-in-out infinite; }
.am-host__dn, .am-host__up, .am-host__d2 { opacity: 0; animation: amHostDn 2.8s ease-in-out infinite; }
.am-host__up { animation-name: amHostUp; }
.am-host__d2 { animation-name: amHostDn2; animation-duration: 3.2s; }
.am-host__p { transform-origin: 270px 330px; opacity: 0; animation: amHostPulse 4s ease-out infinite; }
.am-host__h { transform-origin: 158px 342px; animation: amHostClock 8s linear infinite; }
.am-host__c { fill: none; stroke: var(--am-accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 46; animation: amHostCheck 6s ease-in-out infinite; }
@keyframes amHostLed { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes amHostLoad { 0%, 100% { transform: scaleX(.15); } 50% { transform: scaleX(1); } }
@keyframes amHostDn { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes amHostUp { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
@keyframes amHostDn2 { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(32px); opacity: 0; } }
@keyframes amHostPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes amHostClock { to { transform: rotate(360deg); } }
@keyframes amHostCheck { 0% { stroke-dashoffset: 46; } 22%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 979px) { .elementor .am-host { width: min(340px, 100%); height: min(340px, calc(100vw - 40px)); } }
@media (prefers-reduced-motion: reduce) { .am-host * { animation: none !important; } .am-host__c { stroke-dashoffset: 0; } .am-host__ld { transform: scaleX(.7); } }
body .e-con.am-card > .elementor-widget.elementor-widget-button { margin-top: auto; align-self: flex-end; width: auto; max-width: 100%; --container-widget-width: auto; }

/* 17. Animation « sur mesure » (SVG, carte Sur mesure de la page Hébergement) */
body .e-con.am-card > .elementor-widget.am-tailor { flex: 1 1 auto; min-height: 120px; position: relative; width: 100%; }
.am-tailor .elementor-widget-container { position: absolute; inset: 0; }
.am-tailor__box { position: absolute; inset: 0; border-radius: 14px; background: var(--am-soft); border: 1px solid var(--am-line); overflow: hidden; }
.am-tailor svg { display: block; width: 100%; height: 100%; }
.am-tail__k1 { animation: amTailK1 5s ease-in-out infinite alternate; }
.am-tail__k2 { animation: amTailK2 7s ease-in-out -2s infinite alternate; }
.am-tail__k3 { animation: amTailK3 6s ease-in-out -4s infinite alternate; }
.am-tail__m { animation: amTailIn 6s ease-in-out infinite; }
.am-tail__d { opacity: 0; animation: amTailDot 2.4s ease-in-out infinite; }
@keyframes amTailK1 { to { transform: translateX(110px); } }
@keyframes amTailK2 { to { transform: translateX(80px); } }
@keyframes amTailK3 { to { transform: translateX(120px); } }
@keyframes amTailIn { 0% { transform: translateX(24px); opacity: 0; } 15%, 75% { transform: translateX(0); opacity: 1; } 90%, 100% { transform: translateX(0); opacity: 0; } }
@keyframes amTailDot { 0% { transform: translateX(0); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateX(34px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .am-tailor * { animation: none !important; } }
/* 18. Animation « création de site » (SVG, hero de la page Création et refonte de site web) */
.elementor .am-conv { width: min(440px, 100%); height: min(440px, calc(100vw - 40px)); margin-inline: auto; position: relative; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 60px rgba(8, 12, 40, .35); overflow: hidden; }
.am-conv svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-conv__dn, .am-conv__d2 { opacity: 0; animation: amConvDn 2.8s ease-in-out infinite; }
.am-conv__d2 { animation-name: amConvDn2; animation-duration: 3.2s; }
.am-conv__p { transform-box: fill-box; transform-origin: center; opacity: 0; animation: amConvPulse 3s ease-out infinite; }
.am-conv__c { fill: none; stroke: #4ade80; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; animation: amConvCheck 6s ease-in-out infinite; }
.am-conv__b { transform-box: fill-box; transform-origin: center bottom; animation: amConvBar 6s ease-in-out infinite; }
@keyframes amConvDn { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes amConvDn2 { 0% { transform: translateY(0); opacity: 0; } 15%, 80% { opacity: 1; } 100% { transform: translateY(24px); opacity: 0; } }
@keyframes amConvPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.4, 1.6); opacity: 0; } }
@keyframes amConvCheck { 0% { stroke-dashoffset: 30; } 22%, 100% { stroke-dashoffset: 0; } }
@keyframes amConvBar { 0%, 100% { transform: scaleY(.2); } 40%, 80% { transform: scaleY(1); } }
@media (max-width: 979px) { .elementor .am-conv { width: min(340px, 100%); height: min(340px, calc(100vw - 40px)); } }
@media (prefers-reduced-motion: reduce) { .am-conv * { animation: none !important; } .am-conv__c { stroke-dashoffset: 0; } }

/* ==========================================================================
   19. Appel téléphonique (en-tête, pied de page)
   ========================================================================== */
.am-nav .menu-tel > a { display: flex; align-items: center; gap: 8px; margin-left: 4px; border: 2px solid var(--am-blue); color: var(--am-blue); white-space: nowrap; }
.am-nav .menu-tel > a:hover { background: var(--am-blue); color: #fff; }
.am-footer__tel { margin: 14px 0 0; }
.am-footer__tel a { color: #fff; font-weight: 700; text-decoration: none; }
.am-footer__tel a:hover { text-decoration: underline; }
.am-footer__soc { margin: 10px 0 0; }
.am-footer__soc a { margin-right: 14px; font-weight: 700; }
@media (min-width: 901px) {
	.am-header .am-wrap { max-width: 1320px; }
	.am-nav a { white-space: nowrap; padding: 10px 12px; font-size: .93rem; }
}
@media (min-width: 901px) and (max-width: 1279px) {
	.am-nav a { padding: 10px 8px; font-size: .88rem; }
	.am-nav .menu-tel span { display: none; }
}
@media (max-width: 900px) {
	.am-nav .menu-tel > a { margin: 8px 0 0; justify-content: center; }
}

/* ==========================================================================
   20. Grille dont la dernière ligne est centrée (am-gc)
   ========================================================================== */
@media (min-width: 620px) and (max-width: 979px) {
	body .e-con.am-gc > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}
@media (min-width: 980px) {
	body .e-con.am-gc.am-g3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	body .e-con.am-gc.am-g3 > * { grid-column: span 2; }
	body .e-con.am-gc.am-g3 > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
	body .e-con.am-gc.am-g3 > :nth-child(3n+2):last-child { grid-column: 4 / span 2; }
	body .e-con.am-gc.am-g3 > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

/* ==========================================================================
   21. Animation « références » (SVG, hero de la page Références)
   ========================================================================== */
.elementor .am-ref { width: min(420px, 100%); aspect-ratio: 400 / 352; margin-inline: auto; position: relative; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 60px rgba(8, 12, 40, .35); overflow: hidden; }
.am-ref svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-ref text { font-family: inherit; }
.am-ref__ln { fill: none; stroke: var(--am-accent); stroke-width: 3.5; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: amRvDraw 8s ease-in-out infinite; }
.am-ref__ar { animation: amRvArea 8s ease-in-out infinite; }
.am-ref__dot { transform-box: fill-box; transform-origin: center; animation: amRvDot 8s ease-out infinite; }
.am-ref__ring { fill: none; stroke: var(--am-accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: amRvRing 2s ease-out infinite; }
.am-ref__cur { opacity: 0; animation: amRvCur 8s ease-in-out infinite; }
.am-ref__rip { fill: none; stroke: var(--am-accent); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: amRvRip 8s ease-out infinite; }
.am-ref__hl { transform-box: fill-box; transform-origin: left center; animation: amRvHl 8s ease-in-out infinite; }
.am-ref__b { transform-box: fill-box; transform-origin: left center; transform: scaleX(var(--t)); animation: amRvBar 8s ease-in-out infinite; }
@keyframes amRvDraw { 0%, 8% { stroke-dashoffset: 1; opacity: 1; } 50%, 92% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes amRvArea { 0%, 40% { opacity: 0; } 55%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes amRvDot { 0%, 49% { opacity: 0; transform: scale(.3); } 55% { opacity: 1; transform: scale(1.35); } 60%, 92% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; transform: scale(1); } }
@keyframes amRvRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }
@keyframes amRvCur { 0% { opacity: 0; transform: translate(330px, 120px); } 4% { opacity: 1; } 16%, 26% { opacity: 1; transform: translate(150px, 40px); } 32%, 100% { opacity: 0; transform: translate(150px, 40px); } }
@keyframes amRvRip { 0%, 17% { opacity: 0; transform: scale(.1); } 18% { opacity: .9; transform: scale(.2); } 30%, 100% { opacity: 0; transform: scale(1); } }
@keyframes amRvHl { 0%, 17% { transform: scaleX(0); } 27%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes amRvBar { 0%, 50% { transform: scaleX(var(--s)); } 68%, 92% { transform: scaleX(var(--t)); } 98%, 100% { transform: scaleX(var(--s)); } }
@media (max-width: 979px) { .elementor .am-ref { width: min(360px, 100%); } }
@media (prefers-reduced-motion: reduce) { .am-ref * { animation: none !important; } }

/* ==========================================================================
   22. Animation « demande de devis » (SVG, hero de la page Contact)
   ========================================================================== */
.elementor .am-ct { width: min(420px, 100%); aspect-ratio: 400 / 352; margin-inline: auto; position: relative; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 60px rgba(8, 12, 40, .35); overflow: hidden; }
.am-ct svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.am-ct text { font-family: inherit; }
.am-ct__f, .am-ct__pg, .am-ct__btn, .am-ct__rip { transform-box: fill-box; transform-origin: left center; }
.am-ct__f { transform: scaleX(var(--t)); }
.am-ct__f1 { animation: amCtF1 8s ease-in-out infinite; }
.am-ct__f2 { animation: amCtF2 8s ease-in-out infinite; }
.am-ct__f3 { animation: amCtF3 8s ease-in-out infinite; }
.am-ct__btn { transform-origin: center; animation: amCtBtn 8s ease-in-out infinite; }
.am-ct__cur { opacity: 0; animation: amCtCur 8s ease-in-out infinite; }
.am-ct__rip { fill: none; stroke: var(--am-accent); stroke-width: 2.5; opacity: 0; transform-origin: center; animation: amCtRip 8s ease-out infinite; }
.am-ct__pg { animation: amCtPg 8s ease-in-out infinite; }
.am-ct__n1 { animation: amCtN1 8s ease-in-out infinite; }
.am-ct__n2 { animation: amCtN2 8s ease-in-out infinite; }
.am-ct__n3 { animation: amCtN3 8s ease-in-out infinite; }
.am-ct__q { animation: amCtQ 8s ease-in-out infinite; }
.am-ct__ck { fill: none; stroke: #141c45; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: amCtCk 8s ease-in-out infinite; }
@keyframes amCtF1 { 0%, 6% { transform: scaleX(0); } 16%, 92% { transform: scaleX(var(--t)); } 98%, 100% { transform: scaleX(0); } }
@keyframes amCtF2 { 0%, 16% { transform: scaleX(0); } 26%, 92% { transform: scaleX(var(--t)); } 98%, 100% { transform: scaleX(0); } }
@keyframes amCtF3 { 0%, 26% { transform: scaleX(0); } 40%, 92% { transform: scaleX(var(--t)); } 98%, 100% { transform: scaleX(0); } }
@keyframes amCtBtn { 0%, 49% { transform: scale(1); } 51% { transform: scale(.94); } 54%, 100% { transform: scale(1); } }
@keyframes amCtCur { 0%, 34% { opacity: 0; transform: translate(392px, 236px); } 38% { opacity: 1; } 48%, 56% { opacity: 1; transform: translate(312px, 140px); } 62%, 100% { opacity: 0; transform: translate(312px, 140px); } }
@keyframes amCtRip { 0%, 50% { opacity: 0; transform: scale(.1); } 51% { opacity: .9; transform: scale(.2); } 63%, 100% { opacity: 0; transform: scale(1); } }
@keyframes amCtPg { 0%, 56% { transform: scaleX(0); } 84%, 92% { transform: scaleX(1); } 98%, 100% { transform: scaleX(0); } }
@keyframes amCtN1 { 0%, 54% { opacity: 0; } 58%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes amCtN2 { 0%, 66% { opacity: 0; } 70%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes amCtN3 { 0%, 80% { opacity: 0; } 84%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes amCtQ { 0%, 84% { opacity: 0; transform: translateY(8px); } 90%, 92% { opacity: 1; transform: translateY(0); } 98%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes amCtCk { 0%, 86% { stroke-dashoffset: 1; } 92%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 979px) { .elementor .am-ct { width: min(360px, 100%); } }
@media (prefers-reduced-motion: reduce) { .am-ct * { animation: none !important; } }

/* ==========================================================================
   23. Formulaire de contact Elementor Pro (widget Formulaire, dans .am-formcard)
   ========================================================================== */
body .am-formcard .elementor-form { font-family: var(--am-font); }
body .am-formcard .elementor-form .elementor-form-fields-wrapper { margin-bottom: 0; }
body .am-formcard .elementor-form .elementor-field-group { margin-bottom: 18px; }
body .am-formcard .elementor-form .elementor-field-label { margin-bottom: 6px; font-family: var(--am-font); font-weight: 600; font-size: .95rem; color: var(--am-ink); }
body .am-formcard .elementor-form .elementor-mark-required .elementor-field-label::after { color: #b42318; }
body .am-formcard .elementor-form .elementor-field-textual { width: 100%; max-width: 100%; min-height: 0; padding: 13px 14px; border: 1px solid #c9d1e3; border-radius: 10px; background: #fff; color: var(--am-ink); font-family: var(--am-font); font-size: 1rem; line-height: 1.4; }
body .am-formcard .elementor-form .elementor-select-wrapper select { padding-right: 38px; }
body .am-formcard .elementor-form .elementor-field-textual:focus { border-color: var(--am-blue); box-shadow: 0 0 0 3px rgba(50, 91, 160, .22); outline: 0; }
body .am-formcard .elementor-form .elementor-field-type-acceptance .elementor-field-option label { font-size: .92rem; line-height: 1.5; color: var(--am-ink); }
body .am-formcard .elementor-form .elementor-field-type-acceptance a { color: var(--am-blue); text-decoration: underline; }
body .am-formcard .elementor-form .elementor-field-type-acceptance input[type=checkbox] { width: 18px; height: 18px; margin-right: 8px; accent-color: var(--am-blue); }
body .am-formcard .elementor-form .elementor-button { padding: 15px 30px; border: 0; border-radius: 12px; background: var(--am-accent); color: var(--am-navy); font-family: var(--am-font); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s; }
body .am-formcard .elementor-form .elementor-button:hover { background: #ffc233; color: var(--am-navy); transform: translateY(-2px); }
body .am-formcard .elementor-form .elementor-message { margin: 0; font-family: var(--am-font); font-size: .95rem; }
body .am-formcard .elementor-form .elementor-message-success { padding: 14px 16px; border-radius: 12px; background: #e8f6ee; color: #0a5c36; }
body .am-formcard .elementor-form .elementor-message-danger { color: #b42318; }
body .am-formcard .elementor-form .elementor-field-type-acceptance > .elementor-field-label { display: none; }
