html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

nav.menu-desktop a {
    white-space: nowrap; /* impede quebra feia */
}

nav.menu-desktop {
    display: flex;
    gap: 32px;
    flex-wrap: nowrap; /* impede que os itens estiquem a tela */
}

#home {
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    border-radius: 0; /* remover curvas que criam espaço */
    background: radial-gradient(circle at top left, #24170d, #0d0d0d);
    box-sizing: border-box;
}


/* ---------------- ROOT VARIABLES ---------------- */
:root {
    --accent: #ff7a1a;
    --accent-strong: #ff3c00;
    --accent-light: #ffb347;

    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    --border-subtle: #2c2c2c;

    --radius-lg: 18px;
    --radius-md: 12px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    --spacing-section: 90px;
}

/* ---------------- BASE ---------------- */
html {
    scroll-behavior: smooth;
}

body { 
    background: radial-gradient(circle at top left, #1a1a1a 0%, #0d0d0d 40%, #000 100%);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page {
  max-width: 100%;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

/* ---------------- HEADER ---------------- */
header {
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img {
    height: 62px;
}

/* ---------------- MENU ---------------- */
.menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.menu a:hover {
    color: var(--accent-light);
}

.btn-small {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #111 !important;
    font-weight: 600;
}

.btn-small:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

/* ---------------- HERO ---------------- */
#home {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    padding: 56px 40px;
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(255, 122, 26, 0.20), #141414 45%, #000 100%);
    border: 1px solid #2c2c2c;
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--spacing-section);
    position: relative;
    overflow: hidden;
}

#home::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.30), transparent 60%);
    filter: blur(6px);
    opacity: 0.9;
    pointer-events: none;
}

.hero-left {
    position: relative;
    z-index: 2;
}

#home h1 {
    font-size: clamp(38px, 4.3vw, 52px);
    line-height: 1.08;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

#home p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 14px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn {
    border-radius: 600px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn-primary,
.form-container button {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #111;
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.35);
}

.btn-primary:hover,
.form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 45px rgba(255, 60, 0, 0.55);
}

/* ---------------- HERO RIGHT ---------------- */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-end;
    justify-content: center;
}

.hero-pill {
    align-self: flex-end;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(25, 25, 25, 0.92);
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 6px;
    margin-bottom: -6px;
}

.hero-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 10px rgba(255, 122, 26, 0.65);
}

/* Card */
.hero-card {
  width: 100%;
  max-width: 380px; /* mais confortável em telas modernas */
  padding: 18px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(255, 122, 26, 0.18), #121212);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 8px 45px rgba(0, 0, 0, 0.65);

  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto; /* centraliza */
}

.hero-card small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.hero-card strong {
    font-size: 22px;
    color: #f9fafb;
}

.hero-card span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Métricas */
.hero-metrics {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.hero-metrics-item {
    flex: 1;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-metrics-item b {
    font-size: 14px;
    color: #e5e7eb;
}

.hero-metrics-item span {
    font-size: 11px;
    color: #9ca3af;
}

/* ---------------- TITLES ---------------- */
.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    max-width: 720px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

section {
    margin-bottom: var(--spacing-section);
}

/* ---------------- SOBRE ---------------- */
#sobre .card {
    background: #121212;
    padding: 36px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

#sobre p {
    margin-bottom: 18px;
    font-size: 17px;
    color: var(--text-muted);
}

/* ---------------- SERVIÇOS ---------------- */
#servicos .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-strong);
    box-shadow: 0 0 18px rgba(255, 60, 0, 0.55);
}

/* ---------------- PROCESSO ---------------- */
#processo .checklist {
    list-style: none;
    display: grid;
    gap: 14px;
    font-size: 17px;
}

.checklist li::before {
    content: "✔ ";
    color: var(--accent-light);
}

/* ---------------- CTA FINAL ---------------- */
#cta-final {
    padding: 50px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(255, 122, 26, 0.18), #0d0d0d);
    border: 1px solid rgba(255, 122, 26, 0.4);
    text-align: center;
    margin-bottom: 16px;
}

/* ---------------- FOOTER ---------------- */
.footer {
    margin-top: 16px;
    padding: 32px 0 28px;
    border-top: 1px solid #1f2937;
    background: #000;
}

.footer-content {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 140px;
    row-gap: 24px;
}

.footer-column h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-column p,
.footer-column a {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-logo {
    height: 30px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-icons img {
    width: 22px;
    height: 22px;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: .2s ease;
}

.social-icons img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid #1f2937;
    padding-top: 18px;
    margin-top: 24px;
}

/* ---------------- RESPONSIVO ---------------- */

/* Tablets e telas menores */
@media(max-width: 900px) {

    .page {
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
    }

    #home {
        display: grid;
        grid-template-columns: 1fr;
        padding: 40px 24px 44px;
        text-align: center;
    }

    .hero-right,
    .hero-left {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    nav.menu {
        gap: 18px;
    }

    .footer-content {
        column-gap: 48px;
    }
}

/* Celulares médios */
@media(max-width: 780px) {

    nav.menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        font-size: 15px;
    }

    #home h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
        column-gap: 24px;
    }

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

/* Celulares pequenos */
@media(max-width: 500px) {

    .page {
        padding: 0 18px;
    }

    nav.menu {
        font-size: 14px;
        gap: 10px;
    }

    #home h1 {
        font-size: 28px;
    }

    .hero-card {
        max-width: 90%;
        padding: 18px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        row-gap: 18px;
        text-align: center;
    }
}


