/*
Theme Name: VAF
Theme URI: https://vols-avion-france.fr/
Author: Vols Avion France
Description: Thème éditorial de vols-avion-france.fr.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: vaf
*/

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --vf-bg: #F7F4EE;
  --vf-surface: #FFFFFF;
  --vf-text: #172235;
  --vf-muted: #566170;
  --vf-accent: #0B5CAD;
  --vf-accent-hover: #08457F;
  --vf-accent-soft: #EAF3FC;
  --vf-copper: #A24C0B;
  --vf-copper-soft: #FFF1E5;
  --vf-success: #176B4D;
  --vf-success-soft: #ECF8F2;
  --vf-alert: #8A4B00;
  --vf-alert-soft: #FFF3D6;
  --vf-danger: #A11A2D;
  --vf-danger-soft: #FDEDEF;
  --vf-border: #D8DEE6;
  --vf-border-strong: #BCC6D1;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius: 6px;
  --width-reading: 700px;
  --width-wide: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--vf-bg);
  color: var(--vf-text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--vf-accent); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--vf-accent-hover); }
:focus-visible { outline: 3px solid var(--vf-accent); outline-offset: 3px; }
::selection { background: var(--vf-accent-soft); color: var(--vf-text); }
button,
input,
select,
textarea { font-family: "Source Sans 3", system-ui, sans-serif; }
button,
select,
input[type="checkbox"],
input[type="radio"] { cursor: pointer; }

h1,
h2,
h3,
.site-logo {
  color: var(--vf-text);
  font-family: "Newsreader", Georgia, serif;
  font-synthesis: none;
  text-wrap: balance;
}

h1 { margin: 0 0 24px; font-size: 35px; font-weight: 700; letter-spacing: -.022em; line-height: 1.03; }
h2 { margin: 48px 0 16px; font-size: 27px; font-weight: 700; line-height: 1.1; }
h3 { margin: 32px 0 12px; font-size: 21px; font-weight: 600; line-height: 1.18; }
p { margin: 0 0 16px; }

