/* ═══════════════════════════════════════════
   LES GOURMANDISES DE MARINE — main.css
═══════════════════════════════════════════ */

:root {
  --cream:       #FAF6F0;
  --warm:        #F5EDE0;
  --terra:       #C8694A;
  --terra-light: #E8886A;
  --green:       #4A7C5A;
  --charcoal:    #2C2C2C;
  --text:        #3D3330;
  --muted:       #8A7F7A;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TOPBAR ── */
.gm-topbar {
  background: var(--charcoal);
  color: #fff;
  font-size: 0.78rem;
  padding: 8px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.gm-topbar a { color: #fff; }

/* ── HEADER ── */
.gm-header {
  background: var(--cream);
  padding: 16px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(200,105,74,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

/* ── LOGO ── */
.gm-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--terra);
  line-height: 1.1;
  text-decoration: none;
  display: block;
}
.gm-logo small {
  display: block;
  font-size: 0.56rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── DESKTOP NAV ── */
.gm-nav { display: block; }
.gm-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.gm-nav ul li { margin: 0; padding: 0; }
.gm-nav ul li a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  display: block;
}
.gm-nav ul li a:hover,
.gm-nav ul li.current-menu-item > a {
  color: var(--terra);
  border-bottom-color: var(--terra);
}
/* Dernier item = bouton CTA */
.gm-nav ul li:last-child > a {
  background: var(--terra);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 50px;
  border-bottom: none !important;
}
.gm-nav ul li:last-child > a:hover {
  background: var(--terra-light) !important;
}

/* ── HAMBURGER MOBILE ── */
.gm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.gm-hamburger span {
  width: 24px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* ── MOBILE MENU ── */
.gm-mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid rgba(200,105,74,0.15);
  padding: 0;
}
.gm-mobile-nav.is-open { display: block; }
.gm-mobile-nav ul {
  list-style: none;
  margin: 0; padding: 0;
}
.gm-mobile-nav ul li a {
  display: block;
  padding: 13px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.gm-mobile-nav ul li a:hover { color: var(--terra); background: var(--warm); }

/* ── MAIN ── */
.gm-main { min-height: 60vh; }

/* Default content (posts / pages sans shortcode) */
.gm-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 40px;
}
.gm-content-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.gm-content-wrap p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ── FOOTER ── */
.gm-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: 28px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
}
.gm-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}
.gm-footer-rna { font-size: 0.7rem; opacity: 0.4; margin-top: 2px; }
.gm-footer-nav { display: flex; flex-wrap: wrap; align-items: center; }
.gm-footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; gap: 0; }
.gm-footer-nav ul li { margin: 0; padding: 0; }
.gm-footer-nav ul li a {
  color: rgba(255,255,255,0.5);
  margin-left: 18px;
  font-size: 0.78rem;
  transition: color 0.2s;
  display: inline-block;
}
.gm-footer-nav ul li a:hover { color: var(--terra-light); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .gm-topbar { padding: 8px 24px; }
  .gm-header { padding: 14px 24px; }
  .gm-footer { padding: 24px; flex-direction: column; text-align: center; }
  .gm-footer-nav ul li a { margin: 0 8px; }
  .gm-nav { display: none; }
  .gm-hamburger { display: flex; }
}
