* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f3ede6;
  --surface: #fbf7f2;
  --text: #2f241d;
  --muted: #7a6b5d;
  --primary: #a78667;
  --primary-dark: #8f6d4f;
  --line: rgba(80, 56, 39, 0.14);
  --shadow: 0 18px 45px rgba(40, 28, 20, 0.12);
  --shadow-strong: 0 22px 50px rgba(40, 28, 20, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.05;
}

.container {
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
  width: 100%;
  gap: 20px;
}

.logo {
  margin: 0;
  font-size: 2.2rem;
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  color: var(--text);
  letter-spacing: 0.2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--primary-dark);
}

.nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("img/cozinhabackground.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 18, 14, 0.48) 0%,
    rgba(24, 18, 14, 0.28) 45%,
    rgba(24, 18, 14, 0.14) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 110px 0;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 241, 226, 0.82);
}

.hero h2 {
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero-subtitle {
  max-width: 430px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  background: rgba(95, 67, 48, 0.92);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(45, 31, 21, 0.22);
  backdrop-filter: blur(4px);
}

.btn:hover {
  background: rgba(76, 53, 38, 0.96);
  transform: translateY(-2px);
}

.hero .btn {
  min-height: 54px;
  padding: 0 34px;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
}

/* GALERIA */
.gallery-section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 40px;
}

.section-title span,
.minimal-content span {
  color: var(--primary);
}

.section-title h2,
.minimal-content h2,
.contact-box h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 24px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  background: #ddd;
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.card-large {
  grid-row: span 2;
}

.card-wide {
  grid-column: span 2;
}

/* SECAO MINIMAL */
.minimal-section {
  padding: 10px 0 90px;
}

.minimal-content {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 250, 244, 0.88);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

/* CONTATO */
.contact-section {
  padding: 0 0 90px;
}

.contact-box {
  background: #e9dfd3;
  color: var(--text);
  border-radius: 30px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-strong);
}

.contact-box span {
  color: var(--primary);
}

.contact-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-box .btn-outline {
  color: var(--text);
  border-color: rgba(80, 56, 39, 0.22);
}

.contact-box .btn-outline:hover {
  background: rgba(167, 134, 103, 0.12);
}

/* FOOTER */
.footer {
  background: #5f4330;
  padding: 80px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-label {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #d9b892;
}

.footer-brand h3 {
  font-size: 2.1rem;
  margin-bottom: 14px;
  color: #fffaf4;
}

.footer-column p,
.footer-column a {
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 244, 232, 0.82);
}

.footer-column a {
  margin-bottom: 4px;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  color: rgba(255, 244, 232, 0.62);
}

/* BOTOES FLUTUANTES */
.floating-social {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(40, 28, 20, 0.18);
  font-size: 1.4rem;
  transition: 0.3s ease;
}

.floating-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.floating-btn.whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
}

.floating-btn.instagram {
  background: #fffaf4;
  color: var(--text);
  border: 1px solid rgba(80, 56, 39, 0.14);
}

.floating-btn.instagram:hover {
  background: #f1e7dc;
  transform: translateY(-2px);
}

/* PAGINA SOBRE */
.about-story-section {
  padding: 90px 0;
}

.about-story-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.about-story-text {
  flex: 1;
  max-width: 620px;
}

.about-story-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
}

.about-story-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 24px;
  color: var(--text);
}

.about-story-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  margin-top: 12px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.about-story-button:hover {
  background: #2a2a2a;
}

.about-story-photo {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-story-photo img {
  width: 280px;
  max-width: 280px;
  height: auto;
  display: block;
}

.about-story-caption {
  width: 280px;
  margin-top: 18px;
  text-align: left;
}

.about-story-caption strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.about-story-caption span {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.about-story-caption p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* FALE CONOSCO */
.contact-page-section {
  padding: 90px 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.triage-chat-card,
.contact-team-card {
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.triage-chat-card {
  overflow: hidden;
}

.triage-chat-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: #f7efe6;
}

.triage-chat-header span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 6px;
}

.triage-chat-header strong {
  font-size: 1.05rem;
  color: var(--text);
}

.triage-chat-body {
  height: 320px;
  padding: 28px 24px;
  background: #fcf8f3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  overflow-y: auto;
}

.chat-message {
  display: flex;
  width: 100%;
}

.chat-message.bot {
  justify-content: flex-start;
}

.chat-message.bot p {
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f0e5d7;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.8;
  box-shadow: 0 8px 20px rgba(40, 28, 20, 0.06);
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user p {
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #6f4f34;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.8;
  box-shadow: 0 8px 20px rgba(40, 28, 20, 0.06);
}

.triage-chat-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  background: #fffaf5;
}

.triage-chat-footer input {
  flex: 1;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.triage-chat-footer input:focus {
  border-color: var(--primary);
}

.triage-chat-footer button {
  min-width: 110px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: #6f4f34;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.triage-chat-footer button:hover {
  background: #5d412a;
}

.contact-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.team-card {
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #efe4d7, #e3d4c3);
  color: #8f6d4f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.team-card-caption {
  padding: 16px 18px;
  background: #fffaf5;
}

.team-card-caption strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-caption span {
  display: block;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

/* TABLET */
@media (max-width: 980px) {
  .header-content {
    min-height: auto;
    padding: 18px 0;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.9rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 90px 0;
    max-width: 100%;
  }

  .hero h2 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-large,
  .card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .about-story-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-story-text {
    max-width: 100%;
  }

  .about-story-photo {
    flex: none;
    width: 100%;
    align-items: center;
  }

  .about-story-photo img {
    width: 280px;
    max-width: 280px;
  }

  .about-story-caption {
    width: 280px;
    text-align: left;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .triage-chat-body {
    height: 340px;
  }
}

/* CELULAR */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: auto;
    padding: 14px 0;
  }

  .logo {
    font-size: 1.55rem;
    white-space: normal;
    line-height: 1.08;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: 58vh;
    background-position: center;
  }

  .hero-content {
    padding: 68px 0;
    max-width: 100%;
  }

  .hero-tag {
    margin-bottom: 14px;
    letter-spacing: 2.4px;
    font-size: 0.68rem;
  }

  .hero h2 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    line-height: 1;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .minimal-section {
    padding: 10px 0 56px;
  }

  .minimal-content {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .minimal-content h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    line-height: 1.08;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 18px;
  }

  .about-story-section {
    padding: 56px 0;
  }

  .about-story-text h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .about-story-text p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .about-story-photo img,
  .about-story-caption {
    width: 100%;
    max-width: 280px;
  }

  .contact-page-section {
    padding: 56px 0;
  }

  .triage-chat-card {
    border-radius: 22px;
  }

  .triage-chat-header {
    padding: 18px;
  }

  .triage-chat-header strong {
    font-size: 1rem;
  }

  .triage-chat-body {
    height: 300px;
    padding: 18px 16px;
    gap: 12px;
  }

  .chat-message.bot p,
  .chat-message.user p {
    max-width: 88%;
    padding: 14px 16px;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .triage-chat-footer {
    padding: 14px 16px;
    gap: 8px;
  }

  .triage-chat-footer input {
    height: 46px;
    min-width: 0;
    font-size: 0.92rem;
  }

  .triage-chat-footer button {
    min-width: 82px;
    width: auto;
    height: 46px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .contact-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-card-placeholder,
  .team-card img {
    height: 220px;
  }

  .team-card-caption {
    padding: 14px 16px;
  }

  .contact-box {
    padding: 30px 22px;
  }

  .contact-links {
    width: 100%;
  }

  .contact-links .btn {
    width: 100%;
  }

  .footer {
    padding: 56px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand h3 {
    font-size: 1.8rem;
  }

  .footer-column p,
  .footer-column a {
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .floating-social {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
