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

:root {
  --orange: #ff6b00;
  --orange-light: #ff8533;
  --orange-dark: #e05e00;
  --orange-glow: rgba(255, 107, 0, 0.25);
  --black: #0a0a0a;
  --black-light: #141414;
  --black-card: #1a1a1a;
  --gray: #a0a0a0;
  --gray-dark: #666;
  --white: #f5f5f5;
  --border: #2a2a2a;
  --error: #ff4444;
  --success: #22c55e;
  --font: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --transition: 0.25s ease;
  --focus-ring: 0 0 0 3px var(--orange-glow);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.text-orange {
  color: var(--orange);
}

/* Skip link — acessibilidade */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, var(--orange-glow) 0%, transparent 60%);
}

.hero__logo {
  width: auto;
  height: 220px;
  max-width: 480px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(255, 107, 0, 0.25));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__tag {
  display: inline-block;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 107, 0, 0.3);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Contact section */
.contact {
  padding: 3rem 0 5rem;
  flex: 1;
}

.contact__grid {
  display: flex;
  justify-content: center;
}

.contact__form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Form */
.contact__form-wrapper {
  width: 100%;
  max-width: 560px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form__group {
  margin-bottom: 0.75rem;
}

.form__group:last-of-type {
  margin-bottom: 1.25rem;
}

/* Honeypot anti-spam — oculto de usuários reais */
.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__noscript {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray);
  text-align: center;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
  color: var(--gray-dark);
}

.form__input:focus,
.form__input:focus-visible {
  outline: none;
  border-color: var(--orange);
  box-shadow: var(--focus-ring);
}

.form__input--error {
  border-color: var(--error);
}

.form__input--error:focus,
.form__input--error:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.25);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__select option {
  background: var(--black-card);
  color: var(--white);
}

.form__select:invalid {
  color: var(--gray-dark);
}

.form__select:valid {
  color: var(--white);
}

.form__error {
  display: block;
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}

.form__status--error {
  color: var(--error);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

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

.btn--primary:hover:not(:disabled) {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--orange-glow);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn--primary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn__loader {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success message */
.form__success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: var(--success);
}

.form__success:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.form__success svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.form__success p {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__links a {
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
  border-radius: 4px;
  padding: 0.15rem 0.25rem;
}

.footer__email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__email-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  transition: color var(--transition);
}

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

.footer__links a:hover .footer__email-icon {
  color: var(--orange-light);
}

.footer__links a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4), 0 4px 20px rgba(37, 211, 102, 0.4);
}

/* Movimento reduzido — acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 1.5rem;
  }

  .contact__form-wrapper {
    padding: 1.5rem;
  }

  .hero__logo {
    height: 160px;
    max-width: 360px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
