/*
 Theme Name:   Althea YOOtheme Child
 Theme URI:    https://althea-avocates.ch
 Description:  Thème enfant pour YOOtheme Pro — Althea Avocates Conseil Médiation SA. Contient tous les styles custom (typographies, couleurs, boutons, cards, animations) sans toucher au layout YOOtheme.
 Author:       Althea Avocates
 Author URI:   https://althea-avocates.ch
 Template:     yootheme
 Version:      1.5.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  althea-child
*/


/* ═══════════════════════════════════════════════════════════════
   POLICES CUSTOM — Sigurd + Seravek
   Fichiers WOFF dans /fonts/ du child theme
   ═══════════════════════════════════════════════════════════════ */

/* ── Sigurd ── */
@font-face {
  font-family: 'Sigurd';
  src: url('fonts/sigurd-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sigurd';
  src: url('fonts/sigurd-light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sigurd';
  src: url('fonts/sigurd-regular-italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sigurd';
  src: url('fonts/sigurd-regular-italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── Seravek ── */
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-extralight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-light-italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Seravek';
  src: url('fonts/seravek-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ═══════════════════════════════════════════════════════════════
   ALTHEA AVOCATES — CSS CUSTOM
   Version 1.5.0 — source unique de vérité
   
   Ce CSS ne touche PAS au layout de YOOtheme.
   Les fonds → YOOtheme Section → Background Color
   Les containers → YOOtheme gère nativement
   
   Combinaisons couleur autorisées :
     ✓ Charcoal sur Chalk   ✓ Charcoal sur Clay
     ✓ Chalk sur Clay       ✓ Chalk sur Mocha
     ✓ Chalk sur Charcoal   ✓ Noir sur Blanc   ✓ Blanc sur Noir
     ✗ Charcoal sur Mocha — exclu
   ═══════════════════════════════════════════════════════════════ */


/* ── 0. VARIABLES ──────────────────────────────────────────── */
:root {
  --chalk:    #e2dcd0;
  --clay:     #a5978c;
  --mocha:    #4d413a;
  --charcoal: #242526;
  --blanc:    #ffffff;
  --noir:     #000000;
  --font-titre: 'Sigurd', 'DM Serif Display', Georgia, serif;
  --font-corps: 'Seravek', 'Raleway', 'Lato', sans-serif;
  --ease-base:   0.3s ease;
  --ease-smooth:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ── 1. BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 17px !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-corps);
  font-weight: 200;
  color: var(--mocha);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--ease-base); }
::selection { background-color: var(--clay); color: var(--chalk); }


/* ── 2. TYPOGRAPHIE ────────────────────────────────────────── */
h1, h2, h3, h4,
.uk-h1, .uk-h2, .uk-h3, .uk-h4,
.uk-heading-xlarge, .uk-heading-large,
.uk-heading-medium, .uk-heading-small {
  font-family: var(--font-titre);
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  margin-top: 0;
}

h1, .uk-h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem) !important; line-height: 1.1; }
h2, .uk-h2 { font-size: clamp(1.95rem, 4vw, 3.3rem) !important; line-height: 1.15; }
h3, .uk-h3 { font-size: clamp(1.55rem, 2.8vw, 2.2rem) !important; font-style: italic; line-height: 1.2; }

h4, .uk-h4 {
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem) !important;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

p, li, td, th, .uk-text-default {
  font-weight: 200;
  color: var(--mocha);
  font-size: clamp(1rem, 1.4vw, 1.12rem) !important;
  line-height: 1.8 !important;
  margin-top: 0;
  margin-bottom: 1em;
}
p:last-child { margin-bottom: 0; }

.uk-text-lead, .text-lead {
  font-weight: 300;
  font-style: italic;
  color: var(--mocha);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.eyebrow {
  display: block;
  font-family: var(--font-corps);
  font-size: 12px !important;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}


/* ── 3. BOUTONS ────────────────────────────────────────────── */
.uk-button-primary, .btn-primary {
  display: inline-block;
  background-color: var(--charcoal);
  color: var(--chalk);
  border: none;
  border-radius: 0;
  padding: 15px 32px;
  font-family: var(--font-corps);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--ease-base);
  min-height: 44px;
}
.uk-button-primary:hover, .btn-primary:hover {
  background-color: var(--clay);
  color: var(--chalk);
}

.uk-button-secondary, .btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 0;
  padding: 14px 30px;
  font-family: var(--font-corps);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all var(--ease-base);
  min-height: 44px;
}
.uk-button-secondary:hover, .btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--chalk);
}

