/*
 * Charte MAEF v3 (plateforme de marque du 29-30/09/2026), en test sur la page d'accueil seulement.
 * Source des jetons : dépôt mon-avenir-en-france, marque/brand/devices/maef.css.
 * Règle : on ne change que l'habillage. Même HTML, mêmes textes, mêmes animations ; tout est
 * limité à `.maef-v3` (posé sur <body> pour tout le site depuis le 05/10/2026).
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Caveat:wght@700&display=swap');

.maef-v3 {
  /* Jetons de la charte */
  --v3-ink: #191F1D;
  --v3-grey: #5A615E;
  --v3-line: #E2E6E1;
  --v3-green: #10413B;
  --v3-green-deep: #0B2E2A;
  --v3-sage: #EBF3E7;
  --v3-sky: #E5F1F9;
  --v3-cream: #F4F3EE;
  --v3-cta: #FDB72A;
  --v3-hl: #FFE680; /* surligneur « papier » : ce qui aide la personne */
  --v3-sans: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Les variables Webflow pointent vers la charte : toutes les règles existantes suivent. */
  --charcoal-gray: var(--v3-ink);
  --brand-main-blue: var(--v3-green);
  --brand-dark-blue: var(--v3-green-deep);
  --trust-blue: var(--v3-green);
  --navy-blue: var(--v3-green);
  --brand-light-blue: var(--v3-sage);
  --primary-light: var(--v3-sage);
  --tricolor-red: var(--v3-cta);
  --off-white: var(--v3-cream);
  --grey: var(--v3-cream);
  --light-gray: var(--v3-cream);

  color: var(--v3-ink);
  font-family: var(--v3-sans);
}

/* Typographie : une seule famille, titres en 800 resserrés */
.maef-v3, .maef-v3 *:not(.hand) { font-family: var(--v3-sans) !important; }
.maef-v3 h1, .maef-v3 h2, .maef-v3 h3 { font-weight: 800; letter-spacing: -0.035em; }
.maef-v3 h4, .maef-v3 h5, .maef-v3 h6 { font-weight: 700; letter-spacing: -0.02em; }
.maef-v3 p, .maef-v3 li { -webkit-font-smoothing: antialiased; }

