/* ============================================
   MAISON CACAO — Chocolaterie Vieux-Montréal
   Demo Nextiweb · Charte: cacao profond + crème + cuivre
   ============================================ */

:root {
  --bg: #14090a;
  --bg-alt: #1a0f0c;
  --bg-soft: #221511;
  --surface: #2a1c16;
  --surface-2: #321f17;
  --copper: #c8924a;
  --copper-soft: #b07c3a;
  --copper-deep: #8a5e2a;
  --copper-light: #e3b478;
  --cream: #f3e8d6;
  --cream-muted: #c9b89c;
  --cream-soft: #968773;
  --border: #3d2c22;
  --border-strong: #4f3b2c;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 70px rgba(0,0,0,0.65);
  --shadow-copper: 0 8px 30px rgba(200,146,74,0.28);

  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-script: "Italiana", "Playfair Display", serif;

  --maxw: 1240px;
  --maxw-narrow: 880px;
  --radius: 4px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--copper); color: #14090a; }

/* a11y skip link */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--copper); color: #14090a;
  padding: 12px 24px; z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ============ UTILS ============ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: var(--maxw-narrow); }
.container--split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 900px) {
  .container--split { grid-template-columns: 1fr; gap: 50px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
  position: relative; padding-left: 50px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 35px; height: 1px; background: var(--copper);
}

/* ============ TYPOGRAPHY ============ */
.section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--cream);
  margin-bottom: 24px;
}
.section__title em {
  color: var(--copper);
  font-style: italic;
  font-weight: 500;
}
.section__title--center { text-align: center; }

.section__lead {
  font-size: 1.08rem;
  color: var(--cream-muted);
  margin-bottom: 20px;
  max-width: 620px;
}
.section__lead em { color: var(--copper); font-style: italic; }
.section__lead strong { color: var(--cream); font-weight: 500; }
.section__lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.section__header { text-align: center; margin-bottom: 60px; }
.section__header .eyebrow { padding-left: 0; padding-right: 0; }
.section__header .eyebrow::before { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn--copper {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-soft) 100%);
  color: #14090a;
  box-shadow: var(--shadow-copper);
}
.btn--copper:hover, .btn--copper:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(200,146,74,0.42);
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 100%);
  outline: none;
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
  outline: none;
}
.btn--full { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(20,9,10,0.4);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: all .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(20,9,10,0.94);
  border-bottom-color: var(--border);
  padding: 12px 0;
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.header__logo { display: block; }
.logo {
  width: 160px; height: 56px;
  transition: width .3s, height .3s;
}
.header.is-scrolled .logo { width: 130px; height: 44px; }

.header__nav {
  display: flex; align-items: center; gap: 30px;
}
.header__link {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-muted);
  position: relative;
}
.header__link:hover, .header__link:focus-visible { color: var(--copper); outline: none; }
.header__link:not(.header__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--copper);
  transition: width .35s;
}
.header__link:not(.header__cta):hover::after,
.header__link:not(.header__cta):focus-visible::after { width: 100%; }
.header__cta {
  padding: 10px 22px;
  border: 1px solid var(--copper);
  color: var(--copper) !important;
  border-radius: var(--radius);
}
.header__cta:hover, .header__cta:focus-visible {
  background: var(--copper); color: #14090a !important;
}

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 8px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.lang-switch span { color: var(--cream-soft); }
.lang-switch__link {
  color: var(--cream-soft); padding: 4px 6px;
  transition: color .25s;
}
.lang-switch__link:hover, .lang-switch__link:focus-visible {
  color: var(--copper); outline: none;
}
.lang-switch__link.is-active { color: var(--copper); }
@media (max-width: 1000px) {
  .lang-switch {
    margin: 12px 0 0; padding-top: 16px;
    border-top: 1px solid var(--border); width: 100%;
    font-size: 13px;
  }
}

