/* =====================================================================
   Amandine Traiteur — Custom child theme stylesheet (Kadence parent)
   Design System : Photographique Food Blog (Fraunces + Manrope)
   Palette concurrent : navy #04173A / gold #C9A227 / cream #FBF8F1
   ===================================================================== */

/* ----- Variables ----- */
:root {
  --fad-primary:   #04173A;
  --fad-accent:    #C9A227;
  --fad-text:      #191A1A;
  --fad-text-soft: #5A5A5A;
  --fad-bg:        #FBF8F1;
  --fad-surface:   #FFFFFF;
  --fad-line:      #E5DDC8;

  --fad-font-headings: "Fraunces", Georgia, "Times New Roman", serif;
  --fad-font-body:     "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fad-radius-sm: 6px;
  --fad-radius:    12px;
  --fad-radius-lg: 18px;

  --fad-shadow-sm: 0 2px 8px rgba(4, 23, 58, 0.05);
  --fad-shadow:    0 8px 24px rgba(4, 23, 58, 0.08);
  --fad-shadow-lg: 0 18px 48px rgba(4, 23, 58, 0.14);

  --fad-container-max: 1240px;
  --fad-narrow-max:    760px;

  --fad-header-h:      88px;
}

/* ----- Base ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.fad-body {
  margin: 0;
  font-family: var(--fad-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fad-text);
  background: var(--fad-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.fad-no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fad-font-headings);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fad-primary);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a {
  color: var(--fad-primary);
  text-decoration: underline;
  text-decoration-color: var(--fad-accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover { color: var(--fad-accent); }

img, picture, video { max-width: 100%; height: auto; display: block; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--fad-accent); color: var(--fad-primary); }

/* Skip link */
.fad-skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fad-primary); color: #fff; padding: 0.6rem 1rem;
  z-index: 100000;
}
.fad-skip-link:focus { left: 1rem; top: 1rem; }

/* ----- Buttons ----- */
.fad-btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: var(--fad-font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--fad-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.fad-btn--cta {
  background: var(--fad-accent);
  color: #1a1100;
  box-shadow: 0 3px 10px rgba(201, 162, 39, 0.32);
}
.fad-btn--cta:hover {
  background: #B8901C;
  color: #fff;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.42);
}
.fad-btn--ghost {
  background: transparent;
  color: var(--fad-primary);
  border: 1.5px solid var(--fad-primary);
}
.fad-btn--ghost:hover {
  background: var(--fad-primary);
  color: #fff;
}

/* ===================================================================
   HEADER — logo-center-menu-split
   =================================================================== */
.fad-header {
  background: var(--fad-bg);
  border-bottom: 1px solid var(--fad-line);
  position: sticky;
  top: 0;
  z-index: 9000;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(251, 248, 241, 0.92);
}
.fad-header-inner {
  max-width: var(--fad-container-max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: var(--fad-header-h);
}

/* Nav split L / R (desktop) */
.fad-nav { flex: 0 1 auto; }
.fad-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.fad-nav-list a {
  color: var(--fad-primary);
  text-decoration: none;
  font-family: var(--fad-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.fad-nav-list a:hover {
  color: var(--fad-accent);
  border-bottom-color: var(--fad-accent);
}

/* Brand au centre */
.fad-brand { flex: 0 0 auto; text-align: center; }
.fad-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fad-primary);
}
.fad-brand-logo {
  display: block;
  width: auto;
  max-width: 80px;
}
.fad-brand-name {
  font-family: var(--fad-font-headings);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0;
  color: var(--fad-primary);
  /* style B — Title Case, no transform */
}

/* Burger (mobile only) */
.fad-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 8px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(4,23,58,0.18);
  border-radius: 8px;
  color: var(--fad-primary);
  cursor: pointer;
  z-index: 999999;
  flex-shrink: 0;
  position: relative;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
  user-select: none;
  -webkit-user-select: none;
}
.fad-burger * { pointer-events: none; }
.fad-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.fad-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fad-primary);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ----- Drawer mobile (cache par defaut) ----- */
.fad-nav-mobile {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  padding: 4.5rem 1.5rem 2rem;
  z-index: 99999;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(4,23,58,0.3);
  flex-direction: column;
}
.fad-nav-mobile.is-open { display: flex; }
.fad-nav-mobile-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.fad-nav-mobile-list li { margin: 0; }
.fad-nav-mobile-list li.fad-nav-mobile-sep {
  height: 1px;
  background: var(--fad-line);
  margin: 1rem 0;
}
.fad-nav-mobile-list a {
  display: block;
  padding: 0.95rem 0.5rem;
  color: #0a0a0a;
  text-decoration: none;
  font-family: var(--fad-font-headings);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--fad-line);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.fad-nav-mobile-list a:hover { color: var(--fad-accent); padding-left: 1rem; }
