﻿:root {
  --cream: #f7efe8;
  --sand: #e7c9a8;
  --caramel: #b77a4f;
  --espresso: #3c2a1e;
  --rose: #f0d3c4;
  --sage: #c9d7c3;
  --ink: #1b1613;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(27, 22, 19, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fbf3ea 0%, #f5e7da 55%, #efe1d4 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 246, 238, 0.95);
  border-bottom: 1px solid rgba(183, 122, 79, 0.12);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(60, 42, 30, 0.15);
  overflow: hidden;
  border: 1px solid rgba(60, 42, 30, 0.08);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.85rem;
  color: rgba(27, 22, 19, 0.7);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--caramel);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #7a4f35;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  border: 1px solid transparent;
  cursor: pointer;
  gap: 0.6rem;
}

.btn-primary {
  background: var(--espresso);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #2a1d14;
  box-shadow: 0 18px 40px rgba(60, 42, 30, 0.25);
}

.btn-ghost {
  border-color: rgba(60, 42, 30, 0.3);
  color: var(--espresso);
  background: transparent;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(60, 42, 30, 0.08);
}

.btn-light {
  background: var(--white);
  color: var(--espresso);
  border-color: rgba(60, 42, 30, 0.2);
}

.btn-icon .icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero {
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto 0;
  height: 120%;
  background-image: url("fundo.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  opacity: 0.45;
  filter: saturate(1.05) brightness(1.02);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 243, 234, 0.85) 0%, rgba(251, 243, 234, 0.75) 45%, rgba(251, 243, 234, 0.95) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(60, 42, 30, 0.6);
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 2.4vw + 2rem, 4rem);
  margin-bottom: 1rem;
  color: #4a3124;
}

.lead {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(27, 22, 19, 0.8);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-pills span {
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(183, 122, 79, 0.2);
}

.hero-card {
  display: none;
}

.hero-logo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 22px 60px rgba(60, 42, 30, 0.22);
  border: 3px solid rgba(180, 122, 81, 0.65);
  overflow: hidden;
  position: relative;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 0.6s ease;
}

.hero-logo:hover img {
  transform: scale(1.2);
}

.hero-logo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(120, 74, 48, 0.25);
  pointer-events: none;
}

.hero-card-inner h2 {
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.hero-card-inner ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.hero-card-inner li {
  position: relative;
  padding-left: 1.5rem;
}

.hero-card-inner li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sand);
}

.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-lead {
  max-width: 420px;
  color: rgba(27, 22, 19, 0.7);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-bolos {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(231, 201, 168, 0.35));
}

.bolo-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.bolo-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bolo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.bolo-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 600;
  color: #4a3124;
}

.bolo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.section-pudins {
  background: linear-gradient(120deg, rgba(201, 215, 195, 0.35), rgba(255, 255, 255, 0.85));
}

.pudim-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pudim-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pudim-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.pudim-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 600;
  color: #4a3124;
}

.pudim-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.section-monte {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(240, 211, 196, 0.35));
}

.monte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.monte-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

.monte-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #4a3124;
}

.monte-field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(60, 42, 30, 0.2);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.monte-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(60, 42, 30, 0.2);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.field-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(27, 22, 19, 0.65);
}

.monte-note {
  font-size: 0.9rem;
  color: rgba(27, 22, 19, 0.7);
}

.monte-resumo {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.monte-resumo h3 {
  margin-bottom: 0.5rem;
}

.resumo-especial {
  font-size: 0.9rem;
  color: #a2613d;
  display: none;
}

.resumo-especial.is-visible {
  display: block;
}

.monte-preco {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(231, 201, 168, 0.25);
  font-weight: 600;
  color: #4a3124;
}

.monte-sinal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  background: rgba(201, 215, 195, 0.3);
  font-weight: 600;
  color: #3f2b20;
}

.docinhos-card {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.docinhos-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.section-tortas {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.7), rgba(240, 211, 196, 0.4));
}

