/* =========================================================================
   LE SECRET DE LA MARIÉE : Feuille de style
   -------------------------------------------------------------------------
   Organisation :
     1.  Variables (:root)  → toute la charte se modifie ICI
     2.  Reset & base
     3.  Utilitaires (eyebrow, boutons, lignes déco, reveal)
     4.  Navbar
     5.  Hero
     6.  La boutique
     7.  Les robes
     8.  L'expérience
     9.  Galerie
     10. Avis clientes
     11. Questions fréquentes
     12. Prise de rendez-vous
     13. Footer
     14. Responsive (1024px / 768px)
   ========================================================================= */

/* =========================================================================
   1. VARIABLES : ✏️ MODIFIER ICI POUR CHANGER TOUTE LA CHARTE
   ========================================================================= */
:root {
  /* Couleurs */
  --blanc:        #FAFAF8; /* fond principal, très légèrement chaud */
  --creme:        #F5EEE8; /* sections alternées */
  --rose-poudre:  #E8D5CF; /* accents doux, bordures, hover states */
  --rose-profond: #C4978F; /* éléments actifs, liens hover */
  --noir:         #1C1A1A; /* textes principaux, logo, nav */
  --gris-chaud:   #7A7068; /* textes secondaires, descriptions */
  --champagne:    #C9A98A; /* accents dorés, lignes décoratives */
  --rouge:        #B5363A; /* unique accent rouge : rappel du logo */

  /* Typographie */
  --font-titre: 'Playfair Display', Georgia, serif;
  --font-corps: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailles de titres */
  --h1: clamp(2.25rem, 6vw, 4rem);   /* 36px mobile → 64px desktop */
  --h2: clamp(1.9rem, 4vw, 2.75rem);
  --h3: 1.5rem;

  /* Rythme / espacements */
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --max-width: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  /* Divers */
  --border-fine: 1px solid var(--champagne);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   2. RESET & BASE
   ========================================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-corps);
  font-weight: 300;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.15;
  color: var(--noir);
}

/* Mot-clé émotionnel dans les titres */
.accent-italic {
  font-style: italic;
  color: var(--rose-profond);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-y) 0; }

/* =========================================================================
   3. UTILITAIRES
   ========================================================================= */

/* Eyebrow / label chapeau */
.eyebrow {
  font-family: var(--font-corps);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  display: inline-block;
  margin-bottom: 1.25rem;
}

/* Fine ligne décorative champagne */
.deco-line {
  width: 64px;
  height: 1px;
  background: var(--champagne);
  border: 0;
  margin: 1.5rem 0;
}
.deco-line.center { margin-left: auto; margin-right: auto; }

/* Boutons : angles droits, 0 border-radius */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-corps);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--noir);
  color: var(--blanc);
  border-color: var(--noir);
}
.btn-primary:hover { background: transparent; color: var(--noir); }

.btn-champagne {
  background: var(--champagne);
  color: var(--noir);
  border-color: var(--champagne);
}
.btn-champagne:hover { background: transparent; color: var(--noir); }

/* Lien secondaire souligné champagne */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--noir);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--champagne);
  transition: var(--transition);
}
.btn-link:hover { color: var(--rose-profond); border-color: var(--rose-profond); gap: 0.9rem; }

/* En-tête de section (eyebrow + titre + intro) */
.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: var(--h2); margin-bottom: 1rem; }
.section-head p { color: var(--gris-chaud); font-size: 1.05rem; }

