/* ===== L'Éclat d'Emma — charte terracotta / crème ===== */
:root {
  --terracotta: #b85c38;
  --terracotta-deep: #9c4a2a;
  --creme: #f7ebdd;
  --peche: #f8dfc9;
  --ivoire: #fdf8f2;
  --encre: #3e2a1e;
  --serif: "Italiana", "Marcellus", Georgia, serif;
  --serif-alt: "Marcellus", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Great Vibes", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto !important; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--encre);
  background: var(--ivoire);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: .05em;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--encre); color: var(--ivoire); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 0; }

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .95rem 2.2rem;
  border-radius: 999px;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.btn-solid { background: var(--terracotta); color: var(--ivoire); border: 1px solid var(--terracotta); }
.btn-solid:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--terracotta); color: var(--terracotta); }
.btn-line:hover { background: var(--terracotta); color: var(--ivoire); transform: translateY(-2px); }
.btn-big { font-size: .95rem; padding: 1.25rem 3rem; text-align: center; }
.btn-ivory { border: 1px solid var(--ivoire); color: var(--ivoire); }
.btn-ivory:hover { background: var(--ivoire); color: var(--terracotta); transform: translateY(-2px); }

/* Éléments animés à l'apparition (fondu de bloc, jamais de découpe de texte) */
.fade-up { opacity: 0; transform: translateY(34px); }

/* ===== Nav ===== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4vw;
  background: rgba(253, 248, 242, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 92, 56, .14);
  transform: translateY(-100%);
  animation: navIn .8s ease .3s forwards;
}
@keyframes navIn { to { transform: translateY(0); } }
.nav-logo { display: flex; align-items: center; gap: .7rem; color: var(--terracotta); }
.logo-mark { width: 34px; height: 34px; }
.logo-text { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .1em; color: var(--encre); }
.logo-text em { font-style: normal; color: var(--terracotta); }
.nav-menu ul { display: flex; gap: 2.4rem; list-style: none; }
.nav-menu a { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; position: relative; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--terracotta); transition: width .3s ease; }
.nav-menu a:hover::after { width: 100%; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 26px; height: 2px; background: var(--encre); transition: transform .3s ease, opacity .3s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--creme);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-menu nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; text-transform: uppercase; }

/* ===== Hero ===== */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62,42,30,.15) 0%, rgba(62,42,30,.05) 40%, rgba(62,42,30,.62) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 4vw 9vh; max-width: 1100px; }
.hero-kicker { font-family: var(--script); font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--peche); margin-bottom: 1.2rem; text-shadow: 0 2px 18px rgba(62,42,30,.4); }
.hero-title { color: var(--ivoire); font-size: clamp(2.1rem, 5.4vw, 4.6rem); text-shadow: 0 2px 24px rgba(62,42,30,.45); max-width: 20ch; }
.hero-cta { margin-top: 2.4rem; }
.hero-cover { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.blind-strip { position: absolute; top: 0; height: 100%; background: var(--terracotta); transform-origin: left center; transform: rotateY(-90deg); backface-visibility: hidden; }

/* ===== Arche ===== */
.arch-section {
  position: relative; z-index: 6;
  background: var(--creme);
  margin-top: -14vh;
  border-top-left-radius: 1000px; border-top-right-radius: 1000px;
  padding: clamp(5rem, 12vh, 9rem) 6vw clamp(4rem, 9vh, 7rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.arch-kicker { font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--terracotta); }
.flower-icon { width: 54px; height: 54px; color: var(--terracotta); }
.arch-img-wrap { width: min(420px, 78vw); margin: 1rem 0; }
.reveal-img { overflow: hidden; border-radius: 300px 300px 18px 18px; }
.reveal-img img { transform-origin: center; }
.arch-title { font-size: clamp(1.9rem, 4.2vw, 3.4rem); color: var(--encre); }
.arch-text { max-width: 62ch; font-size: 1.02rem; color: rgba(62,42,30,.85); }
.arch-btn { margin-top: .6rem; }

/* ===== Prestations ===== */
.services { background: var(--ivoire); padding: clamp(4.5rem, 10vh, 8rem) 0; }
.services-head { text-align: center; padding: 0 6vw; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-bottom: 3.2rem; }
.sparkle-row { width: 110px; color: var(--terracotta); }
.services-title { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.services-sub { font-family: var(--script); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--terracotta); text-transform: none; }

.carousel { position: relative; overflow: hidden; padding: 0 4vw; }
.carousel-track { display: flex; gap: 22px; will-change: transform; }
.service-card {
  position: relative; flex: 0 0 clamp(240px, 28vw, 400px);
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 200px 200px 16px 16px;
  display: flex; align-items: flex-end; justify-content: center;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62,42,30,0) 45%, rgba(62,42,30,.68) 100%); }
