/* ═══════════════════════════════════════════════════════════════════════════
 * Aurora.Tech — style.css
 *
 * Organização:
 *   1.  Base & Reset
 *   2.  Header / Navegação
 *   3.  Hero
 *   4.  Serviços
 *   5.  Sobre Nós
 *   6.  Contato
 *   7.  Footer
 *   8.  Utilitários
 *   9.  Animações  (entrada do Hero — CSS puro)
 *  10.  Responsivo (tablets ≤ 900px / mobile ≤ 768px)
 *  11.  Acessibilidade (prefers-reduced-motion)
 * ═══════════════════════════════════════════════════════════════════════════ */


/* ── 1. Base & Reset ──────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Material Symbols (Google Icons) */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}


/* ── 2. Header / Navegação ────────────────────────────────────────────────── */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #7b2cbf 0%, #6a2caa 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 250px;
  width: auto;
  margin-top: 30px;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex: 1;
  margin-left: 60px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00d084;
}

/* Botão CTA do header */
.btn-cta-nav {
  display: inline-block;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  background: #00d084;
  color: #08101a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-cta-nav:hover {
  background: #00b86d;
  transform: translateY(-1px);
}

/* mobile-cta fica dentro do menu — oculto no desktop */
.btn-cta-nav.mobile-cta {
  display: none;
}

/* Botão hambúrguer — visível apenas no mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Estado aberto: ícone vira X */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0);           }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ── 3. Hero ──────────────────────────────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 60px 40px;
  background: linear-gradient(135deg, #7b2cbf 0%, #5a1f91 50%, #3a0f6b 100%);
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 550px;
  margin-left: 55px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-highlight {
  color: #00d084;
}

.hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  background: #00d084;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #00b86d;
}

.btn-secondary {
  padding: 14px 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  border-color: #00d084;
  color: #00d084;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Project Carousel ─────────────────────────────────────────────────────── */
.project-carousel {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 44px 52px 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 208, 132, 0.2);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.project-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.project-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 208, 132, 0.35);
  background: rgba(0, 208, 132, 0.1);
  color: #00d084;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.project-name {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.project-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.68;
  max-width: 300px;
}

.project-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  z-index: 2;
}

.project-arrow:hover {
  background: rgba(0, 208, 132, 0.15);
  border-color: rgba(0, 208, 132, 0.5);
  color: #00d084;
}

.project-arrow .material-symbols-outlined {
  font-size: 20px;
}

.project-arrow--prev { left: 12px; }
.project-arrow--next { right: 12px; }

.project-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.project-dot {
  height: 7px;
  width: 7px;
  padding: 0;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.project-dot.active {
  width: 22px;
  background: #00d084;
}


/* ── 4. Serviços ──────────────────────────────────────────────────────────── */

.services {
  padding: 80px 10px;
  background: #ffffff;
  color: #0b0b14;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.eyebrow {
  color: #7b2cbf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.eyebrow.green {
  color: #00d084;
  text-transform: uppercase;
}

.services-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 16px;
}

.services-desc {
  color: #6b6b76;
  font-size: 16px;
  margin-bottom: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.service-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(11, 11, 20, 0.04);
  background: #ffffff;
  text-align: left;
  box-shadow: 0 6px 18px rgba(11, 11, 20, 0.04);
  transition:
    transform    0.32s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow   0.32s ease,
    border-color 0.32s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-12px) scale(1.02);
  border-color: #00d084;
  box-shadow:
    0 30px 60px rgba(11, 11, 20, 0.08),
    0 0 0 3px rgba(0, 208, 132, 0.06);
}

.service-card:active {
  transform: translateY(-6px) scale(1.01);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(0, 208, 132, 0.12);
  color: #00d084;
  font-size: 18px;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.32s ease;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  transform: translateY(-4px) scale(1.03);
  background: rgba(0, 208, 132, 0.18);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b6b76;
  font-size: 14px;
  line-height: 1.6;
}


/* ── 5. Sobre Nós ─────────────────────────────────────────────────────────── */