.header__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; height: 32px; align-items: center; justify-content: center;
}
.header__burger span {
  width: 24px; height: 2px; background: var(--cream);
  transition: all .3s;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .header__burger { display: flex; }
  .header__nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--bg-alt); flex-direction: column; padding: 100px 40px 40px;
    gap: 24px; align-items: flex-start; transition: right .35s;
    border-left: 1px solid var(--border);
    overflow-y: auto;
  }
  .header__nav.is-open { right: 0; }
  .header__link { font-size: 16px; }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1.16); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,9,10,0.55) 0%, rgba(20,9,10,0.45) 35%, rgba(20,9,10,0.78) 75%, rgba(20,9,10,0.98) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.65) 100%);
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  max-width: 820px; padding: 0 32px;
  animation: fadeUp 1.2s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__kicker {
  display: inline-block;
  font-family: var(--font-sans);
  color: var(--copper); font-size: 12px;
  letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 32px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7);
}
.hero__title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 50%, var(--copper) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle {
  font-size: 1.14rem;
  color: #e7dccb;
  max-width: 620px; margin: 0 auto 44px;
  font-weight: 300;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  line-height: 1.65;
}
.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex; gap: 14px; justify-content: center;
  font-size: 0.85rem; color: var(--cream-soft);
  letter-spacing: 0.1em; flex-wrap: wrap;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.hero__trust span:first-child { color: var(--copper); }

.hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 50px; border: 1px solid var(--copper);
  border-radius: 20px; z-index: 2;
  display: flex; justify-content: center; padding-top: 10px;
}
.hero__scroll span {
  width: 4px; height: 8px; background: var(--copper); border-radius: 2px;
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section--dark { background: var(--bg-alt); }
.section--menu { background: var(--bg); }
.section--ambiance {
  background: var(--bg-alt);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(200,146,74,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(200,146,74,0.04) 0%, transparent 50%);
}
.section--reserve {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.section--contact { background: var(--bg-alt); }

@media (max-width: 700px) {
  .section { padding: 80px 0; }
}

/* ============ HISTOIRE — SPLIT ============ */
.split__media { position: relative; }
.split__media picture, .split__media img {
  width: 100%; height: 600px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.split__media img { object-fit: cover; }
.split__media-deco {
  position: absolute; top: 30px; left: 30px;
  width: 100%; height: 600px;
  border: 1px solid var(--copper);
  border-radius: var(--radius);
  z-index: 1;
}
@media (max-width: 900px) {
  .split__media picture, .split__media img, .split__media-deco { height: 420px; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-serif); font-size: 2.6rem;
  color: var(--copper); font-weight: 500; line-height: 1;
}
.stat span {
  font-size: 0.82rem; color: var(--cream-muted);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 8px;
}

/* ============ COLLECTIONS / MENU ============ */
.menu__tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 50px;
  flex-wrap: wrap;
}
.menu__tab {
  padding: 14px 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
}
.menu__tab:hover, .menu__tab:focus-visible {
  color: var(--copper); border-color: var(--border-strong);
  outline: none;
}
.menu__tab.is-active {
  background: var(--copper); color: #14090a; border-color: var(--copper);
}

.menu__panel { display: none; animation: fadeIn .5s ease; }
.menu__panel.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.menu__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 30px;
}
@media (max-width: 600px) {
  .menu__grid { grid-template-columns: 1fr; }
}

.dish {
  display: grid; grid-template-columns: 200px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s;
}
.dish:hover {
  border-color: var(--copper-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.dish__img { overflow: hidden; }
.dish__img picture, .dish__img img {
  width: 100%; height: 100%;
}
.dish__img img {
  object-fit: cover;
  transition: transform .7s;
}
.dish:hover .dish__img img { transform: scale(1.08); }
.dish__body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.dish__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; margin-bottom: 10px;
}
.dish__head h3 {
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500;
  color: var(--cream);
}
.dish__price {
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500;
  color: var(--copper); white-space: nowrap;
}
.dish__body p {
  color: var(--cream-muted); font-size: 0.95rem; margin-bottom: 12px;
}
.dish__tag {
  display: inline-block; align-self: flex-start;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--copper);
  padding: 4px 10px; border: 1px solid var(--copper-deep);
  border-radius: 2px;
}
@media (max-width: 500px) {
  .dish { grid-template-columns: 1fr; }
  .dish__img { height: 200px; }
}
.menu__note {
  text-align: center; margin-top: 50px;
  color: var(--cream-soft); font-size: 0.95rem; font-style: italic;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.menu__note strong { color: var(--copper); font-style: normal; }

/* ============ ÉQUIPE ============ */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}
.team__member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s;
  display: flex; flex-direction: column;
}
.team__member:hover {
  transform: translateY(-6px);
  border-color: var(--copper-deep);
  box-shadow: var(--shadow-lg);
}
.team__photo { aspect-ratio: 11/6; overflow: hidden; }
.team__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s;
}
.team__member:hover .team__photo img { transform: scale(1.05); }
.team__info { padding: 28px 32px; }
.team__role {
  display: block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 10px;
}
.team__info h3 {
  font-family: var(--font-serif); font-size: 1.85rem;
  font-weight: 500; color: var(--cream); margin-bottom: 14px;
}
.team__info p {
  color: var(--cream-muted); font-size: 0.98rem;
}
.team__info p em { color: var(--copper); font-style: italic; }

