/* ============================================
   EMAIL EVOLUTION — LIGHT PREMIUM v1
   Beige chaud · Playfair Display · Indigo
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:      #FAF8F5;
  --bg2:     #F3F0EB;
  --bg3:     #EDE9E2;
  --txt:     #1C1917;
  --txt2:    #57534E;
  --txt3:    #A8A29E;
  --accent:  #3730A3;
  --accent2: #4338CA;
  --accent3: #EEF2FF;
  --border:  rgba(28,25,23,.08);
  --border2: rgba(28,25,23,.14);
  --shadow:  0 1px 3px rgba(28,25,23,.06), 0 4px 16px rgba(28,25,23,.04);
  --shadow2: 0 4px 24px rgba(28,25,23,.1), 0 1px 4px rgba(28,25,23,.06);
}

/* ── BASE ─────────────────────────────────── */
html, body {
  background: var(--bg) !important;
  color: var(--txt) !important;
  font-family: 'DM Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
.wp-site-blocks { background: var(--bg) !important; }
.entry-content, .site-content, #content, .page-content,
main, .wp-block-post-content { background: transparent !important; }
.wp-site-blocks > main { padding-top: 0 !important; }

/* ── TYPOGRAPHIE ──────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', serif !important;
  color: var(--txt) !important;
  line-height: 1.2 !important;
  letter-spacing: -.01em !important;
}
h4, h5, h6 {
  font-family: 'DM Sans', sans-serif !important;
  color: var(--txt) !important;
  font-weight: 600 !important;
}
p, li, td, th {
  color: var(--txt2) !important;
  font-family: 'DM Sans', sans-serif !important;
  line-height: 1.75 !important;
}
p strong, li strong { color: var(--txt) !important; font-weight: 600 !important; }
a { color: var(--accent) !important; transition: color .2s, opacity .2s !important; }
a:hover { color: var(--accent2) !important; }

/* ── BOUTONS ──────────────────────────────── */
.wp-block-button .wp-element-button,
.wp-block-button__link {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: .82rem !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  transition: all .25s ease !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(55,48,163,.2) !important;
}
.wp-block-button .wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--accent2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(55,48,163,.3) !important;
}

/* ── ÉLÉMENTS ─────────────────────────────── */
.wp-block-separator {
  border-color: var(--border2) !important;
  opacity: 1 !important;
}
.wp-block-quote, blockquote {
  border-left: 3px solid var(--accent) !important;
  background: var(--accent3) !important;
  padding: 20px 28px !important;
  margin: 24px 0 !important;
  border-radius: 0 4px 4px 0 !important;
}
.wp-block-quote p, blockquote p {
  color: var(--accent) !important;
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
}
input[type=text], input[type=email], input[type=search], textarea, select {
  background: #fff !important;
  border: 1.5px solid var(--border2) !important;
  color: var(--txt) !important;
  font-family: 'DM Sans', sans-serif !important;
  border-radius: 3px !important;
  padding: 12px 16px !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-shadow: var(--shadow) !important;
}
input:focus, textarea:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(55,48,163,.1) !important;
}
input::placeholder, textarea::placeholder { color: var(--txt3) !important; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 3px !important; }

/* ════════════════════════════════════════════
   HEADER PREMIUM LIGHT
   ════════════════════════════════════════════ */

.ee-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: rgba(250,248,245,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(28,25,23,.04);
}

/* Ligne accent indigo en bas du header */
.ee-header-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 40%, transparent 80%);
  opacity: .35;
}

/* ── Logo ── */
.ee-header-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--txt) !important;
  text-decoration: none !important;
  line-height: 1;
  transition: opacity .2s;
}
.ee-header-logo:hover { opacity: .75; }
.ee-logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

/* ── Nav desktop ── */
.ee-header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ee-header-nav li { position: relative; }

.ee-header-nav li a {
  display: block;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .76rem !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--txt2) !important;
  text-decoration: none !important;
  padding: 8px 18px;
  transition: color .2s;
}

/* Underline animé */
.ee-header-nav li:not(.nav-sep):not(.nav-cta) a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px; right: 18px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.ee-header-nav li:not(.nav-sep):not(.nav-cta) a:hover {
  color: var(--txt) !important;
}
.ee-header-nav li:not(.nav-sep):not(.nav-cta) a:hover::after {
  transform: scaleX(1);
}

/* Séparateur */
.ee-header-nav .nav-sep {
  width: 1px;
  height: 16px;
  background: var(--border2);
  margin: 0 10px;
  align-self: center;
  flex-shrink: 0;
}

/* Bouton CTA */
.ee-header-nav .nav-cta a {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  font-size: .72rem !important;
  letter-spacing: .07em !important;
  box-shadow: 0 2px 8px rgba(55,48,163,.2) !important;
  transition: all .2s !important;
}
.ee-header-nav .nav-cta a:hover {
  background: var(--accent2) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(55,48,163,.3) !important;
  transform: translateY(-1px);
}
.ee-header-nav .nav-cta a::after { display: none !important; }

/* ── Hamburger ── */
.ee-header-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1;
}
.ee-header-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--txt2);
  border-radius: 2px;
  transition: all .25s;
}
.ee-header-hamburger span:nth-child(1) { width: 22px; }
.ee-header-hamburger span:nth-child(2) { width: 14px; }
.ee-header-hamburger span:nth-child(3) { width: 18px; }
.ee-header-hamburger:hover span { background: var(--txt); }

/* ── Menu mobile ── */
.ee-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(250,248,245,.99);
  border-bottom: 1px solid var(--border);
  padding: 8px 32px 24px;
  position: sticky;
  top: 72px;
  z-index: 9998;
  box-shadow: 0 8px 24px rgba(28,25,23,.06);
}
.ee-mobile-menu a {
  font-family: 'DM Sans', sans-serif !important;
  font-size: .8rem !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--txt2) !important;
  text-decoration: none !important;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.ee-mobile-menu a:hover { color: var(--txt) !important; padding-left: 6px; }
.ee-mobile-menu a:last-child {
  border-bottom: none;
  color: var(--accent) !important;
  font-weight: 600 !important;
  margin-top: 8px;
}
.ee-mobile-menu.open { display: flex; }

@media(max-width: 960px) {
  .ee-header-wrap { padding: 0 24px; }
  .ee-header-nav { display: none; }
  .ee-header-hamburger { display: flex; }
}

/* ════════════════════════════════════════════
   FOOTER PREMIUM LIGHT
   ════════════════════════════════════════════ */

.ee-footer-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.ee-footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 4px;
}
.ee-footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--txt3);
  margin: 0;
  text-transform: uppercase;
}
.ee-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ee-footer-links a {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: .58rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--txt3) !important;
  text-decoration: none !important;
  padding: 4px 16px;
  transition: color .2s;
}
.ee-footer-links a:hover { color: var(--accent) !important; }
.ee-footer-links li:not(:last-child) a { border-right: 1px solid var(--border2); }

@media(max-width: 768px) {
  .ee-footer-wrap { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .ee-footer-links li:first-child a { padding-left: 0; }
}