.service-card:hover img { transform: scale(1.06); }
.service-card h3 { position: relative; z-index: 2; color: var(--ivoire); font-size: clamp(1.3rem, 2.2vw, 1.9rem); text-align: center; padding-bottom: 2rem; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(253,248,242,.9); border: 1px solid var(--terracotta);
  color: var(--terracotta); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.carousel-btn:hover { background: var(--terracotta); color: var(--ivoire); }
.carousel-btn.prev { left: calc(4vw + 8px); }
.carousel-btn.next { right: calc(4vw + 8px); }
.services-cta { text-align: center; margin-top: 3rem; }

/* ===== Réalisations : défilé continu ===== */
.details { background: var(--peche); padding: clamp(4.5rem, 10vh, 8rem) 0; }
.details-head {
  text-align: center; padding: 0 6vw; margin-bottom: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
}
.details-title { font-size: clamp(2.1rem, 5vw, 4rem); }
.details-text { max-width: 52ch; color: rgba(62,42,30,.85); }

.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 22px; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track figure {
  flex: 0 0 clamp(220px, 24vw, 320px); aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: 170px 170px 14px 14px;
  box-shadow: 0 20px 48px rgba(62,42,30,.18);
}
.marquee-track img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Expérience ===== */
.experience {
  background: var(--ivoire);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4.5rem, 10vh, 8rem) 6vw;
}
.exp-img-parent { display: flex; justify-content: center; }
.exp-img-container { width: min(440px, 100%); overflow: hidden; border-radius: 300px 300px 18px 18px; }
.exp-content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.exp-title { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.exp-text { max-width: 48ch; color: rgba(62,42,30,.85); }

/* ===== Galerie ===== */
.gallery { background: var(--creme); padding: clamp(4.5rem, 10vh, 7rem) 0; text-align: center; }
.gallery-title { font-size: clamp(1.9rem, 4.2vw, 3.4rem); margin-bottom: 2.6rem; padding: 0 6vw; }
.gallery-strip { display: flex; gap: 18px; width: max-content; padding: 0 4vw; will-change: transform; }
.gallery-strip figure { flex: 0 0 clamp(200px, 24vw, 340px); aspect-ratio: 1; overflow: hidden; border-radius: 14px; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-strip figure:hover img { transform: scale(1.07); }
.gallery-foot { margin-top: 2.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.gallery-handle { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .12em; color: var(--terracotta); }

/* ===== Avis ===== */
.reviews {
  background: var(--terracotta); color: var(--ivoire);
  padding: clamp(4.5rem, 10vh, 8rem) 6vw;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  text-align: center;
}
.reviews-title { font-size: clamp(2.1rem, 5vw, 4rem); }
.reviews-sub { max-width: 52ch; color: rgba(253,248,242,.85); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  max-width: 1100px; margin: 1.6rem 0;
}
.review-card {
  background: var(--ivoire); color: var(--encre);
  border-radius: 18px; padding: 1.8rem 1.6rem;
  box-shadow: 0 24px 60px rgba(62,42,30,.22);
  text-align: left;
}
.review-card h3 { color: var(--terracotta); letter-spacing: .3em; font-size: 1rem; margin-bottom: .8rem; font-family: var(--sans); }
.review-card p { font-size: .95rem; line-height: 1.6; }
.review-author { margin-top: .8rem; font-size: .8rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }

/* ===== Contact ===== */
.contact { background: var(--ivoire); padding: clamp(4.5rem, 10vh, 8rem) 6vw; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: 1200px; margin: 0 auto; }
.contact-title { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 1.4rem; }
.contact-text { max-width: 52ch; color: rgba(62,42,30,.85); margin-bottom: 2rem; }
.contact-info { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-info li { display: flex; flex-direction: column; font-size: 1.02rem; }
.contact-info span { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .2rem; }
.contact-info a { font-family: var(--serif); font-size: 1.6rem; color: var(--encre); }
.contact-right { display: flex; flex-direction: column; gap: 1.2rem; }

/* ===== Footer ===== */
.site-footer { background: var(--encre); color: var(--creme); padding: 3.5rem 6vw 2rem; }
.footer-brand { display: flex; justify-content: center; margin-bottom: 2.6rem; }
.footer-brand img {
  width: min(240px, 60vw); height: auto;
  border-radius: 130px 130px 14px 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(247,235,221,.18); }
.footer-logo { font-family: var(--serif); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-logo em { font-style: normal; color: var(--peche); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer-menu a, .footer-social a { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; transition: opacity .3s ease; }
.footer-menu a:hover, .footer-social a:hover { opacity: 1; }
.footer-social { display: flex; gap: 1.4rem; }
.footer-copy { text-align: center; font-size: .8rem; opacity: .6; padding-top: 1.6rem; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .arch-section { border-top-left-radius: 300px; border-top-right-radius: 300px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .experience { grid-template-columns: 1fr; text-align: center; }
  .exp-content { align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 767px) {
  .arch-section { border-top-left-radius: 150px; border-top-right-radius: 150px; }
  .service-card { flex-basis: 74vw; }
  .marquee-track figure { flex-basis: 62vw; }
  .contact-info a { font-size: 1.35rem; }
}
