:root {
  --color-cocoa: #3d211b;
  --color-chocolate: #5b3028;
  --color-wine: #6f2431;
  --color-raspberry: #a83b48;
  --color-gold: #bd9b5f;
  --color-sage: #6f7f62;
  --color-cream: #fbf4e7;
  --color-blush: #f8e4df;
  --color-white: #fffaf3;
  --color-ink: #241814;
  --shadow-soft: 0 18px 55px rgba(61, 33, 27, 0.12);
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid rgba(111, 36, 49, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(189, 155, 95, 0.45);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #4c3832;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(168, 59, 72, 0.1);
  color: var(--color-wine);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(111, 36, 49, 0.2);
  border-radius: 6px;
  background: var(--color-white);
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--color-wine);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 82svh;
  padding: 72px 0 96px;
  overflow: hidden;
  color: #fffaf3;
  background:
    linear-gradient(90deg, rgba(36, 24, 20, 0.88) 0%, rgba(61, 33, 27, 0.68) 38%, rgba(61, 33, 27, 0.2) 70%),
    url("assets/hero-confeitaria.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(0deg, rgba(36, 24, 20, 0.42), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 243, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button--primary {
  background: var(--color-wine);
  color: #fff;
  box-shadow: 0 12px 30px rgba(111, 36, 49, 0.28);
}

.button--secondary {
  background: rgba(255, 250, 243, 0.12);
  border-color: rgba(255, 250, 243, 0.42);
  color: #fffaf3;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.intro-strip {
  background: var(--color-wine);
  color: #fff7ef;
}

.intro-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.intro-strip p {
  min-height: 116px;
  margin: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.intro-strip strong {
  display: block;
  color: #ffe3b0;
  font-size: 1.02rem;
}

.section {
  padding: 90px 0;
}

.section--light {
  background: var(--color-white);
}

.section--cream {
  background: var(--color-cream);
}

.section--event {
  background: #f4deda;
}

.section__header {
  max-width: 760px;
  margin-bottom: 38px;
}

.section__header--narrow {
  max-width: 560px;
  margin-bottom: 0;
}

.section h2,
.contact-section h2 {
  color: var(--color-cocoa);
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.section__header p:not(.eyebrow),
.event-copy p,
.contact-section p {
  color: #59443c;
  font-size: 1.06rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  min-height: 246px;
  padding: 24px;
  border: 1px solid rgba(111, 36, 49, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.product-card__tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(111, 127, 98, 0.14);
  color: #4e6044;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3,
.season-list h3 {
  margin: 0 0 12px;
  color: var(--color-wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.12;
}

.product-card p,
.season-list p {
  margin: 0;
  color: #5e4941;
}

.event-layout,
.seasonal-layout,
.order-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.event-copy {
  max-width: 590px;
}

.event-copy h2 {
  max-width: 650px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-wine);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(111, 36, 49, 0.35);
  text-underline-offset: 5px;
}

.event-panel {
  display: grid;
  gap: 14px;
}

.event-panel div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-left: 4px solid var(--color-wine);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.84);
}

.event-panel span {
  color: var(--color-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-panel p {
  margin: 0;
  color: #513b35;
}

.seasonal-layout {
  align-items: start;
}

.season-list {
  display: grid;
  gap: 14px;
}

.season-list article {
  padding: 22px 0 22px 22px;
  border-left: 3px solid var(--color-gold);
}

.order-layout {
  align-items: start;
}

.order-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.order-steps li {
  position: relative;
  min-height: 96px;
  padding: 22px 22px 22px 82px;
  border: 1px solid rgba(111, 36, 49, 0.12);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(61, 33, 27, 0.08);
  counter-increment: steps;
}

.order-steps li::before {
  content: counter(steps);
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-wine);
  color: #fff;
  font-weight: 900;
}

.order-steps strong {
  display: block;
  color: var(--color-cocoa);
  font-size: 1.05rem;
}

.order-steps span {
  display: block;
  margin-top: 4px;
  color: #5e4941;
}

.contact-section {
  padding: 88px 0;
  background: var(--color-cocoa);
  color: #fff8ee;
}

.contact-section .eyebrow {
  color: #f2cb8c;
}

.contact-section h2 {
  color: #fff8ee;
}

.contact-section p {
  color: rgba(255, 248, 238, 0.76);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 248, 238, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
}

.contact-card a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 248, 238, 0.15);
  color: #fff8ee;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card a:last-child {
  border-bottom: 0;
}

.site-footer {
  background: #251511;
  color: rgba(255, 248, 238, 0.75);
}

.site-footer__content {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.95rem;
}

.site-footer__content span {
  min-width: 0;
}

.site-footer a {
  flex: 0 0 auto;
  color: #f2cb8c;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 6px;
  background: #1b7f4b;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(27, 127, 75, 0.26);
}

@media (max-width: 920px) {
  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(111, 36, 49, 0.14);
    border-radius: 8px;
    background: #fffaf3;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    min-height: 78svh;
    padding: 62px 0 78px;
    background:
      linear-gradient(180deg, rgba(36, 24, 20, 0.88) 0%, rgba(61, 33, 27, 0.7) 56%, rgba(61, 33, 27, 0.34) 100%),
      url("assets/hero-confeitaria.png") 66% center / cover no-repeat;
  }

  .intro-strip__grid,
  .product-grid,
  .event-layout,
  .seasonal-layout,
  .order-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    gap: 14px;
  }

  .event-layout,
  .seasonal-layout,
  .order-layout,
  .contact-layout {
    gap: 32px;
  }

  .section {
    padding: 68px 0;
  }

  .section__header--narrow {
    max-width: none;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .brand span {
    max-width: 11ch;
    line-height: 1.05;
  }

  .hero {
    min-height: 76svh;
    padding: 48px 0 70px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.7rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro-strip p {
    min-height: auto;
    padding: 20px;
  }

  .product-card,
  .event-panel div,
  .order-steps li,
  .contact-card {
    padding: 20px;
  }

  .event-panel div {
    grid-template-columns: 46px 1fr;
  }

  .order-steps li {
    padding-left: 72px;
  }

  .site-footer__content {
    min-height: 64px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.84rem;
  }

  .site-footer__content span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .floating-whatsapp {
    display: none;
  }
}
