/* ================================================
   FLEURS D'AILLEURS — Feuille de style globale
   Violet & Or — Mystérieux et Luxueux
   ================================================ */

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

/* ─── Variables ──────────────────────────────── */
:root {
  --violet:        #3D1060;
  --violet-mid:    #6B3FA0;
  --violet-light:  #9B6ED0;
  --violet-pale:   #F3EEF9;
  --gold:          #C8A45A;
  --gold-light:    #E4C97A;
  --gold-pale:     #F9F0D8;
  --cream:         #FAF7F2;
  --cream-dark:    #EDE4D6;
  --dark:          #1A0A2E;
  --muted:         #7B6A90;
  --white:         #FFFFFF;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Raleway', sans-serif;
  --nav-h:         80px;
  --max-w:         1200px;
  --radius:        3px;
  --shadow:        0 10px 50px rgba(61,16,96,0.10);
  --shadow-gold:   0 6px 24px rgba(200,164,90,0.30);
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

/* ─── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
.nav.nav--light {
  background: rgba(250,247,242,0.98);
  box-shadow: 0 2px 24px rgba(61,16,96,0.07);
}
.nav.scrolled {
  background: rgba(250,247,242,0.97) !important;
  box-shadow: 0 2px 24px rgba(61,16,96,0.09) !important;
  backdrop-filter: blur(14px);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 54px; width: auto; transition: filter 0.4s; }
.nav--hero .nav-logo img { filter: brightness(0) invert(1); }
.nav--hero.scrolled .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  transition: color 0.3s;
}
.nav--hero .nav-links a { color: rgba(255,255,255,0.88); }
.nav--hero.scrolled .nav-links a { color: var(--dark); }
.nav-links a.active { color: var(--gold); }
.nav--hero .nav-links a.active { color: var(--gold-light); }
.nav--hero.scrolled .nav-links a.active { color: var(--gold); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .btn-nav {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.nav--hero .nav-links .btn-nav { border-color: rgba(255,255,255,0.55); color: rgba(255,255,255,0.88); }
.nav--hero.scrolled .nav-links .btn-nav { border-color: var(--gold); color: var(--gold); }
.nav-links .btn-nav::after { display: none; }
.nav-links .btn-nav:hover { background: var(--gold); color: var(--white) !important; border-color: var(--gold) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav--hero .nav-toggle span { background: var(--white); }
.nav--hero.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Page Header (inner pages) ──────────────── */
.page-header {
  padding: calc(var(--nav-h) + 4.5rem) 2rem 4rem;
  background: linear-gradient(150deg, var(--violet) 0%, #5C2490 60%, #3D1060 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.ph-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.page-header h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  font-style: italic;
}
.page-header p {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  margin-top: 0.8rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.ph-stars { position: absolute; inset: 0; pointer-events: none; }
.ph-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ─── Layout helpers ─────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }
.section { padding: 6rem 2rem; }
.section--alt { background: var(--violet-pale); }
.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* Section headings */
.s-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.s-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: var(--violet);
  margin-bottom: 0.8rem;
}
.s-title em { font-style: italic; color: var(--gold); }
.section--dark .s-title { color: var(--white); }
.s-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 580px;
}
.section--dark .s-lead { color: rgba(255,255,255,0.6); }

/* Gold divider */
.gold-bar {
  width: 52px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.2rem 0;
  border-radius: 2px;
}
.gold-bar.center { margin-left: auto; margin-right: auto; }

/* ─── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  transition: all 0.3s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--white);
}
.btn-violet {
  background: var(--violet);
  color: var(--white);
}
.btn-violet:hover {
  background: var(--violet-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--violet);
  color: var(--violet);
}
.btn-outline:hover {
  background: var(--violet);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(61,16,96,0.16);
}

/* ─── Forms ──────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,164,90,0.12);
}
.form-textarea { resize: vertical; min-height: 150px; line-height: 1.6; }

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 5rem 2rem 2.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .footer-logo {
  height: 66px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.4rem;
  opacity: 0.85;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 300px;
  margin-bottom: 1.2rem;
}
.footer-address {
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-col a.email { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.77rem;
}
.footer-bottom .gold { color: var(--gold); }

/* ─── Alert / Notification ───────────────────── */
.alert {
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #EDF7EE; border-left: 3px solid #4CAF50; color: #2E7D32; }
.alert-error { background: #FEF0F0; border-left: 3px solid #E53935; color: #B71C1C; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--cream);
    padding: 2.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.05rem;
    color: var(--dark) !important;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--cream-dark);
    letter-spacing: 0.1em;
  }
  .nav-links a::after { display: none; }
  .nav-links .btn-nav {
    margin-top: 1rem;
    border: none !important;
    color: var(--gold) !important;
    padding-left: 0;
    font-size: 1.05rem !important;
    background: none !important;
    box-shadow: none !important;
  }

  .section { padding: 4rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 1.2rem; }
}