.fad-nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  font-size: 2rem;
  font-family: var(--fad-font-headings);
  color: #0a0a0a;
  cursor: pointer;
  line-height: 1;
}
/* Overlay mobile : completement desactive (filtre transparent retire a la demande utilisateur).
   On masque l'element en toute circonstance pour ne jamais bloquer les clics sur le burger
   ni recouvrir l'ecran. Le drawer se ferme via la croix, ESC, ou un nouveau clic burger. */
.fad-nav-mobile-overlay,
.fad-nav-mobile-overlay.is-open,
div.fad-nav-mobile-overlay,
[class*="fad-nav-mobile-overlay"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  inset: auto !important;
  z-index: -1 !important;
}

/* Le CTA dans le drawer (toujours visible mobile, masque desktop) */
.fad-drawer-cta {
  display: block !important;
  margin: 1.5rem 0 0 !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: var(--fad-accent) !important;
  color: #1a1100 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}

/* ===================================================================
   HERO — quote-hero (image + citation overlay)
   =================================================================== */
.fad-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fad-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Overlay sombre uniquement si video (regle critique) */
.fad-hero--has-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 2;
}
/* Pour le quote-hero (image only), on ajoute un voile leger pour lisibilite du texte */
.fad-hero--quote::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,23,58,0.18) 0%, rgba(4,23,58,0.55) 100%);
  z-index: 2;
}
.fad-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 880px;
  padding: 4rem 1.5rem;
  text-align: center;
  color: #fff;
}
.fad-hero-quote {
  margin: 0 auto 1.8rem;
  max-width: 680px;
  font-family: var(--fad-font-headings);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: #FBF8F1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.fad-hero-quote p { margin: 0 0 0.6rem; }
.fad-hero-quote cite {
  font-style: normal;
  font-family: var(--fad-font-body);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--fad-accent);
  text-transform: uppercase;
}
.fad-hero-title,
.fad-hero h1.fad-hero-title,
.fad-hero .fad-hero-inner .fad-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin: 0 0 0.8rem;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  letter-spacing: -0.02em;
}
.fad-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #FBF8F1;
  margin: 0 auto 1.8rem;
  max-width: 620px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.fad-hero-cta { margin-top: 0.4rem; }

/* ===================================================================
   EDITORIAL BLOCK (after-hero placement)
   =================================================================== */
.fad-editorial {
  background: var(--fad-bg);
  padding: 5rem 1.5rem 4rem;
}
.fad-editorial-inner {
  max-width: var(--fad-narrow-max);
  margin: 0 auto;
}
.fad-editorial-title {
  text-align: center;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: var(--fad-primary);
}
.fad-editorial-lead {
  font-size: 1.1rem;
  color: var(--fad-text);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.fad-editorial-sub {
  margin-top: 2.5rem;
  font-size: 1.3rem;
  color: var(--fad-primary);
}
.fad-editorial p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fad-text);
}
.fad-editorial a {
  color: var(--fad-primary);
  font-weight: 600;
}
.fad-editorial-callout {
  margin: 2.5rem 0;
  padding: 1.8rem 2rem;
  background: var(--fad-surface);
  border-left: 4px solid var(--fad-accent);
  border-radius: var(--fad-radius);
  box-shadow: var(--fad-shadow-sm);
}
.fad-editorial-callout h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--fad-primary);
}
.fad-editorial-callout p {
  margin-bottom: 0;
  color: var(--fad-text);
}
.fad-editorial-close {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--fad-text-soft);
  text-align: center;
  font-style: italic;
}

/* ===================================================================
   PER-CATEGORY BLOCKS (by-category mode)
   =================================================================== */