/* ============ ATELIER / GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 16px;
}
.gallery__item {
  overflow: hidden; border-radius: var(--radius);
  position: relative;
  height: 100%;
}
.gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery__item picture, .gallery__item img {
  width: 100%; height: 100%;
}
.gallery__item img {
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,9,10,0.4) 100%);
  pointer-events: none;
}
@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gallery__item--lg { grid-column: span 2; grid-row: span 1; height: 280px; }
}

/* ============ AVIS ============ */
.rating {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-top: 16px;
}
.rating__stars { color: var(--copper); font-size: 1.5rem; letter-spacing: 0.15em; }
.rating__text { color: var(--cream-muted); font-size: 0.9rem; }

.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all .35s;
}
.review:hover {
  border-color: var(--copper-deep);
  transform: translateY(-4px);
}
.review__avatar {
  flex-shrink: 0; width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #14090a;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem;
}
.review__stars { color: var(--copper); margin-bottom: 12px; letter-spacing: 0.1em; }
.review__body p {
  font-style: italic; color: var(--cream); margin-bottom: 16px;
  line-height: 1.7;
}
.review__body strong {
  display: block; color: var(--copper);
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500;
}
.review__body span {
  font-size: 0.85rem; color: var(--cream-soft);
}

/* CTA banner under reviews */
.cta-banner {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, rgba(200,146,74,0.10), rgba(200,146,74,0.02));
  border: 1px solid var(--copper-deep);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute;
  width: 280px; height: 280px;
  background:
    radial-gradient(circle at center, rgba(200,146,74,0.10) 0%, transparent 65%);
  top: -90px; right: -90px;
  pointer-events: none;
}
.cta-banner::after {
  content: ""; position: absolute;
  width: 220px; height: 220px;
  background:
    radial-gradient(circle at center, rgba(200,146,74,0.08) 0%, transparent 65%);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.cta-banner h3 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
  color: var(--cream); margin-bottom: 28px;
  position: relative; z-index: 1;
}

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq__item[open] { border-color: var(--copper-deep); }
.faq__item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--cream);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--copper);
  font-size: 1.6rem;
  font-family: var(--font-sans);
  font-weight: 300;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--copper); }
.faq__item div {
  padding: 0 28px 22px;
  color: var(--cream-muted);
  font-size: 0.98rem;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ============ FORMULAIRE ============ */
.info-list { list-style: none; margin-top: 24px; }
.info-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  gap: 24px;
}
.info-list li strong {
  font-family: var(--font-serif); font-size: 1.05rem;
  color: var(--cream); font-weight: 500;
}
.info-list li span, .info-list li a {
  color: var(--cream-muted); text-align: right;
}
.info-list li a:hover { color: var(--copper); }
.info-list--lg li { padding: 18px 0; }
.info-list--lg li strong {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--copper);
  font-family: var(--font-sans); font-weight: 500;
}
.info-list--lg li span, .info-list--lg li a {
  font-size: 1rem; color: var(--cream); font-family: var(--font-serif);
}

