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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1A1A1A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   VARIABLES
   ============================================ */
:root {
  --yellow: #FFCC00;
  --yellow-light: #FFE066;
  --yellow-dark: #E6B800;
  --black: #1A1A1A;
  --gray-dark: #2A2A2A;
  --gray-medium: #6B6B6B;
  --gray-light: #F4F4F4;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --header-height: 70px;
  --transition: 0.3s ease;
  --font-size: 16px;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TEXT HIGHLIGHT
   ============================================ */
.text-highlight {
  color: var(--yellow);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 8px;
  font-size: 1.2rem;
}

.header__logo-text {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.header__logo-tagline {
  display: none;
  font-size: 0.65rem;
  color: var(--gray-medium);
  font-weight: 400;
}

/* Toggle hamburger */
.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--black);
  padding: 100px 30px 30px;
  transition: right var(--transition);
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}

.header__nav.open {
  right: 0;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header__nav-link {
  display: block;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
  background: var(--yellow);
  color: var(--black);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255,204,0,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,204,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 700px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,204,0,0.15);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title-highlight {
  color: var(--yellow);
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 550px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   SECTION
   ============================================ */
.section {
  padding: 60px 0;
}

.section--light {
  background: var(--gray-light);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--gray-dark);
  color: var(--white);
}

.section--dark .section__title {
  color: var(--white);
}

.section--dark .section__tag {
  background: rgba(255,204,0,0.15);
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,204,0,0.15);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 15px;
}

.section__divider {
  width: 50px;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto;
  border-radius: 2px;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre__grid {
  display: grid;
  gap: 40px;
}

.sobre__content p {
  margin-bottom: 16px;
  color: var(--gray-medium);
  font-size: 1rem;
  line-height: 1.8;
}

.sobre__content strong {
  color: var(--black);
}

.sobre__stats {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.sobre__stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sobre__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
}

.sobre__stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-medium);
  font-weight: 500;
  margin-top: 4px;
}

/* Image */
.sobre__image-frame {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.sobre__image-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.sobre__image-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 300px;
  background: var(--gray-dark);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: 2px dashed var(--gray-medium);
}

.sobre__image-fallback i {
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 8px;
}

.sobre__image-sub {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-medium);
}

/* ============================================
   ATUAÇÃO
   ============================================ */
.atuacao__grid {
  display: grid;
  gap: 20px;
}

.atuacao__card {
  background: var(--gray-light);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
}

.atuacao__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--yellow);
}

.atuacao__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 1.4rem;
}

.atuacao__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.atuacao__card p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos__grid {
  display: grid;
  gap: 20px;
}

.servico__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.servico__card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.servico__card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.servico__card-header i {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-top: 2px;
  flex-shrink: 0;
}

.servico__card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.servico__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.servico__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.servico__list li i {
  color: var(--yellow);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais__grid {
  display: grid;
  gap: 20px;
}

.diferencial__card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.diferencial__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.diferencial__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 1.5rem;
}

.diferencial__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.diferencial__card p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  line-height: 1.6;
}

/* ============================================
   CONTATO
   ============================================ */
.contato__grid {
  display: grid;
  gap: 40px;
}

.contato__info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.contato__info > p {
  color: var(--gray-medium);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.contato__item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.contato__item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contato__item-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contato__item-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  transition: color var(--transition);
}

.contato__item-value:hover {
  color: var(--yellow-dark);
}

.contato__cta {
  margin-top: 28px;
}

/* Form */
.contato__form {
  background: var(--gray-light);
  padding: 30px;
  border-radius: var(--radius);
}

.contato__form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.form__group {
  margin-bottom: 18px;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--black);
  transition: border-color var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--yellow);
}

.form__group input.error,
.form__group textarea.error {
  border-color: #e74c3c;
}

.form__group .error-msg {
  display: none;
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 4px;
}

.form__group input.error + .error-msg,
.form__group textarea.error + .error-msg {
  display: block;
}

textarea {
  resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 50px 0 0;
}

.footer__inner {
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer__logo i {
  color: var(--yellow);
  font-size: 1.3rem;
}

.footer__brand p {
  color: var(--gray-medium);
  font-size: 0.85rem;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links ul,
.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer__contact li i {
  color: var(--yellow);
  font-size: 0.8rem;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-medium);
}

.footer__credit {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   ANIMATIONS (Intersection Observer)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .header__logo-tagline {
    display: block;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 80px 0;
  }

  .section__header {
    margin-bottom: 50px;
  }

  .section__title {
    font-size: 2.2rem;
  }

  .atuacao__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contato__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .header__toggle {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 4px;
  }

  .header__nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .section {
    padding: 100px 0;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .atuacao__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .servicos__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .diferenciais__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .sobre__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .sobre__stats {
    flex-wrap: nowrap;
  }

  .contato__form {
    padding: 40px;
  }
}