.fad-by-cat {
  background: var(--fad-surface);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--fad-line);
}
.fad-by-cat-inner {
  max-width: var(--fad-container-max);
  margin: 0 auto;
}
.fad-cat-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--fad-line);
}
.fad-cat-block:last-child { border-bottom: none; }
.fad-cat-block-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
}
.fad-cat-block-thumb {
  display: block;
  border-radius: var(--fad-radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--fad-shadow-sm);
}
.fad-cat-block-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fad-cat-block-thumb:hover img { transform: scale(1.05); }
.fad-cat-block-meta { min-width: 0; }
.fad-cat-block-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
}
.fad-cat-block-title a {
  text-decoration: none;
  color: var(--fad-primary);
  background-image: linear-gradient(var(--fad-accent), var(--fad-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 3px;
  transition: background-size 0.3s ease;
}
.fad-cat-block-title a:hover { background-size: 100% 3px; }
.fad-cat-block-desc {
  font-size: 1.02rem;
  color: var(--fad-text-soft);
  margin-bottom: 0.7rem;
}
.fad-cat-block-more {
  font-family: var(--fad-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fad-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.fad-cat-block-more:hover { color: var(--fad-primary); }

.fad-cat-block-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fad-cat-block-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  background: var(--fad-bg);
  border-radius: var(--fad-radius);
  color: var(--fad-text-soft);
  font-style: italic;
}

/* ----- Post cards ----- */
.fad-post-card {
  background: var(--fad-surface);
  border-radius: var(--fad-radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fad-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fad-shadow);
}
.fad-post-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fad-post-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fad-bg);
}
.fad-post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fad-post-card-thumb--ph {
  background: linear-gradient(135deg, var(--fad-bg) 0%, var(--fad-line) 100%);
}
.fad-post-card-link:hover img { transform: scale(1.06); }
.fad-post-card-title {
  padding: 1rem 1.2rem 0.4rem;
  font-size: 1.1rem;
  font-family: var(--fad-font-headings);
  font-weight: 600;
  color: var(--fad-primary);
  line-height: 1.3;
  margin: 0;
}
.fad-post-card-date {
  padding: 0 1.2rem 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--fad-text-soft);
  letter-spacing: 0.02em;
}

/* ===================================================================
   HOME TOOL SECTION
   =================================================================== */
.fad-home-tool {
  background: var(--fad-bg);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--fad-line);
}
.fad-home-tool-inner {
  max-width: var(--fad-narrow-max);
  margin: 0 auto;
  text-align: center;
}
.fad-home-tool-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin-bottom: 0.7rem;
}
.fad-home-tool-head p {
  font-size: 1.05rem;
  color: var(--fad-text-soft);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}
.fad-home-tool-embed { margin-top: 1.5rem; }

/* ===================================================================
   CATEGORY ARCHIVE PAGE (single-top layout)
   =================================================================== */
.fad-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
}
.fad-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.fad-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  padding: 2rem 1.5rem;
  max-width: var(--fad-container-max);
  margin: 0 auto;
}
.fad-cat-hero-title {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.fad-cat-content {
  max-width: var(--fad-container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.fad-cat-desc {
  max-width: var(--fad-narrow-max);
  margin: 0 auto 3rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--fad-text);
}

/* ===================================================================
   CONTACT FORM WRAPPER
   =================================================================== */
.fad-contact-form {
  margin: 2rem 0;
  background: var(--fad-surface);
  border-radius: var(--fad-radius);
  padding: 1rem;
  box-shadow: var(--fad-shadow-sm);
}
.fad-contact-form iframe {
  border-radius: var(--fad-radius-sm);
}

/* ===================================================================
   PERSONA / A-PROPOS PAGE
   =================================================================== */
.fad-persona-figure {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 480px;
}
.fad-persona-photo {
  width: 100%;
  height: auto;
  border-radius: var(--fad-radius);
  box-shadow: var(--fad-shadow);
}
.fad-persona-figure figcaption {
  margin-top: 0.8rem;
  font-style: italic;
  color: var(--fad-text-soft);
  font-size: 0.95rem;
}
.fad-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--fad-text);
  margin-bottom: 1.5rem;
}

/* ===================================================================
   TOOLS PAGES
   =================================================================== */
.fad-tool-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.fad-tool-page h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.fad-tool-page .fad-tool-intro {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fad-text);
}

