/* ============================================================
   BASE.CSS — Casino Evenements
   Foundation: reset, fonts, variables, typography,
   header, footer, skip link, breadcrumb, utilities
   ============================================================ */

/* ----- FONT FACES ----- */

/* Playfair Display — kept for fallback/other pages */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v37-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Poppins — kept for fallback/other pages */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v21-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v21-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-v21-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Inter Tight — new heading + body font */
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/inter-tight-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

/* Newsreader — italic accent font */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-500-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ----- CUSTOM PROPERTIES ----- */

:root {
  /* Palette */
  --black: #1a160f;
  --dark-card: #211c14;
  --gold: #d4af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8962e;
  --white: #ffffff;
  --white-soft: #e0e0e0;
  --white-muted: #a0a0a0;

  /* Surfaces */
  --surface-elevated: #111111;
  --surface-glass: rgba(255, 255, 255, 0.02);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 175, 55, 0.2);
  --border-gold-strong: rgba(212, 175, 55, 0.4);

  /* Midnight Navy palette (accueil override) */
  --navy: #0c1424;
  --navy-card: #101a30;
  --navy-elevated: #0f1830;
  --navy-glass: rgba(140, 170, 220, 0.03);
  --navy-border: rgba(140, 170, 220, 0.08);

  /* Typography */
  --font-heading: 'Inter Tight', 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter Tight', 'Poppins', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-accent: 'Newsreader', 'Playfair Display', Georgia, serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 10rem;
  --section-gap: clamp(5rem, 4rem + 4vw, 8rem);

  /* Border radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;

  /* Layout */
  --header-height: 72px;
  --topbar-height: 0px;
  --container-max: 1200px;
  --container-padding: 1.25rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.06);
  --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.04);
}

@media (min-width: 768px) {
  :root {
    --header-height: 88px;
    --topbar-height: 32px;
    --container-padding: 2rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-padding: 2.5rem;
  }
}

/* ----- RESET ----- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  color: var(--white-soft);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Empeche le navigateur de synthetiser un gras quand un weight n'est pas charge
     (corrige le bug "A en gras" observe sur certains navigateurs/devices) */
  font-synthesis: none;
  -webkit-font-synthesis: none;
  overflow-x: hidden;
  min-height: 100dvh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* ----- GLOBAL TYPOGRAPHY ----- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

p + p {
  margin-top: var(--space-md);
}

strong {
  font-weight: 600;
  color: var(--white);
}

/* Accent text — Newsreader italic in gold */
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
}

/* Gold accent on links in body copy */
.legal-content a,
.footer a:not(.footer-socials a) {
  color: var(--gold);
  transition: color var(--duration-fast) var(--ease-out);
}

.legal-content a:hover,
.footer a:not(.footer-socials a):hover {
  color: var(--gold-light);
}

/* ----- UTILITIES ----- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- SKIP LINK ----- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */

/* Top bar : email contact (desktop & tablette uniquement) */
.topbar {
  display: none;
}

@media (min-width: 768px) {
  .topbar {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--topbar-height);
    background: #060606;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
  }

  .topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    max-width: 1380px;
  }

  .topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white-muted);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
  }

  .topbar-link:hover,
  .topbar-link:focus-visible {
    color: var(--gold);
    outline: none;
  }

  .topbar-link svg {
    stroke: var(--gold);
    flex-shrink: 0;
  }
}

.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-normal) var(--ease-out);
}

.header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
  position: relative;
  max-width: 1380px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.header-logo:hover {
  opacity: 0.85;
}

.header-logo img {
  height: 68px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 88px;
  }
}

/* L'embleme casino occupe le tiers haut de l'image (padding interne sous le logo).
   On decale visuellement le logo vers le bas sur mobile/tablette pour qu'il
   s'aligne avec le bloc telephone/email centre du header. Le cadre du header
   reste inchange. */
@media (max-width: 1023px) {
  .header-logo img {
    transform: translateY(6px);
  }
}

/* Desktop nav */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  }

  .nav a {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white-muted);
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) var(--ease-out);
    white-space: nowrap;
  }

  .nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--duration-normal) var(--ease-out);
  }

  .nav a:hover,
  .nav a.active {
    color: var(--gold);
  }

  .nav a:hover::after,
  .nav a.active::after {
    width: 100%;
  }

  .nav a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
  }
}

/* ============================================================
   NAV DROPDOWN (desktop)
   Container : .nav-dropdown
   Trigger   : .nav-dropdown-trigger (lien Nos Services + chevron)
   Menu      : .nav-dropdown-menu (ul ouvert au hover/focus/click)
   ============================================================ */

.nav-dropdown {
  display: contents;
}

