/*
Theme Name: Maryl
Author: Mary Chevalley
Version: 3.0
*/

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivoire:     #FAF7F2;
  --prune:      #2D1F2E;
  --bordeaux:   #8B2E4A;
  --vieux-rose: #C4849A;
  --ardoise:    #6B7280;
  --creme:      #F2EDE8;
  --prune-clair:#4B3F4E;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--ivoire); color: var(--prune); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); }

/* NAV */
.site-header { padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 0.5px solid rgba(196,132,154,0.3); position: sticky; top: 0; background: var(--ivoire); z-index: 100; }
.site-logo { font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--prune); text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; }
.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a { font-size: 13px; color: var(--ardoise); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--bordeaux); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.25rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--prune); }

/* BOUTONS */
.btn { display: inline-block; padding: 0.75rem 2rem; background: var(--bordeaux); color: var(--ivoire) !important; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.06em; text-decoration: none; border: 1px solid var(--bordeaux); cursor: pointer; transition: background 0.2s; }
.btn:hover { background: #6D2238; }

/* PAGES */
.page-wrap { max-width: 780px; margin: 0 auto; padding: 4rem 3rem; }
.page-wrap h1 { font-family: var(--font-serif); font-size: clamp(32px,5vw,48px); font-weight: 500; line-height: 1.1; margin-bottom: 2rem; color: var(--prune); }
.page-wrap h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin: 2.5rem 0 1rem; color: var(--prune); }
.page-wrap h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 500; margin: 1.5rem 0 0.75rem; color: var(--prune); }
.page-wrap p { font-size: 16px; line-height: 1.9; color: var(--prune-clair); margin-bottom: 1.25rem; }
.page-wrap ul, .page-wrap ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.page-wrap li { font-size: 15px; line-height: 1.8; color: var(--prune-clair); margin-bottom: 0.5rem; }
.page-wrap strong { color: var(--prune); font-weight: 500; }
.page-wrap em { font-style: italic; }
.page-wrap img { margin: 2rem 0; }
.page-wrap blockquote { border-left: 2.5px solid var(--bordeaux); padding-left: 1.5rem; margin: 2rem 0; font-family: var(--font-serif); font-size: 20px; font-style: italic; color: var(--prune); line-height: 1.6; }

/* FOOTER */
.site-footer { padding: 1.5rem 3rem; border-top: 0.5px solid rgba(196,132,154,0.25); font-size: 11px; color: var(--ardoise); letter-spacing: 0.04em; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.site-footer a { color: var(--ardoise); text-decoration: none; }
.site-footer a:hover { color: var(--bordeaux); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-header { padding: 1.25rem 1.5rem; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivoire); border-top: 0.5px solid rgba(196,132,154,0.3); padding: 1.5rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 1.25rem; }
  .page-wrap { padding: 3rem 1.5rem; }
  .site-footer { padding: 1.25rem 1.5rem; flex-direction: column; align-items: flex-start; }
}
