/* ============================================
   ESPRIT SOLEIL — CSS Principal
   Esthétique : Sud-Ouest naturel, raffiné, chaleureux
   ============================================ */

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

/* ——— Variables ——— */
:root {
  --cream:    #F7F3EE;
  --sand:     #E8DDD0;
  --terracota:#C17A5A;
  --terra-dark:#9B5A3A;
  --olive:    #6B7B4A;
  --stone:    #3D3530;
  --text:     #2C2420;
  --text-mid: #6B5E58;
  --text-light:#A09590;
  --white:    #FFFFFF;
  --black:    #1A1210;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --shadow-soft: 0 4px 32px rgba(44,36,32,0.10);
  --shadow-card: 0 2px 16px rgba(44,36,32,0.08);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ——— Reset & Base ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ——— Typography ——— */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracota);
}

/* ——— Layout helpers ——— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

/* ——— Navigation ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(247,243,238,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(44,36,32,0.08);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--stone); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--terracota); }

.nav-cta {
  background: var(--terracota) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--terra-dark) !important; transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition);
}
.nav.scrolled .nav-burger span { background: var(--stone); }

/* ——— Hero ——— */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #3D2E28 0%, #6B5238 40%, #8B7355 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,14,10,0.15) 0%,
    rgba(20,14,10,0.05) 40%,
    rgba(20,14,10,0.65) 100%
  );
}

/* Motif texturé naturel */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(193,122,90,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(107,123,74,0.2) 0%, transparent 60%);
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(4rem, 10vh, 7rem);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracota);
}

.hero h1 {
  color: var(--white);
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: rgba(232,221,208,0.9);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--terracota);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(193,122,90,0.35);
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(193,122,90,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--stone);
  border: 1.5px solid var(--sand);
}
.btn-outline-dark:hover {
  background: var(--sand);
  border-color: var(--sand);
}

/* ——— Hero badges ——— */
.hero-badges {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ——— Section headers ——— */
.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-header .eyebrow { margin-bottom: 0.75rem; }
.section-header h2 { color: var(--stone); }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ——— Intro / USP ——— */
.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.intro-text { }

.intro-text h2 { color: var(--stone); margin-bottom: 1.25rem; }
.intro-text p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.intro-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.intro-stat { }
.intro-stat .num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--terracota);
  line-height: 1;
}
.intro-stat .label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

.intro-visual {
  position: relative;
}

.intro-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.intro-img-float {
  position: absolute;
  bottom: -2.5rem;
  left: -2.5rem;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-soft);
}

/* ——— Formules / Pricing ——— */
.formules {
  background: var(--cream);
}

.formules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.formule-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.formule-card:hover {
  border-color: var(--terracota);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.formule-card.featured {
  background: var(--stone);
  color: var(--white);
  border-color: var(--stone);
}

.formule-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--terracota);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.formule-icon {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.formule-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.35rem;
  color: var(--stone);
}
.formule-card.featured .formule-name { color: var(--white); }

.formule-guests {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.formule-card.featured .formule-guests { color: rgba(255,255,255,0.55); }

.formule-price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--terracota);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.formule-card.featured .formule-price { color: rgba(232,221,208,0.95); }

.formule-unit {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.formule-card.featured .formule-unit { color: rgba(255,255,255,0.45); }

.formule-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.formule-features li {
  font-size: 0.84rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.formule-card.featured .formule-features li { color: rgba(255,255,255,0.72); }

.formule-features li::before {
  content: '✓';
  color: var(--olive);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.formule-card.featured .formule-features li::before { color: var(--terracota); }

.formule-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
}
.formule-note strong { color: var(--text-mid); }

/* ——— Gallery ——— */
.gallery {
  background: var(--white);
  padding-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 3; border-radius: var(--radius-md); }
.gallery-item:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 4 / 9; grid-row: 2; }

/* ——— Services / Prestations ——— */
.services {
  background: var(--cream);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--terracota), var(--terra-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--stone);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ——— Traiteur feature ——— */
.traiteur {
  background: var(--stone);
  position: relative;
  overflow: hidden;
}

.traiteur::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(193,122,90,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(107,123,74,0.12) 0%, transparent 60%);
}

.traiteur .container { position: relative; z-index: 1; }

.traiteur-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.traiteur-content .eyebrow { color: var(--terracota); }
.traiteur-content h2 { color: var(--white); margin-bottom: 1.25rem; }
.traiteur-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.traiteur-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0;
}

.menu-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.traiteur-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 160px;
  gap: 0.75rem;
}

.traiteur-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.traiteur-imgs img:first-child {
  grid-column: 1 / 3;
  border-radius: var(--radius-md);
}

/* ——— Devis / CTA ——— */
.devis {
  background: var(--cream);
}

.devis-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.devis-intro h2 { color: var(--stone); margin-bottom: 1rem; }
.devis-intro p { color: var(--text-mid); font-size: 1rem; line-height: 1.75; margin-bottom: 1.5rem; }