.reserve__urgency {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(200,146,74,0.08);
  border-left: 3px solid var(--copper);
  font-size: 0.95rem;
  color: var(--cream);
  border-radius: 2px;
  display: flex; align-items: center; gap: 10px;
}
.reserve__urgency strong { color: var(--copper); }
.urgency__ico { color: var(--copper); flex-shrink: 0; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form__row { margin-bottom: 20px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 500px) { .form__row--2 { grid-template-columns: 1fr; } }

.form__field { display: flex; flex-direction: column; }
.form__field span {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 10px; font-weight: 500;
}
.form__field input,
.form__field select,
.form__field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--cream);
  font-size: 0.95rem;
  transition: border-color .25s;
  font-family: var(--font-sans);
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none; border-color: var(--copper);
}
.form__field input:invalid:not(:placeholder-shown):not(:focus),
.form__field select:invalid:not(:focus) { border-color: #c44; }
.form__field textarea { resize: vertical; min-height: 80px; }
.form__field select { cursor: pointer; }
.form__note {
  text-align: center; margin-top: 16px;
  font-size: 0.85rem; color: var(--cream-soft);
  line-height: 2;
}
.form__note .check {
  display: inline-block;
  width: 14px; height: 14px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
  vertical-align: middle;
}
.form__note .check::after {
  content: ""; position: absolute;
  left: 3px; top: 1px;
  width: 4px; height: 7px;
  border-right: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: rotate(45deg);
}

/* ============ CONTACT / MAP ============ */
.socials {
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}
.socials a {
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-muted);
  transition: all .25s;
}
.socials a:hover, .socials a:focus-visible {
  border-color: var(--copper); color: var(--copper); outline: none;
}

.map {
  height: 560px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg) sepia(0.15); }

