/* ========================================
   ARTE DOCE — Premium Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --bg: #FAF8F5;
  --bg-alt: #F3EDE6;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --gold-dark: #A8884F;
  --brown: #3D2B1F;
  --brown-light: #5C4033;
  --cream: #FFF9F0;
  --white: #FFFFFF;
  --overlay: rgba(30, 18, 10, 0.55);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --max-w: 1200px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--brown);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; color: var(--brown); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.section-title { margin-bottom: 20px; }

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--brown-light);
  font-weight: 400;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,162,101,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp svg, .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(61,43,31,0.06);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.logo span { color: var(--gold); }
.header.scrolled .logo { color: var(--brown); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold-light); }
.header.scrolled .nav-links a { color: var(--brown-light); }
.header.scrolled .nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--brown); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/capa%20do%20site.jpg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,18,10,0.4) 0%, rgba(30,18,10,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ========================================
   SECTIONS
   ======================================== */
section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   EXPERIENCE / ABOUT
   ======================================== */
.experience-text {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--brown-light);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--gold);
}

.pillar h3 { margin-bottom: 12px; }

.pillar p {
  font-size: 0.92rem;
  color: var(--brown-light);
  line-height: 1.7;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

/* ========================================
   GALLERY
   ======================================== */
.doces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}

.doce-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
  transition: all var(--transition);
}
.doce-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(61,43,31,0.12);
}

.doce-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.doce-card:hover img { transform: scale(1.05); }

.doce-info { padding: 20px 24px; }
.doce-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.doce-info p {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--brown-light);
  font-style: italic;
}

.badge-popular {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  font-weight: 700;
  z-index: 2;
}

.doce-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.doce-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  color: var(--gold-dark);
  background: rgba(196, 162, 101, 0.1);
  border: 1px solid rgba(196, 162, 101, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 400;
  font-family: var(--font-body);
}

/* ========================================
   CAIXAS
   ======================================== */
.caixas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 50px 0 40px;
}

.caixa-card {
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
  transition: all var(--transition);
}
.caixa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(61,43,31,0.12);
}
.caixa-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.caixa-info {
  padding: 24px;
}
.caixa-info h3 { margin-bottom: 8px; }
.caixa-info p {
  font-size: 0.92rem;
  color: var(--brown-light);
  margin-bottom: 16px;
}
.caixa-detail {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.caixas-grid-5 {
  grid-template-columns: repeat(3, 1fr);
}
.caixas-grid-5 .caixa-card:nth-child(4),
.caixas-grid-5 .caixa-card:nth-child(5) {
  max-width: 100%;
}

/* ========================================
   OBJECTION SECTION
   ======================================== */
.objection {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}
.objection h2 {
  color: var(--gold-light);
  font-style: italic;
}
.objection .gold-line { background: var(--gold-light); }
.objection-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}
.objection-quote {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-light);
  margin-top: 32px;
  display: block;
}

/* ========================================
   DATAS ESPECIAIS
   ======================================== */
.datas-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.datas-content .datas-image {
  width: 100%;
  max-width: 800px;
}
.datas-image {
  border-radius: 6px;
  overflow: hidden;
}
.datas-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.datas-list { display: flex; flex-direction: column; gap: 24px; }
.data-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.data-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
}
.data-item h3 { margin-bottom: 4px; font-size: 1.1rem; }
.data-item p { font-size: 0.9rem; color: var(--brown-light); }

/* ========================================
   FIOS DE OVOS
   ======================================== */
.fios-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 50px;
}
.fios-image {
  border-radius: 6px;
  overflow: hidden;
}
.fios-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.fios-text p {
  font-size: 1.05rem;
  color: var(--brown-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.fios-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}
.fios-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--brown-light);
}
.fios-feature svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ========================================
   SOCIAL PROOF
   ======================================== */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.review-score { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.google-badge {
  font-size: 0.75rem;
  color: var(--brown-light);
  margin-bottom: 48px;
}

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

.review-card {
  background: var(--white);
  padding: 32px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(61,43,31,0.06);
}
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.review-text {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown);
}

/* ========================================
   INSTAGRAM
   ======================================== */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 50px;
}
.insta-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.insta-item:hover img { transform: scale(1.1); }
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(196,162,101,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-overlay svg { width: 28px; height: 28px; color: var(--white); }

.insta-link {
  text-align: center;
  margin-top: 32px;
}
.insta-link a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  transition: color var(--transition);
}
.insta-link a:hover { color: var(--gold-dark); }

/* ========================================
   LOCATION
   ======================================== */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 50px;
}
.map-container {
  border-radius: 6px;
  overflow: hidden;
  height: 400px;
  background: var(--bg-alt);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.location-info h3 { margin-bottom: 24px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.info-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.info-item p { font-size: 0.95rem; color: var(--brown-light); }
.info-item strong { color: var(--brown); font-weight: 700; display: block; margin-bottom: 2px; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
  background: linear-gradient(135deg, var(--brown) 0%, #2A1A10 100%);
  text-align: center;
  padding: 100px 0;
}
.cta-final h2 {
  color: var(--gold-light);
  margin-bottom: 16px;
}
.cta-final .section-subtitle {
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}
.cta-final .gold-line { background: var(--gold-light); margin-bottom: 32px; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #1A0F08;
  padding: 48px 0;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196,162,101,0.3);
  border-radius: 50%;
  color: var(--gold);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  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.35);
  transition: all var(--transition);
  opacity: 0;
  transform: scale(0.8);
}
.whatsapp-float.visible { opacity: 1; transform: scale(1); }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(30,18,10,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--white);
}

/* ========================================
   PLACEHOLDER IMAGES
   ======================================== */
.placeholder-img {
  width: 100%;
  aspect-ratio: 1;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-rect {
  aspect-ratio: 4/3;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .doces-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .caixas-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .fios-content { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .location-content { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .doces-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  section { padding: 56px 0; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