.btn-chalk {
  display: inline-block;
  background-color: var(--chalk);
  color: var(--charcoal);
  border: none;
  border-radius: 0;
  padding: 15px 36px;
  font-family: var(--font-corps);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--ease-base);
  min-height: 44px;
}
.btn-chalk:hover { background-color: var(--clay); color: var(--chalk); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-corps);
  font-size: 13px;
  font-weight: 300;
  color: var(--mocha);
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all var(--ease-base);
  min-height: 44px;
}
.btn-text:hover { color: var(--clay); border-bottom-color: var(--clay); }
.btn-text svg { transition: transform var(--ease-base); }
.btn-text:hover svg { transform: translateX(3px); }


/* ── 4. HERO — BLOC 1 ─────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-color: rgba(226, 220, 208, 0.35);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 680px;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.hero-divider { width: 40px; height: 1px; background-color: var(--clay); border: none; margin: 32px 0; }

.hero-text {
  font-family: var(--font-corps);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
  max-width: 560px;
  margin-bottom: 20px;
}
.hero-text:last-of-type { margin-bottom: 40px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero-eyebrow { animation: fadeUp 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.1s both; }
.hero-title   { animation: fadeUp 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.25s both; }
.hero-divider { animation: fadeUp 0.5s cubic-bezier(0.25,0.46,0.45,0.94) 0.45s both; }
.hero-text    { animation: fadeUp 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.55s both; }
.hero-buttons { animation: fadeUp 0.6s cubic-bezier(0.25,0.46,0.45,0.94) 0.7s both; }

@media (max-width: 768px) {
  .hero-section { min-height: auto; }
  .hero-video-wrap, .hero-overlay { display: none; }
  .hero-inner { padding: 80px 0 48px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-divider { margin: 24px 0; }
  .hero-text:last-of-type { margin-bottom: 32px; }
  .hero-buttons {
    flex-direction: column; align-items: stretch; gap: 12px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .uk-button-primary,
  .hero-buttons .btn-secondary,
  .hero-buttons .uk-button-secondary { width: 100%; text-align: center; }
  .hero-buttons .btn-text { justify-content: center; }
}


/* ── 5. PILIERS — BLOC 2 ──────────────────────────────────── */
.pillar-col {
  border-top: 1px solid rgba(165, 151, 140, 0.35);
  padding-top: 32px;
  position: relative;
  overflow: hidden;
}

.pillar-num-bg {
  position: absolute;
  font-family: var(--font-titre);
  font-size: clamp(100px, 15vw, 190px);
  font-weight: 400;
  color: rgba(226, 220, 208, 0.04);
  top: -20px; right: -10px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}

.pillar-title {
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 400;
  color: var(--chalk);
  font-size: clamp(1.2rem, 2vw, 1.375rem);
  line-height: 1.3;
  margin: 0 0 20px;
}

.pillar-text {
  color: rgba(226, 220, 208, 0.75);
  font-family: var(--font-corps);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.pillar-text:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .pillar-num-bg { font-size: 80px; }
  .pillar-text { font-size: 16px; }
}


/* ── 6. CARDS (services) ──────────────────────────────────── */
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--clay);
  border-radius: 0;
  padding: 36px 24px 28px;
  text-decoration: none;
  transition: all var(--ease-smooth);
  width: 100%; height: 100%;
}
.svc-card:hover {
  background: var(--clay) !important;
  border-color: var(--clay) !important;
  transform: translateY(-4px);
}
.svc-card h4   { color: var(--charcoal); transition: color var(--ease-base); }
.svc-card p    { color: var(--mocha); transition: color var(--ease-base); flex: 1 1 auto; }
.svc-card span { color: var(--clay); transition: color var(--ease-base); margin-top: auto; }
.svc-card:hover h4,
.svc-card:hover p,
.svc-card:hover span { color: var(--chalk) !important; }
.svc-grid-item { display: flex; }