.eyebrow,
.article-kicker,
.tool-link__type {
  margin: 0 0 8px;
  color: var(--vf-copper);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-shell,
.article-layout { width: min(calc(100% - 32px), var(--width-wide)); margin-inline: auto; }
.site-main { min-height: 55vh; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 12px 16px; border-radius: var(--radius); background: var(--vf-text); color: var(--vf-surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* En-tête */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--vf-border-strong); background: var(--vf-surface); }
.site-header__inner { display: flex; min-height: 64px; width: min(calc(100% - 32px), var(--width-wide)); margin-inline: auto; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--vf-text); font-size: 21px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-logo__mark { width: 26px; height: 26px; flex: 0 0 auto; }
.site-logo__suffix { color: var(--vf-accent); }
.site-nav-toggle { display: inline-flex; min-width: 48px; min-height: 48px; padding: 8px 12px; align-items: center; gap: 8px; border: 1px solid var(--vf-border-strong); border-radius: var(--radius); background: var(--vf-surface); color: var(--vf-text); font-size: 15px; font-weight: 600; }
.site-nav-toggle__icon,
.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentcolor; content: ""; }
.site-nav-toggle__icon { position: relative; }
.site-nav-toggle__icon::before { position: absolute; top: -6px; }
.site-nav-toggle__icon::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; top: 100%; right: 16px; left: 16px; padding: 12px; border: 1px solid var(--vf-border); border-radius: var(--radius); background: var(--vf-surface); box-shadow: 0 8px 22px rgb(23 34 53 / 9%); }
.site-header.is-nav-open .site-nav { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: flex; min-height: 48px; padding: 10px 12px; align-items: center; border-bottom: 2px solid transparent; color: var(--vf-text); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a { border-bottom-color: var(--vf-accent); color: var(--vf-accent-hover); }

/* Article */
.breadcrumb { margin-block: 24px; overflow-x: auto; color: var(--vf-muted); font-size: 14px; line-height: 1.4; scrollbar-width: thin; }
.breadcrumb ol { display: flex; gap: 8px; margin: 0; padding: 0; align-items: center; list-style: none; white-space: nowrap; }
.breadcrumb li:not(:last-child)::after { margin-left: 8px; color: var(--vf-muted); content: "/"; }
.breadcrumb a { color: var(--vf-muted); }
.breadcrumb [aria-current="page"] { color: var(--vf-text); font-weight: 600; }
.article-layout { margin-bottom: 64px; }
.article-body { width: min(100%, var(--width-reading)); margin-inline: auto; padding: 24px 20px 32px; background: var(--vf-surface); }
.article-header { margin-bottom: 24px; }
.article-kicker { color: var(--vf-copper); }
.article-trustline { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--vf-border); color: var(--vf-muted); font-size: 14px; line-height: 1.4; }
.article-trustline a { font-weight: 600; }
.entry-content { font-size: 17px; line-height: 1.68; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p + p { margin-top: 1.15em; }
.entry-content > ul,
.entry-content > ol { padding-left: 1.35rem; }
.entry-content li + li { margin-top: 7px; }
.entry-content hr { margin-block: 40px; border: 0; border-top: 1px solid var(--vf-border); }
.entry-content iframe { max-width: 100%; }
.entry-content .alignwide,
.entry-content .alignfull { max-width: 100%; }
.entry-content h2 { margin: 48px 0 16px; font-size: 27px; line-height: 1.1; }
.entry-content h3 { font-size: 21px; line-height: 1.18; }

/* Réponse rapide, règles et sources publiées */
.quick-answer,
p.vaf-chapo { margin: 28px 0 36px; padding: 20px 24px; border: 0; border-left: 3px solid var(--vf-accent); border-radius: 0; background: var(--vf-surface); color: var(--vf-text); font-size: 20px; font-weight: 400; line-height: 1.5; }
p.vaf-chapo::before { display: block; margin-bottom: 8px; color: var(--vf-accent-hover); content: "La réponse rapide"; font-family: "Source Sans 3", system-ui, sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.quick-answer__text { margin: 0; }
.quick-answer__meta { margin: 14px 0 0; color: var(--vf-muted); font-size: 13px; line-height: 1.4; }
.quick-answer--alert { border-left-color: var(--vf-alert); }
aside.vaf-encadre { margin-block: 32px; padding: 20px 24px; border: 0; border-left: 3px solid var(--vf-alert); border-radius: 0; background: var(--vf-alert-soft); }
aside.vaf-encadre > :last-child { margin-bottom: 0; }
.source-note,
p.vaf-verif { margin-block: 32px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--vf-border); border-radius: 0; background: transparent; color: var(--vf-muted); font-size: 14px; line-height: 1.55; }
.source-note { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.source-note__icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--vf-accent-soft); color: var(--vf-accent-hover); font-weight: 700; }
.source-note__title { margin-bottom: 2px; font-weight: 700; }
.source-note--changed,
.source-note--warning { padding: 16px; border-top-color: var(--vf-alert); background: var(--vf-alert-soft); }
.article-sources { margin-top: 48px; padding-top: 1px; border-top: 1px solid var(--vf-border-strong); }
.article-sources h2 { margin-top: 28px; }
.article-sources ol { margin: 0 0 16px; padding-left: 22px; }
.article-sources li + li { margin-top: 8px; }
.article-sources p { font-size: 14px; }

