/* ===================================
   BOULANGERIE DELOISON — v2 Modern
   =================================== */

:root {
  /* Palette noire & doree */
  --black:         #0A0A0A;
  --black-light:   #141414;
  --black-medium:  #1E1E1E;
  --gray-900:      #222222;
  --gray-700:      #555555;
  --gray-500:      #888888;
  --gray-300:      #BBBBBB;
  --cream:         #FAF7F2;
  --cream-dark:    #F0EBE3;
  --gold:          #C4A265;
  --gold-light:    #D4B87A;
  --gold-dark:     #A8884E;
  --accent:        #D4603A;
  --white:         #FFFFFF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-elegant: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 8rem);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.25s;
  --t-normal: 0.4s;
  --t-slow: 0.8s;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* ===================================
   RESET & BASE
   =================================== */

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--cream);
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
html {
  overflow-x: hidden;
}

html, body {
  max-width: 100vw;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-smooth); }
ul { list-style: none; }
button { font-family: inherit; }

/* Accessibility — Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hide focus for mouse users, show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* Skip to content link (screen readers) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold-dark);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}


.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================
   CUSTOM CURSOR (desktop only)
   =================================== */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out),
              height 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              background 0.35s var(--ease-out),
              opacity 0.3s;
}

/* Clicking state — ring contracts */
.cursor-ring.clicking {
  width: 32px;
  height: 32px;
  border-color: var(--gold-dark);
}

/* Ambient glow that follows mouse */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.cursor-glow.active { opacity: 1; }

/* Show custom cursor elements — desktop only */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot.active,
  .cursor-ring.active { opacity: 1; }
}

/* Hide cursor elements on touch devices */
@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring,
  .cursor-glow {
    display: none !important;
  }
}

/* ===================================
   TYPOGRAPHY SYSTEM
   =================================== */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}

.section-tag::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 520px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-tag::before { display: none; }
.section-header .section-desc { margin: 0 auto; }

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--t-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(168, 136, 78, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}

.btn-outline-dark:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--t-slow) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: all var(--t-normal) var(--ease-out);
}

/* Logo hidden over hero, visible on scroll */
.nav-logo--hidden-hero .logo-img {
  opacity: 0;
  transform: translateY(-8px);
}

.navbar.scrolled .nav-logo--hidden-hero .logo-img {
  opacity: 1;
  transform: translateY(0);
}

.navbar.scrolled .logo-img { height: 36px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 0.45rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.2px;
  transition: all var(--t-fast) var(--ease-smooth);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link--cta {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
  margin-left: 0.8rem;
}

.nav-link--cta:hover {
  background: var(--gold) !important;
  transform: translateY(-1px);
}

.nav-link--order {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.nav-link--order svg {
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--t-normal) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ===================================
   HERO
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero-bakery.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.7) 0%,
    rgba(10,10,10,0.4) 40%,
    rgba(10,10,10,0.6) 70%,
    rgba(10,10,10,0.9) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 2rem;
  margin-top: 5rem;
}

.hero-badge-wrap {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 0.3s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-light);
  border: 1px solid rgba(196, 162, 101, 0.3);
  padding: 0.6rem 1.8rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  background: rgba(196, 162, 101, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

.hero-title {
  margin-bottom: 1.8rem;
}

.title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(50px);
  animation: heroSlideUp 1.2s var(--ease-out) forwards;
}

.title-line[data-hero-anim="1"] { animation-delay: 0.5s; }
.title-line[data-hero-anim="2"] { animation-delay: 0.7s; }

.title-italic em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-elegant);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.1s forwards;
}

/* Scroll mouse indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.5s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease infinite;
}

/* ===================================
   MARQUEE BANNER
   =================================== */

.marquee-banner {
  background: var(--black);
  color: var(--gold);
  padding: 1rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(196, 162, 101, 0.15);
  max-width: 100vw;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.marquee-dot {
  color: rgba(196, 162, 101, 0.3);
  font-size: 0.8rem;
}

/* ===================================
   SECTIONS BASE
   =================================== */

.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

/* ===================================
   DISTINCTIONS / REASSURANCE
   =================================== */

.distinctions {
  padding: 3.5rem 0 0;
  background: var(--cream);
}

.distinctions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.distinction-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--t-normal) var(--ease-out);
}

