/* ============================================================
   Casa do Açaí — styles
   Palette : violet açaí #4A2358 · vert #2F6B4A · crème #F7F3E8
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #F7F3E8;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  color: #4A2358;
}

a { color: #4A2358; text-decoration: none; }
a:hover { color: #2F6B4A; }

img { display: block; }

/* ---------- Animations ---------- */
@keyframes cda-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cda-float  { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes cda-float2 { 0%,100% { transform: translateY(-8px) rotate(5deg); } 50% { transform: translateY(6px) rotate(-4deg); } }
@keyframes cda-spin   { from { transform: rotate(0); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .float, .float2, .logo-spin, .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: #4A2358;
  color: #F7F3E8;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { color: #F7F3E8; transform: scale(1.05); }
.btn--nav { padding: 12px 24px; font-size: 14px; }
.btn--nav:hover { background: #3A1B45; transform: scale(1.04); }
.btn--md { padding: 15px 30px; font-size: 15px; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(74,35,88,.3);
  color: #4A2358;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  transition: border-color .2s ease;
}
.btn-outline:hover { border-color: #2F6B4A; }
.btn-outline--md { padding: 14px 28px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,232,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  border-bottom: 1px solid rgba(74,35,88,.12);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nav-brand span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: #4A2358;
  letter-spacing: .02em;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  box-sizing: border-box;
  background: none;
  border: 1.5px solid rgba(74,35,88,.25);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #4A2358;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #F7F3E8;
  border-bottom: 1px solid rgba(74,35,88,.12);
  box-shadow: 0 14px 30px rgba(74,35,88,.12);
  padding: 10px 6vw 20px;
  flex-direction: column;
}
.mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px dotted rgba(74,35,88,.2);
}
.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
}
.mobile-menu-foot .lang { font-size: 14px; }

.lang { display: flex; gap: 8px; font-size: 12.5px; align-items: center; }
.lang .active { font-weight: 700; color: #4A2358; }
.lang .dot { color: rgba(74,35,88,.35); }
.lang a { color: rgba(74,35,88,.5); }
.lang a:hover { color: #2F6B4A; }

/* ---------- Sections ---------- */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 5vw;
  box-sizing: border-box;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .18em;
  color: #2F6B4A;
  margin-bottom: 16px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 3.8vw, 52px);
  color: #4A2358;
  margin: 0;
}
.section-head .note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: rgba(74,35,88,.5);
}

h2.title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  color: #4A2358;
  margin: 0 0 20px;
  text-wrap: balance;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 72px 5vw 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.02;
  color: #4A2358;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero .lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(58,32,68,.75);
  margin: 0 0 34px;
  max-width: 44ch;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: .92;
  border-radius: 250px 250px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(74,35,88,.12);
  background: #E9E1CE;
}
.hero-img img, .photo img { width: 100%; height: 100%; object-fit: cover; }

.logo-spin {
  position: absolute;
  top: -16px;
  right: -14px;
  width: 96px;
  height: 96px;
  animation: cda-spin 26s linear infinite;
  pointer-events: none;
}
.logo-spin img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(74,35,88,.2);
}

.badge {
  background: #2F6B4A;
  color: #F7F3E8;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
}

