/* ==========================================================================
   AMANAR-ADVISOR — feuille de style principale
   Fond noir · gris clair / foncé · accents cyan · bulles « Apple style »
   ========================================================================== */

:root {
	--am-bg: #000;
	--am-bg-2: #0a0a0c;
	--am-surface: rgba(28, 28, 30, .62);
	--am-surface-solid: #1c1c1e;
	--am-surface-2: rgba(44, 44, 46, .55);
	--am-line: rgba(255, 255, 255, .09);
	--am-line-strong: rgba(255, 255, 255, .16);
	--am-text: #f5f5f7;
	--am-muted: #a1a1a6;
	--am-dim: #6e6e73;
	--am-cyan: #2ad4f0;
	--am-cyan-soft: rgba(42, 212, 240, .14);
	--am-cyan-line: rgba(42, 212, 240, .45);
	--am-radius: 28px;
	--am-radius-sm: 18px;
	--am-wrap: 1180px;
	--am-blur: saturate(180%) blur(22px);
	--am-ease: cubic-bezier(.22, .8, .2, 1);
}

/* Base ------------------------------------------------------------------- */
html.am-html { background: var(--am-bg); scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body.amsite {
	margin: 0; background: var(--am-bg); color: var(--am-text);
	font-family: var(--am-font-sans); font-size: 17px; line-height: 1.6; letter-spacing: -.003em;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
.amsite *, .amsite *::before, .amsite *::after { box-sizing: border-box; }
.amsite img { max-width: 100%; height: auto; display: block; }
.amsite a { color: inherit; text-decoration: none; }
.amsite h1, .amsite h2, .amsite h3, .amsite h4 { font-family: var(--am-font-sans); color: var(--am-text); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 600; }
.amsite h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.amsite h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.amsite h3 { font-size: 1.25rem; letter-spacing: -.012em; line-height: 1.25; }
.amsite h4 { font-size: 1.04rem; letter-spacing: -.01em; line-height: 1.3; }
.amsite p { margin: 0 0 1em; color: var(--am-muted); }
.amsite strong { color: var(--am-text); font-weight: 600; }
.amsite em { font-family: var(--am-font-serif); font-style: italic; font-weight: 500; color: var(--am-text); letter-spacing: -.01em; }
.amsite :focus-visible { outline: 2px solid var(--am-cyan); outline-offset: 3px; border-radius: 10px; }
.amsite ::selection { background: var(--am-cyan); color: #000; }
.amsite [hidden] { display: none !important; }
.screen-reader-text, .am-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--am-cyan); color: #000 !important; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.am-skip:focus { top: 16px; }

.am-wrap { width: 100%; max-width: var(--am-wrap); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.am-narrow { max-width: 860px; }
.am-main { position: relative; }

/* Boutons ---------------------------------------------------------------- */
.am-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font: 600 .97rem/1 var(--am-font-sans); letter-spacing: -.005em; cursor: pointer;
	transition: transform .35s var(--am-ease), background .3s, border-color .3s, box-shadow .3s;
	-webkit-tap-highlight-color: transparent;
}
.am-btn:hover { transform: translateY(-1px); }
.am-btn:active { transform: scale(.97); }
.am-btn--cyan { background: var(--am-cyan); color: #001014 !important; box-shadow: 0 8px 30px -8px rgba(42, 212, 240, .55); }
.am-btn--cyan:hover { background: #5ee2f6; box-shadow: 0 12px 40px -8px rgba(42, 212, 240, .7); }
.am-btn--glass { background: rgba(255, 255, 255, .07); border-color: var(--am-line-strong); color: var(--am-text); backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur); }
.am-btn--glass:hover { background: rgba(255, 255, 255, .12); }
.am-btn--sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.am-btn--block { width: 100%; min-height: 54px; }
.am-linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.am-link { color: var(--am-cyan) !important; }
.am-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* En-tête : pilule de verre flottante ----------------------------------- */
.am-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: max(12px, env(safe-area-inset-top)) 12px 0; pointer-events: none; }
.admin-bar .am-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .am-header { top: 46px; } }
.am-header__bar {
	pointer-events: auto; max-width: var(--am-wrap); margin: 0 auto; height: 64px; padding: 0 10px 0 20px;
	display: flex; align-items: center; gap: 20px;
	background: rgba(18, 18, 20, .55); border: 1px solid var(--am-line); border-radius: 999px;
	backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur);
	box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .8);
	transition: background .4s, border-color .4s, height .4s var(--am-ease);
}
.am-header.is-scrolled .am-header__bar { background: rgba(18, 18, 20, .82); border-color: var(--am-line-strong); height: 58px; }
.am-brand { display: flex; align-items: center; height: 100%; margin-right: auto; flex: none; }
/* Logo : taille fixe, calé à gauche (spécificité renforcée face à « .amsite img { height:auto } ») */
.amsite .am-header .am-brand__logo { display: block; height: 34px; width: auto; max-width: 168px; max-height: 34px; object-fit: contain; object-position: left center; }
.am-brand__word { font-weight: 700; letter-spacing: .08em; font-size: .95rem; }
.am-brand__word span { color: var(--am-muted); font-weight: 400; }
.am-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.am-nav a { display: block; padding: 9px 16px; border-radius: 999px; font-size: .9rem; color: var(--am-muted); font-weight: 500; transition: color .25s, background .25s; }
.am-nav a:hover { color: var(--am-text); background: rgba(255, 255, 255, .06); }
.am-nav a[aria-current="page"] { color: var(--am-text); background: rgba(255, 255, 255, .1); }
.am-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.am-burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--am-text); border-radius: 2px; transition: transform .4s var(--am-ease), top .4s var(--am-ease); }
.am-burger span:first-child { top: 19px; }
.am-burger span:last-child { top: 26px; }
.am-burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.am-burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }
.am-mobile {
	pointer-events: auto; max-width: var(--am-wrap); margin: 10px auto 0; padding: 14px;
	background: rgba(18, 18, 20, .9); border: 1px solid var(--am-line-strong); border-radius: var(--am-radius);
	backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur);
	animation: am-pop .45s var(--am-ease);
}
.am-mobile ul { list-style: none; margin: 0 0 12px; padding: 0; }
.am-mobile a:not(.am-btn) { display: block; padding: 15px 14px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; border-bottom: 1px solid var(--am-line); }
.am-mobile li:last-child a { border-bottom: 0; }
.am-mobile a[aria-current="page"] { color: var(--am-cyan); }
.am-mobile .am-btn { width: 100%; }
@keyframes am-pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Hero + globe ----------------------------------------------------------- */
.am-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; isolation: isolate; }
.am-globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.am-hero__veil { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(ellipse 70% 55% at 30% 38%, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .25) 60%, transparent 100%),
	linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 30%, transparent 70%, #000 100%); pointer-events: none; }
