/*
Theme Name: Editorial Emma Personal
Theme URI: https://www.laparoledeemma.com
Author: Emma
Description: Site personnel premium, magazine lifestyle féminin avec voix éditoriale "Une parole libre par Emma". Cormorant Garamond + Lato, palette prune-sable.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: editorial-emma-personal
Tags: block-themes, full-site-editing, blog, magazine, lifestyle
*/

/* Custom properties — palette prune-sable + typo Cormorant/Lato */
:root {
  --pe-base: #FAF6F2;
  --pe-base-soft: #EFE8DE;
  --pe-base-deep: #DCCFC0;
  --pe-ink: #1E1820;
  --pe-ink-soft: #382B3D;
  --pe-muted: #766A7A;
  --pe-accent: #684A6E;
  --pe-accent-deep: #4A3050;
  --pe-secondary: #B89A6A;
  --pe-secondary-deep: #8C7244;

  --pe-font-title: 'Cormorant Garamond', Georgia, serif;
  --pe-font-body: 'Lato', -apple-system, system-ui, sans-serif;
  --pe-font-accent: 'Cormorant Garamond', Georgia, serif;

  --pe-radius-card: 14px;
  --pe-radius-image: 8px;
  --pe-shadow-card: 0 4px 16px rgba(30, 24, 32, 0.06);
  --pe-shadow-elevated: 0 12px 32px rgba(30, 24, 32, 0.10);

  --pe-container-max: 1240px;
  --pe-container-narrow: 760px;
  --pe-space-section: clamp(60px, 9vw, 110px);
}

/* Reset minimal pour éviter conflits avec Gutenberg */
body {
  background: var(--pe-base);
  color: var(--pe-ink-soft);
  font-family: var(--pe-font-body);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--pe-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pe-accent-deep); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pe-font-title);
  color: var(--pe-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

.pe-eyebrow {
  font-family: var(--pe-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pe-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.pe-italic-accent {
  font-family: var(--pe-font-accent);
  font-style: italic;
  font-weight: 400;
}

/* Container */
.pe-container { max-width: var(--pe-container-max); margin: 0 auto; padding: 0 24px; }
.pe-container--narrow { max-width: var(--pe-container-narrow); margin: 0 auto; padding: 0 24px; }

/* Sections */
section, .pe-section {
  padding-block: var(--pe-space-section);
}

/* Buttons */
.pe-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--pe-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.pe-btn--primary {
  background: var(--pe-ink);
  color: var(--pe-base);
}
.pe-btn--primary:hover { background: var(--pe-accent); color: var(--pe-base); text-decoration: none; }
.pe-btn--ghost {
  background: transparent;
  color: var(--pe-ink);
  border: 1px solid var(--pe-base-deep);
}
.pe-btn--ghost:hover { background: var(--pe-ink); color: var(--pe-base); border-color: var(--pe-ink); }