/* ============ FOOTER ============ */
.footer {
  background: #0c0606;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer__brand .logo--footer {
  width: 200px; height: 70px;
  margin-bottom: 16px;
}
.footer__brand p {
  color: var(--cream-muted); font-family: var(--font-serif);
  font-style: italic; font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer__address {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 0.9rem !important;
  color: var(--cream-soft) !important;
}
.footer__col h4 {
  font-family: var(--font-sans); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 20px; font-weight: 500;
}
.footer__col a {
  display: block; padding: 6px 0;
  color: var(--cream-muted); font-size: 0.95rem;
}
.footer__col a:hover { color: var(--copper); padding-left: 4px; }

.footer__newsletter p {
  font-size: 0.9rem; color: var(--cream-soft); margin-bottom: 16px;
}
.newsletter {
  display: flex; gap: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.newsletter input {
  flex: 1; min-width: 0;
  background: var(--bg);
  padding: 12px 14px;
  font-size: 0.9rem;
  border: none;
}
.newsletter input:focus { outline: none; background: var(--bg-alt); }
.newsletter button {
  background: var(--copper); color: #14090a;
  padding: 0 18px; font-size: 1.2rem; font-weight: 500;
  transition: background .25s;
}
.newsletter button:hover { background: var(--copper-light); }
.newsletter.is-success input { display: none; }
.newsletter.is-success::after {
  content: "Inscription confirmée";
  color: var(--copper); padding: 12px 14px; font-size: 0.9rem; flex: 1;
  letter-spacing: 0.05em;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  max-width: var(--maxw); margin: 0 auto;
  font-size: 0.85rem; color: var(--cream-soft);
}
.footer__bottom a { color: var(--cream-muted); }
.footer__bottom a:hover { color: var(--copper); }
.footer__credit a {
  color: var(--copper); font-weight: 500;
}
.footer__credit a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 32px 60px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 500px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

/* ============ DEMO BADGE — Nextiweb ============ */
.demo-badge {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px;
  background: rgba(20,9,10,0.92);
  border: 1px solid var(--copper);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 0 4px rgba(200,146,74,0.10);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all .25s;
  text-decoration: none;
}
.demo-badge:hover {
  transform: translateY(-2px);
  border-color: var(--copper-light);
  box-shadow: 0 14px 40px rgba(0,0,0,0.7), 0 0 0 5px rgba(200,146,74,0.18);
}
.demo-badge__pulse {
  width: 8px; height: 8px;
  background: var(--copper); border-radius: 50%;
  position: relative; flex-shrink: 0;
  box-shadow: 0 0 10px var(--copper);
}
.demo-badge__pulse::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%; border: 2px solid var(--copper);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.demo-badge__text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.demo-badge__text strong {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--copper); font-weight: 600;
}
.demo-badge__text span {
  font-size: 11px; color: var(--cream-muted);
}
@media (max-width: 600px) {
  .demo-badge { bottom: 16px; left: 16px; padding: 8px 14px 8px 12px; }
  .demo-badge__text strong { font-size: 10px; }
  .demo-badge__text span { font-size: 10px; }
}

/* ============ NEXTIWEB SERVICES ============ */
.nextiweb {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(200,146,74,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(200,146,74,0.05) 0%, transparent 55%),
    linear-gradient(180deg, #0a0506 0%, #14090a 100%);
  overflow: hidden;
  border-top: 1px solid rgba(200,146,74,0.14);
}
.nextiweb__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,146,74,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,146,74,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.nextiweb__header {
  text-align: center;
  margin-bottom: 64px;
  position: relative; z-index: 1;
}
.nextiweb__header .eyebrow {
  padding-left: 0;
  margin-bottom: 18px;
}
.nextiweb__header .eyebrow::before { display: none; }
.nextiweb__header .section__title { margin-bottom: 14px; }
.nextiweb__sub {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 300;
  color: var(--cream-muted);
  margin-bottom: 22px;
  line-height: 1.3;
}
.nextiweb__sub em {
  color: var(--copper);
  font-style: italic;
  font-weight: 500;
}
.nextiweb__lead {
  max-width: 580px;
  margin: 0 auto;
  color: var(--cream-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.nextiweb__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative; z-index: 1;
}
@media (max-width: 1080px) {
  .nextiweb__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ----- Card glassmorphism + spotlight ----- */
.ncard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    border-color .3s ease,
    box-shadow .35s ease,
    background .3s ease;
}
.ncard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(200,146,74,0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.ncard:hover,
.ncard:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(200,146,74,0.55);
  background: rgba(255,255,255,0.055);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.55),
    0 0 0 1px rgba(200,146,74,0.18) inset;
  outline: none;
}
.ncard:hover::before,
.ncard:focus-visible::before { opacity: 1; }

.ncard__icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,146,74,0.20), rgba(200,146,74,0.06));
  border: 1px solid rgba(200,146,74,0.32);
  color: var(--copper);
  margin-bottom: 18px;
  transition: transform .35s ease, background .3s ease;
}
.ncard:hover .ncard__icon {
  transform: scale(1.06) rotate(-2deg);
  background: linear-gradient(135deg, rgba(200,146,74,0.30), rgba(200,146,74,0.10));
}

.ncard__title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.ncard__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(243,232,214,0.72);
  margin-bottom: 22px;
  flex: 1;
}
.ncard__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--copper);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: gap .3s ease, border-color .3s ease;
}
.ncard__arrow {
  transition: transform .3s ease;
  flex-shrink: 0;
}
.ncard:hover .ncard__cta,
.ncard:focus-visible .ncard__cta {
  gap: 12px;
  border-bottom-color: rgba(200,146,74,0.55);
}
.ncard:hover .ncard__arrow {
  transform: translateX(3px);
}

@media (max-width: 700px) {
  .nextiweb { padding: 80px 0 90px; }
}

/* ============ ANIMATIONS SCROLL ============ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg img { animation: none; transform: none; }
}