.am-hero__inner { position: relative; }
.am-hero__title { max-width: 14ch; margin-bottom: .45em; }
.am-hero__title em { background: linear-gradient(100deg, #fff 10%, var(--am-cyan) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.am-hero__lead { font-size: clamp(1.08rem, 1.9vw, 1.32rem); max-width: 46ch; color: #d2d2d7; line-height: 1.5; }
.am-hero__sub { max-width: 52ch; }
.am-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 46px; }
.am-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 26px; border-radius: 999px; font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: #d2d2d7 !important; background: rgba(255, 255, 255, .06); border: 1px solid var(--am-line-strong); backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur); }
.am-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--am-cyan); box-shadow: 0 0 0 4px rgba(42, 212, 240, .18), 0 0 14px var(--am-cyan); animation: am-pulse 2.6s ease-in-out infinite; }
@keyframes am-pulse { 50% { box-shadow: 0 0 0 7px rgba(42, 212, 240, .05), 0 0 18px var(--am-cyan); } }
.am-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 760px; }
.am-stats li { padding: 16px 18px; border-radius: var(--am-radius-sm); background: var(--am-surface); border: 1px solid var(--am-line); backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur); }
.am-stats strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.1; }
.am-stats span { display: block; font-size: .78rem; color: var(--am-muted); line-height: 1.35; margin-top: 4px; }
.am-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px; border: 1.5px solid var(--am-line-strong); }
.am-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--am-cyan); animation: am-scroll 2s var(--am-ease) infinite; }
@keyframes am-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections --------------------------------------------------------------- */
.am-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.am-section--tight { padding-top: 24px; }
.am-section--alt { background: linear-gradient(180deg, var(--am-bg) 0%, var(--am-bg-2) 18%, var(--am-bg-2) 82%, var(--am-bg) 100%); }
.am-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.am-head p:last-child { font-size: 1.1rem; }
.am-kicker { font-size: .78rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--am-cyan) !important; margin-bottom: 14px !important; }
.am-subhead { font-size: .8rem !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--am-dim) !important; margin: 56px 0 18px !important; }