/* ===================================================================
   FOOTER — 4 colonnes + bottom
   =================================================================== */
.fad-footer {
  background: var(--fad-primary);
  color: #FBF8F1;
  padding: 4rem 1.5rem 0;
  margin-top: 4rem;
}
.fad-footer-inner {
  max-width: var(--fad-container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.fad-footer-col { min-width: 0; }
.fad-footer-brand-col p {
  color: #E5DDC8;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.fad-footer-logo {
  filter: brightness(0) invert(1) sepia(0.3) saturate(2) hue-rotate(345deg);
}
.fad-footer-brand-pitch {
  color: #FBF8F1;
  opacity: 0.9;
}
.fad-footer-brand-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--fad-accent);
  color: #1a1100;
  text-decoration: none;
  border-radius: var(--fad-radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.fad-footer-brand-cta:hover {
  background: #B8901C;
  color: #fff;
}
.fad-footer-title {
  color: #fff;
  font-family: var(--fad-font-headings);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.fad-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fad-footer-links li { margin: 0.45rem 0; }
.fad-footer-links a {
  color: #E5DDC8;
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.fad-footer-links a:hover {
  color: var(--fad-accent);
  padding-left: 4px;
}
.fad-footer-social {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.fad-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}
.fad-footer-social a:hover { background: var(--fad-accent); color: #1a1100; }

.fad-footer-bottom {
  border-top: 1px solid rgba(229, 221, 200, 0.18);
  padding: 1.5rem 0;
}
.fad-footer-copyright {
  max-width: var(--fad-container-max);
  margin: 0 auto;
  text-align: center;
  font-size: 0.88rem;
  color: #C9C2AE;
  letter-spacing: 0.02em;
}

/* ===================================================================
   ANIMATIONS (CTA shake / CTR fade / CTO faq pop)
   =================================================================== */
@keyframes fad-cta-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.fad-btn--cta:hover,
.fad-footer-brand-cta:hover {
  animation: fad-cta-shake 0.5s ease-in-out;
}

@keyframes fad-ctr-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fad-ctr-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  animation: fad-ctr-fade 0.6s ease-out both;
}

@keyframes fad-cto-faq-pop {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.fad-cto-faq-block { animation: fad-cto-faq-pop 0.4s ease-out both; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tablet portrait + below */
@media (max-width: 1023px) {
  .fad-nav { display: none; }
  .fad-burger { display: inline-flex; }

  .fad-header-inner {
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1rem;
  }
  .fad-brand { flex: 1; text-align: left; }
  .fad-brand-link { justify-content: flex-start; }
  .fad-brand-name { font-size: 1.2rem; }

  .fad-hero { min-height: 60vh; }

  .fad-cat-block-head {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .fad-cat-block-thumb { aspect-ratio: 16 / 9; }
  .fad-cat-block-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .fad-footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .fad-header-inner { padding: 0.6rem 0.9rem; }
  .fad-brand-logo { max-width: 56px; }
  .fad-brand-name { font-size: 1.05rem; }

  .fad-hero-inner { padding: 3rem 1rem; }
  .fad-hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }

  .fad-editorial { padding: 3rem 1rem 2.5rem; }
  .fad-editorial-callout { padding: 1.3rem 1.2rem; }

  .fad-by-cat { padding: 2.5rem 1rem; }
  .fad-cat-block { padding: 1.8rem 0; }
  .fad-cat-block-posts {
    grid-template-columns: 1fr;
  }

  .fad-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .fad-footer { padding: 3rem 1rem 0; }
}

/* Force visibilite des wraps du burger en mobile */
@media (max-width: 1023px) {
  .fad-header-cta-wrap,
  .fad-header-actions,
  .fad-burger-wrap,
  .fad-header > div:has(> .fad-burger),
  .fad-header [class*="cta"],
  .fad-header [class*="actions"] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .fad-burger-label { display: none !important; }
}

/* Desktop : burger et drawer caches */
@media (min-width: 1024px) {
  .fad-burger { display: none !important; }
  .fad-nav-mobile,
  .fad-nav-mobile-overlay { display: none !important; }
  .fad-drawer-cta { display: none !important; }
}

/* Gap zero entre header et premier contenu (regle critique) */
main, .fad-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