.distinction-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.distinction-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196,162,101,0.12), rgba(196,162,101,0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.distinction-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.distinction-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.distinction-text span {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .distinctions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .distinctions { padding: 2.5rem 0; }
}

/* ===================================
   HISTOIRE
   =================================== */

.histoire-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.histoire-images {
  position: relative;
}

.histoire-img-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.histoire-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.histoire-img-main:hover img { transform: scale(1.04); }

.img-overlay-text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.img-overlay-text span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.img-overlay-text strong {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0.3rem;
}

.histoire-img-secondary {
  position: absolute;
  bottom: -2.5rem;
  right: 0;
  width: 50%;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 5px solid var(--cream);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.histoire-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.histoire-floating-badge {
  position: absolute;
  top: -1rem;
  right: 2rem;
  background: var(--gold-dark);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(168, 136, 78, 0.3);
  animation: float 3s ease-in-out infinite;
}

.histoire-separator {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.histoire-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.histoire-quote {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  line-height: 1.6;
}

.histoire-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.stat-number small {
  font-size: 1rem;
  color: var(--gold-dark);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.4rem;
}

/* ===================================
   SAVOIR-FAIRE
   =================================== */

.savoir-faire {
  background: var(--black);
  color: var(--white);
}

.savoir-faire .section-tag { color: var(--gold); }
.savoir-faire .section-tag::before { background: var(--gold); }
.savoir-faire .section-title { color: var(--white); }
.savoir-faire .section-desc { color: rgba(255,255,255,0.6); }

.savoir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.savoir-card {
  padding: 2.5rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: all var(--t-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.savoir-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,162,101,0.08), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.savoir-card:hover {
  border-color: rgba(196, 162, 101, 0.2);
  transform: translateY(-5px);
}

.savoir-card:hover::before { opacity: 1; }

.savoir-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 162, 101, 0.1);
  color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
}

.savoir-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  position: relative;
}

.savoir-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  position: relative;
}

/* ===================================
   PRODUITS — Layout horizontal
   =================================== */

.produit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.produit-row:last-child { margin-bottom: 0; }

.produit-row--reverse { direction: rtl; }
.produit-row--reverse > * { direction: ltr; }

.produit-row-img {
  position: relative;
}

.produit-row-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
  border-radius: var(--r-xl);
}

.produit-row:hover .produit-row-img img {
  transform: scale(1.05);
}

.produit-tag {
  position: absolute;
  top: -0.8rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(168, 136, 78, 0.3);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.produit-row:nth-child(odd) .produit-tag {
  animation-delay: 0s;
}

.produit-row:nth-child(even) .produit-tag {
  animation-delay: 1.5s;
}

.produit-row-content {
  position: relative;
}

.produit-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.produit-row-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1rem;
}

.produit-row-content p {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.produit-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.produit-highlights li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.produit-highlights li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ===================================
   PARALLAX BANNER
   =================================== */

.parallax-banner {
  position: relative;
  height: 45vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/bakery-interior.jpg') center/cover no-repeat fixed;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.75);
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 2rem;
}

.parallax-quote {
  font-family: var(--font-elegant);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
}

/* ===================================
   AVIS
   =================================== */

.avis {
  background: var(--cream-dark);
}

.avis-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.avis-rating-global {
  text-align: center;
  padding: 1.5rem 2.5rem;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.rating-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.rating-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin: 0.3rem 0;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--gray-700);
  font-weight: 500;
}

.rating-source {
  font-size: 0.68rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.2rem;
}

.star-partial {
  opacity: 0.25;
}

/* Carousel */
.avis-carousel {
  position: relative;
  overflow: hidden;
}

.avis-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease-out);
}

.avis-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  padding: 2rem;
  border-radius: var(--r-lg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--t-normal) var(--ease-out);
}

.avis-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.avis-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.avis-text {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.avis-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avis-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.avis-author {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.avis-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.avis-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.avis-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease-smooth);
}

.avis-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.avis-dots {
  display: flex;
  gap: 0.4rem;
}

.avis-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all var(--t-fast);
  cursor: pointer;
}

.avis-dots .dot.active {
  background: var(--black);
  width: 24px;
  border-radius: 4px;
}

/* ===================================
   ACTUALITES
   =================================== */

.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.actu-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--r-lg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  transition: all var(--t-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: left;
  display: block;
  width: 100%;
  font-family: inherit;
}

.actu-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-normal) var(--ease-out);
}

.actu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.06);
}

.actu-card:hover::after { transform: scaleX(1); }

.actu-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  background: rgba(212, 96, 58, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.actu-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.actu-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.actu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  transition: all var(--t-fast);
}

.actu-card:hover .actu-link {
  color: var(--gold-dark);
  gap: 0.6rem;
}

/* ===================================
   MODAL
   =================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-normal) var(--ease-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  overscroll-behavior: contain;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 4rem;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform var(--t-normal) var(--ease-out);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: all var(--t-fast);
}

.modal-close:hover {
  background: var(--black);
  color: var(--white);
}

.modal-body .modal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.modal-separator {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.modal-body p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}


/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  padding: 3rem 0;
}

.cta-inner {
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,101,0.15), transparent 70%);
  pointer-events: none;
  overflow: hidden;
}

.cta-inner { overflow: hidden; }

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.cta-actions .btn-primary {
  background: var(--gold-dark);
}

.cta-actions .btn-primary:hover {
  background: var(--gold);
}

.cta-actions .btn-outline-dark {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.cta-actions .btn-outline-dark:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===================================
   CONTACT
   =================================== */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.contact-card:hover { background: var(--cream); }

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.contact-card:hover .contact-card-icon {
  background: var(--black);
  color: var(--gold);
}

