/*
Theme Name: Maison Brand Paris
Theme URI: https://maisonbrandparis.com
Author: Maison Brand Paris
Author URI: https://maisonbrandparis.com
Description: Theme WordPress sur-mesure pour Maison Brand Paris. Compatible Elementor. Studio de creation de sites WordPress, identite de marque et design sur-mesure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maison-brand-paris
Tags: one-page, custom-logo, custom-menu, featured-images, theme-options, elementor
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ─── VARIABLES ─── */
:root {
  --noir: #1a1815;
  --blanc: #faf8f5;
  --creme: #f3ede4;
  --or: #b8935a;
  --or-clair: #d4b87c;
  --gris: #7a756c;
  --gris-clair: #a9a39a;
  --charcoal: #3a3630;
  --warm-white: #fffcf8;
}

/* ─── RESET & BASE ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--warm-white);
  color: var(--noir);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--or); color: var(--blanc); }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }

/* ─── Elementor Full Width ─── */
.elementor-page .site-content { max-width: 100%; padding: 0; }
body.elementor-default .site-content,
body.elementor-template-full-width .site-content { max-width: 100%; padding: 0; margin: 0; }

/* ─── LOADER ─── */
.loader {
  position: fixed; inset: 0; background: var(--creme); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  animation: loaderFade 0.6s ease 2.2s forwards;
}
.loader span {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem); color: var(--or);
  letter-spacing: 1.2em; text-transform: uppercase; font-weight: 300;
  opacity: 0; animation: loaderText 1.6s ease 0.3s forwards;
}
@keyframes loaderText {
  0% { opacity: 0; letter-spacing: 1.8em; }
  50% { opacity: 1; }
  100% { opacity: 1; letter-spacing: 1.2em; }
}
@keyframes loaderFade { to { opacity: 0; pointer-events: none; } }

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1.8rem 4rem; display: flex; align-items: center;
  justify-content: space-between; transition: all 0.5s ease; background: transparent;
}
.site-nav.scrolled {
  background: rgba(250,248,245,0.95); padding: 1rem 4rem;
  backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(184,147,90,0.1);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  letter-spacing: 0.6em; text-transform: uppercase; color: var(--blanc);
  font-weight: 400;
}
.site-nav.scrolled .nav-logo { color: var(--charcoal); }
.nav-logo em { font-style: italic; color: var(--or); font-weight: 300; }

.nav-menu { display: flex; gap: 3rem; }
.nav-menu li { list-style: none; }
.nav-menu a {
  color: rgba(255,255,255,0.6); font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase; font-weight: 400;
  position: relative;
}
.site-nav.scrolled .nav-menu a { color: var(--gris); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 1px; background: var(--or); transition: width 0.4s ease;
}
.nav-menu a:hover { color: var(--or) !important; }
.nav-menu a:hover::after { width: 100%; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 5px;
}
.menu-toggle span {
  display: block; width: 25px; height: 1px; background: var(--blanc); transition: all 0.3s;
}
.site-nav.scrolled .menu-toggle span { background: var(--charcoal); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal); border-top: 1px solid rgba(201,169,110,0.1);
  padding: 4rem; display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem; align-items: start;
}
.footer-brand .footer-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  letter-spacing: 0.6em; text-transform: uppercase; color: var(--blanc);
  font-weight: 400; display: block; margin-bottom: 1.5rem;
}
.footer-brand .footer-logo em { font-style: italic; color: var(--or-clair); }
.footer-brand p { font-size: 0.75rem; color: var(--gris); font-weight: 300; line-height: 1.7; }
.footer-col h5 {
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--or-clair); margin-bottom: 1.5rem; font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}
.footer-col a {
  display: block; color: var(--gris-clair); font-size: 0.78rem;
  font-weight: 300; margin-bottom: 0.8rem;
}
.footer-col a:hover { color: var(--or-clair); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin: 0; padding: 0; }
.footer-bottom {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 0.65rem; color: var(--gris); font-weight: 300; letter-spacing: 0.1em; }

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .site-nav { padding: 1.2rem 2rem; }
  .site-footer { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-menu.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--warm-white);
    padding: 2rem; gap: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-menu.active a { color: var(--charcoal) !important; }
  .menu-toggle { display: flex; }
}
