/*
Theme Name: OZIS Reparos
Theme URI: https://ozisreparos.lovable.app
Author: OZIS Reparos Eixos e Mancais
Description: Tema WordPress para OZIS Reparos - Recuperação de eixos e mancais no local.
Version: 1.0
Text Domain: ozis-reparos
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --bg: hsl(210, 20%, 98%);
  --fg: hsl(215, 25%, 10%);
  --primary: hsl(212, 80%, 42%);
  --primary-fg: hsl(0, 0%, 100%);
  --muted-fg: hsl(215, 10%, 45%);
  --border: hsl(214, 20%, 88%);
  --card: hsl(0, 0%, 100%);
  --industrial-dark: hsl(215, 30%, 8%);
  --industrial-dark-fg: hsl(0, 0%, 100%);
  --industrial-steel: hsl(215, 10%, 55%);
  --highlight: hsl(212, 90%, 55%);
  --radius: 0.5rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== UTILITIES ===== */
.section-padding { padding: 5rem 1rem; }
@media (min-width: 768px) { .section-padding { padding: 7rem 2rem; } }

.industrial-border { border-left: 4px solid var(--primary); padding-left: 1.5rem; }

.heading {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

.accent-bar {
  width: 5rem;
  height: 0.25rem;
  margin-bottom: 1.5rem;
}
.accent-bar--primary { background: var(--primary); }
.accent-bar--highlight { background: var(--highlight); }
.accent-bar--center { margin-left: auto; margin-right: auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsla(215, 30%, 8%, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
}
@media (min-width: 768px) { .navbar__inner { padding: 0 2rem; } }

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--industrial-dark-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.navbar__logo-accent { color: var(--highlight); }
.navbar__logo img { height: 2rem; width: 2rem; object-fit: contain; }

.navbar__links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.navbar__links a:hover { color: var(--highlight); }

.navbar__toggle {
  display: block;
  background: none;
  border: none;
  color: var(--industrial-dark-fg);
  font-size: 1.5rem;
  cursor: pointer;
}
@media (min-width: 768px) { .navbar__toggle { display: none; } }

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--industrial-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
}
.navbar__mobile.active { display: flex; }
.navbar__mobile a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 1.5rem;
  transition: color 0.2s;
}
.navbar__mobile a:hover { color: var(--highlight); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(215,30%,8%,0.95), hsla(215,30%,8%,0.8), hsla(215,30%,8%,0.6));
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 8rem 1rem;
}
@media (min-width: 768px) { .hero__content { padding: 8rem 2rem; } }

.hero__tagline {
  display: inline-block;
  color: var(--highlight);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--industrial-dark-fg);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }
.hero__title span { color: var(--highlight); }

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  max-width: 42rem;
}
@media (min-width: 768px) { .hero__subtitle { font-size: 1.25rem; } }

.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 42rem;
}
@media (min-width: 768px) { .hero__desc { font-size: 1.125rem; } }
.hero__desc strong { color: var(--highlight); }

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }

.hero__bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn--primary:hover { opacity: 0.9; }

.btn--outline {
  background: transparent;
  color: var(--industrial-dark-fg);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--highlight);
  color: var(--highlight);
}

.btn--whatsapp {
  background: hsl(142, 70%, 40%);
  color: white;
}
.btn--whatsapp:hover { background: hsl(142, 70%, 35%); }

.btn--submit {
  width: 100%;
  background: var(--primary);
  color: var(--primary-fg);
}

/* ===== ABOUT ===== */
.about { background: var(--bg); }
.about__inner { max-width: 56rem; margin: 0 auto; }
.about__title { font-size: 1.875rem; margin-bottom: 0.5rem; color: var(--fg); }
@media (min-width: 768px) { .about__title { font-size: 3rem; } }

.about__text { font-size: 1.125rem; color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about__text { font-size: 1.25rem; } }
.about__text strong { color: var(--fg); }

/* ===== SERVICES ===== */
.services { background: var(--industrial-dark); }
.services__header { text-align: center; margin-bottom: 4rem; }
.services__title { font-size: 1.875rem; color: var(--industrial-dark-fg); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .services__title { font-size: 3rem; } }
.services__subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.7); max-width: 42rem; margin: 0 auto; }
.services__subtitle strong { color: var(--highlight); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.services__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}
.services__card:hover { border-color: rgba(93,163,236,0.5); }
.services__card-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--highlight);
  margin-bottom: 1rem;
}
.services__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--industrial-dark-fg);
  font-weight: 600;
}

