/*
Theme Name:  LensPress
Theme URI:   https://lenspress.studio
Author:      LensPress Studio
Description: Site officiel LensPress — studio de création de sites pour photographes.
Version:     1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
Text Domain:       lenspress
*/

/* ═══════════════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════════════ */
:root {
  --bg:        #FDFCF6;
  --bg-alt:    #F5F3EC;
  --text:      #2D2D2D;
  --text-lt:   #6B6B6B;
  --text-mu:   #9A9A9A;
  --accent:    #C86A51;
  --border:    #E5E5E5;
  --serif:     'Newsreader', Georgia, serif;
  --sans:      'Inter', -apple-system, sans-serif;
  --hh:        72px;
  --max:       1280px;
  --r:         4px;
  --t:         .18s ease;
}

/* ═══════════════════════════════════════════════════════════
   RESET — minimal, ne touche pas Elementor
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { background: var(--bg); color: var(--text); font-family: var(--sans);
        line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img   { max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════════════════════════════
   HEADER FIXE
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--hh);
  background: rgba(253,252,246,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.06); border-color: #C8C8C8; }

.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}

.logo {
  font-family: var(--serif); font-size: 1.125rem; font-weight: 400;
  color: var(--text); letter-spacing: -.01em;
  display: flex; align-items: center; flex-shrink: 0;
}
.logo-dot {
  display: inline-block; width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%; margin-left: 3px; vertical-align: middle;
}
.logo img { height: 32px; width: auto; display: block; }

.primary-nav ul { display: flex; align-items: center; gap: 36px; }
.primary-nav a {
  font-size: .875rem; color: var(--text-lt); transition: color var(--t); letter-spacing: .01em;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--text); }

.hdr-cta {
  font-size: .8125rem; font-weight: 500; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 9px 20px; white-space: nowrap; flex-shrink: 0;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.hdr-cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 40px; height: 40px;
  background: none; border: 1px solid var(--border); border-radius: var(--r); padding: 0;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); }

/* ═══════════════════════════════════════════════════════════
   WRAPPER PAGE — compense le header fixe
═══════════════════════════════════════════════════════════ */
.page-content { padding-top: var(--hh); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer { background: var(--text); }

.footer-top {
  max-width: var(--max); margin: 0 auto; padding: 80px 40px 64px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-logo {
  font-family: var(--serif); font-size: 1.125rem; color: #FDFCF6;
  display: flex; align-items: center; margin-bottom: 16px;
}
.footer-brand p { font-size: .875rem; color: rgba(253,252,246,.5); line-height: 1.75; }

.footer-col h4 {
  font-family: var(--sans); font-size: .6875rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(253,252,246,.3); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .875rem; color: rgba(253,252,246,.5); transition: color var(--t); }
.footer-col a:hover { color: #FDFCF6; }

.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 24px 40px;
  border-top: 1px solid rgba(253,252,246,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-bottom p, .footer-bottom a { font-size: .75rem; color: rgba(253,252,246,.25); }
.footer-legal { display: flex; gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   PAGES LÉGALES
═══════════════════════════════════════════════════════════ */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 80px 40px 120px; }
.legal-wrap h1 {
  font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.8rem);
  font-weight: 400; color: var(--text); margin-bottom: 48px; letter-spacing: -.02em;
}
.legal-wrap h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  color: var(--text); margin: 48px 0 16px; }
.legal-wrap p, .legal-wrap li {
  font-size: 1rem; color: var(--text-lt); line-height: 1.8; margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════ */
.not-found { min-height: 60vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 80px 40px; }
.not-found h1 { font-family: var(--serif); font-size: 6rem; font-weight: 400;
  color: var(--border); line-height: 1; }
.not-found p { color: var(--text-lt); margin: 16px 0 32px; }
.not-found a { display: inline-block; padding: 12px 28px; background: var(--text);
  color: var(--bg); border-radius: var(--r); font-size: .875rem; }

/* ═══════════════════════════════════════════════════════════
   ANIMATION ENTRÉE
═══════════════════════════════════════════════════════════ */
.fi { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fi.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .primary-nav, .hdr-cta { display: none !important; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 20px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 20px 40px; }
  .footer-bottom { padding: 20px; flex-direction: column; align-items: flex-start; }
  .legal-wrap { padding: 40px 20px 80px; }
}
