/*
Theme Name: ARTEC Climatização
Theme URI: https://artecclimatizacao.com
Author: x
Description: Tema personalizado para ARTEC Climatização - Especialistas em climatização corporativa no Ceará
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: artec
*/

/* ===== Reset & Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --artec-navy: #0b1a5e;
  --artec-petrol: #005580;
  --artec-blue: #007a9e;
  --artec-cyan: #009ec3;
  --white: #ffffff;
  --muted-bg: #f5f7fa;
  --muted-text: #6b7a99;
  --border-color: #e2e8f0;
  --shadow-soft: 0 4px 20px rgba(11, 26, 94, 0.08);
  --shadow-medium: 0 8px 30px rgba(11, 26, 94, 0.12);
  --shadow-strong: 0 12px 40px rgba(11, 26, 94, 0.18);
  --gradient-primary: linear-gradient(90deg, #0b1a5e, #009ec3);
  --gradient-hero: linear-gradient(135deg, rgba(11,26,94,0.95), rgba(0,85,128,0.9));
  --gradient-card: linear-gradient(135deg, rgba(0,122,158,0.1), rgba(0,158,195,0.05));
  --radius: 0.75rem;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--artec-navy);
  background: var(--white);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

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

.site-header .logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--artec-navy);
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--artec-cyan);
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

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

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--artec-navy);
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-nav.open { display: flex; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
}

.mobile-nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--artec-navy);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 2rem;
}

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

.hero-buttons .btn-primary {
  background: var(--artec-cyan);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: var(--shadow-strong);
}

.hero-buttons .btn-outline {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  animation: bounce 2s infinite;
  z-index: 1;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== About ===== */
.about {
  padding: 5rem 0;
  background: var(--muted-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--artec-navy);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-text);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.award-badge {
  background: var(--gradient-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.award-badge h4 {
  margin-bottom: 0.5rem;
}

.award-badge p {
  font-size: 0.875rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: box-shadow 0.3s;
}

.stat-card:hover {
  box-shadow: var(--shadow-medium);
}

.stat-card .icon {
  color: var(--artec-cyan);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.stat-card .value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 0.875rem;
  color: var(--muted-text);
}

/* ===== Services ===== */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-medium);
}

.service-card .icon-box {
  background: var(--gradient-card);
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--artec-cyan);
  font-size: 2rem;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .icon-box {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted-text);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

.services-cta a {
  color: var(--artec-cyan);
  font-weight: 600;
  font-size: 1.125rem;
  transition: color 0.3s;
}

.services-cta a:hover {
  color: rgba(0,158,195,0.8);
}

/* ===== Clients ===== */
.clients {
  padding: 5rem 0;
  background: var(--muted-bg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
}

.client-type {
  text-align: center;
}

.client-type .icon-circle {
  background: var(--gradient-card);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid var(--border-color);
  color: var(--artec-cyan);
  font-size: 2.25rem;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.client-type .icon-circle:hover {
  transform: scale(1.1);
}

.client-type h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.client-type p {
  font-size: 0.875rem;
  color: var(--muted-text);
}

.partnership-badge {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.partnership-badge h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.partnership-badge p {
  color: var(--muted-text);
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 0;
  background: var(--muted-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon-box {
  background: var(--gradient-card);
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  color: var(--artec-cyan);
  flex-shrink: 0;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--muted-text);
}

.contact-item .hours {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  background: var(--white);
  transition: border-color 0.3s;
}

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

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer .logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-contact h3,
.footer-social h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

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

.social-links a {
  background: rgba(255,255,255,0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer-bottom .credits {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 0.5rem;
}
