/* ==========================================================================
   Uniprint Maceió — reset & design tokens
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;

  --primary: #f97015;
  --primary-foreground: #ffffff;

  --secondary: #fff3eb;
  --secondary-foreground: #f97015;

  --muted-foreground: #737373;

  --accent: #1a1a1a;
  --accent-foreground: #ffffff;

  --border: #e6e6e6;

  --gradient-primary: linear-gradient(135deg, #f97015 0%, #ff9933 100%);
  --gradient-subtle: linear-gradient(180deg, #ffffff 0%, #fff9f5 100%);

  --shadow-elegant: 0 4px 24px -2px rgba(249, 112, 21, 0.15);
  --shadow-glow: 0 0 40px rgba(249, 112, 21, 0.2);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

svg.icon { display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.75rem;
  padding: 0 2rem;
  transition: var(--transition-smooth);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}
.btn-primary:hover { background: rgba(249, 112, 21, 0.9); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(249, 112, 21, 0.6);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-lg { height: auto; padding: 1.1rem 2rem; font-size: 1.125rem; }
.btn-glow { box-shadow: var(--shadow-glow); }
.btn-full { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: var(--transition-smooth);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-elegant);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo-btn { display: flex; align-items: center; transition: opacity 0.2s; }
.logo-btn:hover { opacity: 0.8; }
.logo-img { height: 96px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop button {
  font-weight: 500;
  transition: color 0.2s;
}
.nav-desktop button:hover { color: var(--primary); }

.menu-toggle { color: var(--foreground); transition: color 0.2s; }
.menu-toggle:hover { color: var(--primary); }
.menu-toggle svg { width: 24px; height: 24px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  animation: fade-in 0.3s ease-out;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile button {
  text-align: left;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-mobile button:hover { color: var(--primary); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  background: url('images/hero-background.jpg') center / cover no-repeat;
  overflow: hidden;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  animation: fade-in 0.5s ease-out;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 300;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.hero-tagline {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; justify-content: center; }
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.stat p { color: var(--muted-foreground); }
.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
  pointer-events: none;
}

/* ==========================================================================
   Section shared styles
   ========================================================================== */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.divider { width: 6rem; height: 4px; background: var(--gradient-primary); margin: 0 auto 1.5rem; border-radius: 2px; }
.section-header p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 48rem; margin: 0 auto; }

.card {
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   About
   ========================================================================== */
.mission-card {
  border: 2px solid rgba(249, 112, 21, 0.2);
  box-shadow: var(--shadow-elegant);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .mission-card { padding: 3rem; } }
.mission-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.mission-card p { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
.mission-card p:last-child { margin-bottom: 0; }

.values-title { font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 3rem; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  border-color: rgba(249, 112, 21, 0.1);
  padding: 1.5rem;
  text-align: center;
}
.value-card:hover { border-color: rgba(249, 112, 21, 0.3); box-shadow: var(--shadow-elegant); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}
.icon-badge svg { width: 2rem; height: 2rem; }

.value-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.value-card p { color: var(--muted-foreground); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--gradient-subtle); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card { border-color: rgba(249, 112, 21, 0.1); padding: 1.5rem; }
.service-card:hover { border-color: rgba(249, 112, 21, 0.3); box-shadow: var(--shadow-elegant); }
.service-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.service-header .icon-badge { width: 3.5rem; height: 3.5rem; margin-bottom: 0; flex-shrink: 0; }
.service-header .icon-badge svg { width: 1.75rem; height: 1.75rem; }
.service-header h3 { font-size: 1.5rem; font-weight: 700; }
.service-card p.desc { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { display: flex; align-items: center; color: var(--muted-foreground); }
.feature-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-right: 0.75rem; flex-shrink: 0; }

.services-cta { text-align: center; }
.services-cta p { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { border-color: rgba(249, 112, 21, 0.1); padding: 1.5rem; }
.info-card:hover { border-color: rgba(249, 112, 21, 0.3); }
.info-card-inner { display: flex; align-items: flex-start; gap: 1rem; }
.info-card .icon-badge {
  width: 3rem; height: 3rem; margin-bottom: 0; flex-shrink: 0;
  background: var(--gradient-primary);
}
.info-card .icon-badge svg { width: 1.5rem; height: 1.5rem; }
.info-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.info-card a, .info-card p { color: var(--muted-foreground); transition: color 0.2s; }
.info-card a:hover { color: var(--primary); }

.social-card { border-color: rgba(249, 112, 21, 0.1); padding: 1.5rem; }
.social-card h3 { font-weight: 700; margin-bottom: 1rem; }
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth);
}
.social-link:hover { background: var(--secondary); border-color: var(--primary); }
.social-link svg { width: 1.25rem; height: 1.25rem; }

.contact-map { border-radius: 0.75rem; overflow: hidden; border: 2px solid rgba(249, 112, 21, 0.1); min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

.contact-cta { text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--accent); color: var(--accent-foreground); padding: 3rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-logo { height: 3rem; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-col p.desc { font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.footer-col h3 { font-weight: 700; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links button { color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.footer-links button:hover { color: var(--accent-foreground); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 1rem; }

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.2); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.footer-bottom p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.footer-bottom p.cnpj { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); margin-top: 0.5rem; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 40;
  width: 3.5rem; height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
  transition: background 0.3s;
}
.whatsapp-float:hover { background: #20BA5A; }
.whatsapp-float svg { width: 1.75rem; height: 1.75rem; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fade-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.animate-fade-in { animation: fade-in 0.5s ease-out; }
.animate-scale-in { animation: scale-in 0.3s ease-out backwards; }
