/* =========================================================
   Maria's Coffee · estilos
   Paleta suave: creme, latte, mocha, dourado, sálvia e rosé
   ========================================================= */

:root {
  --cream: #faf6f0;
  --cream-2: #f4ece1;
  --latte: #e8d9c7;
  --sand: #d8c3aa;
  --caramel: #b98c68;
  --gold: #c9a24f;
  --mocha: #6b4f3f;
  --espresso: #3d2c23;
  --sage: #a9b7a1;
  --sage-soft: #e3e9de;
  --blush: #ecd3c9;
  --blush-soft: #f6e6df;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --shadow: 0 24px 50px -26px rgba(107, 79, 63, 0.45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--mocha);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.08;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.4rem; }
em { font-style: italic; color: var(--caramel); font-weight: 500; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  color: var(--caramel); margin-bottom: 1.2rem;
}
.eyebrow--center { justify-content: center; }
.line { display: inline-block; width: 38px; height: 1px; background: var(--gold); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__sub { margin-top: 1rem; opacity: .85; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block; padding: .95rem 2.1rem; border-radius: 999px;
  background: var(--mocha); color: var(--cream); font-weight: 400; font-size: .95rem; letter-spacing: .05em;
  border: 1px solid var(--mocha);
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--espresso); border-color: var(--espresso); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--mocha); }
.btn--ghost:hover { background: var(--mocha); color: var(--cream); }
.btn--small { padding: .6rem 1.4rem; font-size: .85rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1rem 0; transition: background .35s, box-shadow .35s, padding .35s; }
.header.is-scrolled {
  background: rgba(250, 246, 240, .9); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(107, 79, 63, .08); padding: .5rem 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo img { width: 52px; height: 52px; object-fit: contain; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-6deg) scale(1.05); }
.logo__text { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 600; color: var(--espresso); }

.nav { display: flex; gap: 2.2rem; }
.nav a { font-size: .92rem; letter-spacing: .05em; position: relative; padding: .3rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Arcos de foto (formato de janela) ---------- */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 28px 28px; background: var(--latte); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.05); }
.pos-burger { object-position: 50% 78%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 0 5.5rem; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .75; z-index: 0; }
.hero__blob--1 { width: 460px; height: 460px; background: var(--blush); top: -140px; right: -100px; }
.hero__blob--2 { width: 400px; height: 400px; background: var(--sage-soft); bottom: -160px; left: -120px; }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__content h1 { margin-bottom: 1.5rem; }
.lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--latte); }
.hero__facts li { display: flex; flex-direction: column; line-height: 1.3; }
.hero__facts strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--espresso); }
.hero__facts span { font-size: .85rem; }

.hero__art { position: relative; height: min(640px, 72vh); min-height: 480px; }
.arch--main { position: absolute; top: 0; right: 6%; width: 62%; height: 88%; z-index: 1; }
.arch--second { position: absolute; bottom: 0; left: 0; width: 42%; height: 52%; z-index: 2; border: 8px solid var(--cream); border-radius: 999px 999px 24px 24px; }
.sticker {
  position: absolute; z-index: 3; right: 0; bottom: 6%; width: 168px; height: 168px; border-radius: 50%;
  background: #fffdf9; display: grid; place-items: center; padding: 14px;
  box-shadow: var(--shadow); border: 1px solid rgba(201, 162, 79, .4); animation: float 6s ease-in-out infinite;
}
.sticker img { width: 100%; height: 100%; object-fit: contain; }
.spark { position: absolute; color: var(--gold); z-index: 3; animation: twinkle 3s ease-in-out infinite; }
.spark--1 { top: 6%; left: 14%; font-size: 1.6rem; }
.spark--2 { top: 48%; right: -1%; font-size: 1.1rem; animation-delay: 1.2s; }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--sand); border-radius: 16px; z-index: 1; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--caramel); border-radius: 3px; animation: scroll 1.8s infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Faixa rolando ---------- */
.marquee { background: var(--mocha); color: var(--cream); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; gap: 2rem; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; }
.marquee i { color: var(--gold); font-style: normal; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about__visual { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.arch--about { aspect-ratio: 3 / 4.2; }
.about__tag {
  position: absolute; left: -8%; bottom: 8%; background: #fffdf9; padding: 1.1rem 1.5rem; border-radius: 18px;
  box-shadow: var(--shadow); border-left: 3px solid var(--gold); line-height: 1.3;
}
.about__tag span { display: block; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--caramel); }
.about__tag strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); }

