/*
Theme Name: Bicho PÃ£o
Theme URI: https://bichopao.com.br
Author: Bicho PÃ£o
Author URI: https://bichopao.com.br
Description: Tema moderno e acolhedor para padaria artesanal Bicho PÃ£o
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bichopao
*/

/* ========================================
   VariÃ¡veis CSS - Design System
======================================== */
:root {
  /* Warm bakery color palette */
  --background: hsl(35, 25%, 97%);
  --foreground: hsl(25, 25%, 15%);
  
  /* Primary - warm brown */
  --primary: hsl(25, 45%, 35%);
  --primary-foreground: hsl(35, 25%, 97%);
  
  /* Secondary - soft beige/cream */
  --secondary: hsl(35, 30%, 88%);
  --secondary-foreground: hsl(25, 45%, 35%);
  
  /* Accent - golden orange */
  --accent: hsl(30, 65%, 55%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  /* Custom tokens */
  --warm-cream: hsl(35, 40%, 95%);
  --toast-crust: hsl(30, 50%, 45%);
  --coffee-dark: hsl(25, 35%, 25%);
  
  --radius: 1rem;
}

/* ========================================
   Reset e Base
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--coffee-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.2);
}

.btn-cta {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-cta:hover {
  background-color: var(--toast-crust);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Layout
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 900px;
  padding: 2rem;
}

.hero-logo {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.5rem);
  opacity: 0.95;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ========================================
   Units Section
======================================== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.unit-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.15);
}

.unit-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.unit-address {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ========================================
   About Section
======================================== */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--foreground);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   Products Section
======================================== */
.products-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.product-note {
  background: var(--warm-cream);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--coffee-dark);
}

/* ========================================
   Partners Section
======================================== */
.partners-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.partners-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.partners-content h2,
.partners-content p {
  color: white;
}

/* ========================================
   Contact Form
======================================== */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--secondary);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background-color: var(--coffee-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
  .product-card {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}