.am-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.am-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Bulles « Apple style » ------------------------------------------------- */
.am-card {
	position: relative; padding: 30px 28px; border-radius: var(--am-radius);
	background: linear-gradient(180deg, rgba(44, 44, 46, .55) 0%, rgba(28, 28, 30, .5) 100%);
	border: 1px solid var(--am-line);
	backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .9);
	transition: transform .5s var(--am-ease), border-color .4s, box-shadow .5s var(--am-ease);
}
.am-card p:last-child { margin-bottom: 0; }
.am-card--sm { padding: 24px 24px; border-radius: 22px; }
.am-card--sm p { font-size: .94rem; line-height: 1.55; }
.am-card--link { display: flex; flex-direction: column; }
.am-card--link p { flex: 1; font-size: .96rem; }
.am-card:hover { transform: translateY(-4px); border-color: var(--am-line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 70px -30px rgba(0, 0, 0, 1); }
.am-card__num { font-size: .74rem !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--am-dim) !important; margin-bottom: 26px !important; }
.am-card__more { margin-top: 22px; font-weight: 600; font-size: .92rem; color: var(--am-cyan) !important; }
.am-card__more span { display: inline-block; transition: transform .35s var(--am-ease); }
.am-card:hover .am-card__more span { transform: translateX(4px); }
.am-hex { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; background: var(--am-cyan-soft); color: var(--am-cyan); font-size: 1.3rem; }

/* Encadrés cyan ---------------------------------------------------------- */
.am-box {
	position: relative; padding: 32px; border-radius: var(--am-radius);
	background: linear-gradient(160deg, rgba(42, 212, 240, .09), rgba(28, 28, 30, .55) 55%);
	border: 1px solid var(--am-cyan-line);
	backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur);
	box-shadow: 0 0 0 1px rgba(42, 212, 240, .05), 0 30px 80px -40px rgba(42, 212, 240, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.am-box p { color: #d2d2d7; }
.am-box__title { font-size: .78rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--am-cyan) !important; margin-bottom: 18px !important; }
.am-box--cta { text-align: center; padding: clamp(40px, 7vw, 80px) 28px; }
.am-box--cta p { max-width: 54ch; margin: 0 auto 28px; font-size: 1.08rem; }

.am-offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.am-offices li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--am-line); }
.am-offices li:last-child { border-bottom: 0; padding-bottom: 0; }
.am-offices .am-dot { margin-top: 8px; }
.am-offices strong { display: block; font-size: 1rem; }
.am-offices span { display: block; color: var(--am-muted); font-size: .95rem; }
.am-offices small { display: block; color: var(--am-dim); font-size: .84rem; margin-top: 4px; line-height: 1.45; }

.am-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.am-about__text p { font-size: 1.08rem; }
.am-about__text { margin-bottom: 26px; }

/* Membres ---------------------------------------------------------------- */
.am-members { margin-top: 72px; text-align: center; }
.am-members ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.am-members li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 22px; border-radius: 22px; background: var(--am-surface); border: 1px solid var(--am-line); min-width: 170px; }
.am-members img { height: 56px; width: auto; border-radius: 10px; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .4s, opacity .4s; }
.am-members li:hover img { filter: none; opacity: 1; }
.am-members span { font-size: .78rem; color: var(--am-dim); }