/* ── 7. SÉPARATEURS ────────────────────────────────────────── */
.divider, .separator {
  width: 40px; height: 1px;
  background-color: var(--clay);
  border: none;
}


/* ── 8. NAVBAR ─────────────────────────────────────────────── */
.uk-navbar-container {
  background-color: var(--blanc) !important;
  transition: box-shadow var(--ease-base);
}
.uk-navbar-container.uk-sticky-fixed {
  box-shadow: 0 2px 12px rgba(36, 37, 38, 0.08);
}

.uk-navbar-nav > li > a {
  font-family: var(--font-corps);
  font-size: 15px !important;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  text-transform: none;
  transition: color var(--ease-base);
  position: relative;
}
.uk-navbar-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 15px; left: 50%;
  width: 0; height: 1px;
  background-color: var(--clay);
  transition: width var(--ease-base), left var(--ease-base);
}
.uk-navbar-nav > li > a:hover::after,
.uk-navbar-nav > li.uk-active > a::after { width: 60%; left: 20%; }
.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a { color: var(--clay); }

.uk-navbar-dropdown {
  background: var(--blanc);
  border-top: 2px solid var(--clay);
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(36, 37, 38, 0.08);
  padding: 20px 0;
}
.uk-navbar-dropdown .uk-nav > li > a {
  font-family: var(--font-corps);
  font-size: 13px; font-weight: 300;
  color: var(--charcoal);
  padding: 8px 28px;
  transition: color var(--ease-base), padding-left var(--ease-base);
}
.uk-navbar-dropdown .uk-nav > li > a:hover {
  color: var(--clay); padding-left: 34px;
}


/* ── 9. FOOTER ─────────────────────────────────────────────── */
.footer-section, .footer-section p, .footer-section a {
  color: var(--chalk);
  font-family: var(--font-corps);
  font-size: 13px; font-weight: 200;
}
.footer-section a { transition: color var(--ease-base); }
.footer-section a:hover { color: var(--clay); }
.footer-legal { font-size: 12px; color: var(--clay); letter-spacing: 0.04em; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(165, 151, 140, 0.2);
  margin: 32px 0;
}


/* ── 10. IMAGES & PLACEHOLDERS ─────────────────────────────── */
.img-overlay-chalk { position: relative; }
.img-overlay-chalk::after {
  content: ''; position: absolute; inset: 0;
  background-color: rgba(226, 220, 208, 0.35);
  pointer-events: none;
}
.img-overlay-mocha { position: relative; }
.img-overlay-mocha::after {
  content: ''; position: absolute; inset: 0;
  background-color: rgba(77, 65, 58, 0.25);
  pointer-events: none;
}
.img-placeholder { background-color: var(--chalk); width: 100%; aspect-ratio: 16 / 9; }
.img-placeholder--portrait { aspect-ratio: 3 / 4; }
.img-placeholder--square   { aspect-ratio: 1 / 1; }


/* ── 11. ANIMATIONS ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ── 12. STYLES DE SECTIONS YOOTHEME ───────────────────────── */

/* DEFAULT → Fond Blanc */
.uk-section-default {
  background-color: var(--blanc) !important;
  color: var(--mocha);
}
.uk-section-default h1, .uk-section-default h2,
.uk-section-default h3, .uk-section-default h4,
.uk-section-default .uk-h1, .uk-section-default .uk-h2,
.uk-section-default .uk-h3, .uk-section-default .uk-h4 {
  color: var(--charcoal) !important;
}
.uk-section-default a:not(.uk-button):not(.btn-primary):not(.btn-secondary):not(.btn-text) {
  color: var(--mocha);
}
.uk-section-default a:not(.uk-button):hover {
  color: var(--clay);
}

/* MUTED → Fond Chalk (beige clair) */
.uk-section-muted {
  background-color: var(--chalk) !important;
  color: var(--mocha);
}
.uk-section-muted h1, .uk-section-muted h2,
.uk-section-muted h3, .uk-section-muted h4,
.uk-section-muted .uk-h1, .uk-section-muted .uk-h2,
.uk-section-muted .uk-h3, .uk-section-muted .uk-h4 {
  color: var(--charcoal) !important;
}