/* Scroll reveal (IntersectionObserver ajoute .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   4. NAVBAR
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.4rem 0;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(250, 250, 248, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rose-poudre);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: nowrap;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--noir);
  white-space: nowrap;
}
.logo img {
  flex: none;
  width: auto;
  height: 46px;
  transition: height var(--transition);
}
.navbar.scrolled .logo img { height: 38px; }
.logo-word { line-height: 1; }

/* Liens */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--noir);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--rose-profond);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--rose-profond); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { margin-left: 0.5rem; flex: none; }
.nav-cta .btn { padding: 0.7rem 1.4rem; font-size: 0.82rem; white-space: nowrap; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  justify-content: center;
  z-index: 110;
}
.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--noir);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 26, 0.97);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-titre);
  font-size: 1.7rem;
  color: var(--blanc);
  opacity: 0.9;
}
.mobile-menu a:hover { color: var(--rose-poudre); }
.mobile-menu .btn { margin-top: 1rem; font-family: var(--font-corps); font-size: 0.95rem; }

/* =========================================================================
   5. HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--creme);
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero h1 {
  font-size: var(--h1);
  margin: 0.5rem 0 1.5rem;
}
.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--gris-chaud);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Filigrane décoratif en arrière-plan */
.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-titre);
  font-style: italic;
  font-size: clamp(20rem, 55vw, 44rem);
  line-height: 1;
  color: var(--rose-poudre);
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Indicateur de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--rose-profond);
  animation: pulse-down 2s ease-in-out infinite;
}
@keyframes pulse-down {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* =========================================================================
   6. LA BOUTIQUE
   ========================================================================= */
.boutique { background: var(--blanc); }
.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.boutique-text p { color: var(--gris-chaud); margin-bottom: 1.25rem; }
.boutique-text h2 { font-size: var(--h2); }

/* Citation mise en avant */
.quote {
  background: var(--rose-poudre);
  padding: 2rem 2.25rem;
  margin-top: 2rem;
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--noir);
  border-left: 2px solid var(--champagne);
}

/* Image encadrée */
.framed-img {
  position: relative;
  padding: 14px;
  border: var(--border-fine);
}
.framed-img img { width: 100%; object-fit: cover; }

/* =========================================================================
   7. LES ROBES
   ========================================================================= */
.robes { background: var(--creme); }
.robes .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.robes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.robe-card {
  padding: clamp(2rem, 4vw, 3rem);
  border: var(--border-fine);
  transition: transform var(--transition), border-color var(--transition);
}
.robe-card:hover { transform: translateY(-4px); border-color: var(--rose-profond); }
.robe-card.seconde-main { background: var(--creme); }
.robe-card.neuve { background: var(--blanc); }
.robe-card .card-icon {
  width: 40px; height: 40px;
  color: var(--rose-profond);
  margin-bottom: 1.5rem;
}
.robe-card h3 { font-size: 1.75rem; margin-bottom: 0.35rem; }
.robe-card .card-subtitle {
  font-family: var(--font-titre);
  font-style: italic;
  color: var(--rose-profond);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.robe-card p { color: var(--gris-chaud); margin-bottom: 1.5rem; }
.robe-card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-top: 1rem;
  border-top: var(--border-fine);
  width: 100%;
}

/* =========================================================================
   8. L'EXPÉRIENCE
   ========================================================================= */
.experience { background: var(--blanc); text-align: center; }
.experience .section-head { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.step { position: relative; }
.step-number {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 2rem;
  color: var(--rose-poudre);
  margin-bottom: 0.75rem;
}
.step-icon {
  width: 38px; height: 38px;
  color: var(--rose-profond);
  margin: 0 auto 1.25rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.step p { color: var(--gris-chaud); font-size: 0.98rem; }

/* Bannière finale */
.experience-banner {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--creme);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  border: var(--border-fine);
}
.experience-banner p {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  color: var(--noir);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

/* =========================================================================
   9. GALERIE
   ========================================================================= */
.galerie { background: var(--creme); }
.galerie .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.masonry {
  column-count: 2;
  column-gap: 1.5rem;
}
.masonry figure {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: var(--border-fine);
}
.masonry img,
.masonry video {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.masonry video { background: var(--rose-poudre); }
.masonry figure:hover img,
.masonry figure:hover video { transform: scale(1.04); }

.insta-link {
  margin-top: 3rem;
  text-align: center;
}
.insta-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--noir);
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 4px;
  transition: var(--transition);
}
.insta-link a:hover { color: var(--rose-profond); border-color: var(--rose-profond); }
.insta-link svg { width: 20px; height: 20px; }

/* =========================================================================
   10. AVIS CLIENTES
   ========================================================================= */
.avis { background: var(--blanc); }
.avis .section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.avis-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--creme);
  border: var(--border-fine);
}
.avis-stars {
  color: var(--champagne);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.avis-card blockquote {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--noir);
  margin-bottom: 1.25rem;
}
.avis-card figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gris-chaud);
}

