﻿:root {
  --bg: #0b0b0d;
  --bg-alt: #121216;
  --surface: #17171d;
  --surface-2: #1f1f27;
  --line: #2b2b35;
  --text: #f3f3f6;
  --muted: #b4b4c0;
  --brand: #b30f22;
  --brand-strong: #ff0000;
  --brand-soft: rgba(227, 24, 55, 0.18);
  --danger: #e57474;
  --radius: 16px;
  --container: 1180px;
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.34);
  --shadow-strong: 0 20px 44px rgba(0, 0, 0, 0.48);
  --transition: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 90% -10%, rgba(227, 24, 55, 0.13), transparent 38%),
    radial-gradient(circle at -15% 8%, rgba(227, 24, 55, 0.08), transparent 30%),
    var(--bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 34px, var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(160, 0, 0, 0.98), rgba(255, 0, 0, 0.98));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(94, 0, 0, 0.32);
}

.nav {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(250px, 360px) 1fr auto;
  align-items: center;
  gap: 18px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 46px;
}

.header-search > svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: #d0d0d8;
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  min-height: 46px;
  padding: 11px 56px 11px 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(145deg, rgba(99, 0, 0, 0.38), rgba(255, 255, 255, 0.1));
  color: #fff;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(96, 0, 0, 0.14));
  box-shadow: 0 12px 26px rgba(75, 0, 0, 0.18);
  justify-self: start;
}

.brand img {
  height: 62px;
  width: auto;
}

.header-search-button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.16));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-search-button svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.menu {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.84);
  transition: all var(--transition);
}

.menu a:hover,
.menu a.active {
  color: #fff;
  background: rgba(111, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
}

.hero {
  min-height: calc(100vh - 90px);
  padding: 0;
  background-color: #0b0b0d;
  background-image: url("../logo/fundo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-solo {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 38px;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.92;
  animation: scrollFloat 1.9s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.92));
}

.scroll-arrow {
  width: 14px;
  height: 14px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.96);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.96);
  transform: rotate(45deg);
}

@keyframes scrollFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.tag {
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.76rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: #ffd8de;
  background: rgba(227, 24, 55, 0.2);
  border: 1px solid rgba(227, 24, 55, 0.34);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-bottom: 16px;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  margin-bottom: 12px;
  font-weight: 500;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-text,
.section-head p,
.card p,
.product-card p,
.story-text p,
.page-banner p,
.cart-info,
.footer p,
.footer a,
.footer li {
  color: var(--muted);
}

.hero-actions,
.cart-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  min-height: 47px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #9f1124, #e31837 70%, #ff4f69);
  box-shadow: 0 14px 28px rgba(179, 15, 34, 0.34);
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
}

.btn-neutral {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.16);
}

.hero-highlight {
  background: rgba(18, 18, 25, 0.9);
  border: 1px solid rgba(227, 24, 55, 0.24);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-strong);
}

.hero-highlight ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-highlight li + li {
  margin-top: 8px;
}

.section {
  padding: 82px 0;
}

.section-dark {
  background: linear-gradient(180deg, #101016 0%, #13131a 100%);
}

.coffee-menu-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 0, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #0c0c10 0%, #131319 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.cards-grid,
.products-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.products-grid {
  grid-template-columns: repeat(3, 1fr);
}

.coffee-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.coffee-menu-card {
  overflow: hidden;
  background: linear-gradient(145deg, #15151b, #1d1d25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.coffee-menu-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.coffee-menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.coffee-menu-card:hover .coffee-menu-image img {
  transform: scale(1.04);
}

.coffee-menu-content {
  padding: 20px 20px 22px;
}

.coffee-menu-content h3 {
  margin-bottom: 10px;
}

.coffee-menu-content p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.product-card,
.story-box,
.cart-box,
.article-card {
  background: linear-gradient(145deg, #17171d, #1d1d26);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.article-card {
  padding: 24px;
}

.product-card {
  padding: 18px;
  text-align: center;
}

.product-image-box {
  background: #111116;
  border: 1px solid #272735;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  min-height: 232px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  max-height: 206px;
  object-fit: contain;
}

.product-card .product-type {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #ffd8de;
  background: rgba(227, 24, 55, 0.14);
  font-weight: 600;
}

.product-card .btn {
  width: 100%;
  margin: 10px 0 14px;
}

.story-section {
  padding: 88px 0;
}

.story-box {
  background: transparent;
  border: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-image {
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 0, 0, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.story-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-banner {
  padding: 80px 0 44px;
  text-align: center;
  background:
    radial-gradient(circle at 70% 0%, rgba(227, 24, 55, 0.16), transparent 42%),
    linear-gradient(180deg, #111117 0%, #0d0d12 100%);
}

.products-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.products-main {
  display: grid;
  gap: 20px;
}

.machine-showcase {
  display: grid;
  gap: 22px;
}

.machine-section-copy {
  max-width: 760px;
}

.search-empty {
  display: none;
  padding: 18px;
  border: 1px solid #31313f;
  border-radius: 14px;
  background: #111116;
  color: var(--muted);
  text-align: center;
}

.search-empty.visible {
  display: block;
}

.machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cart-box {
  padding: 22px;
  position: sticky;
  top: 108px;
}

.cart-items {
  list-style: none;
  padding-left: 0;
  margin: 18px 0;
}

.cart-item,
.empty-cart {
  border: 1px solid #31313f;
  border-radius: 12px;
  padding: 12px;
  background: #111116;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.remove-item {
  border: 1px solid rgba(229, 116, 116, 0.45);
  color: #f6b5b5;
  background: rgba(229, 116, 116, 0.08);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #38384a;
  border-radius: 12px;
  padding: 11px 13px;
  background: #101016;
  color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(227, 24, 55, 0.84);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.18);
}

.error-message {
  color: var(--danger);
  min-height: 18px;
  font-size: 0.9rem;
}

.footer {
  margin-top: 24px;
  padding: 44px 0;
  background: #08080c;
  border-top: 1px solid #2a2a34;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 24px;
}

.footer h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a:hover,
.footer a:hover {
  color: #fff;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px) scale(1.02);
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: #ffffff;
  stroke: none;
}

.social-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.social-icon--whatsapp {
  background: linear-gradient(145deg, #2ee671, #11a84c);
}

.social-icon--facebook {
  background: linear-gradient(145deg, #3388ff, #1877f2);
}

.social-icon--instagram {
  background: linear-gradient(145deg, #feda75 0%, #fa7e1e 24%, #d62976 56%, #962fbf 78%, #4f5bd5 100%);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #29e06f, #12a84d);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 28px rgba(15, 66, 42, 0.34);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  stroke: none;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 1120px) {
  .hero-grid,
  .story-box,
  .products-layout,
  .cards-grid,
  .coffee-menu-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-box {
    position: static;
  }
}

@media (max-width: 880px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .header-search {
    margin-left: 12px;
  }

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

  .menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    padding: 14px 16px 18px;
    background: linear-gradient(180deg, #9e1327, #7f0e20);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
    flex-direction: column;
    align-items: flex-start;
  }

  .menu.open {
    display: flex;
  }
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .hero,
  .hero-solo {
    min-height: calc(78svh - 90px);
  }

  .hero {
    background-image: url("../logo/fundocelular.png");
    background-position: center top;
    background-size: cover;
  }

  .hero-solo {
    padding-bottom: 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .story-section,
  .page-banner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .brand img {
    height: 48px;
  }
}