/* FAQ -------------------------------------------------------------------- */
.am-faq { display: grid; gap: 10px; }
.am-faq__item { border-radius: 22px; background: var(--am-surface); border: 1px solid var(--am-line); overflow: hidden; transition: border-color .3s; }
.am-faq__item[open] { border-color: var(--am-cyan-line); }
.am-faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.am-faq__item summary::-webkit-details-marker { display: none; }
.am-faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--am-cyan); font-weight: 400; font-size: 1.2rem; transition: transform .35s var(--am-ease); }
.am-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.am-faq__item p { padding: 0 24px 22px; margin: 0; }

/* En-tête des pages intérieures ----------------------------------------- */
.am-pagehead { position: relative; padding: 168px 0 56px; overflow: hidden; }
.am-pagehead__glow { position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1; pointer-events: none;
	background: radial-gradient(ellipse 50% 45% at 78% 30%, rgba(42, 212, 240, .16), transparent 70%), radial-gradient(ellipse 40% 40% at 15% 10%, rgba(120, 90, 255, .1), transparent 70%); }
.am-pagehead h1 { max-width: 18ch; }
.am-pagehead__intro { font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 60ch; }
.am-crumbs { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--am-dim); margin-bottom: 28px; }
.am-crumbs a:hover { color: var(--am-text); }
.am-crumbs [aria-current] { color: var(--am-muted); }

/* Solutions -------------------------------------------------------------- */
.am-chips { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 88px; z-index: 20; padding-top: 6px; padding-bottom: 6px; }
.am-chip { padding: 10px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--am-muted); background: rgba(28, 28, 30, .75); border: 1px solid var(--am-line); backdrop-filter: var(--am-blur); -webkit-backdrop-filter: var(--am-blur); transition: color .25s, border-color .25s, background .25s; white-space: nowrap; }
.am-chip:hover, .am-chip.is-active { color: var(--am-text); border-color: var(--am-cyan-line); background: rgba(42, 212, 240, .12); }
.am-solution__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.am-solution__num { font-size: clamp(4rem, 10vw, 7.5rem) !important; font-weight: 700; line-height: .9 !important; letter-spacing: -.06em; margin-bottom: 12px !important; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.am-solution__top .am-box p { font-size: 1.06rem; }
.am-services h4 { margin-bottom: 8px; }
.am-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--am-radius); border: 1px solid var(--am-line); background: var(--am-surface); overflow: hidden; counter-reset: p; }
.am-pillars--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.am-pillars li { padding: 28px 26px; border-left: 1px solid var(--am-line); }
.am-pillars li:first-child { border-left: 0; }
.am-pillars__icon { display: block; color: var(--am-cyan); font-size: 1.2rem; margin-bottom: 14px; }
.am-pillars strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.am-pillars p { font-size: .92rem; margin: 0; }

/* Actualités ------------------------------------------------------------- */
.am-pub { border-radius: var(--am-radius); overflow: hidden; background: var(--am-surface); border: 1px solid var(--am-line); transition: transform .5s var(--am-ease), border-color .4s; }
.am-pub:hover { transform: translateY(-4px); border-color: var(--am-line-strong); }
.am-pub__link { display: flex; flex-direction: column; height: 100%; }
.am-pub__media { aspect-ratio: 16 / 10; background: #0d0d0f; overflow: hidden; }
.am-pub__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--am-ease); }
.am-pub:hover .am-pub__media img { transform: scale(1.04); }
.am-pub__placeholder { display: block; width: 100%; height: 100%; background:
	radial-gradient(circle at 70% 120%, rgba(42, 212, 240, .35), transparent 55%),
	radial-gradient(circle at 10% -20%, rgba(120, 90, 255, .25), transparent 55%),
	repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px),
	repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px), #0b0b0d; }