.about__text h2 { margin-bottom: 1.5rem; }
.about__text p + p { margin-top: 1rem; }
.values { display: grid; gap: 1.1rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--latte); }
.values li { display: flex; align-items: center; gap: 1rem; }
.values__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blush-soft); font-size: 1.3rem; color: var(--caramel); }
.values strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); line-height: 1.2; }
.values div span { font-size: .9rem; }

/* ---------- Cardápio ---------- */
.menu { background: var(--cream-2); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.tab {
  padding: .65rem 1.8rem; border-radius: 999px; border: 1px solid var(--sand); background: transparent;
  color: var(--mocha); font-size: .92rem; letter-spacing: .04em; transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--caramel); }
.tab.is-active { background: var(--mocha); border-color: var(--mocha); color: var(--cream); }

.menu__box {
  background: #fffdf9; border-radius: 32px; padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow); border: 1px solid rgba(216, 195, 170, .5);
}
.panel.is-active { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; animation: fadeUp .5s var(--ease); }
.panel[hidden] { display: none; }

.panel__media { min-height: 380px; height: 100%; }
.panel__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.panel__media--duo .arch { height: 100%; min-height: 380px; box-shadow: none; }
.panel__media--duo .arch:nth-child(2) { margin-top: 2.2rem; }
.panel__media--logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem;
  background: radial-gradient(circle at 50% 30%, #fff8ee, var(--blush-soft)); border-radius: 999px 999px 28px 28px; padding: 2.5rem 1.5rem;
}
.panel__media--logo img { width: min(240px, 80%); }
.panel__media--logo p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--mocha); line-height: 1.35; max-width: 240px; }

.menu__list { display: grid; gap: 1.5rem; }
.item__head { display: flex; align-items: baseline; gap: .6rem; }
.item__head h3 { font-size: 1.5rem; }
.item__head::before { content: "✦"; color: var(--gold); font-size: .75rem; transform: translateY(-3px); }
.menu__list li { padding-bottom: 1.3rem; border-bottom: 1px dotted var(--sand); }
.menu__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.menu__list p { font-size: .95rem; opacity: .85; margin-top: .15rem; padding-left: 1.35rem; }
.tel { border-bottom: 1px solid transparent; transition: border-color .3s; }
.tel:hover { border-color: var(--gold); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Vitrine (galeria) ---------- */
.bento {
  display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px;
  grid-template-areas:
    "a a b c"
    "a a d e";
}
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--latte); }
.bento__item--a { grid-area: a; }
.bento__item--b { grid-area: b; }
.bento__item--c { grid-area: c; }
.bento__item--d { grid-area: d; }
.bento__item--e { grid-area: e; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.07); }
.bento__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.3rem 1.1rem; color: #fff;
  font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2;
  background: linear-gradient(0deg, rgba(61, 44, 35, .75), rgba(61, 44, 35, 0));
}
.bento__item figcaption span { display: block; font-family: var(--font-sans); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--blush); margin-bottom: .2rem; }

/* ---------- Curiosidades · Uruguai ---------- */
.uruguay { background: linear-gradient(180deg, var(--cream) 0%, var(--sage-soft) 100%); }
.uruguay__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.uruguay__intro { position: sticky; top: 110px; }
.uruguay__intro h2 { margin-bottom: 1.4rem; }
.uruguay__intro > p strong { color: var(--espresso); font-weight: 500; }