/* Tableaux */
.table-scroll { position: relative; max-width: 100%; margin-block: 32px; overflow-x: auto; border: 1px solid var(--vf-border); border-radius: var(--radius); background: var(--vf-surface); box-shadow: inset -12px 0 12px -15px var(--vf-text); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 4px; }
.comparison-table,
.entry-content table { width: 100%; min-width: 620px; border-collapse: collapse; color: var(--vf-text); font-family: "Source Sans 3", system-ui, sans-serif; font-size: 15.5px; font-variant-numeric: tabular-nums; line-height: 1.45; }
.comparison-table caption,
.entry-content table caption { padding: 16px; border-bottom: 1px solid var(--vf-border-strong); color: var(--vf-text); font-size: 17px; font-weight: 700; text-align: left; caption-side: top; }
.comparison-table th,
.comparison-table td,
.entry-content table th,
.entry-content table td { padding: 14px 16px; border-top: 1px solid var(--vf-border); text-align: left; vertical-align: middle; }
.comparison-table thead th,
.entry-content table thead th { background: var(--vf-bg); color: var(--vf-muted); font-size: 12.5px; font-weight: 700; font-variant-caps: all-small-caps; letter-spacing: .06em; text-transform: uppercase; }
.comparison-table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--vf-bg) 55%, var(--vf-surface)); }
.table-scroll.is-updating { opacity: .65; pointer-events: none; }

/* Sommaire et navigation contextuelle */
.toc-slot { margin: 0 0 24px; }
.toc { border: 0; border-left: 1px solid var(--vf-border-strong); border-radius: 0; background: transparent; }
.toc summary { min-height: 48px; padding: 10px 0 10px 18px; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.4; }
.toc nav { padding: 0 0 12px 18px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li + li { margin-top: 7px; }
.toc a { color: var(--vf-muted); font-size: 14px; line-height: 1.4; }
.toc a:hover,
.toc a[aria-current="location"] { color: var(--vf-accent-hover); }
.child-nav { margin-top: 48px; }
.child-nav__grid { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--vf-border-strong); list-style: none; }
.nav-card { display: grid; gap: 8px; height: 100%; padding: 18px 0; border-bottom: 1px solid var(--vf-border); color: var(--vf-text); text-decoration: none; }
.nav-card:hover { color: var(--vf-accent-hover); }
.nav-card__title { font-weight: 700; }
.nav-card__meta { color: var(--vf-muted); font-size: 14px; line-height: 1.4; }
.sibling-pages { margin-block: 40px; padding: 20px 0; border: 0; border-top: 1px solid var(--vf-border-strong); border-radius: 0; background: transparent; }
.sibling-pages ul { margin: 0; padding: 0; list-style: none; }
.sibling-pages li + li { border-top: 1px solid var(--vf-border); }
.sibling-pages a { display: block; padding-block: 12px; color: var(--vf-text); font-weight: 600; text-decoration: none; }
.sibling-pages a::after { color: var(--vf-accent); content: " →"; }
.sibling-pages a:hover,
.sibling-pages__parent a { color: var(--vf-accent-hover); }

