/*
Theme Name: Agence Motion
Theme URI: https://www.agencemotion.fr
Author: Kevin Renaud
Description: Migration WordPress du site Webflow agencemotion.fr (landing one-page). CSS Webflow chargé depuis le CDN, ce fichier ne contient que les compléments.
Version: 1.0.86
Requires PHP: 7.4
Text Domain: agence-motion
*/

/* ============ Overrides Webflow ============ */

/* Arrondi unique du site = celui du bouton navbar (.button, radius-sm Webflow) */
:root {
  --am-radius: 0.25rem;
}

/* H1 hero à 4rem + paragraphe hero à 1.2rem (demande Kevin 2026-07-12) */
.header .heading-2 {
  font-size: 4rem;
}
.header .large-paragraph.v2-hero-paragraph {
  font-size: 1.2rem;
}
@media (max-width: 767px) {
  .header .heading-2 {
    font-size: 2.5rem;
  }
}

/* ============ Fallbacks interactions (webflow.js absent) ============ */

/* Reveal au scroll — remplace les fades IX2 de Webflow */
.am-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.am-reveal.am-visible,
html.no-js .am-reveal {
  opacity: 1;
  transform: none;
}

/* Burger mobile (remplace l'icône Lottie Webflow) */
.am-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.am-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.am-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.am-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navbar plus compacte (Webflow = 20px haut/bas + logo 140px) */
.navbar { padding-top: 12px !important; padding-bottom: 12px !important; }
.navbar .logo-dark { width: 118px; height: auto; }

/* Grille projets : bords alignés sur le conteneur (donc sur le logo/bouton
   de la navbar, qui partagent le même .container). Webflow met padding:20px. */
.v1-hero-grid { padding-left: 0 !important; padding-right: 0 !important; }

/* Les 4 vidéos : dimensions et arrondi strictement identiques */
.v1-hero-grid .v1-hero-div,
.v1-hero-grid .v1-hero-div._01 { width: 100%; margin: 0; }
.v1-hero-grid .v1-hero-image-div {
  width: 100%;
  border-radius: var(--am-radius);
  overflow: hidden;
}

@media (max-width: 991px) {
  .am-menu-toggle { display: flex; }
  .navbar .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    padding: 12px 24px 20px;
    z-index: 999;
  }
  .navbar .nav-menu.am-open { display: block; }
  .navbar .nav-menu .nav-menu-wrapper { flex-direction: column; align-items: flex-start; display: flex; gap: 4px; }
  .navbar .nav-menu .nav-link { padding: 10px 0; }
  .navbar { position: relative; }
}

/* ============ Témoignages (grille statique, remplace le loop IX2) ============ */
.am-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1216px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.am-testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--am-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.am-testimonial-quote {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #111827;
}
.am-testimonial-client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.am-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.am-testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.am-testimonial-role {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #6b7280;
}
@media (max-width: 991px) {
  .am-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .am-testimonials-grid { grid-template-columns: 1fr; padding: 0 20px; }
}
/* Voir plus / Voir moins : grille repliée avec fondu blanc derrière le bouton */
.am-testimonials-clip {
  position: relative;
  transition: max-height 0.4s ease;
}
.am-testimonials-clip.am-collapsed {
  max-height: 620px;
  overflow: hidden;
}
.am-testimonials-clip.am-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 88%);
  pointer-events: none;
}
.am-testimonials-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.am-testimonials-toggle,
.am-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #101828;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--am-radius);
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.am-testimonials-toggle:hover,
.am-btn-light:hover {
  border-color: #0558ee;
  box-shadow: 0 6px 16px rgba(5, 88, 238, 0.12);
}

/* ============ Section Tarifs — configurateur dark ============ */
.am-config-section {
  background: #050505;
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}
.am-config-container {
  /* Aligné sur le conteneur du site (navbar) : max-width 1440px + 20px de padding */
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}