/* Logo : le mot-symbole texte de la charte remplace l'image (pas de fichier logo dans la charte) */
.maef-v3 .brand .logo-image,
.maef-v3 .brand-tablet .logo-image,
.maef-v3 .footer-brand .image-logo { display: none; }
/* Mot-symbole sur deux lignes, comme la page « Où j'en suis » (06/10/2026). */
.maef-v3 .brand::before,
.maef-v3 .brand-tablet::before,
.maef-v3 .footer-brand::before {
  content: "Mon Avenir";
  display: block;
  font: 800 19px/1 var(--v3-sans);
  letter-spacing: -0.02em;
  color: var(--v3-green);
  white-space: nowrap;
}
.maef-v3 .brand::after,
.maef-v3 .brand-tablet::after,
.maef-v3 .footer-brand::after {
  content: "en France";
  display: block;
  margin-top: 2px;
  font: 600 13px/1 var(--v3-sans);
  color: var(--v3-grey);
  white-space: nowrap;
}
.maef-v3 .footer-brand::before { color: #fff; }
.maef-v3 .footer-brand::after { color: rgba(255,255,255,.7); }

/* Boutons : l'action principale est jaune d'or, texte encre, en pilule */
.maef-v3 .cta-button {
  background-color: var(--v3-cta) !important;
  color: var(--v3-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px -10px rgba(253, 183, 42, 0.9);
}
.maef-v3 .cta-button * { color: var(--v3-ink) !important; }
/* Les boutons blancs des cartes restent secondaires : contour, sans jaune */
.maef-v3 .cta-button.button-white {
  background-color: #fff !important;
  color: var(--v3-green) !important;
  box-shadow: none;
}
.maef-v3 .cta-button.button-white * { color: var(--v3-green) !important; }
.maef-v3 .card-cta, .maef-v3 .card-cta * { color: var(--v3-green) !important; }

/* Sections : bandes arrondies de la charte, couleurs de la charte */
.maef-v3 .hero-section { background-color: var(--v3-ink); }
.maef-v3 .dark-section,
.maef-v3 .emergency-section {
  background-color: var(--v3-green) !important;
  border-radius: 36px;
  margin-left: 12px;
  margin-right: 12px;
}
.maef-v3 .gray-section,
.maef-v3 .articles-section {
  background-color: var(--v3-cream) !important;
  border-radius: 36px;
  margin-left: 12px;
  margin-right: 12px;
}
.maef-v3 .map-background { background-color: var(--v3-sage); }
.maef-v3 .footer { background-color: var(--v3-green-deep) !important; }

/* Cartes : blanches, arrondies, ombre douce verte */
.maef-v3 .w-dyn-item, .maef-v3 [class*="card"]:not([class*="cta"]):not([class*="icon"]) {
  border-radius: 24px;
}

/* Petits textes gris de la charte */
.maef-v3 .card-date { color: var(--v3-grey); }

@media (max-width: 860px) {
  .maef-v3 .dark-section,
  .maef-v3 .emergency-section,
  .maef-v3 .gray-section,
  .maef-v3 .articles-section { border-radius: 0; margin-left: 0; margin-right: 0; }
}

/* ---- Dégradés et teintes Webflow codés en dur (bleu, rouge tricolore) : neutralisés ---- */
.maef-v3 .cta-button,
.maef-v3 .cta-button.emergency-button { background-image: none !important; }
.maef-v3 .cta-button:hover,
.maef-v3 .cta-button.hero-button:hover,
.maef-v3 .cta-button.emergency-button:hover { box-shadow: 0 10px 24px -8px rgba(253, 183, 42, 0.95) !important; }

.maef-v3 .section { background-image: none; }
.maef-v3 .section.process-section { background-image: none !important; background-color: #fff; }
.maef-v3 .section.dark-section,
.maef-v3 .section.dark-section.process-section,
.maef-v3 .section.emergency-section { background-image: none !important; }
.maef-v3 .footer { background-image: none !important; }

/* Héros : la vidéo reste, voile encre uni au lieu du dégradé bleu-rouge */
.maef-v3 .banner-overlay,
.maef-v3 .hero-image-overlay {
  background-image: none !important;
  background-color: rgba(25, 31, 29, 0.55) !important;
}

/* Photos : plus de voile rouge ni bleu, un voile vert léger pour lire le texte */
.maef-v3 .image-color-overlay,
.maef-v3 .image-overlay { background-image: none !important; background-color: rgba(16, 65, 59, 0.28) !important; }
.maef-v3 .card-image { background-image: none !important; }
.maef-v3 .column-image[class] { background-image: linear-gradient(3deg, rgba(16, 65, 59, 0.92) 12%, rgba(16, 65, 59, 0) 70%), var(--v3-col-photo, none) !important; }
/* Vidéos de témoignages : voile vert au lieu du bleu-rouge, même photo */
.maef-v3 .modal-card-background-image.gradient[class] { background-image: linear-gradient(159deg, rgba(25, 31, 29, 0.72) 17%, rgba(16, 65, 59, 0.55)), var(--v3-tem-photo, none) !important; }
.maef-v3 .modal-card-background-image.gradient.nadia-b { --v3-tem-photo: url("https://cdn.prod.website-files.com/697554b949c87dc9adfd3fa7/697a8f0955b88b44321d71fa_Capture%20d'e%CC%81cran%20Nov%2026%202025.png"); }
.maef-v3 .modal-card-background-image.gradient.fatou-g { --v3-tem-photo: url("../images/Capture-d%E2%80%99e%CC%81cran-2025-11-26-a%CC%80-12.47.17.png"); }
.maef-v3 .modal-card-background-image.gradient.mohamed-p { --v3-tem-photo: url("../images/Capture-d%E2%80%99e%CC%81cran-2025-11-26-a%CC%80-12.46.25.png"); }
.maef-v3 .process-card { background-image: none !important; background-color: #fff !important; box-shadow: 0 1px 0 var(--v3-line), 0 24px 50px -30px rgba(16, 65, 59, 0.45); }
.maef-v3 .process-block,
.maef-v3 .widget-block { box-shadow: 0 1px 0 var(--v3-line), 0 24px 50px -30px rgba(16, 65, 59, 0.45); }
.maef-v3 .testimonial-tab.w--current { background-image: none !important; background-color: var(--v3-sage) !important; }
.maef-v3 .testimonials-video-caption { background-image: none !important; background-color: var(--v3-sage) !important; }
.maef-v3 .testimonials-tab-name,
.maef-v3 .heading,
.maef-v3 .nav-dropdown-link.w--current { color: var(--v3-green); }
.maef-v3 .heading.heading-white { color: #fff; }
.maef-v3 .card-category { background-color: var(--v3-sage); color: var(--v3-green); }
.maef-v3 .icon-outer-frame { background-color: rgba(255, 230, 128, 0.45) !important; }
.maef-v3 .icon-inner-frame { background-color: var(--v3-hl) !important; }
.maef-v3 .text-span-3 { color: inherit; background: linear-gradient(transparent 55%, var(--v3-hl) 55%); }
.maef-v3 .block-half-section { background-blend-mode: normal; }

.maef-v3 .column-image { --v3-col-photo: url('../images/justice-law-concept.avif'); }
.maef-v3 .column-image.second-column { --v3-col-photo: url('../images/holding-plan.jpg'); }
.maef-v3 .column-image.third-column { --v3-col-photo: url('../images/Mon-Avenir-France-Hero.webp'); }
.maef-v3 .column-image.fourth-column { --v3-col-photo: url('../images/passport.jpg'); }
.maef-v3 .column-image.first-column { --v3-col-photo: url('../images/justice-law-concept.avif'); }
.maef-v3 .column-image.fifth-column { --v3-col-photo: url('../images/6994f0d4e3a2dafc2924d83d_697845c7fd6928758a433a54_avocat-visa-p-800.webp'); }
.maef-v3 .column-image.six-column { --v3-col-photo: url('../images/6994f0f7716955acac4a0705_697845d44207c44b285ac9b8_avocat-regroupement-familial.webp'); }
.maef-v3 .modal-card-background-image.gradient[class],
.maef-v3 .column-image[class] { background-size: cover, cover !important; background-position: center, center !important; background-repeat: no-repeat !important; }

/* Encart vers la landing (remplace le questionnaire intégré sur contact et accompagnements) */
.maef-v3 .maef-lp-cta { padding: 64px 16px; background: none; }
.maef-v3 .maef-lp-cta-card { max-width: 760px; margin: 0 auto; background: var(--v3-sage); border-radius: 36px; padding: 44px 40px; text-align: center; }
.maef-v3 .maef-lp-cta-eyebrow { display: inline-block; font-weight: 700; font-size: 13px; color: var(--v3-green); background: #fff; border: 1px solid var(--v3-line); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.maef-v3 .maef-lp-cta-card h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 0 0 12px; color: var(--v3-ink); }
.maef-v3 .maef-lp-cta-card p { color: var(--v3-grey); font-size: 17px; margin: 0 auto 22px; max-width: 520px; }
.maef-v3 .maef-lp-cta-card .cta-button { display: inline-flex; padding: 15px 26px; text-decoration: none; }

/* ---- Corrections communes à tout le site (relevées sur à propos / contact, 05/10/2026) ---- */
/* La règle « une seule famille » écrasait la police d'icônes Webflow (flèche du menu en carré vide). */
.maef-v3 [class*="w-icon-"] { font-family: 'webflow-icons' !important; }
/* Menu : l'interaction Webflow pose un bleu en ligne au survol ; même effet, couleurs de la charte. */
.maef-v3 .nav-item-title, .maef-v3 .nav-dropdown-icon { color: var(--v3-ink) !important; transition: color .2s ease; }
.maef-v3 .nav-dropdown:hover .nav-item-title, .maef-v3 .nav-dropdown:hover .nav-dropdown-icon,
.maef-v3 .nav-dropdown-toggle.w--open .nav-item-title, .maef-v3 .nav-dropdown-toggle.w--open .nav-dropdown-icon { color: var(--v3-green) !important; }
@media (min-width: 992px) {
  .maef-v3 .nav-dropdown-list { border: 1px solid var(--v3-line); border-radius: 18px; margin-top: 6px; box-shadow: 0 24px 50px -30px rgba(16, 65, 59, 0.45); overflow: hidden; }
}
.maef-v3 .nav-dropdown-link:hover { color: var(--v3-green); }
/* Points du carrousel de témoignages lisibles sur le crème */
.maef-v3 .testimonial-slider .w-slider-dot { background-color: rgba(16, 65, 59, 0.18); }
.maef-v3 .testimonial-slider .w-slider-dot.w-active { background-color: var(--v3-green); }
/* Icônes d'étapes : l'animation passe du bleu pâle au bleu ; même animation, du sauge au vert. */
.maef-v3 .process-block .block-icon.step-icon svg {
  color: var(--v3-green);
  color: rgb(from currentColor calc(16 + r * 0.948) calc(65 + r * 0.7706) calc(59 + r * 0.7446));
}

/* Avis : initiales dans une pastille verte à la place des photos du modèle Webflow (06/10/2026). */
.maef-v3 .testimonial-initials {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--v3-sage);
  color: var(--v3-green);
  font: 800 18px/1 var(--v3-sans);
  letter-spacing: .02em;
}

/* Signature de la marque, en pied de page (BRAND-TOOLKIT §7). */
.maef-v3 .footer-signature {
  margin: 0 0 14px;
  text-align: center;
  color: #fff;
  font: 700 17px/1.4 var(--v3-sans);
  letter-spacing: -.01em;
}


/* ===== Accueil refait selon la charte (lot 2 de l'audit, 06/10/2026) ===== */
.maef-v3 .v3-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.maef-v3 .v3-eyebrow { display: inline-block; padding: 6px 13px; border: 1px solid var(--v3-line); border-radius: 999px; background: #fff; color: var(--v3-green); font: 700 13px/1.2 var(--v3-sans); }
.maef-v3 .v3-h1 { margin: 18px 0 0; color: var(--v3-ink); font: 800 clamp(38px, 5.2vw, 62px)/1.05 var(--v3-sans); letter-spacing: -0.035em; }
.maef-v3 .v3-h2 { margin: 14px 0 0; color: var(--v3-ink); font: 800 clamp(30px, 3.6vw, 44px)/1.08 var(--v3-sans); letter-spacing: -0.035em; }
.maef-v3 .v3-lead { margin: 18px 0 0; max-width: 560px; color: var(--v3-grey); font: 400 18px/1.6 var(--v3-sans); }
.maef-v3 .v3-hl { position: relative; z-index: 0; white-space: nowrap; }
.maef-v3 .v3-hl::before { content: ""; position: absolute; z-index: -1; left: -.12em; right: -.12em; top: .5em; bottom: .02em; border-radius: .3em; background: var(--v3-hl); transform: rotate(-1deg); }
.maef-v3 .v3-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: 999px; background: var(--v3-cta); color: var(--v3-ink) !important; font: 700 17px/1 var(--v3-sans); text-decoration: none; box-shadow: 0 8px 20px -10px rgba(253, 183, 42, .9); transition: transform .15s ease; }
.maef-v3 .v3-btn:hover { transform: translateY(-1px); }
.maef-v3 .v3-arrow { font-weight: 700; }
.maef-v3 .button-icon.v3-arrow { width: auto; height: auto; font-size: 18px; line-height: 1; }
.maef-v3 .v3-hand { color: var(--v3-green); font: 700 22px/1.1 'Caveat', cursive !important; }
.maef-v3 .v3-illu { display: block; max-width: 100%; height: auto; mix-blend-mode: multiply; }

.maef-v3 .v3-hero { margin: 92px 12px 12px; padding: 64px 0 56px; border-radius: 36px; background: var(--v3-sage); }
.maef-v3 .v3-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.maef-v3 .v3-hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

.maef-v3 .v3-preuve { padding: 88px 0 72px; background: #fff; }
.maef-v3 .v3-stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.maef-v3 .v3-stat { padding: 26px 26px 22px; border-radius: 24px; background: var(--v3-cream); display: flex; flex-direction: column; }
.maef-v3 .v3-stat b { color: var(--v3-green); font: 800 40px/1 var(--v3-sans); letter-spacing: -0.03em; }
.maef-v3 .v3-stat span { margin-top: 10px; color: var(--v3-ink); font: 500 16px/1.45 var(--v3-sans); }
.maef-v3 .v3-stat small { margin-top: auto; padding-top: 14px; color: var(--v3-grey); font: 400 12px/1.45 var(--v3-sans); }

.maef-v3 .v3-etapes { padding: 96px 0; background: #fff; }
.maef-v3 .v3-etapes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.maef-v3 .v3-etapes-intro .v3-illu { margin-top: 28px; max-width: 440px; }
.maef-v3 .v3-steps { position: relative; margin: 8px 0 32px; padding: 0; list-style: none; counter-reset: v3step; }
.maef-v3 .v3-steps::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; border-left: 2px dashed #b9c6bf; }
.maef-v3 .v3-steps li { position: relative; margin: 0 0 18px; padding: 22px 24px 22px 76px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--v3-line), 0 24px 50px -30px rgba(16, 65, 59, .45); counter-increment: v3step; }
.maef-v3 .v3-steps li::before { content: counter(v3step); position: absolute; left: 0; top: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--v3-green); color: #fff; font: 800 18px/1 var(--v3-sans); box-shadow: 0 0 0 6px #fff; }
.maef-v3 .v3-steps b { display: block; color: var(--v3-ink); font: 800 20px/1.25 var(--v3-sans); letter-spacing: -0.02em; }
.maef-v3 .v3-steps span { display: block; margin-top: 8px; color: var(--v3-grey); font: 400 16px/1.55 var(--v3-sans); }
.maef-v3 .v3-free { display: inline-block; margin-top: 12px; padding: 4px 11px; border-radius: 999px; background: var(--v3-sage); color: var(--v3-green); font: 700 12px/1.3 var(--v3-sans); font-style: normal; }

@media (max-width: 900px) {
  .maef-v3 .v3-hero-grid, .maef-v3 .v3-etapes-grid { grid-template-columns: 1fr; }
  .maef-v3 .v3-hero-illu { max-width: 420px; margin: 0 auto; }
  .maef-v3 .v3-stats { grid-template-columns: 1fr; }
  .maef-v3 .v3-etapes-intro .v3-illu { max-width: 340px; }
}
@media (max-width: 600px) {
  .maef-v3 .v3-hero { margin: 62px 0 0; padding: 40px 0 36px; border-radius: 0; }
  .maef-v3 .v3-hero-illu { max-width: 280px; margin-top: 8px; }
  .maef-v3 .v3-preuve { padding: 56px 0 40px; }
  .maef-v3 .v3-etapes { padding: 64px 0; }
  .maef-v3 .v3-btn { width: 100%; justify-content: center; }
  .maef-v3 .v3-steps li { padding: 20px 18px 20px 64px; }
  .maef-v3 .v3-steps li::before { width: 38px; height: 38px; font-size: 16px; }
  .maef-v3 .v3-steps::before { left: 18px; }
}

/* ===== Lot 3 de l'audit (06/10/2026) : plus de photos de banque d'images ===== */

/* Hauts de page secondaires (À propos, Contact, blog, accompagnements) : bande sauge, texte encre,
   plus de photo, de vidéo ni de voile. */
.maef-v3 .hero-section:not(.v3-hero),
.maef-v3 .blog-hero-section {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  margin: 92px 12px 12px !important;
  padding: 64px 0 56px !important;
  border-radius: 36px;
  background: var(--v3-sage) !important;
  background-image: none !important;
  overflow: hidden;
}
.maef-v3 .hero-section:not(.v3-hero) .banner-overlay,
.maef-v3 .hero-section:not(.v3-hero) .banner-background-video,
.maef-v3 .hero-section:not(.v3-hero) .service-page-hero,
.maef-v3 .blog-hero-section .hero-image-overlay,
.maef-v3 .blog-hero-section .article-hero-image { display: none !important; }
.maef-v3 .hero-section:not(.v3-hero) .hero-container,
.maef-v3 .blog-hero-section .blog-hero-container { position: relative; z-index: 1; opacity: 1 !important; transform: none !important; }
.maef-v3 .hero-section:not(.v3-hero),
.maef-v3 .blog-hero-section { display: block !important; }
.maef-v3 .hero-section:not(.v3-hero) .hero-container,
.maef-v3 .blog-hero-section .blog-hero-container {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  justify-content: flex-start !important;
}
.maef-v3 .hero-section:has(.v3-service-scene) { min-height: 380px !important; display: flex !important; align-items: center; }
.maef-v3 .hero-section:not(.v3-hero) .heading-h1,
.maef-v3 .blog-hero-section .heading-h1 {
  color: var(--v3-ink) !important;
  font: 800 clamp(34px, 4.4vw, 54px)/1.06 var(--v3-sans) !important;
  letter-spacing: -0.035em !important;
}
.maef-v3 .hero-section:not(.v3-hero) .hero-parahraph,
.maef-v3 .hero-section:not(.v3-hero) .hero-parahraph *,
.maef-v3 .hero-section:not(.v3-hero) .article-date,
.maef-v3 .hero-section:not(.v3-hero) .article-date * { color: var(--v3-grey) !important; }
.maef-v3 .blog-hero-section .link-3,
.maef-v3 .blog-hero-section .current-blog,
.maef-v3 .blog-hero-section .breadcrumb-divider,
.maef-v3 .blog-hero-section .blog-category-name,
.maef-v3 .blog-hero-section [class*="date"],
.maef-v3 .blog-hero-section [class*="date"] * { color: var(--v3-grey) !important; }
.maef-v3 .blog-hero-section .link-3:hover { color: var(--v3-green) !important; }

/* Page accompagnement : la scène de la démarche à droite du titre. */
.maef-v3 .hero-section:has(.v3-service-scene) .hero-container { padding-right: min(40%, 460px); }
.maef-v3 .hero-section .v3-service-scene {
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 50%;
  width: min(36%, 440px);
  transform: translateY(-50%);
  mix-blend-mode: multiply;
}

/* Cartes « Quel dossier est bloqué » : la scène de la démarche sur fond blanc, sans cadre. */
.maef-v3 .card-image.v3-card-scene { background: #fff !important; display: flex; align-items: flex-end; justify-content: center; }
.maef-v3 .card-image.v3-card-scene img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* « Ce qu'on conteste pour vous » : la scène de la démarche sur un cartouche sauge, en haut de la carte. */
.maef-v3 .dark-section .column-image[class] {
  position: relative !important;
  flex: 0 0 auto;
  height: 200px !important;
  margin: 14px 14px 0;
  border-radius: 20px;
  background: #fff center / auto 90% no-repeat !important;
}
.maef-v3 .column-block[href*="oqtf-irtf"] .column-image[class] { background-image: url('../images/maef-v3/scene-refus-a.webp') !important; }
.maef-v3 .column-block[href*="titre-sejour"] .column-image[class] { background-image: url('../images/maef-v3/scene-refus-b.webp') !important; }
.maef-v3 .column-block[href*="naturalisation"] .column-image[class] { background-image: url('../images/maef-v3/scene-naturalisation.webp') !important; }
.maef-v3 .column-block[href*="autorisation-travail"] .column-image[class] { background-image: url('../images/maef-v3/scene-travail.webp') !important; }
.maef-v3 .column-block[href*="regroupement-familial"] .column-image[class] { background-image: url('../images/maef-v3/scene-famille.webp') !important; }
.maef-v3 .column-block[href*="visa"] .column-image[class] { background-image: url('../images/maef-v3/scene-visa.webp') !important; }
.maef-v3 .dark-section .column-block { background: rgba(255,255,255,.05) !important; }
.maef-v3 .dark-section .column-content { padding-top: 22px !important; }

/* Demi-blocs illustrés (accueil, À propos) : scènes de la charte à la place des photos à dégradé tricolore. */
.maef-v3 .block-half-section.v2-img-avocat[class],
.maef-v3 .block-half-section.v2-img-forum[class],
.maef-v3 .block-half-section.image-passport[class],
.maef-v3 .block-half-section.image-mission[class] {
  background: #fff center / contain no-repeat !important;
  box-shadow: none !important;
}
.maef-v3 .block-half-section.v2-img-avocat[class] { background-image: url('../images/maef-v3/scene-reponse-b.webp') !important; }
.maef-v3 .block-half-section.v2-img-forum[class] { background-image: url('../images/maef-v3/scene-lettre.webp') !important; }
.maef-v3 .block-half-section.image-passport[class] { background-image: url('../images/maef-v3/attente-reference-900.webp') !important; }
.maef-v3 .block-half-section.image-mission[class] { background-image: url('../images/maef-v3/scene-reponse-a.webp') !important; }
.maef-v3 .block-half-section::before,
.maef-v3 .block-half-section::after { display: none !important; }

/* Urgence OQTF : bande vert forêt, titre et bouton seuls (plus de maquette de téléphone ni d'écran rouge). */
.maef-v3 .emergency-banner-image { display: none !important; }

/* Cartes d'articles : photos de la charte, sans dégradé. Voile vert uni seulement sous le texte blanc. */
.maef-v3 .slider-article-image .image-overlay { display: none !important; }
.maef-v3 .main-article-image .image-color-overlay {
  background: rgba(11, 46, 42, 0.5) !important;
  background-image: none !important;
}

@media (max-width: 900px) {
  .maef-v3 .hero-section:has(.v3-service-scene) { display: block !important; min-height: 0 !important; }
  .maef-v3 .hero-section:has(.v3-service-scene) .hero-container { padding-right: 0; text-align: left !important; align-items: flex-start !important; }
  .maef-v3 .hero-section .v3-service-scene { position: static; display: block; width: min(80%, 340px); margin: 20px auto 0; transform: none; }
}
@media (max-width: 600px) {
  .maef-v3 .hero-section:not(.v3-hero),
  .maef-v3 .blog-hero-section { margin: 62px 0 0 !important; padding: 40px 0 36px !important; border-radius: 0; }
  .maef-v3 .hero-section:not(.v3-hero) .hero-container,
  .maef-v3 .blog-hero-section .blog-hero-container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* Cartes d'articles sur photo : lien lisible en blanc. */
.maef-v3 .main-article .card-cta, .maef-v3 .main-article .card-cta *,
.maef-v3 .minor-article .card-cta, .maef-v3 .minor-article .card-cta * { color: #fff !important; }
/* Bandeau urgence OQTF : respiration sans la maquette de téléphone. */
.maef-v3 .section.emergency-section { padding: 56px 0 !important; }
.maef-v3 .emergency-section .container { min-height: 0 !important; }