.about {
  padding: 80px 10px;
  background: linear-gradient(90deg, #7b2cbf 0%, #6a2caa 100%);
  color: #ffffff;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: center;
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}

.about-text {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.about-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.about-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}


/* ── 6. Contato ───────────────────────────────────────────────────────────── */

.contact {
  padding: 80px 10px;
  background: linear-gradient(90deg, #5a1b8f 0%, #6a2caa 100%);
  color: #ffffff;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items: start;
}

.contact-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-sub {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.contact-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-list .material-symbols-outlined {
  padding: 6px;
  border-radius: 8px;
  background: rgba(0, 208, 132, 0.12);
  color: #00d084;
  font-size: 18px;
}

.contact-right {
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 100%;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a9a9b5;
}

.submit-btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 12px;
  background: #00d084;
  color: #08101a;
  font-weight: 700;
  cursor: pointer;
}

/* Mensagem de feedback do formulário */
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.form-msg.is-visible  { display: block; }
.form-msg.is-success  { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-msg.is-error    { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }


/* ── 6.5 Modal "Conta seu projeto" ───────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 4, 18, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
}

/* [hidden] nativo teria display:none, mas nosso flex vence — forçamos com !important */
.modal-overlay[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(140deg, #28104a 0%, #18072e 100%);
  border: 1px solid rgba(123, 44, 191, 0.38);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 8px;
}

.modal-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.modal-field {
  margin-bottom: 22px;
}

.modal-field > label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

/* Dropdown customizado com ícones */
.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  transition: border-color 0.2s ease, border-radius 0.2s ease;
}

.custom-select:focus .cs-trigger,
.custom-select.is-open .cs-trigger {
  outline: none;
  border-color: #00d084;
}

.custom-select.is-open .cs-trigger {
  border-radius: 10px 10px 0 0;
}

.cs-display {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.cs-display .material-symbols-outlined {
  font-size: 20px;
  color: #00d084;
}

.cs-display.has-value {
  color: #ffffff;
}

.cs-chevron {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.custom-select.is-open .cs-chevron {
  transform: rotate(180deg);
  color: #00d084;
}

.cs-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  list-style: none;
  padding: 6px;
  margin: 0;
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #1e0a38;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  max-height: 260px;
  overflow-y: auto;
}

.cs-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  width: 100%;
}

.cs-option:hover {
  background: rgba(0, 208, 132, 0.1);
  color: #ffffff;
}

.cs-option.is-active {
  background: rgba(0, 208, 132, 0.12);
  color: #00d084;
  font-weight: 600;
}

.cs-option .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.cs-option:hover .material-symbols-outlined,
.cs-option.is-active .material-symbols-outlined {
  color: #00d084;
}

.modal-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radio-card:hover {
  border-color: rgba(0, 208, 132, 0.4);
  background: rgba(0, 208, 132, 0.06);
  color: #ffffff;
}

.radio-card input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #00d084;
  flex-shrink: 0;
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: #00d084;
  background: rgba(0, 208, 132, 0.1);
  color: #00d084;
  font-weight: 600;
}

.modal-submit {
  width: 100%;
  margin-top: 8px;
}


/* ── 7. Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 48px 10px 24px;
  background: #1f2941;
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 1fr 240px 240px;
  gap: 40px;
  align-items: start;
}

.footer-brand .footer-logo-img {
  height: 150px;
  width: auto;
  margin-bottom: 10px;
}

.footer-desc {
  max-width: 360px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 700;
}

.social-btn img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-col h5 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact p {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
}


/* ── 8. Utilitários ───────────────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.whatsapp-float img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}


/* ── 9. Animações — entrada do Hero (CSS puro) ────────────────────────────── */

@keyframes aurora-fade-up {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes aurora-fade-scale {
  from { opacity: 0; transform: scale(0.88) translateY(28px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Cascata dos cards de serviço — disparada pelo botão "Explorar Serviços" */
@keyframes card-enter {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.service-card.card-animate {
  animation: card-enter 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title       { animation: aurora-fade-up    0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.hero-description { animation: aurora-fade-up    0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
.hero-buttons     { animation: aurora-fade-up    0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both; }
.hero-image       { animation: aurora-fade-scale 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }


/* ── 10. Responsivo ───────────────────────────────────────────────────────── */

/* Tablets (≤ 900px) */
@media (max-width: 900px) {
  nav {
    gap: 24px;
    margin-left: 30px;
  }

  nav a {
    font-size: 14px;
  }

  .btn-cta-nav {
    font-size: 13px;
    padding: 9px 16px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-right {
    order: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  /* Header */
  header {
    padding: 0 20px;
  }

  /* Navegação — drawer mobile */
  nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px 32px;
    background: linear-gradient(180deg, #6a2caa 0%, #4a1a80 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin-left: 0;
    flex: unset;
    z-index: 999;
  }

  nav.menu-open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 6px 0;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav a:last-child {
    border-bottom: none;
  }

  /* CTA dentro do menu mobile */
  .btn-cta-nav.mobile-cta {
    display: inline-block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 20px;
    font-size: 15px;
    text-align: center;
  }

  /* CTA desktop oculto no mobile */
  .btn-cta-nav.desktop-cta {
    display: none;
  }

  /* Hambúrguer visível */
  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    flex-direction: column;
    gap: 36px;
    padding: 80px 20px 48px;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-image {
    min-width: auto;
    width: 100%;
  }

  .project-carousel {
    max-width: 100%;
    padding: 36px 40px 30px;
  }

  .project-logo-wrap {
    width: 96px;
    height: 96px;
  }

  .project-name {
    font-size: 19px;
  }

  /* Serviços */
  .services {
    padding: 52px 16px;
  }

  .services-title {
    font-size: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Sobre */
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 34px;
  }

  .about-right {
    width: 100%;
  }

  /* Contato */
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 34px;
  }

  /* Modal */
  .modal-card {
    padding: 28px 22px;
    max-height: 88vh;
    border-radius: 18px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-radio-group {
    grid-template-columns: 1fr 1fr;
  }
}


/* ── 11. Acessibilidade ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-description,
  .hero-buttons,
  .hero-image {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .service-card {
    transition: none;
  }

  .service-card.card-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .modal-overlay,
  .modal-card {
    transition: none;
  }
}