.devis-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.devis-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.devis-contact-list li span:first-child {
  font-size: 1.1rem;
}

/* ——— Formulaire ——— */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracota);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5E58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  border-radius: 100px;
  font-size: 0.92rem;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

/* ——— États Formspree ——— */

/* Message de succès (affiché par data-fs-success après envoi) */
[data-fs-success] {
  display: none;
  background: #EFF8F0;
  border: 1.5px solid #6DB87A;
  color: #2E7D36;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Formspree affiche le success div en le rendant visible */
[data-fs-success]:not(:empty) {
  display: block;
}

/* Erreur globale du formulaire */
.form-error-global {
  display: none;
  background: #FEF2F2;
  border: 1.5px solid #E87070;
  color: #B91C1C;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.form-error-global:not(:empty) {
  display: block;
}

/* Erreurs au niveau des champs */
.form-field-error {
  display: none;
  font-size: 0.75rem;
  color: #B91C1C;
  margin-top: 0.25rem;
}

.form-field-error:not(:empty) {
  display: block;
}

/* Champ invalide (aria-invalid injecté par Formspree) */
[data-fs-field][aria-invalid="true"] {
  border-color: #E87070;
  background: #FEF2F2;
}

/* Bouton désactivé pendant l'envoi */
[data-fs-submit-btn]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* ——— Footer ——— */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.social-btn:hover {
  background: var(--terracota);
  border-color: var(--terracota);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--terracota); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ——— Animations ——— */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ——— Mobile menu ——— */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--stone);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  line-height: 1;
}

/* ——— Carrousel Photos ——— */
.carousel-section {
  background: var(--stone);
}

.carousel-section .section-header .eyebrow { color: var(--terracota); }
.carousel-section .section-header h2       { color: var(--white); }
.carousel-section .section-header p        { color: rgba(255,255,255,0.6); }

.carousel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ——— Scène image principale ——— */
.carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a1210;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: grab;
}

.carousel-stage:active { cursor: grabbing; }

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-img.fading { opacity: 0; }

/* Flèches */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
  backdrop-filter: blur(6px);
  z-index: 2;
  opacity: 0;
}

.carousel-stage:hover .carousel-arrow { opacity: 1; }

.carousel-arrow:hover {
  background: var(--terracota);
  border-color: var(--terracota);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Compteur */
.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}

/* ——— Bande de vignettes ——— */
.carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--terracota) rgba(255,255,255,0.08);
}

.carousel-thumbs::-webkit-scrollbar {
  height: 3px;
}

.carousel-thumbs::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.carousel-thumbs::-webkit-scrollbar-thumb {
  background: var(--terracota);
  border-radius: 2px;
}

.carousel-thumb {
  flex-shrink: 0;
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
  -webkit-user-drag: none;
}

.carousel-thumb:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.carousel-thumb.active {
  opacity: 1;
  border-color: var(--terracota);
  transform: translateY(-2px);
}

/* Touch : sur mobile, flèches toujours visibles */
@media (hover: none) {
  .carousel-arrow { opacity: 1; }
}

/* ——— Steps / Comment réserver ——— */
.steps {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Ligne de connexion entre les étapes */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: var(--sand);
  z-index: 0;
}

.step-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--terracota);
  margin-bottom: 0.75rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-card);
}

.step-card h3 {
  font-size: 1.15rem;
  color: var(--stone);
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ——— Témoignages / Avis ——— */
.avis {
  background: var(--cream);
}

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

.avis-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.avis-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.avis-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.avis-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  flex: 1;
}

.avis-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
}

.avis-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracota), var(--terra-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
}

.avis-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--stone);
}

.avis-event {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* ——— Lightbox ——— */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,10,8,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition);
  backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--terracota);
  border-color: var(--terracota);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ——— CTA mobile fixe ——— */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--terracota);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(193,122,90,0.5);
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.mobile-cta:hover {
  background: var(--terra-dark);
  box-shadow: 0 8px 32px rgba(193,122,90,0.55);
}

/* ——— Fix nav burger button ——— */
.nav-burger {
  background: none;
  border: none;
  outline: none;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .formules-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .hero-badges { display: none; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-img-float { display: none; }
  .intro-visual { order: -1; }

  .formules-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4/3;
  }

  .traiteur-grid { grid-template-columns: 1fr; }
  .traiteur-imgs { order: -1; grid-template-rows: 200px 130px; }

  .devis-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .avis-grid { grid-template-columns: 1fr; }

  .mobile-cta { display: flex; }

  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }

  .carousel-stage { aspect-ratio: 4 / 3; }
  .carousel-thumb { width: 72px; height: 48px; }
  .carousel-arrow { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .formules-grid { grid-template-columns: 1fr; }
  .intro-stats { flex-direction: column; gap: 1.25rem; }
  .steps-grid { grid-template-columns: 1fr; }
}