@media (min-width: 1024px) {
  .nav-dropdown {
    position: relative;
    display: block;
  }

  .nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
  }

  .nav-dropdown-chevron {
    transition: transform var(--duration-fast) var(--ease-out);
  }

  .nav-dropdown:hover .nav-dropdown-chevron,
  .nav-dropdown:focus-within .nav-dropdown-chevron,
  .nav-dropdown[data-open="true"] .nav-dropdown-chevron {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 180px;
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-fast) var(--ease-out),
                visibility var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    z-index: 1000;
  }

  /* Petit triangle pointant vers le trigger */
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 9px;
    height: 9px;
    background: rgba(10, 10, 10, 0.97);
    border-top: 1px solid var(--border-gold);
    border-left: 1px solid var(--border-gold);
  }

  /* Pont hoverable invisible qui couvre le gap de 0.75rem entre le trigger
     et le menu. Sans ce pont, la souris traverse une zone "morte" et le :hover
     se perd, fermant le menu avant que l'utilisateur n'atteigne les items. */
  .nav-dropdown-menu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown[data-open="true"] .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-menu li { list-style: none; }

  .nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white-soft);
    white-space: nowrap;
    transition: color var(--duration-fast) var(--ease-out),
                background var(--duration-fast) var(--ease-out);
  }

  .nav-dropdown-menu a::after { display: none; }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    outline: none;
  }
}

/* Header contact (mobile + tablette) : telephone + email empiles, centres
   horizontalement par rapport au viewport (sort du flux flex pour eviter
   d'etre pousse par le logo). En desktop le bouton CTA prend le relais. */
.header-contact {
  position: absolute;
  left: 50%;
  top: 50%;
  /* Decalage optique : le logo (~102px) etant plus large que le hamburger (44px),
     un centrage mathematique tombe visuellement a gauche. Shift de 20px a droite. */
  transform: translate(calc(-50% + 20px), -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
  pointer-events: none;
}

.header-contact > a {
  pointer-events: auto;
}

.header-contact-phone,
.header-contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-soft);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.header-contact-phone {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gold);
}

.header-contact-mail {
  font-size: 0.6875rem;
  color: var(--white-muted);
}

.header-contact-phone svg { stroke: var(--gold); }
.header-contact-mail svg  { stroke: var(--white-muted); }

.header-contact-phone:hover,
.header-contact-phone:focus-visible { color: var(--gold-light); outline: none; }
.header-contact-mail:hover,
.header-contact-mail:focus-visible  { color: var(--gold); outline: none; }

/* En desktop, on remplace ce bloc par le bouton CTA */
@media (min-width: 1024px) {
  .header-contact { display: none; }
}

/* Bouton CTA "Demander un devis" — desktop uniquement */
.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.625rem 1.25rem;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    background: transparent;
    color: var(--gold);
    outline: none;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-out),
              visibility var(--duration-slow) var(--ease-out);
}

.mobile-nav[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700;
  color: var(--white-soft);
  padding: var(--space-sm) var(--space-lg);
  transition: color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Sous-menu mobile (Photobooth / Decoration sous Nos Services) */
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.mobile-nav-sublist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-sublist a {
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white-muted);
  padding: var(--space-xs) var(--space-lg);
}

.mobile-nav-sublist a:hover {
  color: var(--gold);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

/* ============================================================
   FAB PHONE (Floating Action Button — Mobile)
   ============================================================ */

.fab-phone {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.fab-phone:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.fab-phone:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.fab-phone svg {
  width: 22px;
  height: 22px;
  stroke: var(--black);
}

@media (min-width: 768px) {
  .fab-phone {
    display: none;
  }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--white-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--gold);
  transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   MAIN CONTENT — offset for fixed header
   ============================================================ */

#main-content {
  padding-top: calc(var(--header-height) + var(--topbar-height));
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  margin-top: var(--section-gap);
  padding: var(--space-3xl) 0 var(--space-lg);
  background: var(--surface-elevated);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--white-muted);
  line-height: 1.65;
}

/* Footer brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

/* Le logo Casino utilise la variante "-footer" recadree (sans padding),
   ce qui permet un centrage visuel propre du mot "par" entre les deux logos. */
.footer-brand img {
  width: auto;
}

.footer-brand img:first-of-type {
  height: 64px;  /* Casino Evenements — version recadree, contenu visible plus grand */
}

.footer-brand img:last-of-type {
  height: 56px;  /* Newvibes */
}

.footer-brand .par {
  font-size: 0.8125rem;
  color: var(--white-muted);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links li a {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: color var(--duration-fast) var(--ease-out);
  padding: var(--space-xs) 0;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--gold);
}

.footer-links li a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Footer address (NAP local) */
.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--white-muted);
  line-height: 1.65;
  margin-top: var(--space-md);
}

.footer-address strong {
  color: var(--white-soft);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Footer zones d'intervention */
.footer-zones-title {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.footer-zones {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-zones li a {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: color var(--duration-fast) var(--ease-out);
  padding: var(--space-xs) 0;
  display: inline-block;
}

.footer-zones li a:hover {
  color: var(--gold);
}

.footer-zones li a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Footer socials */
.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.footer-socials a:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.footer-socials a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: var(--white-muted);
  transition: fill var(--duration-fast) var(--ease-out);
}

.footer-socials a:hover svg {
  fill: var(--gold);
}

/* Footer legal */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-legal li a {
  font-size: 0.8125rem;
  color: var(--white-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-legal li a:hover {
  color: var(--gold);
}

.footer-legal li a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Footer bottom */
.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--white-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-bottom p + p {
  margin-top: var(--space-xs);
}

.footer-credit {
  font-size: 0.6875rem;
  opacity: 0.75;
}

.footer-credit a {
  color: var(--white-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============================================================
   FOCUS STYLES — Global
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   SELECTION
   ============================================================ */

::selection {
  background: rgba(212, 175, 55, 0.25);
  color: var(--white);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