/* PRIMARY → Fond Charcoal (sombre) */
.uk-section-primary {
  background-color: var(--charcoal) !important;
  color: rgba(226, 220, 208, 0.75);
}
.uk-section-primary h1, .uk-section-primary h2,
.uk-section-primary h3, .uk-section-primary h4,
.uk-section-primary .uk-h1, .uk-section-primary .uk-h2,
.uk-section-primary .uk-h3, .uk-section-primary .uk-h4 {
  color: var(--chalk) !important;
}
.uk-section-primary p {
  color: rgba(226, 220, 208, 0.75) !important;
}
.uk-section-primary a:not(.uk-button) {
  color: var(--chalk);
}
.uk-section-primary a:not(.uk-button):hover {
  color: var(--clay);
}

/* SECONDARY → Fond Mocha (brun foncé) */
.uk-section-secondary {
  background-color: var(--mocha) !important;
  color: var(--chalk);
}
.uk-section-secondary h1, .uk-section-secondary h2,
.uk-section-secondary h3, .uk-section-secondary h4,
.uk-section-secondary .uk-h1, .uk-section-secondary .uk-h2,
.uk-section-secondary .uk-h3, .uk-section-secondary .uk-h4 {
  color: var(--chalk) !important;
}
.uk-section-secondary p {
  color: rgba(226, 220, 208, 0.85) !important;
}
.uk-section-secondary a:not(.uk-button) {
  color: var(--chalk);
}
.uk-section-secondary a:not(.uk-button):hover {
  color: var(--clay);
}


/* ── 13. UTILITAIRES ───────────────────────────────────────── */
.bg-chalk    { background-color: var(--chalk); }
.bg-white    { background-color: var(--blanc); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-mocha    { background-color: var(--mocha); }
.text-charcoal { color: var(--charcoal); }
.text-chalk    { color: var(--chalk); }
.text-mocha    { color: var(--mocha); }
.text-clay     { color: var(--clay); }
.text-center   { text-align: center; }

@media (max-width: 768px) {
  body { font-size: 16px; }
}


/* ── 14. ANIMATIONS & MICRO-INTERACTIONS ──────────────────── */

/* Boutons — effet lift au hover */
.uk-button-primary:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 37, 38, 0.15);
}
.uk-button-secondary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 37, 38, 0.1);
}
.uk-button-primary, .uk-button-secondary,
.btn-primary, .btn-secondary {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Images — zoom subtil au hover */
.uk-section img:not(.uk-navbar-item img),
.team-card img,
.eco-img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.uk-section a:hover img,
.team-card:hover img {
  transform: scale(1.03);
}

/* Cards services — glow subtil au hover */
.svc-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover {
  box-shadow: 0 16px 40px rgba(36, 37, 38, 0.12);
}

/* Liens — transition douce */
a {
  transition: color 0.3s ease;
}

/* Séparateurs — apparition en largeur */
@keyframes growWidth {
  from { width: 0; }
  to { width: 48px; }
}
.hero-divider.vis,
.divider.vis {
  animation: growWidth 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Reveal amélioré — différentes directions */
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hover sur les eyebrows — léger slide */
.eyebrow {
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}

/* Footer liens — underline animé */
.footer-section a {
  position: relative;
}
.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.3s ease;
}
.footer-section a:hover::after {
  width: 100%;
}


/* ── 15. LOGO RESPONSIVE ───────────────────────────────────── */
.uk-navbar-item .uk-logo img,
.uk-navbar-item .uk-logo svg,
.uk-logo img,
.uk-logo svg {
  max-height: 45px !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 1024px) {
  .uk-navbar-item .uk-logo img,
  .uk-navbar-item .uk-logo svg,
  .uk-logo img,
  .uk-logo svg {
    max-height: 38px !important;
  }
}

@media (max-width: 768px) {
  .uk-navbar-item .uk-logo img,
  .uk-navbar-item .uk-logo svg,
  .uk-logo img,
  .uk-logo svg {
    max-height: 32px !important;
  }
}


/* ── 16. MENU MOBILE FULLSCREEN ────────────────────────────── */
@media (max-width: 960px) {

  /* Overlay plein écran */
  .uk-offcanvas-bar,
  #tm-mobile .uk-offcanvas-bar,
  .uk-modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100svh !important;
    background: var(--charcoal) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
  }

  /* Liens du menu centrés */
  .uk-offcanvas-bar .uk-nav,
  .uk-offcanvas-bar .uk-navbar-nav,
  #tm-mobile .uk-nav {
    text-align: center !important;
    width: 100% !important;
  }

  .uk-offcanvas-bar .uk-nav > li,
  .uk-offcanvas-bar .uk-navbar-nav > li,
  #tm-mobile .uk-nav > li {
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }

  .uk-offcanvas-bar .uk-nav > li > a,
  .uk-offcanvas-bar .uk-navbar-nav > li > a,
  #tm-mobile .uk-nav > li > a {
    font-family: 'Sigurd', 'DM Serif Display', Georgia, serif !important;
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
    font-weight: 400 !important;
    color: var(--chalk) !important;
    letter-spacing: 0.02em !important;
    padding: 12px 0 !important;
    display: inline-block !important;
    transition: color 0.3s ease !important;
  }

  .uk-offcanvas-bar .uk-nav > li > a:hover,
  #tm-mobile .uk-nav > li > a:hover {
    color: var(--clay) !important;
  }

  /* Sous-menus centrés aussi */
  .uk-offcanvas-bar .uk-nav-sub,
  #tm-mobile .uk-nav-sub {
    text-align: center !important;
    padding-left: 0 !important;
  }

  .uk-offcanvas-bar .uk-nav-sub > li > a,
  #tm-mobile .uk-nav-sub > li > a {
    font-family: 'Seravek', 'Raleway', sans-serif !important;
    font-size: clamp(0.95rem, 3vw, 1.15rem) !important;
    font-weight: 300 !important;
    color: rgba(226, 220, 208, 0.65) !important;
    padding: 8px 0 !important;
  }

  .uk-offcanvas-bar .uk-nav-sub > li > a:hover,
  #tm-mobile .uk-nav-sub > li > a:hover {
    color: var(--chalk) !important;
  }

  /* Bouton fermer */
  .uk-offcanvas-bar .uk-offcanvas-close,
  .uk-offcanvas-close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    color: var(--chalk) !important;
  }

  /* Ligne décorative sous le logo mobile */
  .uk-offcanvas-bar .uk-logo {
    margin-bottom: 2rem !important;
  }
}


