/* ============================================
   Delícias da Kota - Clone
   CSS3 puro, responsivo, otimizado
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #7a1f2e;
  --primary-dark: #5c1522;
  --primary-light: #f8e8eb;
  --accent: #c45c6a;
  --green: #2e7d32;
  --green-hover: #1b5e20;
  --dark: #1a1a1a;
  --gray: #5a5a5a;
  --gray-light: #f5f5f5;
  --border: #e8e8e8;
  --white: #ffffff;
  --pink-bg: #fff0f3;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
  --header-h: 78px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-desktop a {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 480px;
  background: #2a2a2a url('../img/hero-kitchen.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 60px 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(122, 31, 46, 0.35);
}

.btn-green {
  background: var(--green);
  color: white;
}

.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--dark);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--pink-bg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 40px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Chef / Sobre */
.chef-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.chef-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chef-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
}

.chef-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.chef-text p {
  margin-bottom: 14px;
}

.stat-box {
  display: inline-flex;
  flex-direction: column;
  margin-top: 20px;
  padding: 16px 24px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.stat-box .number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-box .label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 4px;
}

/* Produtos grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-body p {
  font-size: 0.92rem;
  color: var(--gray);
  flex: 1;
  margin-bottom: 16px;
}

.product-body .btn {
  align-self: flex-start;
  padding: 9px 20px;
  font-size: 14px;
}

/* Newsletter */
.newsletter {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.newsletter form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter input:focus {
  border-color: var(--primary);
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 31, 46, 0.12);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* Página interna hero */
.page-hero {
  padding: 56px 0 32px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Menu preços (produtos page) */
.menu-list {
  max-width: 640px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.menu-item:last-child { border-bottom: none; }

.menu-item .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}

.menu-item .desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 2px;
}

.menu-item .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
  white-space: nowrap;
}

/* Depoimentos */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  background: var(--pink-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-card .stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 14px;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--gray);
  font-style: italic;
}

/* Receitas card */
.recipe-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.recipe-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.recipe-body {
  padding: 28px 28px 32px;
}

.recipe-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.recipe-meta {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 10px;
  max-width: 280px;
  opacity: 0.85;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.3);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f8bbd0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .chef-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chef-img img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .hero {
    min-height: 420px;
  }

  .section { padding: 56px 0; }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