/* ===== DIFFERENTIALS ===== */
.differentials { background: var(--bg); }
.differentials__header { text-align: center; margin-bottom: 4rem; }
.differentials__title { font-size: 1.875rem; color: var(--fg); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .differentials__title { font-size: 3rem; } }

.differentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .differentials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .differentials__grid { grid-template-columns: repeat(3, 1fr); } }

.differentials__item { text-align: center; padding: 2rem; }
.differentials__icon {
  width: 4rem;
  height: 4rem;
  background: hsla(212, 80%, 42%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.differentials__icon svg { width: 2rem; height: 2rem; color: var(--primary); }
.differentials__item-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.differentials__item-desc { color: var(--muted-fg); }

/* ===== BEFORE/AFTER ===== */
.before-after { background: var(--industrial-dark); }
.before-after__header { text-align: center; margin-bottom: 4rem; }
.before-after__title { font-size: 1.875rem; color: var(--industrial-dark-fg); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .before-after__title { font-size: 3rem; } }
.before-after__subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 42rem; margin: 0 auto; }

.before-after__cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .before-after__cases { grid-template-columns: repeat(2, 1fr); } }

.before-after__case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.before-after__slot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.before-after__slot--after { border-color: rgba(93,163,236,0.3); }

.before-after__img {
  aspect-ratio: 1;
  overflow: hidden;
}
.before-after__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after__img--zoom img {
  transform: scale(1.8);
}
.before-after__label {
  padding: 0.75rem 0;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--industrial-steel);
}
.before-after__slot--after .before-after__label { color: var(--highlight); }

.before-after__note {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  margin-top: 2.5rem;
}

/* ===== SERVICE HOURS ===== */
.service-hours { background: var(--bg); }
.service-hours__header { text-align: center; margin-bottom: 4rem; }
.service-hours__title { font-size: 1.875rem; color: var(--fg); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .service-hours__title { font-size: 3rem; } }

.service-hours__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .service-hours__grid { grid-template-columns: repeat(3, 1fr); } }

.service-hours__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.service-hours__card--highlight {
  background: var(--primary);
  border-color: var(--primary);
}
.service-hours__card--highlight .service-hours__card-icon,
.service-hours__card--highlight .service-hours__card-title,
.service-hours__card--highlight .service-hours__card-value { color: white; }
.service-hours__card--highlight .service-hours__card-label { color: rgba(255,255,255,0.8); }

.service-hours__card-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}
.service-hours__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.service-hours__card-label { color: var(--muted-fg); }
.service-hours__card-value { color: var(--fg); font-weight: 600; font-size: 1.125rem; }

/* ===== CONTACT ===== */
.contact { background: var(--industrial-dark); }
.contact__header { text-align: center; margin-bottom: 4rem; }
.contact__title { font-size: 1.875rem; color: var(--industrial-dark-fg); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .contact__title { font-size: 3rem; } }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

.contact__info-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--industrial-dark-fg);
  font-weight: 700;
  margin-bottom: 2rem;
}
.contact__info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__info-item { display: flex; align-items: center; gap: 1rem; }
.contact__info-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(93,163,236,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__info-icon svg { width: 1.5rem; height: 1.5rem; color: var(--highlight); }
.contact__info-label { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.contact__info-value { color: white; font-weight: 600; font-size: 1.125rem; }

.contact__whatsapp-btn { margin-top: 2.5rem; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__input,
.contact__textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.contact__input::placeholder,
.contact__textarea::placeholder { color: rgba(255,255,255,0.3); }
.contact__input:focus,
.contact__textarea:focus { border-color: var(--highlight); }
.contact__textarea { resize: none; min-height: 6rem; }

.contact__success {
  background: rgba(93,163,236,0.1);
  border: 1px solid rgba(93,163,236,0.3);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.contact__success-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 0.75rem;
}
.contact__success-text { color: rgba(255,255,255,0.6); }

/* ===== FOOTER ===== */
.footer {
  background: var(--industrial-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 1rem;
  text-align: center;
}
.footer__text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