/* ── 17. FIXED BG UNIVERSEL — iOS-safe via clip-path ───────── */
.althea-fixed-bg {
  position: relative;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
}

.althea-fixed-bg .fixed-bg-img {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.althea-fixed-bg .fixed-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.althea-fixed-bg > .uk-container,
.althea-fixed-bg > [class*="uk-grid"],
.althea-fixed-bg .althea-hero-inner {
  position: relative;
  z-index: 2;
}


/* ═══════════════════════════════════════════════════════════════
   18. OVERRIDE YOOTHEME — FORCE SIGURD + SERAVEK
   Doit rester TOUT EN BAS du fichier pour écraser les styles
   de YOOtheme qui s'appliquent en inline ou avec haute spécificité
   ═══════════════════════════════════════════════════════════════ */

/* ── Titres → Sigurd ── */
h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6,
.uk-heading-xlarge, .uk-heading-large,
.uk-heading-medium, .uk-heading-small,
.uk-article-title,
.hero-title,
[class*="el-title"],
[class*="uk-heading"] {
  font-family: 'Sigurd', 'DM Serif Display', Georgia, serif !important;
}

/* ── Corps de texte → Seravek ── */
body,
p, li, td, th, dd, dt, figcaption,
span, label, input, textarea, select, button, a,
.uk-text-default, .uk-text-lead, .uk-text-meta, .uk-text-small, .uk-text-large,
.uk-link, .uk-button, .uk-button-default, .uk-button-primary, .uk-button-secondary, .uk-button-text,
[class*="el-content"],
[class*="el-meta"],
[class*="el-link"],
.uk-navbar-nav > li > a,
.uk-navbar-dropdown .uk-nav > li > a,
.uk-subnav > * > a,
.uk-breadcrumb > * > a,
.uk-tab > * > a,
.eyebrow,
.hero-text,
.hero-eyebrow,
.pillar-text,
.footer-section, .footer-section p, .footer-section a {
  font-family: 'Seravek', 'Raleway', 'Lato', sans-serif !important;
}