/* Auteur */
.author-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block: 48px 16px; padding-top: 20px; border-top: 1px solid var(--vf-border); font-size: 14px; line-height: 1.45; }
.author-box:has(.author-box__avatar) { grid-template-columns: 48px minmax(0, 1fr); }
.author-box__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-box__label { margin-bottom: 2px; color: var(--vf-muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.author-box__name { margin: 0 0 2px; font-size: 21px; line-height: 1.18; }
.author-box__name a { color: var(--vf-text); }
.author-box p { margin-bottom: 4px; }

/* Composants éditoriaux et outils */
.button,
.wp-element-button { display: inline-flex; min-height: 50px; padding: 0 20px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius); background: var(--vf-accent); color: var(--vf-surface); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.button:hover,
.wp-element-button:hover { background: var(--vf-accent-hover); color: var(--vf-surface); }
.button--secondary { border-color: var(--vf-border-strong); background: var(--vf-surface); color: var(--vf-text); }
.regulation-quote { margin: 32px 0; padding: 20px 24px; border-left: 3px solid var(--vf-alert); background: var(--vf-alert-soft); }
.regulation-quote blockquote { margin: 0; }
.regulation-quote blockquote p { font-size: 17px; font-weight: 600; line-height: 1.6; }
.regulation-quote figcaption { margin-top: 16px; color: var(--vf-muted); font-size: 14px; }
.tool-card,
div.vaf-tool { width: 100% !important; max-width: none !important; margin-block: 32px; isolation: isolate; }
div.vaf-tool { border-radius: var(--radius) !important; color: var(--vf-text) !important; }
.tool-card { padding: 20px; border: 1px solid var(--vf-border-strong); border-radius: var(--radius); background: var(--vf-surface); }
.tool-card__header h2 { margin-top: 0; }
.tool-form { display: grid; gap: 24px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field label,
.vaf-tool label,
.vaf-tool legend { font-family: "Source Sans 3", system-ui, sans-serif !important; font-size: 14.5px !important; font-weight: 600 !important; line-height: 1.35 !important; }
.field input,
.field select,
.field textarea,
.vaf-tool input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.vaf-tool select { width: 100%; min-height: 52px !important; padding: 12px 14px !important; border: 1px solid var(--vf-border-strong) !important; border-radius: 8px !important; background: var(--vf-surface) !important; color: var(--vf-text) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.3 !important; }
.vaf-tool input[type="checkbox"],
.vaf-tool input[type="radio"] { width: 20px; min-width: 20px; height: 20px; }
.vaf-tool button { min-height: 50px !important; padding: 0 20px !important; border-radius: var(--radius) !important; font-family: "Source Sans 3", system-ui, sans-serif !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.2 !important; }
.vaf-tool button[type="submit"],
.vaf-tool .vaf-primary { border-color: var(--vf-accent) !important; background: var(--vf-accent) !important; color: var(--vf-surface) !important; }
.vaf-tool button[type="submit"]:hover,
.vaf-tool .vaf-primary:hover { border-color: var(--vf-accent-hover) !important; background: var(--vf-accent-hover) !important; }
.vaf-tool .vaf-secondary { border-color: var(--vf-border-strong) !important; background: var(--vf-surface) !important; color: var(--vf-accent) !important; }
.vaf-tool a { color: var(--vf-accent) !important; }
.vaf-tool :focus-visible { outline: 3px solid var(--vf-accent) !important; outline-offset: 3px !important; }
.vaf-tool .vaf-grid { gap: 24px !important; }
.vaf-tool fieldset.vaf-field,
.vaf-tool .tool-section + .tool-section { margin-top: 24px !important; padding-top: 24px !important; border-top: 1px solid var(--vf-border) !important; }
.vaf-tool small,
.vaf-tool .vaf-help,
.vaf-tool .help { font-size: 14px !important; line-height: 1.45 !important; }
.tool-result,
.tool-error { margin-top: 24px; padding: 24px; border-radius: 0; }
.tool-result { border: 0; border-left: 4px solid var(--vf-success); background: var(--vf-success-soft); color: var(--vf-success); }
.tool-result strong,
.vaf-tool .vaf-result .vaf-amount { font-family: "Newsreader", Georgia, serif !important; font-size: 29px !important; font-weight: 700 !important; line-height: 1.1 !important; }
.vaf-tool .vaf-result { padding: 24px !important; border: 0 !important; border-left: 4px solid var(--vf-success) !important; border-radius: 0 !important; background: var(--vf-success-soft) !important; color: var(--vf-success) !important; }
.vaf-tool .vaf-result .vaf-amount,
.vaf-tool .vaf-result .vaf-total { color: var(--vf-success) !important; }
.vaf-tool .vaf-error { border: 0 !important; border-left: 4px solid var(--vf-danger) !important; border-radius: 0 !important; background: var(--vf-danger-soft) !important; color: var(--vf-danger) !important; }
.tool-error { border-left: 4px solid var(--vf-danger); background: var(--vf-danger-soft); color: var(--vf-danger); }
.tool-method { margin: 40px 0; padding: 24px 0; border-block: 1px solid var(--vf-border-strong); }
.tool-method h2 { margin-top: 0; }
.tool-method li + li { margin-top: 8px; }
.tool-method p { margin: 16px 0 0; font-size: 14px; }

/* Accueil */
.home-hero { max-width: 1180px; padding-block: 64px 56px; }
.home-hero > * { max-width: 760px; }
.home-hero h1 { margin-bottom: 24px; font-size: 42px; font-weight: 700; letter-spacing: -.028em; line-height: 1.02; }
.home-hero__lead { margin: 0; color: var(--vf-muted); font-size: 20px; line-height: 1.5; }
.home-shortcuts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
.home-shortcuts a { font-weight: 600; }
.home-section { padding-block: 48px; }
.section-heading { max-width: 720px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; }
.home-universe-grid { display: grid; border-top: 1px solid var(--vf-border-strong); }
.universe-entry { padding: 24px 0 28px; border-bottom: 1px solid var(--vf-border); }
.universe-entry h3 { margin: 0 0 8px; }
.universe-entry p { max-width: 300px; margin-bottom: 12px; color: var(--vf-muted); font-size: 15.5px; line-height: 1.45; }
.universe-entry > a { font-size: 15px; font-weight: 600; }
.home-tools { margin-block: 32px; border-block: 1px solid var(--vf-border-strong); background: var(--vf-accent-soft); }
.primary-tools { display: grid; gap: 16px; }
.tool-feature { display: grid; gap: 8px; min-height: 210px; padding: 24px; align-content: start; border: 1px solid var(--vf-border-strong); border-radius: var(--radius); background: var(--vf-surface); color: var(--vf-muted); text-decoration: none; }
.tool-feature:hover { border-color: var(--vf-accent); }
.tool-feature strong { color: var(--vf-text); font-family: "Newsreader", Georgia, serif; font-size: 27px; line-height: 1.1; }
.tool-feature b { margin-top: auto; color: var(--vf-success); font-size: 17px; }
.secondary-tools { display: grid; margin-top: 24px; border-top: 1px solid var(--vf-border-strong); }
.secondary-tools a { display: flex; padding: 13px 0; justify-content: space-between; border-bottom: 1px solid var(--vf-border); color: var(--vf-text); font-weight: 600; text-decoration: none; }
.secondary-tools a span { color: var(--vf-accent); }
.editorial-selection { display: grid; border-top: 1px solid var(--vf-border-strong); }
.editorial-pick { padding: 24px 0; border-bottom: 1px solid var(--vf-border); }
.editorial-pick__meta { margin-bottom: 8px; color: var(--vf-muted); font-size: 14px; line-height: 1.4; }
.editorial-pick h3 { margin: 0 0 8px; }
.editorial-pick h3 a { color: var(--vf-text); text-decoration: none; }
.editorial-pick h3 a:hover { color: var(--vf-accent-hover); }
.editorial-pick > p:last-child { margin: 0; color: var(--vf-muted); }
.editorial-pick--lead { padding-top: 30px; }
.editorial-pick--lead h3 { font-size: 27px; }
.journey-section { border-block: 1px solid var(--vf-border-strong); background: var(--vf-surface); }
.journey { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: journey; }
.journey li { position: relative; display: grid; gap: 5px; padding: 16px 0 24px 46px; border-left: 1px solid var(--vf-border-strong); counter-increment: journey; }
.journey li::before { position: absolute; top: 12px; left: -17px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--vf-copper); border-radius: 50%; background: var(--vf-surface); color: var(--vf-copper); content: counter(journey); font-size: 14px; font-weight: 700; }
.journey strong { margin-bottom: 4px; font-family: "Newsreader", Georgia, serif; font-size: 21px; line-height: 1.18; }
.journey a { width: fit-content; font-size: 15px; }
.directory-lists { display: grid; gap: 24px; padding-block: 8px 24px; border-block: 1px solid var(--vf-border-strong); }
.directory-lists h3 { margin: 16px 0 8px; }
.directory-lists p { margin: 0; }
.iata-list a { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .06em; }
.verification-list { margin: 0; padding: 0; border-top: 1px solid var(--vf-border-strong); list-style: none; }
.verification-list li { display: grid; gap: 2px 16px; padding: 13px 0; border-bottom: 1px solid var(--vf-border); }
.verification-list time { color: var(--vf-copper); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.verification-list span { font-weight: 600; }
.verification-list em { color: var(--vf-muted); font-size: 14px; font-style: normal; }
.method-section { margin-top: 48px; padding-block: 40px; border-block: 1px solid var(--vf-border-strong); background: var(--vf-surface); }
.method-section .site-shell { max-width: 760px; margin-left: max(16px, calc((100% - 1180px) / 2)); padding-left: 24px; border-left: 3px solid var(--vf-copper); }
.method-section h2 { margin: 0 0 16px; }
.method-section p:not(.eyebrow) { max-width: 700px; }
.method-section a { font-weight: 600; }
.home-editorial { max-width: var(--width-reading); }

/* Listes et 404 */
.listing-page,
.error-page { padding-bottom: 64px; }
.listing-header { max-width: 720px; margin-block: 32px; }
.post-list { display: grid; max-width: 820px; border-top: 1px solid var(--vf-border-strong); }
.post-card { padding: 24px 0; border-bottom: 1px solid var(--vf-border); }
.post-card h2 { margin: 0 0 12px; }
.post-card h2 a { color: var(--vf-text); text-decoration: none; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 48px; }
.pagination .page-numbers { display: inline-flex; min-width: 48px; min-height: 48px; padding: 10px 12px; align-items: center; justify-content: center; border: 1px solid var(--vf-border); border-radius: var(--radius); background: var(--vf-surface); color: var(--vf-text); font-weight: 600; text-decoration: none; }
.pagination .current { border-color: var(--vf-accent); background: var(--vf-accent); color: var(--vf-surface); }
.error-page__content { max-width: 720px; margin-block: 48px; }
.error-links { display: grid; margin-top: 32px; padding: 0; border-top: 1px solid var(--vf-border-strong); list-style: none; }
.error-links a { display: block; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--vf-border); font-weight: 600; text-decoration: none; }

/* Pied de page */
.site-footer { margin-top: 80px; padding: 56px 16px 28px; border-top: 1px solid var(--vf-border-strong); background: var(--vf-border); }
.site-footer__grid { display: grid; width: min(100%, var(--width-wide)); margin-inline: auto; gap: 32px; }
.site-footer__about { max-width: 420px; }
.site-footer__about .site-logo { margin-bottom: 16px; }
.site-footer__heading { margin: 0 0 12px; font-family: "Source Sans 3", system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--vf-text); }
.site-footer__legal { width: min(100%, var(--width-wide)); margin: 40px auto 0; padding-top: 16px; border-top: 1px solid var(--vf-border-strong); color: var(--vf-muted); font-size: 12.5px; }

@media (min-width: 640px) {
  .article-body { padding: 32px; }
  .child-nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .primary-tools,
  .editorial-selection,
  .directory-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-pick--lead { grid-row: span 2; padding-right: 32px; border-right: 1px solid var(--vf-border); }
  .editorial-pick:not(.editorial-pick--lead) { padding-left: 32px; }
  .verification-list li { grid-template-columns: 130px minmax(180px, 1fr) 1fr; align-items: baseline; }
  .error-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

@media (min-width: 720px) {
  .site-footer { padding-inline: 32px; }
  .site-footer__grid { grid-template-columns: 2fr repeat(4, 1fr); }
}

@media (min-width: 960px) {
  h1 { font-size: 46px; }
  h2 { margin-top: 56px; font-size: 32px; }
  h3 { font-size: 23px; }
  .site-shell,
  .article-layout,
  .site-header__inner { width: min(calc(100% - 64px), var(--width-wide)); }
  .site-nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav__list { flex-direction: row; align-items: center; }
  .site-nav a { padding-inline: 9px; }
  .article-body { width: 100%; padding: 32px 0 48px; background: transparent; }
  .article-layout--toc .article-body { display: grid; grid-template-columns: 200px 700px; gap: 0 32px; justify-content: center; align-items: start; }
  .article-layout--toc .article-header,
  .article-layout--toc .entry-content,
  .article-layout--toc .child-nav,
  .article-layout--toc .sibling-pages,
  .article-layout--toc .author-box,
  .article-layout--toc .article-sources,
  .article-layout--toc .tool-method { grid-column: 2; }
  .article-layout--toc .toc-slot { position: sticky; top: 24px; grid-column: 1; grid-row: 2 / span 8; margin: 0; }
  .article-layout--toc .article-header { grid-row: 1; }
  .article-layout--toc .entry-content { grid-row: 2; padding: 1px 32px 32px; background: var(--vf-surface); }
  .toc summary { cursor: default; }
  .entry-content h2 { margin-top: 56px; font-size: 32px; }
  .entry-content h3 { font-size: 23px; }
  .quick-answer,
  p.vaf-chapo { font-size: 21px; }
  .tool-card { padding: 28px; }
  .tool-result strong,
  .vaf-tool .vaf-result .vaf-amount { font-size: 32px !important; }
  .home-hero { padding-block: 96px 88px; }
  .home-hero h1 { font-size: 64px; line-height: .98; }
  .home-hero__lead { font-size: 21px; }
  .home-shortcuts { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
  .home-section { padding-block: 64px; }
  .home-universe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .universe-entry { padding: 24px 28px 28px 0; }
  .universe-entry:nth-child(3n+2),
  .universe-entry:nth-child(3n+3) { padding-left: 28px; border-left: 1px solid var(--vf-border); }
  .tool-feature strong,
  .editorial-pick--lead h3 { font-size: 32px; }
  .secondary-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .secondary-tools a { padding-inline: 16px; border-right: 1px solid var(--vf-border); }
  .secondary-tools a:first-child { padding-left: 0; }
  .secondary-tools a:last-child { padding-right: 0; border-right: 0; }
  .journey { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .journey li { padding: 54px 24px 0 0; border-top: 1px solid var(--vf-border-strong); border-left: 0; }
  .journey li::before { top: -17px; left: 0; }
  .directory-lists { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header,
  .site-footer,
  .pagination,
  .toc-slot,
  .sibling-pages,
  .skip-link { display: none !important; }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .article-layout,
  .article-body,
  .article-layout--toc .article-body { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: #FFFFFF; box-shadow: none; }
  .article-layout--toc .entry-content { padding: 0; background: #FFFFFF; }
  a { color: inherit; text-decoration: underline; }
  .quick-answer,
  p.vaf-chapo,
  .source-note,
  p.vaf-verif,
  .regulation-quote,
  table { break-inside: avoid; }
}

/* =========================================================
   FAQ EN ACCORDEON (18/09/2026, skill seo-faq-query)
   Question visible seule, signe plus a droite, reponse dans le HTML livre.
   ========================================================= */
.vaf-faq { margin-block: 2.5rem; }
.vaf-faq-item {
  border-top: 1px solid var(--vf-border, #D8DEE6);
  padding: 0;
}
.vaf-faq-item:last-of-type { border-bottom: 1px solid var(--vf-border, #D8DEE6); }
.vaf-faq-item > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.vaf-faq-item > summary::-webkit-details-marker { display: none; }
.vaf-faq-item > summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--vf-accent, #0B5CAD);
  transition: transform .15s ease;
}
.vaf-faq-item[open] > summary::after { content: "\2212"; }
.vaf-faq-item > summary:focus-visible { outline: 2px solid var(--vf-accent, #0B5CAD); outline-offset: 2px; }
.vaf-faq-item > *:not(summary) { margin: 0 0 1rem; max-width: 62ch; }
.vaf-faq-item > *:not(summary):last-child { margin-bottom: 1.25rem; }
@media print { .vaf-faq-item > *:not(summary) { display: block !important; } }


/* =========================================================
   IMAGE EN AVANT D ARTICLE (19/09/2026)
   Pleine largeur de la colonne, ratio fixe pour ne rien decaler au chargement.
   ========================================================= */
.article-illustration { margin: 0 0 2rem; }
.article-illustration__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--vf-border, #D8DEE6);
  background: var(--vf-surface, #FFFFFF);
}
@media (max-width: 640px) { .article-illustration { margin-bottom: 1.5rem; } }