.story { margin-top: 2rem; padding: 1.6rem 1.8rem; background: #fffdf9; border-radius: var(--radius); border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.story__tag { display: block; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--caramel); margin-bottom: .6rem; font-weight: 500; }
.story p { font-size: .98rem; }
.story em { color: var(--mocha); }

.insights { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.insight {
  position: relative; background: #fffdf9; border-radius: var(--radius); padding: 1.8rem 1.6rem 1.7rem;
  border: 1px solid rgba(216, 195, 170, .5); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.insight:hover { transform: translateY(-6px); }
.insight__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-serif); font-size: 1.1rem; font-style: italic; color: var(--sand); }
.insight__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 50%; background: var(--blush-soft); margin-bottom: 1rem; }
.insight h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.insight p { font-size: .93rem; }
.insight em { color: var(--caramel); }
.insight--accent { background: var(--mocha); border-color: var(--mocha); }
.insight--accent h3 { color: var(--cream); }
.insight--accent p { color: var(--latte); }
.insight--accent .insight__icon { background: rgba(255, 255, 255, .12); }
.insight--accent .insight__num { color: var(--caramel); }

/* ---------- Frase ---------- */
.quote { background: linear-gradient(135deg, var(--mocha), var(--espresso)); color: var(--cream); text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.quote::before { content: "✦"; display: block; color: var(--gold); margin-bottom: 1.2rem; }
.quote p { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; line-height: 1.25; max-width: 780px; margin-inline: auto; }
.quote em { color: var(--blush); }
.quote span { display: block; margin-top: 1.4rem; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--sand); }

/* ---------- Contato ---------- */
.contact { background: linear-gradient(180deg, var(--cream), var(--blush-soft)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.contact__info h2 { margin-bottom: .5rem; }
.info { margin: 2rem 0; display: grid; gap: 1.4rem; }
.info li { display: flex; gap: 1rem; align-items: flex-start; }
.info__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.info strong { display: block; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--espresso); line-height: 1.2; }
.info span { font-size: .95rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact__map { min-height: 420px; }
.contact__map iframe {
  width: 100%; height: 100%; min-height: 420px; border: 8px solid #fff; border-radius: 999px 999px 32px 32px;
  box-shadow: var(--shadow); background: var(--sage-soft); filter: saturate(.85) sepia(.12);
}

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--latte); padding: 4rem 0 2.5rem; text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 1.1rem; }
.footer__logo { width: 150px; background: #fffdf9; border-radius: 50%; padding: 12px; }
.footer p { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; font-size: .9rem; letter-spacing: .06em; }
.footer__nav a:hover { color: var(--gold); }
.footer small { opacity: .6; font-size: .8rem; margin-top: .8rem; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero__content > *, .hero__art { animation: fadeUp .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }
.hero__content > *:nth-child(5) { animation-delay: .4s; }
.hero__art { animation-delay: .25s; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero__inner, .about__grid, .contact__grid, .panel.is-active, .uruguay__grid { grid-template-columns: 1fr; }
  .uruguay__intro { position: static; }
  .hero { padding-top: 7rem; }
  .hero__art { height: 480px; min-height: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .about__tag { left: 0; }
  .panel__media { min-height: 320px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; grid-template-areas: "a a" "b c" "d e"; }
  .bento__item--a { min-height: 340px; }
  .bento { grid-template-rows: 340px 220px 220px; }
}

@media (max-width: 1000px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 80%); flex-direction: column; justify-content: center; gap: 1.6rem;
    padding: 2rem 2.5rem; background: var(--cream); box-shadow: -20px 0 40px -20px rgba(61, 44, 35, .3);
    transform: translateX(105%); transition: transform .45s var(--ease);
  }
  .nav a { font-family: var(--font-serif); font-size: 1.8rem; }
  .nav.is-open { transform: none; }
  .burger { z-index: 60; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__art { height: 420px; }
  .sticker { width: 120px; height: 120px; padding: 10px; }
  .scroll-hint { display: none; }
  .panel__media--duo .arch { min-height: 280px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; grid-template-rows: none; grid-auto-rows: 280px; }
  .bento__item--a { min-height: 0; }
  .logo__text { font-size: 1.4rem; }
  .insights { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
