/* Moteurfr.fr : gabarit « moteurfr » (2026). Les pages secondaires gardent leur structure Arfooo : leurs classes sont habillées ici. */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/*
  Couleurs, un rôle chacune :
  --orange : la marque et l'action principale (proposer un site, rechercher).
  --blue   : les liens.
  --ink    : titres, fond du pied de page et de l'accueil.
*/
:root {
  --orange: #ff6a13; --orange-2: #e85700; --orange-soft: #fff1e8;
  --blue: #1d5bd8; --blue-soft: #eef3ff;
  --ink: #101828; --ink-2: #1d2939; --text: #344054; --muted: #667085; --line: #e4e7ec; --soft: #f6f7f9; --bg: #ffffff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --radius: 16px; --radius-s: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px -10px rgba(16, 24, 40, .18);
  --shadow-up: 0 2px 4px rgba(16, 24, 40, .06), 0 18px 36px -16px rgba(16, 24, 40, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 750; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }
.mf-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.mf-skip:focus { top: 12px; }
.mf-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
#top1:empty, .fixe { display: none; }

/* Logo : deux yeux, clin d'œil à l'ancien logo */
.mf-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.mf-logo:hover { text-decoration: none; }
.mf-logo__mark { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 38px; height: 38px; border-radius: 11px; background: var(--orange); }
.mf-logo__mark i { position: relative; width: 12px; height: 15px; border-radius: 50%; background: #fff; }
.mf-logo__mark i::after { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 7px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.mf-logo:hover .mf-logo__mark i::after { transform: translateX(-2px); }
.mf-logo__name { font-size: 21px; font-weight: 800; letter-spacing: -.035em; }
.mf-logo__name em { font-style: normal; font-weight: 500; color: var(--muted); }
.mf-logo--light { color: #fff; }
.mf-logo--light .mf-logo__name em { color: rgba(255, 255, 255, .6); }

/* Bouton d'action principal : toujours « proposer un site » ou « rechercher » */
.mf-cta, .button, input[type="submit"], input[type="button"], button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font: inherit; font-size: 14.5px; font-weight: 650; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.mf-cta:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover { background: var(--orange-2); color: #fff; text-decoration: none; }
.mf-cta span { transition: transform .25s var(--ease); }
.mf-cta:hover span { transform: translateX(3px); }
.mf-more { flex: none; color: var(--blue); font-size: 14.5px; font-weight: 600; }
.mf-more span { display: inline-block; transition: transform .25s var(--ease); }
.mf-more:hover { text-decoration: none; }
.mf-more:hover span { transform: translateX(3px); }
.mf-eyebrow { margin: 0 0 14px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* En-tête */
.mf-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.mf-header__in { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); min-height: 68px; }
.mf-nav { flex: 1; min-width: 0; }
.mf-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mf-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: background .2s, color .2s; }
.mf-nav a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }

/* Recherche : bandeau sous l'en-tête, grand bandeau sombre à l'accueil */
.mf-search { padding: 18px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.mf-searchbox { display: flex; align-items: stretch; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.mf-searchbox:focus-within { border-color: var(--orange); }
.mf-field { display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; padding: 6px 16px; border-radius: 14px; cursor: text; transition: background .2s; }
.mf-field + .mf-field { border-left: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.mf-field:hover { background: var(--soft); }
.mf-field span { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mf-field input { width: 100%; padding: 2px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font: inherit; font-size: 15.5px; }
.mf-field input:focus { outline: none; box-shadow: none; }
.mf-field input::placeholder { color: #98a2b3; }
#search_ok_buton { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 15px; }
#advancedSearchLink { display: inline-block; margin: 10px 0 0 8px; color: var(--muted); font-size: 13.5px; }
#searchEngineExtraFields:empty { display: none; }
.mf-search--hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(52px, 8vw, 96px); background: var(--ink); border: 0; color: #fff; isolation: isolate; }
.mf-search--hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 0%, rgba(255, 106, 19, .45), transparent 42%), radial-gradient(circle at 0% 100%, rgba(29, 91, 216, .38), transparent 46%); }
.mf-search--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.mf-hero__title { max-width: 820px; margin-bottom: clamp(26px, 4vw, 40px); color: #fff; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.04em; }
.mf-search--hero .mf-searchbox { max-width: 920px; border: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.mf-search--hero #advancedSearchLink { color: rgba(255, 255, 255, .7); }

/* Mise en page : contenu + colonne */
.mf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 36px); align-items: start; padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 80px); }
.mf-main { grid-column: 1; grid-row: 1; min-width: 0; }
.mf-side { grid-column: 2; grid-row: 1; display: grid; gap: 16px; position: sticky; top: 88px; }
.mf-layout > span { display: none; }
#left:empty { display: none; }

/* Fil d'Ariane */
.show_arbo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; color: #98a2b3; font-size: 13.5px; }
.show_arbo a, .link_showarbo { color: var(--muted); }
.show_arbo a:hover { color: var(--blue); }

/* Titres de section */
.title_h_1, .title_h, .title_h_2, .title_h_2_out, .mf-sectionhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.title_h_1 h1, .title_h h1 { font-size: clamp(26px, 3.2vw, 38px); }
.title_h_1 h2, .title_h_2 h2, .title_h h2, .title_h_2_out h2, .mf-sectionhead h2 { font-size: clamp(20px, 2.2vw, 25px); }
* + .title_h_2, * + .title_h, .column_in + .title_h_1, .mf-cats + .title_h_2 { margin-top: clamp(28px, 4vw, 44px); }
.rss_image { width: 26px; opacity: .7; }

/* Panneau de contenu */
.column_in, .column_in2, .column_in_grey { margin: 0 0 16px; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.column_in::after { content: ""; display: block; clear: both; }

/* Grille de catégories */
.mf-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.mf-cat { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.mf-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); border-color: #fdd2b8; }
.mf-cat__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-2); font-size: 18px; font-weight: 800; text-transform: uppercase; }
.mf-cat__body { min-width: 0; }
.mf-cat__name { display: inline; color: var(--ink); font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.mf-cat__name:hover { color: var(--orange-2); text-decoration: none; }
.mf-cat__count { display: block; color: var(--muted); font-size: 13px; }
.mf-cat__subs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; }
.mf-cat__subs a { color: var(--text); }
.mf-cat__subs a:hover { color: var(--blue); }

/* Vignettes de sites (accueil) */
.mf-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px; }
.mf-shot { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.mf-shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); text-decoration: none; }
.mf-shot__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.mf-shot__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.mf-shot:hover .mf-shot__img img { transform: scale(1.04); }
.mf-shot__title { display: block; padding: 10px 12px 12px; overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }

/* Présentation (accueil) */
.mf-about { margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: linear-gradient(135deg, var(--orange-soft), #fff 70%); border: 1px solid #fde0cc; }
.mf-about h2 { font-size: clamp(20px, 2.2vw, 25px); }
.mf-about p { max-width: 640px; margin: 10px 0 20px; }

/* Liste de sites */
.mf-sites { display: grid; gap: 14px; }
.mf-site { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: box-shadow .25s var(--ease), border-color .25s; }
.mf-site:hover { box-shadow: var(--shadow-up); border-color: #d0d5dd; }
.mf-site__img { display: block; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--soft); }
.mf-site__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mf-site__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mf-site__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 19px; }
.mf-site__title a { color: var(--ink); }
.mf-site__title a:hover { color: var(--blue); }
.mf-site__domain { margin: 0; color: #1a7f37; font-size: 13.5px; }
.mf-site__desc { margin: 2px 0 0; color: var(--text); font-size: 15px; }
.mf-site__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: auto; padding-top: 8px; color: var(--muted); font-size: 13.5px; }
.mf-stat b { color: var(--ink); }
.mf-site__more { margin-left: auto; font-weight: 600; }
.mf-site__more:hover { text-decoration: none; }
.mf-badge { padding: 3px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-2); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.mf-chips a { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 13px; }
.mf-chips a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.mf-empty { margin: 0; padding: 28px; border: 1px dashed #d0d5dd; border-radius: var(--radius); color: var(--muted); text-align: center; }

/* Pagination */
.mf-pages, .column_in_pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 24px 0 0; }
.mf-pages a, .mf-pages b { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow); }
.mf-pages a:hover { color: var(--blue); text-decoration: none; }
.mf-pages b { background: var(--ink); color: #fff; }
.mf-pages__total { padding: 0 6px; color: var(--muted); font-size: 14px; }

/* Colonne : catégories, statistiques, espace membre */
.menuright, .menuleft, .menudetails { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.menuright ul, .menuleft ul, .menudetails ul { margin: 0; padding: 8px; list-style: none; }
.menuright li, .menuleft li, .menudetails li { font-size: 14.5px; }
.menuright li.header, .menuleft li.header, .menudetails li[id^="header_"] { margin: -8px -8px 6px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.menudetails li[id^="header_"]:not(:first-child) { margin-top: 8px; border-top: 1px solid var(--line); }
.menuright li a, .menuleft li a, .menudetails li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.menuright li a:hover, .menuleft li a:hover, .menudetails li a:hover { background: var(--soft); color: var(--ink); }
.menuright li.text, .menuleft li.text, .menudetails li.text { padding: 6px 10px; color: var(--muted); }
.menuright li.text_last, .menuleft li.text_last { display: none; }
.menuleft_text_2 { padding: 14px 16px 0; color: var(--ink); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.menuleft_keywords ul { display: flex; flex-wrap: wrap; gap: 6px; }

/* Fiche d'un site */
#column_in_details { float: left; width: calc(100% - 260px); padding-right: 24px; }
#column_in_right_details { float: right; width: 260px; display: grid; gap: 14px; }
#column_in_right_details .website_image { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); }
.form_details { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.title_details { color: var(--muted); font-size: 14px; font-weight: 600; }
.infos_details { color: var(--ink); }
.column_in_comment_in_right { display: inline-block; vertical-align: middle; }
.column_in_thematic { padding: 12px 0; border-top: 1px solid var(--line); }
.column_in_thematic:first-child { padding-top: 0; border-top: 0; }
.text_thematic_close { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; }
.nanoImage { width: 56px; margin: 0 6px 6px 0; border-radius: 8px; cursor: pointer; }
.mediumImage { border-radius: var(--radius-s); }
.column_in_comment, .column_in_comment_grey { padding: 12px 0; border-top: 1px solid var(--line); }
.text_comment { color: var(--muted); font-size: 13.5px; }

/* Liens et textes hérités */
.link_black_blue_b_u { color: var(--ink); font-weight: 650; }
.link_black_blue_b_u:hover { color: var(--blue); }
.link_black_grey, .link_black_grey_underline, .link_small_underline { color: var(--blue); }
.link_black_grey_bold { color: var(--ink); font-weight: 600; }
.text_numbers { color: var(--muted); font-size: 13px; }
.text_characters_orange { color: #1a7f37; }
.text_characters_boldgras { color: var(--ink); font-weight: 600; }
.text_color_mandatory, .text_red { color: #d92d20; }
.text_center { text-align: center; }
.aide, .aide_description { color: var(--muted); font-size: 13.5px; }

/* Formulaires (proposer un site, contact, espace membre) */
.form, .form_popup { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 18px; align-items: start; margin: 0 0 14px; }
.form .title, .form_popup .title_popup { padding-top: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.form .infos, .form_popup .infos_popup { min-width: 0; }
.infos_select_category { grid-column: 1 / -1; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], textarea, select { max-width: 100%; padding: 10px 14px; border: 1px solid #d0d5dd; border-radius: var(--radius-s); background: #fff; color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 19, .14); }
.mf-field input[type="text"] { padding: 2px 0; border: 0; border-radius: 0; box-shadow: none; }
.input_text_large, .textarea_large, .textarea_extra_large, .input_text_metas { width: 100%; }
.input_text_medium { width: min(100%, 320px); }
.input_text_small { width: min(100%, 140px); }
textarea { min-height: 140px; resize: vertical; }
select[size] { width: min(100%, 360px) !important; border-radius: var(--radius-s) !important; border: 1px solid #d0d5dd !important; padding: 6px !important; }
.captchaImage { border-radius: 8px; vertical-align: middle; }
label.error { color: #d92d20; font-size: 13.5px; }
.table_website, .table_user { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table_website th, .table_website td, .table_user th, .table_user td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* Fenêtres (signaler un problème, contacter) */
#popup_principal { font-family: var(--sans); }
#popup_top { padding: 16px 20px; background: var(--ink); color: #fff; font-weight: 700; }
#popup_column { padding: 20px; }

/* Pied de page */
.mf-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.mf-footer::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 19, .3), transparent 65%); pointer-events: none; }
.mf-footer a { color: #fff; }
.mf-footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.mf-footer__about p { max-width: 360px; margin: 16px 0 20px; }
.mf-footer h2 { margin: 6px 0 14px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mf-footer ul { margin: 0; padding: 0; list-style: none; }
.mf-footer li { margin-bottom: 9px; }
.mf-footer li a { color: rgba(255, 255, 255, .78); }
.mf-footer li a:hover { color: #fff; }
.mf-sponsors { display: flex; flex-wrap: wrap; gap: 10px; }
.mf-sponsors a { display: grid; place-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; }
.mf-sponsors img { display: block; height: 28px; width: auto; }
.mf-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 13.5px; }
.mf-footer__bottom p { margin: 0; }

@media (max-width: 1080px) {
  .mf-header { position: relative; }
  .mf-header__in { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; }
  .mf-header .mf-cta { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .mf-nav { order: 3; flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); }
  .mf-nav ul { overflow-x: auto; padding: 0 var(--gutter) 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .mf-nav ul::-webkit-scrollbar { display: none; }
  .mf-nav a { background: var(--soft); }
}
@media (max-width: 960px) {
  .mf-layout { grid-template-columns: 1fr; }
  .mf-side { grid-column: 1; grid-row: 2; position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .mf-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mf-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #column_in_details, #column_in_right_details { float: none; width: auto; padding: 0; }
  #column_in_right_details { margin-top: 20px; }
}
@media (max-width: 640px) {
  .mf-logo__name { font-size: 19px; }
  .mf-logo__mark { width: 34px; height: 34px; }
  .mf-searchbox { flex-direction: column; border-radius: 18px; }
  .mf-field { padding: 8px 12px; }
  .mf-field + .mf-field { border-left: 0; border-top: 1px solid var(--line); border-radius: 0; }
  #search_ok_buton { width: 100%; }
  .mf-search:not(.mf-search--hero) .mf-field:nth-child(2) { display: none; }
  .mf-search:not(.mf-search--hero) .mf-searchbox { flex-direction: row; }
  .mf-search:not(.mf-search--hero) #search_ok_buton { width: auto; padding: 0 16px; }
  .mf-search:not(.mf-search--hero) #search_ok_buton span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mf-search:not(.mf-search--hero) #advancedSearchLink { display: none; }
  .mf-cats { grid-template-columns: 1fr; }
  .mf-site { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .mf-site__title { font-size: 17px; }
  .mf-site__more { margin-left: 0; }
  .form, .form_popup, .form_details { grid-template-columns: 1fr; gap: 4px; }
  .form .title { padding-top: 0; }
  .mf-footer__grid { grid-template-columns: 1fr; }
  .mf-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.mf-home .mf-menu-cats { display: none; }
.mf-cats + .mf-sites, .mf-cats + .column_in { margin-top: 24px; }

/* Offre unique (page de paiement) */
.mf-offer { max-width: 620px; padding: clamp(22px, 3vw, 32px); border: 1px solid #fde0cc; border-radius: var(--radius); background: linear-gradient(135deg, var(--orange-soft), #fff 60%); box-shadow: var(--shadow); }
.mf-offer__label { margin: 0 0 6px; color: var(--orange-2); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mf-offer__name { font-size: clamp(22px, 2.6vw, 28px); }
.mf-offer__price { margin: 6px 0 0; color: var(--ink); font-size: 22px; font-weight: 750; }
.mf-offer__desc { margin-top: 14px; color: var(--text); }
.mf-offer__pay { margin: 18px 0 16px; color: var(--muted); font-size: 14.5px; }
.mf-offer__pay b { color: var(--ink); }

/* Tunnel d'inscription : pas de colonne, toute l'attention sur l'offre */
.mf-funnel .mf-side { display: none; }
.mf-funnel .mf-layout { grid-template-columns: minmax(0, 1fr); }
.mf-funnel .show_arbo { display: none; }
.mf-sell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(8px, 2vw, 24px); }
.mf-sell__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.mf-sell__lead { max-width: 620px; margin: 16px 0 28px; color: var(--text); font-size: 18px; }
.mf-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.mf-benefits li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.mf-benefits b { color: var(--ink); font-size: 15.5px; }
.mf-benefits__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 14px; font-weight: 800; }
.mf-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mf-steps li { display: flex; align-items: center; gap: 10px; flex: 1 1 200px; padding: 12px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 550; }
.mf-steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.mf-buy { position: sticky; top: 92px; padding: 28px; border-radius: 22px; background: var(--ink); color: rgba(255, 255, 255, .75); box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .6); overflow: hidden; isolation: isolate; }
.mf-buy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(255, 106, 19, .5), transparent 55%); }
.mf-buy__label { margin: 0; color: #ffb27f; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mf-buy__price { margin: 10px 0 0; color: #fff; font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.mf-buy__price small { font-size: 30px; font-weight: 700; }
.mf-buy__note { margin: 8px 0 0; font-size: 14.5px; }
.mf-buy__desc { margin-top: 14px; font-size: 14.5px; }
.mf-buy__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 24px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--orange); color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(255, 106, 19, .8); transition: background .2s, transform .2s var(--ease); }
.mf-buy__cta:hover { background: var(--orange-2); transform: translateY(-1px); }
.mf-buy__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 13.5px; }
.mf-proof, .mf-faq { margin-top: clamp(40px, 6vw, 72px); }
.mf-proof h2, .mf-faq h2 { margin-bottom: 16px; font-size: clamp(22px, 2.4vw, 28px); }
.mf-faq { max-width: 760px; }
.mf-faq details { border-bottom: 1px solid var(--line); }
.mf-faq summary { position: relative; padding: 18px 36px 18px 0; color: var(--ink); font-size: 16.5px; font-weight: 650; cursor: pointer; list-style: none; }
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--orange); font-size: 24px; font-weight: 500; transition: transform .2s var(--ease); }
.mf-faq details[open] summary::after { transform: rotate(45deg); }
.mf-faq details p { margin: 0 0 18px; color: var(--text); }
.mf-sell__again { max-width: 360px; margin: clamp(32px, 5vw, 56px) auto 0; }
.mf-redirect { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--soft); }
.mf-redirect__box { max-width: 460px; padding: 36px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-up); text-align: center; }
.mf-redirect__box .mf-logo__mark { margin-bottom: 18px; }
.mf-redirect__box h1 { font-size: 24px; }
.mf-redirect__box p { margin: 10px 0 22px; color: var(--muted); }
@media (max-width: 960px) {
  .mf-sell { grid-template-columns: 1fr; }
  .mf-buy { position: relative; top: auto; }
}
@media (max-width: 640px) {
  .mf-benefits { grid-template-columns: 1fr; }
  .mf-buy__price { font-size: 54px; }
}
@media (max-width: 960px) {
  /* Sur petit écran, l'offre et son bouton viennent juste après le titre */
  .mf-sell__main { display: contents; }
  .mf-sell > .mf-sell__main > * { order: 1; }
  .mf-sell > .mf-buy { order: 2; margin-bottom: 8px; }
  .mf-sell > .mf-sell__main > .mf-benefits, .mf-sell > .mf-sell__main > .mf-steps { order: 3; }
  .mf-sell { gap: 0; }
  .mf-sell__lead { margin-bottom: 20px; }
  .mf-benefits { margin-top: 24px; }
}
