/*
Theme Name: Lavitta in Armonia
Description: Tema WordPress para a landing page Lavitta
Version: 1.0
Author: Manus
*/

/* ============================================================
   CSS VARIABLES — Paleta de cores Lavitta
============================================================ */
:root {
  --background:        #FDFBF7;
  --foreground:        #2C1810;
  --card:              #FFF8F3;
  --secondary:         #E8DCC8;
  --muted-foreground:  #6B5344;
  --accent:            #D2691E;
  --accent-foreground: #FFF8F3;
  --border:            #E8DCC8;
  --radius:            0.75rem;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; max-width: 1280px; } }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background-color: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.btn-primary:hover { background-color: #b85a18; border-color: #b85a18; }
.btn-outline { background-color: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background-color: rgba(210,105,30,0.1); }
.btn-full { width: 100%; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: rgba(253,251,247,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.nav-logo img { height: 3.5rem; width: auto;  }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links button { font-size: 0.875rem; font-weight: 500; color: var(--foreground); transition: color 0.2s; }
.nav-links button:hover { color: var(--accent); }

.nav-hamburger { display: flex; flex-direction: column; gap: 0.375rem; padding: 0.5rem; cursor: pointer; }
@media (min-width: 768px) { .nav-hamburger { display: none; } }
.nav-hamburger span { display: block; width: 1.5rem; height: 2px; background-color: var(--foreground); transition: transform 0.25s, opacity 0.25s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; border-top: 1px solid var(--border); background-color: rgba(253,251,247,0.97); }
.mobile-menu.open { display: block; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu-inner { padding: 1rem 0; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu button { text-align: left; padding: 0.5rem 0; font-size: 1rem; color: var(--foreground); transition: color 0.2s; }
.mobile-menu button:hover { color: var(--accent); }

/* ============================================================
   HERO
============================================================ */
.hero { position: relative; padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 8rem 0; } }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(232,220,200,0.2) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .hero-inner { grid-template-columns: 1fr 1fr; } }
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.hero-title { font-size: 3rem; font-weight: 700; color: var(--foreground); line-height: 1.1; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
.hero-title span { display: block; color: var(--accent); }
.hero-description { font-size: 1.125rem; color: rgba(44,24,16,0.8); line-height: 1.75; max-width: 28rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
@media (min-width: 480px) { .hero-actions { flex-direction: row; } }
.hero-image { display: none; justify-content: center; }
@media (min-width: 768px) { .hero-image { display: flex; } }
.hero-image img { width: 100%; max-width: 28rem; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* ============================================================
   SECTION COMMONS
============================================================ */
.section-eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-subtitle { color: rgba(44,24,16,0.7); margin-top: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVIÇOS
============================================================ */
.services { padding: 5rem 0; background-color: var(--card); }
@media (min-width: 768px) { .services { padding: 8rem 0; } }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card { background-color: var(--background); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s, box-shadow 0.3s; }
.service-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(210,105,30,0.12); }
.service-card-img { height: 12rem; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 2rem; }
.service-icon { width: 3rem; height: 3rem; background-color: rgba(210,105,30,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: background-color 0.3s; }
.service-card:hover .service-icon { background-color: rgba(210,105,30,0.2); }
.service-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--accent); }
.service-card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--foreground); }
.service-card-text { color: rgba(44,24,16,0.7); line-height: 1.75; }

/* ============================================================
   SOBRE
============================================================ */
.about { padding: 5rem 0; background-color: var(--background); }
@media (min-width: 768px) { .about { padding: 8rem 0; } }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img { display: none; }
@media (min-width: 768px) { .about-img { display: block; } }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(44,24,16,0.12); }
.about-content { display: flex; flex-direction: column; gap: 1.5rem; }
.about-description { font-size: 1.125rem; color: rgba(44,24,16,0.8); line-height: 1.75; }
.about-features { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.about-feature { display: flex; gap: 1rem; }
.about-feature-bar { width: 4px; min-height: 100%; background-color: var(--accent); border-radius: 9999px; flex-shrink: 0; }
.about-feature-title { font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
.about-feature-text { color: rgba(44,24,16,0.7); font-size: 0.9375rem; }
.about-stats { background: linear-gradient(135deg, rgba(210,105,30,0.1), rgba(232,220,200,0.1)); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.about-stats-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.25rem; font-weight: 700; color: var(--accent); font-family: 'Cormorant Garamond', serif; }
.stat-label { color: rgba(44,24,16,0.7); margin-top: 0.5rem; font-size: 0.9375rem; }
.stat-title { font-size: 1.5rem; font-weight: 700; color: var(--foreground); font-family: 'Cormorant Garamond', serif; }
.divider { height: 1px; background-color: var(--border); }

/* ============================================================
   CONTATO
============================================================ */
.contact { padding: 5rem 0; background-color: var(--card); }
@media (min-width: 768px) { .contact { padding: 8rem 0; } }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3,1fr); } }
.contact-card { display: block; background-color: var(--background); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); transition: border-color 0.3s, box-shadow 0.3s; text-decoration: none; color: inherit; }
.contact-card:hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(210,105,30,0.12); }
.contact-icon { width: 3rem; height: 3rem; background-color: rgba(210,105,30,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: background-color 0.3s; }
.contact-card:hover .contact-icon { background-color: rgba(210,105,30,0.2); }
.contact-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--accent); }
.contact-label { font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.contact-value { color: var(--accent); font-weight: 500; }
.contact-hint { color: rgba(44,24,16,0.6); font-size: 0.875rem; margin-top: 0.5rem; }
.location-card { background-color: var(--background); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.location-inner { display: flex; gap: 1rem; }
.location-icon { width: 3rem; height: 3rem; background-color: rgba(210,105,30,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.location-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--accent); }
.location-label { font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.location-address { color: rgba(44,24,16,0.8); line-height: 1.75; }
.location-hint { color: rgba(44,24,16,0.6); font-size: 0.875rem; margin-top: 0.5rem; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background-color: var(--foreground); color: var(--background); padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3,1fr); } }
.footer-logo img { height: 4rem; width: auto; margin-bottom: 1rem;  }
.footer-tagline { color: rgba(253,251,247,0.8); font-size: 0.875rem; }
.footer-heading { font-weight: 600; margin-bottom: 1rem; color: #FDFBF7; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links button { font-size: 0.875rem; color: rgba(253,251,247,0.8); text-align: left; transition: color 0.2s; }
.footer-links button:hover { color: #FDFBF7; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(253,251,247,0.8); font-size: 0.875rem; transition: color 0.2s; }
.footer-social a:hover { color: #FDFBF7; }
.footer-social svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; }
.footer-bottom { border-top: 1px solid rgba(253,251,247,0.2); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: rgba(253,251,247,0.7); }

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  width: 3.5rem; height: 3.5rem; background-color: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 2rem; height: 2rem; fill: #fff; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   POSTS CAROUSEL
============================================================ */
.posts-carousel-section { padding: 5rem 0; background-color: var(--background); }
.swiper { width: 100%; padding: 2rem 0 4rem !important; }
.post-card { 
    background: var(--card); 
    border-radius: var(--radius); 
    overflow: hidden; 
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-card-img { height: 15rem; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.post-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--foreground); }
.post-card-excerpt { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.post-card-link { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 0.875rem; }

.swiper-button-next, .swiper-button-prev { color: var(--accent) !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }
