/* =======================
   VARIÁVEIS GLOBAIS
======================= */
:root {
  --rosa: #d98ca0;
  --rosa-forte: #c06c84;
  --rosa-claro: #f4e3e7;
  --branco: #ffffff;
  --cinza: #666;
}

/* =======================
   RESET GLOBAL
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* =======================
   HEADER
======================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #f5e8d8; /* bege elegante */
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
  background: #f5e8d8;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.container-header {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 90px;
  object-fit: contain;
}

.nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #5a4634;
  font-size: 14px;
  transition: 0.3s;
}

.nav a:hover {
color: #c9a24b; /* dourado */
}

.btn-header {
  background: #c9a24b;
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-header:hover {
    background: #b8933f;
  transform: scale(1.05);
  opacity: 0.9;
}


/* =========================
   TÍTULOS PADRÃO (ESTILO LOVABLE)
========================= */

.tag {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--rosa);
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* TÍTULO PRINCIPAL */
.titulo {
  font-size: 36px;
  font-weight: 600;
  color: #2b2b2b;
  line-height: 1.3;
}

/* PALAVRA EM DESTAQUE */
.titulo span {
  color: var(--rosa-forte);
  font-style: italic;
  font-weight: 500;
}

/* CENTRALIZAÇÃO */
.center {
  text-align: center;
}

/* ESPAÇAMENTO PADRÃO DAS SEÇÕES */
section h2 {
  margin-bottom: 20px;
}

.produtos .titulo {
  margin-bottom: 10px;
}

.produtos .tag {
  margin-bottom: 5px;
}


/* =======================
   HERO
======================= */
.hero {
  height: 100vh;
  background: url('../img/foto-confeitaria.jpeg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  margin: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

body {
  overflow-x: hidden;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: auto;
  color: white;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero h1 span {
  color: #f4a6b8;
  font-style: italic;
}

.sub {
  margin-top: 15px;
  max-width: 500px;
}

/* BOTÕES */
.hero-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn-primary,
.card button {
  background: var(--rosa);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline {
  border: 1px solid white;
  padding: 12px 22px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
}

.btn-primary:hover,
.card button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-primary:active,
.btn-header:active,
.btn-form:active {
  transform: scale(0.95);
}

/* =======================
   SOBRE
======================= */
.sobre {
  background: var(--rosa-claro);
  padding: 80px 20px;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.sobre-img img {
  width: 450px;
  border-radius: 16px;
}

.sobre-text {
  max-width: 500px;
}

/* =========================
   SOBRE - ESTILO PREMIUM (LOVABLE)
========================= */

.sobre {
  background: var(--rosa-claro);
  padding: 100px 20px;
}

.sobre-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

/* IMAGEM */
.sobre-img {
  position: relative;
}

.sobre-img img {
  width: 480px;
  border-radius: 20px;
  display: block;
}

/* BADGE */
.badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

.badge strong {
  color: var(--rosa);
  font-size: 20px;
  display: block;
}

.badge span {
  font-size: 12px;
  color: var(--cinza);
}

/* TEXTO */
.sobre-text {
  max-width: 520px;
}

.sobre-text .tag {
  color: var(--rosa);
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 10px;
}

.sobre-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.sobre-text h2 span {
  color: var(--rosa-forte);
  font-style: italic;
}

.sobre-text p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

/* ITENS (MISSÃO, VISÃO, VALORES) */
.info-box {
  margin-top: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.icon {
  background: #ffe6ec;
  color: var(--rosa);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.info-item h4 {
  margin-bottom: 5px;
  color: #333;
}

.info-item p {
  font-size: 14px;
  color: var(--cinza);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .sobre-content {
    flex-direction: column;
    text-align: center;
  }

  .sobre-img img {
    width: 100%;
  }

  .badge {
    right: 10px;
    bottom: -15px;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
  }
}

/* =======================
   GRID PADRÃO
======================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

/* CENTRALIZAÇÃO */
.center {
  text-align: center;
}

/* =======================
   PRODUTOS
======================= */
.produtos {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

/* =======================
   BNT FILTROS
======================= */

.filtros {
  margin: 30px 0 10px;
}

.filtros button {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  margin: 5px;
  background: #eee;
  cursor: pointer;
  transition: 0.3s;
}

.filtros button:hover {
  background: var(--rosa-claro);
}

.filtros button.active {
  background: var(--rosa);
  color: white;
}

/* CARD */
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
  transition: 0.4s;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  padding: 15px 15px 5px;
}

.card p {
  padding: 0 15px;
  flex-grow: 1;
}

.card button {
  margin: 15px;
  width: calc(100% - 30px);
}

.card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   DEPOIMENTOS
======================= */
.depoimentos {
  background: #f5f1f2;
  padding: 80px 20px;
  text-align: center;
}

.depoimento-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
}

/* =========================
   ENCOMENDAS - FORMULÁRIO PREMIUM
========================= */

.encomendas {
  background: var(--rosa-claro);
  padding: 100px 20px;
  text-align: center;
}

.encomendas .sub {
  max-width: 600px;
  margin: 10px auto 0;
  color: #666;
}

/* BOX DO FORM */
.form {
  background: #fff;
  padding: 35px;
  border-radius: 20px;
  margin-top: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* LINHAS */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* GRUPOS */
.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}

/* INPUTS */
.input-group input,
.input-group select,
.input-group textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
  background: #fafafa;
}

/* FOCUS (efeito lindo) */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--rosa);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,140,160,0.15);
}

/* TEXTAREA */
textarea {
  min-height: 120px;
  resize: none;
  margin-bottom: 20px;
}

/* BOTÃO */
.btn-form {
  width: 100%;
  background: var(--rosa);
  color: white;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-form:hover {
  background: var(--rosa-forte);
  transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

/* =======================
   GALERIA
======================= */
.galeria {
  padding: 80px 20px;
  text-align: center;
}

.galeria img {
  width: 100%;
  border-radius: 12px;
}

/* =======================
   ANIMAÇÕES
======================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   WHATSAPP FLUTUANTE
======================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float img {
  width: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float::after {
  content: "Fale conosco";
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  transition: 0.3s;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

/* =========================
   CONTATO
========================= */
.contato {
  padding: 80px 20px;
  background: #f7f3f4;
}

.contato-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
}

/* LADO ESQUERDO */
.contato-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon {
  width: 45px;
  height: 45px;
  background: #f4e3e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.info-item h4 {
  margin-bottom: 5px;
}

.info-item p {
  color: var(--cinza);
  font-size: 14px;
}

/* LADO DIREITO */
.contato-acoes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 350px;
}

/* BOTÃO WHATSAPP */
.btn-whatsapp {
  background: var(--rosa);
  color: white;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  background: var(--rosa-forte);
}

/* BOTÃO INSTAGRAM */
.btn-instagram {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #444;
  border: 1px solid #eee;
  transition: 0.3s;
}

.btn-instagram:hover {
  background: #f9f9f9;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #3b2f2f;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.footer p {
  font-size: 13px;
  color: #ccc;
}

.btn-whatsapp i,
.btn-instagram i {
  margin-right: 8px;
  font-size: 18px;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {
  .contato-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contato-acoes {
    width: 100%;
  }

.info-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
}

.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card img {
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* =======================
   RESPONSIVO
======================= */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .sobre-content {
    flex-direction: column;
  }
}

/* RESPONSIVO TITULOS*/ 
@media (max-width: 768px) {
  .titulo {
    font-size: 26px;
  }
}

/* =======================
   ANIMAÇÃO AO SCROLL (SUAVE E SEGURA)
======================= */

/* estado inicial */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* quando aparece */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* variações (opcional - deixa mais profissional) */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {

  .container-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo {
    text-align: center;
    font-size: 20px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav a {
    margin: 5px;
    font-size: 13px;
  }

  .btn-header {
    margin-top: 10px;
  }

    .logo img {
    height: 65px;
  }

}