.am-pub__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.am-pub__tags { font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; color: var(--am-cyan) !important; margin-bottom: 12px !important; font-weight: 600; }
.am-pub__title { font-size: 1.15rem !important; line-height: 1.3 !important; letter-spacing: -.012em !important; margin-bottom: 10px !important; }
.am-pub__excerpt { font-size: .92rem; flex: 1; }
.am-pub__meta { display: flex; justify-content: space-between; font-size: .84rem !important; color: var(--am-dim) !important; margin: 0 !important; padding-top: 16px; border-top: 1px solid var(--am-line); }
.am-pub__meta span { color: var(--am-text); font-weight: 600; }
.am-pub--featured { grid-column: span 2; }
.am-pub--featured .am-pub__link { flex-direction: row; }
.am-pub--featured .am-pub__media { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.am-pub--featured .am-pub__body { flex: 1; padding: 34px; }
.am-pub--featured .am-pub__title { font-size: 1.6rem !important; }
.am-empty { text-align: center; padding: 60px 0; }

/* Contact ---------------------------------------------------------------- */
.am-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.am-contact__info { display: grid; gap: 16px; position: sticky; top: 100px; }
.am-form-card { padding: clamp(26px, 4vw, 44px); }
.am-form-card h2 { font-size: 1.8rem; }
.am-muted { color: var(--am-muted); }
.am-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.am-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.am-field--full { grid-column: 1 / -1; }
.am-field label, .am-field legend { font-size: .84rem; font-weight: 500; color: var(--am-muted); padding: 0; }
.am-field label span { color: var(--am-cyan); }
fieldset.am-field { border: 0; margin: 0; padding: 0; }
.am-form input[type="text"], .am-form input[type="email"], .am-form input[type="tel"], .am-form select, .am-form textarea {
	width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--am-line-strong);
	background: rgba(0, 0, 0, .35); color: var(--am-text); font: 400 16px/1.4 var(--am-font-sans);
	transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none;
}
.am-form select { background-image: linear-gradient(45deg, transparent 50%, var(--am-muted) 50%), linear-gradient(135deg, var(--am-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.am-form select option { background: #1c1c1e; }
.am-form textarea { resize: vertical; min-height: 150px; }
.am-form input:focus, .am-form select:focus, .am-form textarea:focus { outline: none; border-color: var(--am-cyan); box-shadow: 0 0 0 4px rgba(42, 212, 240, .18); background: rgba(0, 0, 0, .55); }
.am-form .is-invalid { border-color: #ff6b6b !important; }
.am-segment { display: flex; flex-wrap: wrap; gap: 8px; }
.am-segment label { position: relative; cursor: pointer; }
.am-segment input { position: absolute; opacity: 0; pointer-events: none; }
.am-field .am-segment label span { color: var(--am-muted); }
.am-field .am-segment input:checked + span { color: #001014; }
.am-segment span { display: block; padding: 10px 16px; border-radius: 999px; font-size: .88rem; color: var(--am-muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--am-line-strong); transition: all .25s; }
.am-segment input:checked + span { color: #001014; background: var(--am-cyan); border-color: var(--am-cyan); font-weight: 600; }
.am-segment input:focus-visible + span { outline: 2px solid var(--am-cyan); outline-offset: 2px; }
.am-check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--am-muted); line-height: 1.5; cursor: pointer; }
.am-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--am-cyan); }
.am-form__error { grid-column: 1 / -1; padding: 12px 16px; border-radius: 14px; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffb3b3 !important; margin: 0 !important; font-size: .92rem; }
.am-form button[disabled] { opacity: .6; cursor: progress; }
.am-form-done { text-align: center; padding: 40px 10px 20px; }
.am-form-done__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--am-cyan-soft); color: var(--am-cyan); font-size: 1.8rem; margin-bottom: 18px; border: 1px solid var(--am-cyan-line); }

/* Mentions légales ------------------------------------------------------- */
.am-legal h2 { font-size: 1.2rem; margin-top: 2em; letter-spacing: -.01em; }
.am-legal h2:first-child { margin-top: 0; }
.am-legal ul { color: var(--am-muted); padding-left: 1.2em; }
.am-legal li { margin-bottom: .35em; }
.am-legal .am-card:hover { transform: none; }

/* Pied de page ----------------------------------------------------------- */
.am-footer { border-top: 1px solid var(--am-line); padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); background: #000; }
.am-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr; gap: 40px; }
.am-footer__name { font-weight: 700; letter-spacing: .1em; color: var(--am-text) !important; }
.am-footer__brand p { font-size: .92rem; max-width: 36ch; }
.am-footer__h { font-size: .74rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--am-dim) !important; }
.am-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.am-footer li, .am-footer address { font-size: .92rem; color: var(--am-muted); font-style: normal; }
.am-footer a:hover { color: var(--am-text); }
.am-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--am-line); }
.am-footer__bottom p { font-size: .82rem; color: var(--am-dim); margin: 0; }