.berry {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #6B4A8C, #3E1D4C);
}
.berry--blue { background: radial-gradient(circle at 35% 30%, #8E9BD0, #5B6BA8); opacity: .85; }

.float  { animation: cda-float 7s ease-in-out infinite; }
.float2 { animation: cda-float2 8s ease-in-out infinite; }

.deco { position: absolute; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { background: #4A2358; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: cda-marquee 22s linear infinite; }
.marquee-track > div {
  display: flex;
  padding-right: 38px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #F7F3E8;
  white-space: nowrap;
}

/* ---------- Histoire ---------- */
.story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.story-visual { position: relative; }
.photo {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #E9E1CE;
}
.story-visual .photo { aspect-ratio: 1.05; }
.story p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(58,32,68,.75);
  margin: 0 0 16px;
  max-width: 52ch;
}
.story p:last-child { margin-bottom: 0; }

/* ---------- Carte ---------- */
.menu-band {
  background: #F1EBDC;
  border-top: 1px solid rgba(74,35,88,.08);
  border-bottom: 1px solid rgba(74,35,88,.08);
}
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.menu-cat {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .16em;
  color: #2F6B4A;
  border-bottom: 1.5px solid #2F6B4A;
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.menu-cat + .menu-cat, .mi + .menu-cat, .ml + .menu-cat { margin-top: 36px; }

.mi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(74,35,88,.25);
}
.mi:last-child { border-bottom: 0; }
.mi-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #4A2358;
}
.mi-desc { font-size: 13px; color: rgba(58,32,68,.6); margin-top: 3px; }
.mi-price, .ml-price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: #2F6B4A;
  white-space: nowrap;
}

.ml {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dotted rgba(74,35,88,.18);
}
.ml:last-child { border-bottom: 0; }
.ml-name { font-size: 14.5px; font-weight: 500; color: #4A2358; }
.ml-price { font-size: 13px; }

.tag {
  font-style: normal;
  font-size: 10.5px;
  font-family: 'IBM Plex Mono', monospace;
  color: #2F6B4A;
}

.menu-cta { text-align: center; margin-top: 48px; }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.gallery-grid > div { border-radius: 20px; overflow: hidden; background: #E9E1CE; }
.gallery-grid > div img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tall { grid-row: span 2; }

/* ---------- Avis ---------- */
.reviews-band { background: #4A2358; overflow: hidden; position: relative; }
.reviews-band .section { position: relative; }
.reviews-band .eyebrow { color: #8E9BD0; }
.reviews-band h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  color: #F7F3E8;
  margin: 0 0 44px;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: rgba(247,243,232,.06);
  border: 1px solid rgba(247,243,232,.14);
  border-radius: 20px;
  padding: 28px;
}
.review .stars { color: #E8C766; font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.review p { font-size: 15px; line-height: 1.65; color: rgba(247,243,232,.85); margin: 0 0 18px; }
.review .who { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: rgba(247,243,232,.55); }

/* ---------- Infos ---------- */
.infos {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.infos h2.title { margin-bottom: 24px; }
.infos .address {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(58,32,68,.8);
  margin: 0 0 28px;
  font-weight: 500;
}
.hours { display: flex; flex-direction: column; max-width: 360px; font-size: 15px; }
.hours > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(74,35,88,.25);
}
.hours > div:last-child { border-bottom: 0; }
.hours .day { color: rgba(58,32,68,.7); }
.hours .time { font-weight: 600; color: #4A2358; }
.hours .closed { font-weight: 600; color: #2F6B4A; }
.infos-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.map {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(74,35,88,.12);
  height: 420px;
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: #4A2358;
  color: #F7F3E8;
  padding: 40px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px; }
.footer .tagline { font-size: 13.5px; color: rgba(247,243,232,.65); }
.footer-links { display: flex; gap: 22px; font-size: 14px; }
.footer-links a { color: #F7F3E8; }
.footer-links a:hover { color: #8E9BD0; }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1);
}
.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { max-width: 480px; }
  .story, .infos { grid-template-columns: 1fr; gap: 40px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { padding: 12px 4vw; gap: 10px; }
  .nav-brand { gap: 8px; min-width: 0; }
  .nav-brand img { width: 34px; height: 34px; }
  .nav-brand span { font-size: 14px; letter-spacing: .01em; white-space: nowrap; }
  .nav-links { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  .mobile-menu:not([hidden]) { display: flex; }
  .btn--nav { padding: 10px 18px; font-size: 13.5px; }
  .section { padding: 64px 6vw; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-tall { grid-row: auto; }
  .deco--left { display: none; }
  .map { height: 320px; }
}
