/*
Theme Name: Déb'ordante d'idées
Theme URI: https://debordante.fr
Author: Déborah
Description: Thème personnalisé Déb'ordante d'idées — Community Management & Formations
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: debordante
*/

:root {
  --peach:   #FCE9D2;
  --lilac:   #F3C8F3;
  --orange:  #EF512C;
  --apricot: #FD9651;
  --pink:    #E22797;
  --ink:     #1C1009;
  --white:   #FFFAF5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }

/* NAV */
nav.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 3rem; background: rgba(252,233,210,0.92); backdrop-filter: blur(16px); box-shadow: 0 4px 24px rgba(239,81,44,0.10); }
.site-logo { font-family: 'Fraunces', serif; font-size: 1.55rem; font-weight: 900; color: var(--ink); text-decoration: none; }
.site-logo span { color: var(--orange); }
.site-logo em { font-style: italic; color: var(--pink); }
.nav-links { display: flex; gap: .2rem; list-style: none; align-items: center; }
.nav-links a { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .45rem .9rem; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--lilac); }
.nav-cta { background: var(--orange) !important; color: #fff !important; box-shadow: 0 4px 14px rgba(239,81,44,.35); }
.nav-cta:hover { transform: translateY(-2px); background: var(--pink) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* MOBILE MENU */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 499; background: var(--peach); flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 900; color: var(--ink); text-decoration: none; }
.mobile-menu a:hover { color: var(--orange); }
.close-nav { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--ink); }

/* CART ICON */
.cart-icon-wrap { position: relative; display: flex; align-items: center; margin-right: .5rem; text-decoration: none; }
.cart-badge { display: none; position: absolute; top: -6px; right: -8px; background: var(--orange); color: #fff; font-size: .6rem; font-weight: 900; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; }

/* BTNS */
.btn { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem; font-weight: 700; text-decoration: none; padding: .85rem 2rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .5rem; border: none; box-shadow: 0 6px 20px rgba(28,16,9,.12); transition: transform .15s, box-shadow .15s; cursor: pointer; color: var(--ink); background: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,16,9,.18); }
.btn-fill { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(239,81,44,.35); }
.btn-fill:hover { background: var(--pink); }
.btn-purple { background: var(--lilac); color: var(--ink); }
.btn-purple:hover { background: #e8a8e8; }
.btn-ghost { background: rgba(28,16,9,.06); }
.btn-ghost:hover { background: var(--lilac); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--peach); }
.btn-cart { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; cursor: pointer; padding: .45rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; border: none; font-family: 'Plus Jakarta Sans', sans-serif; transition: background .2s, transform .15s; }
.btn-cart:hover { background: var(--orange); transform: translateY(-2px); }

/* SHARED */
.s-tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: .9rem; }
.s-tag::before { content: '✦'; font-size: .6rem; }

/* ANIMATIONS */
@keyframes morph { 0%,100%{border-radius:60% 40% 70% 30%/50% 60% 40% 60%} 33%{border-radius:40% 60% 30% 70%/60% 40% 70% 30%} 66%{border-radius:70% 30% 60% 40%/30% 70% 50% 50%} }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes mq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.blob { position: absolute; border-radius: 60% 40% 70% 30%/50% 60% 40% 60%; animation: morph 8s ease-in-out infinite; pointer-events: none; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MARQUEE */
.mq-wrap { background: var(--orange); overflow: hidden; padding: .7rem 0; }
.mq-track { display: flex; gap: 2.5rem; white-space: nowrap; animation: mq 25s linear infinite; }
.mq-item { font-family: 'Fraunces', serif; font-size: 1rem; font-style: italic; font-weight: 700; color: #fff; flex-shrink: 0; display: flex; align-items: center; gap: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.mq-dot { font-style: normal; font-size: .5rem; opacity: .9; }

/* FOOTER */
footer.site-footer { background: var(--ink); border-top: 2px solid rgba(255,255,255,.08); padding: 2.5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.f-logo { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 900; color: #fff; }
.f-logo span { color: var(--orange); }
.f-logo em { color: var(--pink); font-style: italic; }
.f-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.f-links a { font-size: .79rem; color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: #fff; }
.f-copy { font-size: .74rem; color: rgba(255,255,255,.22); }

/* RESPONSIVE */
@media(max-width:1024px) { nav.site-nav { padding: 1rem 2rem; } footer.site-footer { flex-direction: column; text-align: center; } }
@media(max-width:768px) { .nav-links { display: none; } .hamburger { display: flex; } }