/* =========================================================================
   11. QUESTIONS FRÉQUENTES
   ========================================================================= */
.faq { background: var(--creme); }
.faq .section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: var(--border-fine);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-titre);
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--font-corps);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--rose-profond);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--gris-chaud);
  padding-bottom: 1.5rem;
  max-width: 640px;
}

/* =========================================================================
   12. PRISE DE RENDEZ-VOUS
   ========================================================================= */
.rdv {
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
}
.rdv .eyebrow { color: var(--champagne); }
.rdv h2 { color: var(--blanc); font-size: var(--h2); margin-bottom: 1rem; }
.rdv .rdv-intro {
  color: #C9C2BA;
  max-width: 620px;
  margin: 0 auto 1rem;
  font-weight: 300;
}
.rdv .rdv-note {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--champagne);
  border: 1px solid rgba(201, 169, 138, 0.4);
  padding: 0.55rem 1.25rem;
  margin: 1rem 0 2.5rem;
}

/* Formulaire */
.rdv-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.rdv-form .field { display: flex; flex-direction: column; gap: 0.5rem; }
.rdv-form .field.full { grid-column: 1 / -1; }
.rdv-form label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--champagne);
}
.rdv-form input,
.rdv-form select,
.rdv-form textarea {
  font-family: var(--font-corps);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--blanc);
  background: transparent;
  border: 1px solid rgba(250, 250, 248, 0.25);
  border-radius: 0;
  padding: 0.85rem 1rem;
  transition: border-color var(--transition);
}
.rdv-form input::placeholder,
.rdv-form textarea::placeholder { color: rgba(250, 250, 248, 0.4); }
.rdv-form input:focus,
.rdv-form select:focus,
.rdv-form textarea:focus {
  outline: none;
  border-color: var(--champagne);
}
.rdv-form select option { color: var(--noir); }
.rdv-form textarea { resize: vertical; min-height: 120px; }
.rdv-form .btn { grid-column: 1 / -1; justify-content: center; }

/* Infos contact */
.rdv-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  margin-top: 2.5rem;
  color: #C9C2BA;
  font-size: 0.9rem;
}
.rdv-contact span { display: inline-flex; align-items: center; gap: 0.5rem; }
.rdv-contact a { color: #C9C2BA; border-bottom: 1px solid transparent; transition: var(--transition); }
.rdv-contact a:hover { color: var(--champagne); border-color: var(--champagne); }
.rdv-contact svg { width: 18px; height: 18px; color: var(--champagne); flex: none; }

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.footer {
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid rgba(250, 250, 248, 0.1);
}
/* Logo footer : le logo est en trait noir → on l'inverse en blanc sur fond sombre */
.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-logo img {
  width: auto;
  height: 130px;
  filter: invert(1) brightness(1.6);
}
.footer-tagline {
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rose-poudre);
  margin-bottom: 2rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 2rem;
}
.footer-links a {
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: #C9C2BA;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--champagne); }
.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gris-chaud);
}

/* =========================================================================
   14. RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .boutique-grid { grid-template-columns: 1fr; }
  .boutique-media { order: -1; max-width: 480px; margin: 0 auto; }
  .avis-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .robes-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .masonry { column-count: 1; }
  .rdv-form { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; gap: 1.25rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  /* Le logo (emblème) contient déjà le nom manuscrit : on masque le doublon texte */
  .logo-word { display: none; }
  .logo img { height: 42px; }
}