/* --- Colonne gauche --- */
/* Colonne en flex pour caler le bouton "Lancer mon projet" sur le bas des cards de droite */
.am-config-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.am-config-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  /* même proportion de tracking que les h2 du site (-2.6px sur ~40px) */
  letter-spacing: -0.065em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.am-config-subtitle {
  color: #9ca3af;
  font-size: 0.95rem;
  font-weight: 500;
  /* même proportion que .large-paragraph (-0.4px sur ~20px) */
  letter-spacing: -0.02em;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 560px;
}
.am-config-group-label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.am-config-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 28px;
}
.am-config-included-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3f4f6;
  font-size: 14px;
}
.am-config-included-item svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #fff;
}
.am-config-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  background: #fff;
  color: #050505;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--am-radius);
  margin-top: auto; /* pousse le bouton en bas de la colonne, aligné aux cards de droite */
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.am-config-start:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Colonne droite --- */
.am-config-offer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.am-config-offer-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.065em;
}
.am-config-total {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.am-config-block {
  margin-bottom: 22px;
}
/* Le dernier bloc (options) termine la colonne : sans cette règle, sa marge
   décale le bouton "Lancer mon projet" 22px sous le bas des cards. */
.am-config-block:last-child {
  margin-bottom: 0;
}
.am-config-block-label {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}
.am-config-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.am-config-popular {
  background: #27272a;
  color: #d4d4d8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--am-radius);
}
.am-config-duration {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin: 8px 0 14px;
}
.am-config-duration-unit {
  font-size: 1.4rem;
  font-weight: 400;
  color: #d4d4d8;
  margin-left: 6px;
}
#am-config-slider {
  --am-fill: 60%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #fff 0%, #fff var(--am-fill), #27272a var(--am-fill), #27272a 100%);
  outline: none;
  cursor: pointer;
}
#am-config-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  border: none;
  cursor: grab;
}
#am-config-slider::-moz-range-thumb {
  width: 26px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  border: none;
  cursor: grab;
}
.am-config-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #71717a;
  font-size: 13px;
}
.am-config-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.am-config-video-card {
  background: #121212;
  border: 1px solid #232323;
  border-radius: var(--am-radius);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.am-config-video-card:hover { border-color: #3f3f46; }
.am-config-video-card.am-selected {
  background: #2b2b2e;
  border-color: #52525b;
}
.am-config-video-name {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.am-config-video-price {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.am-config-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.am-config-option {
  background: #121212;
  border: 1px solid #232323;
  border-radius: var(--am-radius);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.am-config-option:hover { border-color: #3f3f46; }
.am-config-option.am-selected {
  background: #2b2b2e;
  border-color: #fff;
}
/* Pack All inclusive : encadré bleu (le bleu du bouton "Planifier un échange") + étiquette */
.am-config-option[data-bundle] {
  position: relative;
  border-color: #0558ee;
}
.am-config-option[data-bundle]:hover { border-color: #0558ee; }
.am-config-option[data-bundle].am-selected {
  background: rgba(5, 88, 238, 0.14);
  border-color: #0558ee;
}
.am-config-option[data-bundle]::after {
  content: 'Le plus populaire';
  position: absolute;
  top: -8px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  background: #0558ee;
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 6px;
  border-radius: var(--am-radius);
}
.am-config-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.am-config-option-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.am-config-option-name svg { color: #d4d4d8; width: 17px; height: 17px; }
.am-config-option-price {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.am-config-option-desc {
  color: #9ca3af;
  font-size: 12.5px;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .am-config-container { grid-template-columns: 1fr; gap: 56px; }
  .am-config-options { grid-template-columns: 1fr; }
  .am-config-start { margin-top: 24px; } /* en colonne unique, plus d'alignement bas */
}
@media (max-width: 640px) {
  .am-config-included { grid-template-columns: 1fr; }
  .am-config-videos { grid-template-columns: 1fr; }
  .am-config-total { font-size: 2.4rem; }
}

/* ============ Section CTA finale ============ */
.am-cta-section {
  padding: 96px 0 72px;
  background: #ffffff;
}
.am-cta-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.am-cta-heading em { font-style: italic; }
.am-cta-widget {
  max-width: 960px;
  margin: 0 auto 72px;
}

/* --- Carrousel d'avis --- */
.am-review-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 88px;
  font-family: 'Poppins', sans-serif;
}
.am-review-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.am-review-slide.am-active { display: flex; }
.am-review-stars { color: #eab54e; justify-content: center; }
.am-review-stars svg { width: 24px; height: 24px; }
.am-review-quote {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #101828;
  max-width: 900px;
}
.am-review-client {
  display: flex;
  align-items: center;
  gap: 20px;
}
.am-review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.am-review-identity { text-align: left; }
.am-review-name {
  font-size: 17px;
  font-weight: 600;
  color: #101828;
}
.am-review-role {
  font-size: 15px;
  color: #475467;
}
.am-review-divider {
  width: 1px;
  height: 48px;
  background: #d0d5dd;
}
.am-review-logo {
  height: 44px;
  width: auto;
}
.am-review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eaecf0;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
  color: #475467;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.am-review-arrow:hover {
  color: #101828;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12);
}
.am-review-arrow[data-dir="-1"] { left: 0; }
.am-review-arrow[data-dir="1"] { right: 0; }
.am-review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.am-review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #e4e7ec;
  cursor: pointer;
  transition: background 0.2s ease;
}
.am-review-dot.am-active { background: #0558ee; }
@media (max-width: 767px) {
  .am-review-carousel { padding: 0 8px; }
  .am-review-arrow { display: none; }
  .am-review-quote { font-size: 1.3rem; }
  .am-review-client { flex-wrap: wrap; justify-content: center; }
}

/* ============ FAQ (2 colonnes, icônes +/− cerclées) ============ */
.am-faq-section {
  padding: 96px 0;
  background: #fff;
}
.am-faq-heading {
  text-align: left;
  margin-bottom: 56px;
}
.am-faq-heading .uui-heading-medium-2 {
  color: #101828;
}
.am-faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  align-items: start;
}
.am-faq-item {
  border-bottom: 1px solid #eaecf0;
}
.am-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #101828;
}
.am-faq-icon {
  position: relative;
  flex: 0 0 28px;
  height: 28px;
  border: 1.5px solid #98a2b3;
  border-radius: 50%;
}
.am-faq-icon::before,
.am-faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: #98a2b3;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.am-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.am-faq-item.am-open .am-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.am-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.am-faq-answer p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #475467;
  margin: 0;
  padding: 0 40px 26px 0;
}
@media (max-width: 767px) {
  .am-faq-list { grid-template-columns: 1fr; }
}

/* Titres et textes des étapes du process TOUJOURS alignés à gauche,
   à tous les breakpoints. Le CSS Webflow centre de 3 façons selon la
   taille d'écran (text-align hérité, align-items du flex, marges auto) :
   on neutralise les trois. */
.uui-faq04_layout .div-block-5,
.uui-faq04_layout .div-block-6,
.uui-faq04_layout .div-block-6-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start;
  text-align: left !important;
}
.uui-faq04_layout .uui-faq04_heading-copy,
.uui-faq04_layout .uui-faq04_heading,
.uui-faq04_layout .bold-text-3 {
  text-align: left !important;
  align-self: flex-start !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Texte descriptif des étapes : justifié (le titre reste à gauche) */
.uui-faq04_layout .uui-faq04_heading {
  text-align: justify !important;
  hyphens: auto;
}

/* ============ Animations du process (full code, boucle 9s) ============ */
.am-anim {
  width: 100%;
  max-width: 454.5px;
  aspect-ratio: 2008 / 1200;
  margin: 0 auto;
  position: relative;
  border-radius: var(--am-radius);
  /* fond commun à TOUTES les scènes : blanc dégradé bleu */
  background: linear-gradient(140deg, #ffffff 0%, #e9edfc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}
/* la cellule de grille Webflow doit donner toute sa largeur à la scène */
.uui-faq04_layout > div:has(> .am-anim) {
  width: 100%;
  min-width: 0;
}

/* --- éléments partagés --- */
.am-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(80, 110, 180, 0.16);
  padding: 22px 24px;
}
.am-mlogo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: #101828;
}
.am-mlogo-icon {
  width: 16px;
  height: 13px;
  background: #1d59f2;
  border-radius: 3px;
  transform: skewX(-12deg);
}
.am-mlogo-xs { font-size: 12px; }
.am-mlogo-xs .am-mlogo-icon { width: 12px; height: 10px; }
.am-btn {
  background: #1d59f2;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 9px 14px;
  border-radius: 7px;
  letter-spacing: 0.02em;
}
.am-btn-sm { font-size: 10px; padding: 7px 12px; }
.am-minicheck {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #eaf1ff;
  position: relative;
  flex: 0 0 22px;
}
.am-minicheck::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid #1d59f2;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.am-skel {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #e8edf5;
}
.am-skel.w70 { width: 70%; } .am-skel.w60 { width: 60%; } .am-skel.w55 { width: 55%; } .am-skel.w50 { width: 50%; } .am-skel.w40 { width: 40%; }

/* ============ Étape 1 : le brief (carte + dropdown + curseur) ============ */
.am-anim-1 { position: relative; }
.am-brief { position: absolute; inset: 0; }
/* couche de décor commune : lignes arrondies, rognée par le cadre de chaque scène */
.am-anim-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.am-brief-conn {
  position: absolute;
  border: 1.5px solid #d9dff5;
  pointer-events: none;
}
.am-conn-1 {
  left: -6%;
  top: 12%;
  width: 22%;
  height: 34%;
  border-right: none;
  border-radius: 14px 0 0 14px;
}
.am-conn-2 {
  left: -6%;
  bottom: 8%;
  width: 16%;
  height: 30%;
  border-right: none;
  border-radius: 14px 0 0 14px;
}
/* barre d'outils texte */
.am-brief-toolbar {
  position: absolute;
  top: 9%;
  right: -3%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e4e7fb;
  border-radius: 8px 0 0 8px;
  padding: 8px 14px;
  box-shadow: 0 10px 24px rgba(90, 100, 200, 0.10);
  z-index: 2;
}
.am-tb { font-size: 10px; font-weight: 600; color: #5b64c7; }
.am-tb-i { font-style: italic; }
.am-tb-s { text-decoration: line-through; }
.am-tb-u { text-decoration: underline; }
.am-tb-sep { width: 1px; height: 12px; background: #e4e7fb; }
.am-tb-align { display: flex; flex-direction: column; gap: 2px; }
.am-tb-align i { display: block; width: 10px; height: 1.5px; background: #a5aee6; border-radius: 1px; }
.am-tb-align i:nth-child(2) { width: 7px; }
.am-tb-align-c i { margin: 0 auto; }
/* carte principale du brief */
.am-brief-card {
  position: absolute;
  left: 28%;
  top: 20%;
  right: -4%;
  bottom: -6%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(90, 100, 200, 0.14);
  padding: 16px 18px;
  z-index: 1;
}
.am-brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.am-brief-title { font-size: 14px; font-weight: 600; color: #101828; }
.am-brief-logo { height: 14px; width: auto; display: block; }
.am-brief-label { font-size: 9.5px; font-weight: 500; color: #344054; margin-bottom: 5px; }
.am-brief-input {
  height: 24px;
  border: 1px solid #d6dcfa;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 8px;
  margin-bottom: 10px;
}
.am-brief-fill {
  display: block;
  height: 10px;
  width: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #d4d9f7, #c3cbf5);
  animation: amBriefFill 9s infinite;
}
@keyframes amBriefFill {
  0%, 6% { width: 0; }
  22%, 100% { width: 46%; }
}
.am-brief-textarea {
  border: 1px solid #e4e7fb;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.am-brief-textarea p {
  margin: 0;
  font-size: 8.5px;
  line-height: 1.55;
  color: #4b53b8;
}
.am-brief-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #dde1fa;
  width: 0;
  animation: amBriefBar 9s infinite;
}
.am-brief-bar + .am-brief-bar { animation-delay: 0.4s; }
@keyframes amBriefBar {
  0%, 26% { width: 0; }
  40%, 100% { width: var(--w); }
}
/* dropdown flottant */
.am-brief-dd {
  position: absolute;
  left: 7%;
  top: 44%;
  width: 42%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(90, 100, 200, 0.20);
  padding: 6px;
  z-index: 3;
  opacity: 0;
  animation: amDdIn 9s infinite;
}
@keyframes amDdIn {
  0%, 8% { opacity: 0; transform: translateY(12px); }
  15%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
.am-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 500;
  color: #3a3f8f;
  padding: 7px 9px;
  border-radius: 7px;
  border: 1px solid transparent;
}
.am-dd-first { animation: amDdSelect 9s infinite; }
@keyframes amDdSelect {
  0%, 32% { background: transparent; border-color: transparent; }
  36%, 100% { background: #eef0ff; border-color: #c3cbf5; }
}
.am-dd-ic {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #e6e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}
.am-ddic-play {
  border-left: 6px solid #1d59f2;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 1px;
}
.am-ddic-mic { width: 5px; height: 8px; border-radius: 3px; background: #1d59f2; position: relative; }
.am-ddic-mic::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 1.5px; background: #1d59f2; transform: translateX(-50%); }
.am-ddic-sub { width: 9px; height: 7px; border-radius: 2px; border: 1.5px solid #1d59f2; position: relative; }
.am-ddic-sub::after { content: ""; position: absolute; left: 1px; bottom: 1px; width: 5px; height: 1.5px; background: #1d59f2; }
.am-ddic-cal { width: 9px; height: 8px; border-radius: 2px; border: 1.5px solid #1d59f2; border-top-width: 3px; }
.am-dd-check {
  margin-left: auto;
  width: 7px;
  height: 11px;
  border: solid #c6cbee;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  flex: 0 0 7px;
}
.am-dd-check-main {
  border-color: #1d59f2;
  opacity: 0;
  animation: amDdCheck 9s infinite;
}
@keyframes amDdCheck {
  0%, 34% { opacity: 0; }
  38%, 100% { opacity: 1; }
}
/* curseur pointeur style macOS qui vient cliquer la 1re option */
.am-cursor {
  position: absolute;
  left: 38%;
  top: 50%;
  width: 15px;
  height: 20px;
  z-index: 4;
  filter: drop-shadow(0 2px 4px rgba(20, 25, 60, 0.35));
  animation: amCursor 9s infinite;
}
.am-cursor svg { display: block; width: 100%; height: 100%; }
@keyframes amCursor {
  0%, 10% { transform: translate(70px, 50px); opacity: 0; }
  16% { opacity: 1; }
  30% { transform: translate(0, 0); opacity: 1; }
  34% { transform: translate(0, 0) scale(0.85); }
  38%, 96% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}
/* réutilisé par les étapes 2 et 4 */
@keyframes amPop {
  0%, 30% { opacity: 0; transform: scale(0.5); }
  33%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes amPress {
  0%, 80% { transform: scale(1); background: #1d59f2; }
  83% { transform: scale(0.96); background: #1747c4; }
  86%, 100% { transform: scale(1); background: #1d59f2; }
}

/* --- Scène 1 : fenêtre d'appel visio --- */
/* les éléments collaboratifs (étiquette, curseurs) peuvent déborder du cadre */
.am-anim-1 { overflow: visible; }
.am-call { position: absolute; inset: 0; }
.am-call-win {
  position: absolute;
  inset: 7% 6%;
  background: #232327;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(40, 45, 80, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.am-call-top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 7px 9px 6px;
  background: #2e2e33;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 7.5px;
  font-weight: 500;
  color: #e7e7ea;
  align-self: flex-start;
}
.am-call-mini-avatar {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f2b06b, #c77b3f);
  color: #fff;
  font-size: 5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-call-tiles {
  flex: 1;
  display: flex;
  gap: 8px;
  padding: 0 9px;
  min-height: 0;
}
.am-call-tile {
  flex: 1;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.am-call-tile-pm {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 3px, transparent 3px 8px),
    linear-gradient(150deg, #4a4038 0%, #2c2622 100%);
  border: 1.5px solid #1d59f2;
  animation: amSpeak 2.4s ease-in-out infinite;
}
@keyframes amSpeak {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 89, 242, 0.35); }
  50% { box-shadow: 0 0 0 3px rgba(29, 89, 242, 0.15); }
}
.am-call-face {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2b06b, #c77b3f);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-call-audio {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1d59f2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5px;
}
.am-call-audio i {
  display: block;
  width: 1.5px;
  height: 6px;
  border-radius: 1px;
  background: #fff;
  animation: amEq 1s ease-in-out infinite;
}
.am-call-audio i:nth-child(1) { animation-delay: 0s; }
.am-call-audio i:nth-child(2) { animation-delay: 0.2s; }
.am-call-audio i:nth-child(3) { animation-delay: 0.4s; }
@keyframes amEq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}
.am-call-tile-you {
  background: linear-gradient(140deg, #e3ddd4 0%, #cfc9c2 60%, #b8b2ac 100%);
}
/* photo de la participante, floutée façon caméra visio */
.am-call-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px);
  /* léger zoom pour que le flou ne laisse pas de bords transparents */
  transform: scale(1.08);
}
/* Louise (cheffe de projet) : caméra nette, pas de flou façon "Vous" */
.am-call-photo-pm { filter: none; transform: none; }
/* Badge nominatif en bas à gauche de chaque tuile (façon Google Meet) */
.am-tile-name {
  position: absolute;
  left: 5px;
  bottom: 5px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 6px;
  font-weight: 500;
  line-height: 1;
  padding: 2.5px 5px;
  border-radius: 3px;
}
/* Photo de profil de Louise dans le bandeau */
.am-call-mini-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-call-bar {
  display: flex;
  align-items: center;
  padding: 7px 10px 9px;
  gap: 8px;
  position: relative;
}
.am-call-meet-logo {
  height: 9px;
  width: auto;
  display: block;
  /* logo texte gris → passé en blanc pour rester lisible sur la barre sombre */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.am-call-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  /* Centrés au milieu de la barre, comme un vrai Google Meet */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.am-cbtn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #3a3a41;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e7e7ea;
  font-size: 5px;
  font-weight: 600;
}
.am-cbtn svg { display: block; width: 8px; height: 8px; }
.am-cbtn-dots { gap: 1px; }
.am-cbtn-dots i { width: 1.5px; height: 1.5px; border-radius: 50%; background: #e7e7ea; }
.am-cbtn-end { width: 24px; border-radius: 9px; background: #e5484d; }
.am-cbtn-end svg { width: 11px; height: 11px; }
.am-call-sideicons { display: flex; margin-left: auto; }
.am-call-sideicons svg { display: block; width: 9px; height: 9px; }
/* étiquette nominative + curseurs collaboratifs */
.am-call-tag {
  position: absolute;
  left: -2%;
  top: 56%;
  background: #1d59f2;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(29, 89, 242, 0.35);
  z-index: 2;
  opacity: 0;
  animation: amTagIn 9s infinite;
}
@keyframes amTagIn {
  0%, 24% { opacity: 0; transform: translateY(8px); }
  30%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
.am-call-cursor {
  position: absolute;
  width: 13px;
  height: 17px;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(20, 25, 60, 0.35));
}
.am-call-cursor svg { display: block; width: 100%; height: 100%; }
.am-call-cursor-tag {
  left: 26%;
  top: 47%;
  animation: amCursorTag 9s infinite;
}
@keyframes amCursorTag {
  0%, 6% { transform: translate(60px, 45px); opacity: 0; }
  12% { opacity: 1; }
  26%, 96% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.am-call-you {
  position: absolute;
  right: 1%;
  top: 8%;
  background: #1c1e26;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 8px 18px rgba(20, 25, 60, 0.3);
  z-index: 2;
}
.am-call-cursor-you {
  right: 8%;
  top: 16%;
  animation: amCursorYou 6s ease-in-out infinite;
}
@keyframes amCursorYou {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 5px); }
}

/* ============ Étape 2 : mail Gmail + pièce jointe → script ============ */
.am-anim-2 {
  position: relative;
}
.am-gmailx { position: absolute; inset: 0; }
.am-mail-card {
  position: absolute;
  left: 26%;
  top: 12%;
  right: -4%;
  bottom: -6%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(90, 100, 200, 0.14);
  padding: 12px 16px;
  z-index: 1;
}
.am-mail-top {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.am-gmail-logo { height: 11px; width: auto; display: block; }
.am-mail-search {
  width: 38%;
  height: 9px;
  border-radius: 5px;
  background: #f2f5fa;
  margin-left: 10px;
}
.am-mail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f8;
  margin-bottom: 8px;
}
.am-mail-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2b06b, #c77b3f);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  line-height: 1;
  box-sizing: border-box;
  overflow: hidden;
}
.am-mail-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-mail-meta { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.am-mail-sender { font-size: 9px; font-weight: 600; color: #101828; line-height: 1.25; }
.am-mail-subject { font-size: 8px; color: #4b53b8; line-height: 1.25; }
.am-mail-time { margin-left: auto; font-size: 7px; color: #98a2b3; }
.am-mail-body { display: flex; flex-direction: column; gap: 8px; }
.am-mail-body p {
  margin: 0;
  font-size: 8.5px;
  line-height: 1.55;
  color: #475467;
}
.am-mail-attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e7fb;
  border-radius: 8px;
  padding: 6px 8px 6px 10px;
  margin-top: 2px;
  align-self: flex-start;
}
/* bouton œil : c'est lui que le curseur clique pour ouvrir la pièce jointe */
.am-attach-eye {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f4f6fb;
  color: #667085;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  flex: 0 0 16px;
  position: relative;
  animation: amEyeClick 9s infinite;
}
.am-attach-eye svg { display: block; width: 10px; height: 10px; }
@keyframes amEyeClick {
  0%, 30% { background: #f4f6fb; color: #667085; box-shadow: none; transform: scale(1); }
  32% { transform: scale(0.85); }
  36%, 100% { background: #1d59f2; color: #fff; box-shadow: 0 0 0 3px rgba(29, 89, 242, 0.18); transform: scale(1); }
}
.am-attach-ic {
  width: 14px;
  height: 18px;
  flex: 0 0 14px;
  background: url('assets/img/pdf-icon.png') center / contain no-repeat;
}
.am-attach-name { font-size: 8px; font-weight: 500; color: #101828; }
.am-attach-size { font-size: 7px; color: #98a2b3; }
/* document script qui surgit après le clic */
.am-script-pop {
  position: absolute;
  left: 5%;
  top: 34%;
  width: 42%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 44px rgba(90, 100, 200, 0.22);
  padding: 12px 14px;
  z-index: 3;
  opacity: 0;
  animation: amScriptPop 9s infinite;
}
@keyframes amScriptPop {
  0%, 36% { opacity: 0; transform: translateY(14px) scale(0.96); }
  42%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 1; }
}
/* le curseur est ancré DANS le bouton œil : il atterrit toujours pile dessus */
.am-mail-cursor {
  position: absolute;
  left: 45%;
  top: 50%;
  animation: amMailCursor 9s infinite;
  z-index: 4;
}
@keyframes amMailCursor {
  0%, 8% { transform: translate(70px, 40px); opacity: 0; }
  14% { opacity: 1; }
  28% { transform: translate(0, 0); opacity: 1; }
  32% { transform: translate(0, 0) scale(0.85); }
  36%, 96% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}

/* ============ (ancien) navigateur + script ============ */
.am-browser {
  width: 86%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(80, 110, 180, 0.16);
  overflow: hidden;
}
.am-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid #eef1f6;
}
.am-bdot { width: 7px; height: 7px; border-radius: 50%; background: #e3e8f0; }
.am-url { flex: 1; height: 10px; border-radius: 5px; background: #f2f5fa; margin: 0 24px 0 10px; }
.am-browser-body { position: relative; padding: 12px 14px 16px; min-height: 0; }
.am-gmail-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #5f6368;
  margin-bottom: 10px;
}
.am-gmail-m { color: #ea4335; font-weight: 700; font-size: 12px; }
.am-gmail-search { width: 34%; height: 9px; border-radius: 5px; background: #f2f5fa; margin-left: 10px; }
.am-gmail-cols { display: flex; gap: 14px; }
.am-gmail-side { flex: 0 0 22%; display: flex; flex-direction: column; gap: 9px; padding-top: 2px; }
.am-gmail-list { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.am-skel-row { width: 100%; }
/* carte script par-dessus */
.am-script-card {
  position: absolute;
  left: 26%;
  top: 18%;
  width: 42%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(60, 90, 160, 0.22);
  padding: 12px 14px;
  animation: amSlideUp 9s infinite;
}
@keyframes amSlideUp {
  0%, 4% { opacity: 0; transform: translateY(16px); }
  10%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
.am-script-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #101828;
  margin-bottom: 10px;
}
.am-script-lines { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.am-write {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #e8edf5;
  width: 0;
  animation: amWrite 9s infinite;
}
@keyframes amWrite {
  0%, 10% { width: 0; }
  30%, 100% { width: var(--w); }
}
.am-w1 { animation-delay: 0s; } .am-w2 { animation-delay: 0.35s; } .am-w3 { animation-delay: 0.7s; } .am-w4 { animation-delay: 1.05s; }
.am-w5 { animation-delay: 1.4s; } .am-w6 { animation-delay: 1.75s; } .am-w7 { animation-delay: 2.1s; } .am-w8 { animation-delay: 2.45s; }
.am-script-btn { animation: amPress 9s infinite; }

/* ============ Étape 3 : board storyboard ============ */
.am-miro {
  width: 84%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(80, 110, 180, 0.16);
  overflow: hidden;
  position: relative;
}
.am-miro-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #344054;
  padding: 8px 12px;
  border-bottom: 1px solid #eef1f6;
}
.am-miro-logo-img { height: 12px; width: auto; display: block; }
.am-miro-board-name {
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  color: #475467;
  background: #f4f6fb;
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 4px;
}
.am-miro-share {
  margin-left: auto;
  font-size: 7.5px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: #1d59f2;
  border-radius: 4px;
  padding: 2px 8px;
}
.am-miro-toolbar {
  position: absolute;
  left: 10px;
  /* Centrée verticalement dans la zone sous le bandeau (~29px de haut) :
     50% du container = milieu total ; +14px pour compenser la moitié du bandeau ;
     translateY(-50%) centre la barre sur ce point. Écarts haut/bas auto-égaux. */
  top: calc(50% + 14px);
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 8px;
  padding: 8px 6px;
  box-shadow: 0 6px 16px rgba(80, 110, 180, 0.10);
  z-index: 2;
}
.am-tool { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.am-tool-cursor svg { display: block; width: 11px; height: 14px; }
.am-tool-note svg { display: block; width: 12px; height: 12px; }
.am-tool-text {
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-tool-text svg { display: block; width: 9px; height: 9px; }
.am-ticon svg { display: block; width: 12px; height: 12px; }
.am-miro-canvas {
  position: relative;
  padding: 12px 14px 16px 42px;
  /* Canvas plus haut que la toolbar (~140px) pour laisser une marge de chaque côté ;
     la toolbar est centrée verticalement dessus (écarts haut/bas égaux). */
  min-height: 176px;
  box-sizing: border-box;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  /* quadrillage du canvas */
  background-image:
    linear-gradient(to right, #eef1f8 1px, transparent 1px),
    linear-gradient(to bottom, #eef1f8 1px, transparent 1px);
  background-size: 16px 16px;
  min-height: 150px;
}
.am-sb-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  animation: amTile 9s infinite;
  animation-delay: var(--d, 0s);
}
@keyframes amTile {
  0%, 6% { opacity: 0; transform: scale(0.7); }
  12%, 96% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
.am-sb-sticky {
  background: #fdf1b8;
  color: #6b5d1f;
  font-size: 6.5px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 5px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(120, 110, 40, 0.18);
  white-space: nowrap;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.am-sb-frame {
  height: 26px;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(90, 100, 200, 0.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 4px 5px;
}
.am-sb-frame.am-sb-dark {
  background: #2a2f3c;
  border-color: #2a2f3c;
  align-items: center;
}
.am-sb-frame.am-sb-sel {
  border: 1.5px solid #1d59f2;
  box-shadow: 0 0 0 2px rgba(29, 89, 242, 0.15);
}
.am-sb-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #dbe1ef;
}
.am-sb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}
.am-sb-dot::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  border-left: 3px solid #2a2f3c;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

/* ============ Étape 4 : avant / après, la vidéo en place ============ */
.am-anim-4 { position: relative; }
.am-deliver { position: absolute; inset: 0; }

/* landing livrée, centrée et mise en avant */
.am-biglp {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6%;
  width: 58%;
  bottom: -9%;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 24px 52px rgba(90, 100, 200, 0.20);
  padding: 10px 12px;
  z-index: 1;
  overflow: hidden;
}

/* ---- notifications de résultats flottantes autour de la landing ---- */
.am-notif {
  position: absolute;
  z-index: 3;
  width: 37%;
  max-width: 160px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(90, 100, 200, 0.16);
  padding: 6px 8px;
  overflow: hidden;
  opacity: 0;
  animation: amNotifPop 9s ease-in-out infinite;
}
.am-notif-ic {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-notif-ic svg { width: 12px; height: 12px; display: block; }
.am-notif-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.am-notif-title {
  font-size: 7px;
  font-weight: 700;
  color: #101828;
  line-height: 1.25;
  white-space: nowrap;
}
.am-notif-sub { font-size: 6px; color: #475467; line-height: 1.2; white-space: nowrap; }

/* variantes par app */
/* Logos réels des apps dans les notifications */
.am-notif-ic { background: #fff; overflow: hidden; }
.am-notif-logo { width: 100%; height: 100%; object-fit: contain; display: block; }

/* positions autour de la landing (chevauchement léger des bords) */
.am-notif-tl { top: 5%; left: 0; }
.am-notif-tr { top: 12%; right: 0; }
.am-notif-bl { bottom: 20%; left: 1%; }
.am-notif-br { bottom: 30%; right: 0; }

/* entrée en cascade puis flottement doux, calé sur la boucle 9s des scènes */
.am-notif-tl { animation-delay: 0.2s; }
.am-notif-tr { animation-delay: 0.9s; }
.am-notif-bl { animation-delay: 1.5s; }
.am-notif-br { animation-delay: 2.1s; }
@keyframes amNotifPop {
  0%, 3%   { opacity: 0; transform: translateY(10px) scale(0.9); }
  12%      { opacity: 1; transform: translateY(0) scale(1); }
  40%      { opacity: 1; transform: translateY(-3px) scale(1); }
  72%      { opacity: 1; transform: translateY(0) scale(1); }
  90%      { opacity: 1; transform: translateY(-2px) scale(1); }
  100%     { opacity: 0; transform: translateY(-6px) scale(0.98); }
}
.am-biglp-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.am-biglp-links { display: flex; gap: 8px; margin-left: auto; }
.am-biglp-links span { font-size: 7px; color: #475467; }
.am-biglp-cta {
  font-size: 7px;
  font-weight: 500;
  color: #fff;
  background: #1d59f2;
  border-radius: 20px;
  padding: 3px 9px;
}
.am-biglp-hero {
  position: relative;
  border-radius: 8px;
  background: linear-gradient(120deg, #e8edfc 0%, #f2eefe 55%, #e9f4ef 100%);
  padding: 12px 10px 18px;
  text-align: center;
  overflow: hidden;
}
.am-biglp-title { font-size: 11px; font-weight: 700; color: #101828; line-height: 1.2; }
.am-biglp-sub { font-size: 7.5px; color: #475467; margin-top: 2px; }
.am-biglp-playwrap {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 10px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.am-biglp-playwrap .am-play {
  width: 30px;
  height: 30px;
  background: #1c2333;
}
.am-biglp-playwrap .am-play span {
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.am-biglp-playwrap .am-play-ring {
  width: 30px;
  height: 30px;
  border-color: rgba(29, 89, 242, 0.45);
}
/* décors du hero : documents désordonnés à gauche, graphiques propres à droite */
.am-deco { position: absolute; display: block; }
.am-deco-doc {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(#e58a8a, #d97070);
  opacity: 0.9;
}
.am-deco-doc::after {
  content: "";
  position: absolute;
  inset: 3px 4px;
  background: repeating-linear-gradient(#fff3 0 1.5px, transparent 1.5px 4px);
  border-radius: 1px;
}
.am-deco-d1 { left: 7%; top: 26%; transform: rotate(-10deg); }
.am-deco-d2 { left: 13%; top: 46%; transform: rotate(6deg); }
.am-deco-d3 { left: 5%; top: 62%; transform: rotate(-4deg); }
.am-deco-chart {
  right: 6%;
  top: 26%;
  width: 26px;
  height: 18px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(90, 100, 200, 0.14);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 3px;
}
.am-deco-chart i { display: block; width: 3px; border-radius: 1px; background: #34a266; }
.am-deco-chart i:nth-child(1) { height: 5px; }
.am-deco-chart i:nth-child(2) { height: 8px; }
.am-deco-chart i:nth-child(3) { height: 11px; }
.am-deco-donut {
  right: 13%;
  top: 56%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(#34a266 0 65%, #1d59f2 65% 100%);
  box-shadow: 0 4px 10px rgba(90, 100, 200, 0.14);
}
.am-deco-donut::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
/* barre de lecture */
.am-biglp-progress {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 7px;
  height: 3.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}
.am-biglp-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: #1d59f2;
  animation: amProgress 9s linear infinite;
}
@keyframes amProgress {
  0%, 8% { width: 0; }
  96%, 100% { width: 78%; }
}
/* section "comment ça marche" */
.am-biglp-how {
  font-size: 8.5px;
  font-weight: 600;
  color: #101828;
  text-align: center;
  margin: 9px 0 6px;
}
.am-biglp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.am-step {
  border: 1px solid #e4e7fb;
  border-radius: 7px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  animation: amTile 9s infinite;
}
.am-step:nth-child(1) { animation-delay: 2.2s; }
.am-step:nth-child(2) { animation-delay: 2.6s; }
.am-step:nth-child(3) { animation-delay: 3s; }
.am-step .am-dskel { animation: none; width: var(--w); height: 5px; }
.am-dskel {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #dde1fa, #cdd4f8);
  width: 0;
  animation: amBriefBar 9s infinite;
}
.am-dskel-dark { height: 7px; background: #c3cbf5; }
.am-landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #eef1f6;
}
.am-navpills { display: flex; gap: 4px; }
.am-navpills span {
  font-size: 7px;
  color: #475467;
  background: #f4f7fc;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  padding: 2px 7px;
}
.am-nav-logo { height: 10px; width: auto; display: block; }
.am-player {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(135deg, #2b3550 0%, #10141f 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: amFloat 6s ease-in-out infinite;
}
@keyframes amFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.am-swirl {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(40% 30% at 35% 45%, rgba(120, 160, 255, 0.45), transparent 70%),
    radial-gradient(35% 28% at 65% 55%, rgba(200, 215, 255, 0.35), transparent 70%);
  filter: blur(10px);
  animation: amSwirl 8s linear infinite;
}
@keyframes amSwirl { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.am-play {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.am-play span {
  border-left: 10px solid #1a2236;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.am-play-ring {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: amRing 2.4s ease-out infinite;
  z-index: 1;
}
@keyframes amRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}
/* accessibilité : pas de mouvement si l'utilisateur le refuse */
@media (prefers-reduced-motion: reduce) {
  .am-anim *, .am-anim { animation: none !important; }
  .am-brief-fill { width: 46%; }
  .am-brief-bar, .am-write { width: var(--w); }
  .am-tile, .am-miro-check, .am-script-card, .am-brief-dd, .am-dd-check-main, .am-cursor, .am-notif { opacity: 1; }
  .am-notif { transform: none; }
  .am-dd-first { background: #eef0ff; border-color: #c3cbf5; }
}

/* ============ Footer (dark) ============ */
.am-footer {
  background: #000;
  padding: 56px 0 0;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}
.am-footer-grid {
  display: grid;
  grid-template-columns: 2fr auto auto;
  gap: 48px 96px;
  padding-bottom: 28px;
}
.am-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: flex-start;
}
.am-footer-brand-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.am-footer-tagline {
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.55;
  color: #8a8a92;
}
.am-footer-socials {
  display: flex;
  gap: 14px;
}
.am-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  color: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.am-footer-social-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.am-footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.am-footer-col-title {
  font-size: 16px;
  font-weight: 500;
  color: #7a7a7a;
  margin-bottom: 6px;
}
.am-footer-col a {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.am-footer-col a:hover { opacity: 0.7; }
.am-footer-bottom {
  padding: 20px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.am-footer-copyright {
  font-size: 15px;
  color: #d4d4d8;
}
.am-footer-bigword {
  padding: 0 4% 0;
  /* Remonte le wordmark pour que le « © 2026 » chevauche son sommet. */
  margin-top: -40px;
  line-height: 0;
}
.am-footer-bigword-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  /* le SVG est déjà pré-coupé : son bas touche pile la fin de la page, sans rognage CSS */
  margin-bottom: 0;
  opacity: 1;
}
@media (max-width: 767px) {
  .am-footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .am-footer-brand { gap: 40px; }
  .am-footer-bigword { padding: 0 4% 0; margin-top: -20px; }
}

/* ============ Réalisations (bouton portfolio + archive + page projet) ============ */

/* Bouton sous la grille des projets de l'accueil */
.am-projets-more {
  display: flex;
  justify-content: center;
  /* .v1-hero-wrapper est un flex column avec un énorme row-gap (space-xxxxxxxl)
     appliqué avant le bouton : on l'annule et on remet un petit écart. */
  margin-top: calc(1.25rem - var(--_📐-spacing---1️⃣-spacing--space-xxxxxxxl));
}

/* --- Page /realisations/ --- */
.am-work-hero { padding: 9.5rem 0 4rem; }
.am-work-hero-inner {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.am-work-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ebf2ff;
  padding: 10px 14px;
  border-radius: 100px;
  font-size: 13px;
  color: #374151;
}
.am-work-badge .stars { display: flex; color: #0558ee; gap: 1px; align-items: center; }
.am-work-title {
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -2.6px;
  line-height: 1.05;
  color: #111827;
  margin: 0;
}
.am-work-sub {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.am-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  padding: 1.5rem 0 1rem;
}
.am-work-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }

.am-work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--am-radius);
}
.am-work-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--am-radius);
  aspect-ratio: 16 / 9;
  background: #0b0d12;
}
.am-work-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.am-work-card:hover .am-work-thumb img { transform: scale(1.04); }
.am-work-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0558ee;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}
.am-work-play svg { margin-left: 2px; }
.am-work-card:hover .am-work-play { transform: scale(1.1); }
.am-work-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--am-radius);
}
.am-work-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
}
.am-work-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
}
.am-work-name {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.8px;
  color: #111827;
}
.am-work-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0558ee;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.am-work-card:hover .am-work-link { opacity: 1; transform: translateX(0); }

.am-work-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 4rem 0 2rem;
}
.am-work-cta h2 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -1.8px;
  color: #111827;
  margin: 0;
}

/* --- Page projet /realisations/{slug}/ --- */
.am-project { padding: 8.5rem 0 4rem; }
.am-project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease;
}
.am-project-back:hover { color: #111827; }
.am-project-head {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.am-project-head h1 {
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -2.6px;
  line-height: 1.05;
  color: #111827;
  margin: 0;
}
.am-project-tagline {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.4px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}
.am-project-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.am-project-meta span {
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  background: #fff;
  padding: 6px 14px;
  font-size: 13px;
  color: #374151;
}
.am-project-player {
  border-radius: var(--am-radius);
  overflow: hidden;
  background: #0b0d12;
  margin-bottom: 3.5rem;
}
.am-project-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.am-project-body h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -1px;
  color: #111827;
  margin: 0 0 1.1rem;
}
.am-project-desc p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 1rem;
}
.am-deliv-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.am-deliv-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: #374151;
}
.am-deliv-list svg { color: #0558ee; flex: none; margin-top: 3px; }
.am-project-cta { align-self: flex-start; }
.am-project-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  margin-bottom: 4rem;
}
.am-project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #111827;
  text-decoration: none;
}
.am-project-nav-link small {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6b7280;
}
.am-project-nav-link:hover { color: #0558ee; }
.am-nav-next { text-align: right; margin-left: auto; }
.am-work-others h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -1.4px;
  color: #111827;
  margin: 0 0 0.5rem;
}

/* --- Fil d'Ariane --- */
.am-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  font-size: 0.88rem;
  color: #6b7280;
}
.am-work-hero .am-breadcrumb { justify-content: center; }
.am-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}
.am-breadcrumb a:hover { color: #0558ee; }
.am-breadcrumb-sep { color: #d1d5db; }
.am-breadcrumb-current { color: #111827; font-weight: 500; }

/* --- Blog : grille de cards --- */
.am-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  padding: 1.5rem 0 1rem;
}
.am-blog-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
.am-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--am-radius);
}
.am-blog-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--am-radius);
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #ffffff 0%, #e9edfc 100%);
  border: 1px solid #eef1f6;
}
.am-blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.am-blog-card:hover .am-blog-thumb img { transform: scale(1.04); }
.am-blog-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0558ee;
  opacity: 0.85;
}
.am-blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.1rem;
}
.am-blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.am-blog-card-date { font-size: 0.85rem; color: #6b7280; }
.am-blog-card-title {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.25;
  color: #111827;
}
.am-blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}
.am-blog-card .am-work-link { margin-left: 0; }
.am-blog-card:hover .am-work-link { opacity: 1; transform: translateX(0); }
.am-blog-empty { text-align: center; color: #6b7280; padding: 2rem 0; }

/* --- Blog : pagination --- */
.am-blog-pagination { margin-top: 2rem; }
.am-blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.am-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: var(--am-radius);
  background: #fff;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.am-blog-pagination .page-numbers:hover { border-color: #0558ee; color: #0558ee; }
.am-blog-pagination .page-numbers.current {
  background: #0558ee;
  border-color: #0558ee;
  color: #fff;
}
.am-blog-pagination .page-numbers.dots { border: none; background: none; }

/* --- Article --- */
.am-article-head {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.am-article-head h1 {
  font-size: 2.9rem;
  font-weight: 500;
  letter-spacing: -2.2px;
  line-height: 1.1;
  color: #111827;
  margin: 0;
}
.am-article-meta { font-size: 0.92rem; color: #6b7280; }
.am-article-cover {
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: var(--am-radius);
  overflow: hidden;
}
.am-article-cover img { display: block; width: 100%; height: auto; }
.am-article-content {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}
.am-article-content h2 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -1.2px;
  color: #111827;
  margin: 2.2rem 0 0.9rem;
}
.am-article-content h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.8px;
  color: #111827;
  margin: 1.8rem 0 0.7rem;
}
.am-article-content p { margin: 0 0 1.1rem; }
.am-article-content a { color: #0558ee; }
.am-article-content ul, .am-article-content ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.am-article-content li { margin-bottom: 0.4rem; }
.am-article-content img { max-width: 100%; height: auto; border-radius: var(--am-radius); }
.am-article-content blockquote {
  margin: 1.5rem 0;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-left: 3px solid #0558ee;
  color: #111827;
  font-weight: 500;
}
.am-article-cta {
  max-width: 760px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(140deg, #ffffff 0%, #e9edfc 100%);
  border: 1px solid #eef1f6;
  border-radius: var(--am-radius);
  padding: 1.75rem 2rem;
}
.am-article-cta-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.6px;
  color: #111827;
}
.am-article-cta-sub { font-size: 0.95rem; color: #4b5563; margin-top: 4px; }

/* --- Pages légales (document aligné à gauche) --- */
.am-legal { padding: 8.5rem 0 5rem; }
.am-legal-head { margin-bottom: 2.5rem; }
.am-legal-head h1 {
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -2.4px;
  line-height: 1.08;
  color: #111827;
  margin: 0;
}
.am-legal-content {
  /* Pleine largeur du conteneur = aligné à gauche (logo) et à droite (bouton navbar) */
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1f2937;
  text-align: justify;
  hyphens: auto;
}
.am-legal-content p { margin: 0 0 1.25rem; }
.am-legal-content strong { font-weight: 600; color: #111827; }
.am-legal-content a { color: #0558ee; word-break: break-word; }
.am-legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: #111827;
  margin: 2.5rem 0 1rem;
}
.am-legal-content ul,
.am-legal-content ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.am-legal-content li { margin-bottom: 0.5rem; }
.am-legal-content em { color: #6b7280; font-style: italic; }

/* Responsive réalisations + blog */
@media (max-width: 991px) {
  .am-work-title, .am-project-head h1 { font-size: 3rem; letter-spacing: -2.2px; }
  .am-work-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .am-blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .am-article-head h1 { font-size: 2.4rem; letter-spacing: -1.6px; }
  .am-legal-head h1 { font-size: 3rem; letter-spacing: -2px; }
}
@media (max-width: 767px) {
  .am-work-hero { padding: 7.5rem 0 3rem; }
  .am-project { padding: 7rem 0 3rem; }
  .am-work-grid, .am-work-grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .am-blog-grid, .am-blog-grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .am-work-title, .am-project-head h1 { font-size: 2.4rem; letter-spacing: -1.6px; }
  .am-article-head h1 { font-size: 2rem; letter-spacing: -1.2px; }
  .am-legal { padding: 7rem 0 3.5rem; }
  .am-legal-head h1 { font-size: 2.3rem; letter-spacing: -1.4px; }
  .am-legal-content { font-size: 1rem; }
  .am-project-body { grid-template-columns: 1fr; gap: 2.25rem; }
  .am-work-cta h2 { font-size: 1.8rem; letter-spacing: -1.2px; }
  .am-work-link { opacity: 1; transform: none; }
  .am-article-cta { flex-direction: column; align-items: flex-start; }
}