/* ---------------- FORMULÁRIO CTA ---------------- */
.form-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 22px;
    background: rgba(15, 15, 15, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.form-container input,
.form-container select {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 20, 0.8);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: .2s ease;
    box-sizing: border-box;
}

.form-container input:focus,
.form-container select:focus {
    background: rgba(35, 35, 35, 0.9);
    border-color: var(--accent);
}

/* SELECT SETA CUSTOM */
.form-container select {
    appearance: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='22' width='22' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 55px
}

.form-group {
    margin-bottom: 14px;
}

/* BOTÃO DO FORM */
.form-container button {
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    font-size: 18px;
    font-weight: 600;
    color: #111;
    border: none;
    cursor: pointer;
    margin-top: 14px;
    box-shadow: 0 8px 32px rgba(255, 60, 0, 0.35);
    transition: .2s ease;
}

#cta-performance {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

/* MENU HAMBURGUER MOBILE */
.menu-toggle {
  display: none;
  width: 35px;
  height: 28px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* Abrir menu (X animation) */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* MENU MOBILE PREMIUM */
@media (max-width: 900px) {

  nav.menu {
    position: fixed;
    top: 0;
    transform: translateX(100%);
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    padding: 100px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transition: .45s ease;
    z-index: 999;
    border-left: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    box-shadow: -4px 0 16px rgba(0,0,0,0.45);
  }

  nav.menu.open {
    transform: translateX(0%);

  }

  nav.menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    opacity: .85;
    transition: .25s ease;
  }

  nav.menu a:hover {
    opacity: 1;
    transform: translateX(4px);
  }

  nav.menu .btn-small {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 28px;
    background: linear-gradient(to right, #ff6500, #ffa033);
    color: #111;
    transition: .2s;
  }

  nav.menu .btn-small:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
  }

  /* Botão hamburguer */
  .menu-toggle {
    display: flex;
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .menu-toggle span {
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 4px;
    transition: .3s;
  }

  .menu-toggle span:nth-child(1) { top: 0; }
  .menu-toggle span:nth-child(2) { top: 13px; }
  .menu-toggle span:nth-child(3) { bottom: 0; }

  /* X animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
  }

  /* Overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 998;
  }
  .menu-overlay.show {
    display: block;
  }
}

/* -------- VISUAL PADRÃO DESKTOP -------- */
@media (min-width: 901px) {

  /* Menu hamburguer não deve existir no desktop */
  .menu-toggle {
    display: none !important;
  }

  /* Menu segue horizontal */
  nav.menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0;
    box-shadow: none;
  }

  nav.menu a {
    font-size: 16px;
    opacity: 1;
    transform: none;
  }

  /* Remove overlay no desktop */
  .menu-overlay {
    display: none !important;
  }
}

/* HEADER DESKTOP */
.header {
  width: 100%;
  padding: 20px 5%;
  position: static; /* Agora fica no topo do site sem rolar junto */
  background: transparent;
}

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

/* MENU DESKTOP */
@media (min-width: 901px) {
  nav.menu {
    display: flex;
    align-items: center;
    gap: 32px;
    position: static;
    background: none;
    height: auto;
    width: auto;
    padding: 0;
  }

  nav.menu a {
    color: #fff;
    font-size: 17px;
    opacity: .9;
    text-decoration: none;
    transition: .25s;
  }

  nav.menu a:hover {
    opacity: 1;
  }

  .btn-small {
    padding: 10px 22px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: none !important;
  }
}

header .container {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px; /* sem empurrar a tela */
    gap: 16px;
}

/* ==== Ajuste de blocos com bordas arredondadas ==== */

/* Container geral para centralização */
section,
#home {
    width: 100%;
    max-width: 1300px; /* Ajuste fino do layout */
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

/* Margem vertical consistente entre blocos */
section,
#home {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Remove qualquer largura que ultrapasse o viewport */
#home {
    border-radius: 28px;
    overflow: hidden; /* Mantém o arredondamento bonitinho */
}

/* ---- AJUSTE DO BLOCO DE FORMULÁRIO (CTA) ---- */

#form-section {
    width: 100%;
    max-width: 1100px; /* alinhado com o Hero */
    margin: 0 auto;
    padding: 60px 24px; /* respiro no topo e nas laterais */
}

.form-wrapper {
    width: 100%;
    max-width: 600px; /* 🔥 largura ideal do formulário */
    margin: 0 auto; /* centraliza */
    padding: 40px 32px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0px 8px 45px rgba(0,0,0,0.45);
}

/* melhora o espaçamento da parte do título */
#form-section .section-title,
#form-section .section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* telas pequenas */
@media(max-width: 600px) {
    .form-wrapper {
        padding: 30px 18px;
    }
}

/* ---- CTA Performance reformulado ---- */
#cta-performance {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 100px 24px;
}

.cta-wrapper {
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.cta-wrapper h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-wrapper p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.form-wrapper {
    width: 100%;
    padding: 36px;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 46px rgba(0, 0, 0, 0.55);
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    font-size: 15px;
}

button[type="submit"] {
    width: 100%;
    margin-top: 20px;
    font-size: 17px;
    border-radius: 14px;
}

/* Sucesso */
#formMessage {
    display: none;
    margin-top: 14px;
    font-size: 16px;
    color: var(--accent-light);
    text-align: center;
}


/* Mobile */
@media(max-width: 600px) {
    .cta-wrapper h2 {
        font-size: 28px;
    }
    .form-wrapper {
        padding: 26px;
    }
}