.torta-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.torta-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.torta-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.torta-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 600;
  color: #4a3124;
}

.torta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.section-brownies {
  background: linear-gradient(120deg, rgba(201, 215, 195, 0.35), rgba(255, 255, 255, 0.8));
}

.brownie-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brownie-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brownie-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.brownie-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 600;
  color: #4a3124;
}

.brownie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.section-doces {
  background: linear-gradient(120deg, rgba(240, 211, 196, 0.35), rgba(255, 255, 255, 0.85));
}

.doce-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.doce-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.doce-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.doce-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 600;
  color: #4a3124;
}

.doce-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.doces-sabores {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.sabores-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.sabores-box h3 {
  color: #b08f4f;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(1.35rem, 1.4vw + 0.9rem, 1.95rem);
}

.sabores-box p {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: #6a5437;
  margin-bottom: 1rem;
}

.sabores-box ul {
  list-style: none !important;
  display: grid;
  gap: 0.35rem;
  background: #ad9770;
  color: #fff;
  padding: 1.4rem 1rem;
  border-radius: 0;
}

.sabores-box li {
  list-style: none !important;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(60, 42, 30, 0.18);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.highlight {
  background: linear-gradient(120deg, rgba(233, 206, 180, 0.6), rgba(201, 215, 195, 0.6));
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.stats {
  display: grid;
  gap: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Fraunces", serif;
}

.section-encomendas .steps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--espresso);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta {
  margin-top: 3rem;
  background: var(--espresso);
  color: var(--white);
  padding: 2rem;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.section-instagram .insta-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  justify-items: center;
}

.section-instagram {
  background: #fdf4ea;
}

.section-instagram .section-header {
  flex-direction: column;
  align-items: flex-start;
}

.insta-embed {
  width: 100%;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 18px;
  background: #fff8f1;
  box-shadow: 0 12px 28px rgba(60, 42, 30, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.insta-embed:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(60, 42, 30, 0.18);
}

.insta-embed .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.insta-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.section-contato .contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(183, 122, 79, 0.2);
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: rgba(27, 22, 19, 0.7);
  justify-content: center;
}

.footer-social {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(60, 42, 30, 0.3);
  display: grid;
  place-items: center;
  color: #5a4032;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(60, 42, 30, 0.08);
  color: #3c2a1e;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.builder-popup {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 25;
  width: min(420px, calc(100vw - 2rem));
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(183, 122, 79, 0.25);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  box-shadow: 0 18px 34px rgba(60, 42, 30, 0.2);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.builder-popup.is-hidden {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.builder-popup-title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  color: #4a3124;
  margin-bottom: 0.35rem;
}

.builder-popup-text {
  margin-bottom: 0.85rem;
  color: rgba(27, 22, 19, 0.75);
}

.builder-popup-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.builder-popup-gallery img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.builder-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(60, 42, 30, 0.08);
  color: #4a3124;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.builder-popup-close:hover {
  background: rgba(60, 42, 30, 0.15);
}

.analytics-section {
  z-index: 2;
}

.analytics-alert {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 122, 79, 0.25);
  background: rgba(255, 255, 255, 0.82);
  color: #5a3c2b;
}

.analytics-alert.is-ready {
  border-color: rgba(60, 130, 84, 0.35);
  background: rgba(227, 245, 233, 0.8);
  color: #234a2f;
}

.analytics-links {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.analytics-links .card p {
  margin: 0.7rem 0 1.1rem;
  color: rgba(27, 22, 19, 0.75);
}

.analytics-embed-wrap {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(183, 122, 79, 0.25);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.analytics-embed {
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 14px;
  display: none;
}

.analytics-embed.is-visible {
  display: block;
}

.analytics-embed-empty {
  color: rgba(27, 22, 19, 0.75);
}

.analytics-embed-empty.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 4rem;
  }

  .builder-popup {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .builder-popup-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
