/* FONT GLOBALE — même que le menu */
html,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif !important;
}

/* === EJ HOME: HARD RESET AGAINST TT5/FSE TITLE/HEADER/FOOTER === */
body.home .wp-block-site-title,
body.home .wp-block-site-title a,
body.home .wp-block-site-tagline,
body.home .site-title,
body.home .site-description,
body.home .wp-block-post-title,
body.home .entry-title,
body.home h1.wp-block-post-title,
body.home .wp-site-blocks .wp-block-site-title,
body.home .wp-site-blocks .wp-block-site-title a {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cache les template parts FSE (header/footer) seulement sur la home */
body.home header.wp-block-template-part,
body.home footer.wp-block-template-part,
body.home .wp-site-blocks > header,
body.home .wp-site-blocks > footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Si le thème ajoute un padding top global, on l'annule sur la home */
body.home .wp-site-blocks {
  padding-top: 0 !important;
  margin-top: 0 !important;
}


:root {
    --bg: #f4ecdf;
    --white: #ffffff;
    --text: #111;
    --muted: #777;
    --accent: #c96a44;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}
/* H2 – Titres de sections */
h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}


/* HEADER */
.ej-header {
    background: var(--white);
    text-align: center;
    padding: 40px 20px 20px;
    border-bottom: 1px solid #ddd;
}

.ej-logo img {
    max-width: 260px;
    margin-bottom: 25px;
}

.ej-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.ej-nav a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

/* HERO */
.ej-hero {
    padding: 120px 20px;
    text-align: center;
    background: var(--white);
}

.ej-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.ej-hero p {
    font-size: 18px;
}

/* EDITO */
.ej-edito {
    text-align: center;
    padding: 120px 20px;
}

.label {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
}

.ej-edito h2 {
    font-size: 42px;
    margin: 20px 0;
}

/* POSTS */
.ej-posts {
    padding: 100px 60px;
    background: var(--white);
}

.posts-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.post {
    background: var(--bg);
    border-radius: 24px;
    overflow: hidden;
}

.post-img {
    height: 300px;
    background: #ccc;
}

.post h3 {
    padding: 20px;
    font-size: 18px;
}

/* UNIVERS */
.ej-univers {
    padding: 100px 40px;
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.univers-grid a {
    background: var(--white);
    padding: 60px 20px;
    text-align: center;
    border-radius: 24px;
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
}

/* FOOTER */
.ej-footer {
    padding: 60px 20px;
    text-align: center;
    background: var(--white);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .posts-grid,
    .univers-grid {
        grid-template-columns: 1fr;
    }

    .ej-hero h1 {
        font-size: 34px;
    }
}
/* HERO */
.home-hero{
  height: 90vh;
  background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/fashion-2309519_640.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}
.hero-overlay{
  position:relative;
  background: rgba(255,255,255,.88);
  padding: 70px 90px;
  text-align:center;
  max-width: 720px;
}


/* THEMES */
.home-themes {
    padding: 120px 8vw;
    text-align: center;
    background: #f4ecdf;
}

.themes-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.theme-card {
  position: relative;
  height: 280px;
  border-radius: 32px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Overlay sombre */
.theme-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.15)
  );
}

/* Texte au-dessus de l’overlay */
.theme-card span {
  position: relative;
  z-index: 2;
}

/* IMAGES PAR THEMATIQUE */
.theme-mode {
  background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/girl-5662873_640.webp');
}

.theme-beaute {
  background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/woman-8277925_1280.webp');
}

.theme-voyages {
  background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/hiker-918473_640.jpg');
}

.theme-lifestyle {
  background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/woman-6992691_1280.webp');
}

/* Hover moderne */
.theme-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

/* POSTS */
.home-posts {
    padding: 120px 8vw;
    background: #fff;
}

.posts-head {
    display: flex;
        text-align: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.post-card {
    background: #f4ecdf;
    border-radius: 30px;
    overflow: hidden;
}

.post-img {
    height: 260px;
    background: #ccc;
}

.post-card h3 {
    padding: 20px;
    font-size: 18px;
}

/* ABOUT */
.home-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 100px 8vw;
    background: #f4ecdf;
    gap: 80px;
    align-items: center;
}

.about-photo {
    height: 420px;
    border-radius: 40px;

    background-image: url('https://emmaetjosephine.fr/wp-content/uploads/2026/01/women-9634033_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* MANIFESTO */
.home-manifesto {
    padding: 90px 20px;
    background: #919150;
    color: #fff;
    text-align: center;
    font-size: 34px;
    font-style: italic;
}

/* FOOTER */
.home-footer {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
    font-size: 14px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .themes-grid,
    .posts-grid,
    .home-about {
        grid-template-columns: 1fr;
    }

    .hero-overlay {
        padding: 40px;
    }

    .hero-overlay h1 {
        font-size: 34px;
    }
}
h2 {
    text-align: center;
}
.centered {
    text-align: center;
}