/* Apparition au chargement (hero) */
.am-js .am-hero .am-reveal { opacity: 0; transform: translateY(22px); animation: am-rise 1.1s var(--am-ease) forwards; }
.am-js .am-hero .am-reveal:nth-child(2) { animation-delay: .12s; }
.am-js .am-hero .am-reveal:nth-child(3) { animation-delay: .24s; }
.am-js .am-hero .am-reveal:nth-child(4) { animation-delay: .34s; }
.am-js .am-hero .am-reveal:nth-child(5) { animation-delay: .44s; }
.am-js .am-hero .am-reveal:nth-child(6) { animation-delay: .54s; }
@keyframes am-rise { to { opacity: 1; transform: none; } }

/* Apparition au défilement ---------------------------------------------- */
.am-js .am-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--am-ease), transform .9s var(--am-ease); transition-delay: var(--d, 0s); }
.am-js .am-reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
	.am-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.am-footer__grid { grid-template-columns: 1fr 1fr; }
	.am-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.am-pillars li:nth-child(3) { border-left: 0; }
	.am-pillars li:nth-child(n+3) { border-top: 1px solid var(--am-line); }
}
@media (max-width: 900px) {
	.am-nav, .am-header__cta { display: none; }
	.am-burger { display: block; }
	.am-grid--3 { grid-template-columns: 1fr 1fr; }
	.am-split, .am-solution__top, .am-contact { grid-template-columns: 1fr; }
	.am-contact__info { position: static; order: 2; }
	.am-pub--featured { grid-column: 1 / -1; }
	.am-pub--featured .am-pub__link { flex-direction: column; }
	.am-pub--featured .am-pub__media { min-height: 0; aspect-ratio: 16 / 10; }
	.am-chips { top: 82px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-left: 0; }
	.am-chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
	body.amsite { font-size: 16px; }
	.am-header { padding-left: 10px; padding-right: 10px; }
	.am-header__bar { height: 58px; }
	.amsite .am-header .am-brand__logo { height: 28px; max-height: 28px; max-width: 140px; }
	.am-header__bar { padding-left: 10px; }
	.am-hero { padding: 46svh 0 96px; align-items: flex-end; }
	.am-hero__veil { background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, 0) 22svh, rgba(0, 0, 0, .55) 46svh, rgba(0, 0, 0, .9) 70svh, #000 100%); }
	.am-hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
	.am-scroll { display: none; }
	.am-stats { grid-template-columns: 1fr 1fr; }
	.am-hero__actions .am-btn { flex: 1 1 100%; }
	.am-grid--4, .am-grid--3, .am-pillars, .am-pillars--2 { grid-template-columns: 1fr; }
	.am-pillars li { border-left: 0 !important; border-top: 1px solid var(--am-line); }
	.am-pillars li:first-child { border-top: 0; }
	.am-form { grid-template-columns: 1fr; }
	.am-card { padding: 26px 22px; border-radius: 24px; }
	.am-box { padding: 26px 22px; border-radius: 24px; }
	.am-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.am-pagehead { padding-top: 132px; }
	.am-members li { min-width: 0; flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
	html.am-html { scroll-behavior: auto; }
	.amsite *, .amsite *::before, .amsite *::after { animation: none !important; transition: none !important; }
	.am-js .am-reveal, .am-js .am-hero .am-reveal { opacity: 1; transform: none; }
}

/* Repli si le flou n'est pas supporté */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.am-header__bar, .am-mobile { background: rgba(18, 18, 20, .96); }
	.am-card, .am-stats li, .am-chip { background: var(--am-surface-solid); }
}

/* Tablette : marges latérales plus confortables */
@media (min-width: 641px) and (max-width: 1080px) {
	.am-wrap { padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right)); }
	.am-header { padding-left: 16px; padding-right: 16px; }
	.am-header__bar { padding-left: 16px; }
}
