/*
Theme Name: Kinetika Fine Art Child
Theme URI: https://alexandretopolewski.com/
Description: Thème enfant moderne, fine art et luxe pour Kinetika. Navigation éditoriale, footer premium, typographies raffinées et corrections responsive.
Author: Alexandre TOPOLEWSKI
Template: kinetika
Version: 1.0.1
Text Domain: kinetika-fine-art-child
*/

:root {
  --at-bg: #f7f2ea;
  --at-ink: #171512;
  --at-muted: #746b60;
  --at-line: rgba(23, 21, 18, 0.14);
  --at-soft-line: rgba(255, 255, 255, 0.18);
  --at-gold: #a98954;
  --at-white: #fffaf2;
  --at-serif: 'Cormorant Garamond', Georgia, serif;
  --at-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  color: var(--at-ink);
  background: var(--at-bg);
  font-family: var(--at-sans);
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.hero-title {
  font-family: var(--at-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

a { transition: color .25s ease, opacity .25s ease, border-color .25s ease, background .25s ease; }

/* Navigation fine art transparente */
.stickymenu-zone.outer-wrap,
.at-luxury-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

body.at-nav-scrolled .at-luxury-header,
.at-luxury-header:hover,
.at-luxury-header:focus-within,
.at-luxury-header.is-menu-open {
  background: rgba(20, 18, 15, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 250, 242, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

body.admin-bar .at-luxury-header,
body.admin-bar .stickymenu-zone.outer-wrap { top: 32px; }

.at-luxury-nav {
  width: min(1480px, calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.at-luxury-brand {
  justify-self: center;
  color: var(--at-white);
  text-align: center;
  text-decoration: none;
  line-height: 1;
}

.at-luxury-brand img {
  display: block;
  max-height: 48px;
  width: auto;
  margin: 0 auto;
}

.at-brand-name {
  display: block;
  font-family: var(--at-serif);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.at-brand-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.74);
}

.at-main-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.at-main-menu > li { position: relative; margin: 0; }
.at-main-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  color: rgba(255, 250, 242, 0.92);
  font-family: var(--at-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  text-shadow: 0 1px 16px rgba(0,0,0,.28);
}

.at-main-menu > li > a:hover,
.at-main-menu > li.current-menu-item > a,
.at-main-menu > li.current-menu-ancestor > a {
  color: var(--at-white);
  border-color: rgba(255, 250, 242, 0.78);
}

.at-menu-left { justify-self: start; }
.at-menu-right { justify-self: end; }

.at-main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -24px;
  min-width: 240px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  background: rgba(20, 18, 15, 0.88);
  border: 1px solid rgba(255, 250, 242, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.at-main-menu li:hover > .sub-menu,
.at-main-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.at-main-menu .sub-menu a {
  display: block;
  padding: 10px 24px;
  color: rgba(255, 250, 242, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.at-main-menu .sub-menu a:hover { color: var(--at-gold); }

.at-menu-toggle { display: none; }

/* Décalage contenu sous header fixe */
body:not(.fullscreen-mode) .container-wrapper,
body:not(.single-mtheme_fullscreen) .container-wrapper { padding-top: 84px; }

/* Footer luxe */
.at-luxury-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: #14120f;
  color: var(--at-white);
  border-top: 1px solid rgba(255,255,255,.08);
}

.at-footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0 32px;
}

.at-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(32px, 5vw, 76px);
}

.at-footer-brand {
  font-family: var(--at-serif);
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: .92;
  letter-spacing: -0.035em;
}

.at-footer-text {
  max-width: 420px;
  margin-top: 22px;
  color: rgba(255,250,242,.72);
  font-size: .95rem;
  line-height: 1.85;
}

.at-footer-kicker,
.at-footer-heading {
  margin: 0 0 18px;
  color: rgba(255,250,242,.54);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.at-footer-links,
.at-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.at-footer-links li,
.at-footer-menu li { margin: 0 0 12px; }

.at-footer-links a,
.at-footer-menu a,
.at-footer-contact a {
  color: var(--at-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.at-footer-links a:hover,
.at-footer-menu a:hover,
.at-footer-contact a:hover {
  color: var(--at-gold);
  border-color: var(--at-gold);
}

.at-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 6vw, 84px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,250,242,.52);
  font-size: .75rem;
  letter-spacing: .08em;
}

#copyright { display: none; }
#goto-top {
  right: 24px;
  bottom: 24px;
  background: rgba(20,18,15,.86);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--at-white);
}

/* Finition contenu */
.entry-content p,
.entry-content li {
  font-size: 1rem;
  line-height: 1.85;
}

.entry-content img {
  height: auto;
}

@media (max-width: 1024px) {
  .at-luxury-nav {
    width: min(100% - 32px, 960px);
    min-height: 74px;
    grid-template-columns: 1fr auto;
  }
  .at-luxury-brand { justify-self: start; }
  .at-menu-left,
  .at-menu-right {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
  }
  .at-luxury-nav.is-open .at-menu-left,
  .at-luxury-nav.is-open .at-menu-right { display: block; }
  .at-main-menu {
    display: block;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255, 250, 242, 0.14);
  }
  .at-main-menu > li > a {
    min-height: auto;
    display: flex;
    padding: 13px 0;
  }
  .at-main-menu .sub-menu {
    position: static;
    min-width: auto;
    padding: 0 0 8px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .at-menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 250, 242, 0.42);
    background: rgba(20, 18, 15, 0.18);
    color: var(--at-white);
    font-size: 0;
    cursor: pointer;
  }
  .at-menu-toggle::before {
    content: '';
    width: 18px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }
  .at-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body.admin-bar .at-luxury-header,
  body.admin-bar .stickymenu-zone.outer-wrap { top: 46px; }
  .at-brand-name { font-size: 1.2rem; }
  .at-brand-subtitle { font-size: .55rem; letter-spacing: .22em; }
  .at-footer-grid { grid-template-columns: 1fr; }
  .at-footer-bottom { flex-direction: column; }
}