.contact-card strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.contact-card a:hover { color: var(--gold-dark); }

.contact-map {
  height: 100%;
  min-height: 550px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Horaires */
.horaires {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--r-lg);
}

.horaires h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.horaires h3 svg { color: var(--gold-dark); }

.horaires-list {
  display: flex;
  flex-direction: column;
}

.horaire-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all var(--t-fast);
}

.horaire-row:last-child { border-bottom: none; }
.horaire-row.today { background: rgba(196,162,101,0.08); margin: 0 -0.8rem; padding: 0.65rem 0.8rem; border-radius: var(--r-sm); }

.horaire-row span:first-child { font-weight: 500; color: var(--black); }
.horaire-row span:last-child { color: var(--gray-500); }
.horaire-closed span:last-child { color: var(--gold-dark); font-weight: 600; }

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 0 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Decorative glow */
.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,101,0.06), transparent 70%);
  pointer-events: none;
}

/* Footer CTA */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3.5rem 0;
  flex-wrap: wrap;
}

.footer-cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-cta-content p {
  color: rgba(255,255,255,0.4);
  font-size: 0.92rem;
}

.footer-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-cta-actions .btn-primary {
  background: var(--gold-dark);
}

.footer-cta-actions .btn-primary:hover {
  background: var(--gold);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,162,101,0.2), transparent);
  margin-bottom: 3rem;
}

/* Footer grid */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.4);
  transition: all var(--t-fast) var(--ease-smooth);
  border: 1px solid rgba(255,255,255,0.06);
}

.social-links a:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-hours h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--t-fast);
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

/* Footer contact items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-contact-item svg {
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.footer-contact-item a:hover { color: var(--gold); }

/* Footer hours */
.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  padding: 0.3rem 0;
}

.footer-hour-row span:first-child {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.footer-hour-closed span:last-child {
  color: var(--gold-dark);
  font-weight: 500;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.2); }
.footer-legal a:hover { color: var(--gold); }

/* ===================================
   SCROLL TO TOP
   =================================== */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  border: 1px solid rgba(196,162,101,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-normal) var(--ease-out);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold-dark);
  color: var(--white);
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168,136,78,0.3);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Scroll-triggered */
[data-animate] {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

[data-animate="fade-up"]    { transform: translateY(50px); }
[data-animate="fade-left"]  { transform: translateX(50px); }
[data-animate="fade-right"] { transform: translateX(-50px); }

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
  /* Nav mobile — activate hamburger at 1024px */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right 0.5s var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-radius: 0;
    background: none !important;
    color: rgba(255,255,255,0.7) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white) !important;
    background: none !important;
  }

  .nav-link--cta,
  .nav-link--order {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-link--cta:last-child {
    border-bottom: none;
  }

  .histoire-grid { gap: 3.5rem; }
  .produit-row { gap: 2.5rem; }
  .produit-row-img img { height: 320px; }
  .produit-number { font-size: 3.5rem; }
  .savoir-grid { grid-template-columns: 1fr 1fr; }
  .savoir-card:last-child { grid-column: 1 / -1; }
  .avis-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }

  /* Hero */
  .title-line { font-size: clamp(2.8rem, 12vw, 4rem); }
  .hero-scroll-indicator { display: none; }

  /* Sections */
  .histoire-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .histoire-img-secondary { position: relative; bottom: auto; right: auto; width: 65%; margin-top: -3rem; margin-left: auto; }
  .histoire-floating-badge { top: auto; bottom: -1rem; right: auto; left: 1rem; }

  .savoir-grid,
  .actu-grid { grid-template-columns: 1fr; }

  .produit-row,
  .produit-row--reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .produit-row { margin-bottom: 3.5rem; }
  .produit-row-img img { height: 260px; }
  .produit-number { font-size: 3rem; }

  .avis-card { flex: 0 0 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { min-height: 350px; }

  .cta-inner { padding: 2.5rem; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-cta { flex-direction: column; text-align: center; padding: 2.5rem 0; }
  .footer-cta-content h3 { font-size: 1.3rem; }
  .footer-cta-actions { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  @media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
  }

  .avis-header { flex-direction: column; align-items: flex-start; }

  /* Marquee smaller */
  .marquee-track { font-size: 0.85rem; }

  /* Fix parallax on mobile (fixed bg breaks on iOS) */
  .parallax-banner {
    background-attachment: scroll;
  }

  /* Modal */
  .modal { padding: 2.5rem 1.8rem; border-radius: var(--r-lg); }
  .modal-body h2 { font-size: 1.4rem; }

  .modal-body p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .histoire-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.6rem; }
}
