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

:root {
  --ink: #1c110a;
  --ink-2: #2a1a10;
  --coffee: #3b281a;
  --panel: #fff7ec;
  --cream: #f6e9d1;
  --cream-dim: #d9c5a0;
  --gold: #c49a48;
  --gold-soft: #e6cd91;
  --line: rgba(196, 154, 72, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 700; }

img { max-width: 100%; }

.eyebrow {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 30px;
  border: 0;
  border-radius: 50px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(196, 154, 72, 0.32);
}
.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(196, 154, 72, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  transform: translateY(-3px);
  background: rgba(246, 233, 209, 0.06);
  border-color: var(--gold-soft);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(24, 15, 8, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: 52px;
  border-radius: 8px;
  display: block;
  transition: height 0.4s var(--ease);
}
.nav.scrolled .nav-logo { height: 44px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 10px 22px;
  border-radius: 50px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); background: var(--gold-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 90px) 80px;
  background: url("assets/fatzah-banner.png") center / cover no-repeat;
  background-attachment: fixed;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 7, 0.96), rgba(20, 12, 7, 0.78) 45%, rgba(20, 12, 7, 0.35));
}
.hero-content {
  position: relative;
  max-width: 660px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.92;
}
.hero h1 span {
  color: var(--gold-soft);
  font-style: italic;
}
.hero-content > p {
  max-width: 540px;
  margin: 28px 0 34px;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--cream-dim);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-loc {
  margin-top: 34px !important;
  font-weight: 600;
  color: var(--cream) !important;
  font-size: 15px !important;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
  padding: 34px clamp(20px, 5vw, 50px);
  background: linear-gradient(135deg, #34210f, #241608);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(1080px, calc(100% - 40px));
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-soft);
  line-height: 1;
}
.stat span {
  font-size: 13px;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

/* ---------- Sections shared ---------- */
section { position: relative; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
}
.section-intro {
  margin: 16px auto 0;
  color: var(--cream-dim);
}

.prestations, .atouts, .contact {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 70px);
}

/* ---------- Prestations grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: linear-gradient(180deg, #3b281a, #2c1c11);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: var(--gold-soft);
}
.card-media { overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px 22px 26px; }
.card-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--gold-soft);
}
.card-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--cream-dim);
}

/* ---------- Atouts ---------- */
.atouts { background: linear-gradient(180deg, #180f08, #23150c); }
.atouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
}
.atout {
  text-align: center;
  padding: 40px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(59, 40, 26, 0.4);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.atout:hover { transform: translateY(-6px); background: rgba(59, 40, 26, 0.7); }
.atout-icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-size: 22px;
}
.atout h3 { margin: 0 0 10px; font-size: 22px; color: var(--cream); }
.atout p { margin: 0; font-size: 14.5px; color: var(--cream-dim); }

/* ---------- Horaires ---------- */
.horaires {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 70px);
  background: linear-gradient(135deg, #f6ead5, #efdcbe);
  color: var(--ink);
}
.horaires-text .eyebrow { color: #9a7328; }
.horaires-text h2 { margin: 0 0 24px; font-size: clamp(34px, 4.5vw, 54px); color: var(--coffee); }
.hours { list-style: none; margin: 0 0 24px; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 40, 26, 0.18);
  font-size: 17px;
}
.hours li span { color: #5c452e; }
.hours li strong { color: var(--coffee); font-size: 18px; }
.horaires-text > p { color: #5c452e; margin: 0 0 26px; }
.horaires-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(36, 23, 15, 0.28);
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #23150c, #180f08); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px;
  background: rgba(59, 40, 26, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(230, 205, 145, 0.3);
  border-radius: 10px;
  background: #fffaf0;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 72, 0.22);
}
textarea { min-height: 120px; resize: vertical; }
form .btn { margin-top: 4px; }
.form-status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-soft);
  min-height: 20px;
}

.contact-info {
  padding: 34px;
  background: linear-gradient(135deg, #34210f, #241608);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-info h3 { margin: 0 0 22px; font-size: 24px; color: var(--gold-soft); }
.info-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.info-line:not(.info-static):hover { color: var(--gold-soft); transform: translateX(4px); }
.info-ic {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(196, 154, 72, 0.16);
  font-size: 18px;
}
.info-line span { font-size: 13px; color: var(--cream-dim); }
.info-line strong { color: var(--cream); font-size: 16px; }
.info-social { margin-top: 20px; font-size: 14px; color: var(--cream-dim); }
.info-social strong { display: block; margin-top: 4px; color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer {
  background: #100a06;
  text-align: center;
  padding: 50px 20px 40px;
  font-size: 14px;
  color: var(--cream-dim);
}
.footer-logo { height: 60px; border-radius: 10px; margin-bottom: 18px; }
.footer-tag { color: var(--gold-soft); font-weight: 600; margin: 0 0 14px; }
.footer p { margin: 6px 0; }
.footer-copy { margin-top: 20px !important; font-size: 12.5px; opacity: 0.7; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease);
  animation: pulse 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.grid .card, .atouts-grid .atout { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { background-attachment: scroll; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .horaires, .contact-wrap { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 760px) {
  .hero { background-attachment: scroll; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: rgba(20, 12, 7, 0.98);
    backdrop-filter: blur(14px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
