/* styles.css - layout responsivo, simples e moderno */

/* Reset simples */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: #073043;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Variáveis */
:root {
  --accent: #01285c;
  --accent-2: #3ead4d;
  --accent-3: #c5c204;
  --muted: #657786;
  --card-bg: #ffffff;
  --container: 1100px;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(6, 16, 20, 0.1);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #f8fbfc, #ffffff);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(7, 48, 67, 0.1);
}

.site-header .container {
  padding: 0 1.25rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  width: 135px;
  height: 85px;
  object-fit: cover;
}
.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent-2);
  text-decoration: none;
}
.brand span {
  color: var(--accent);
}

.site-logo {
  width: 135px;
  height: auto;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav a.btn-outline {
  border: 1px solid var(--accent-2);
  background: rgba(6, 163, 214, 0.12);
  padding: 0.4rem 0.8rem;
  color: var(--accent-2);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.menu-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Hero */
.hero {
  padding: 3rem 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  color: #032a32;
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: row;
  margin: 2rem 0;
  justify-content: flex-start;
  font-size: 1.2rem;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.btn {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: #fff;
  border: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
.btn-ghost,
.btn-ghost:visited,
.btn-ghost:link {
  background: transparent;
  border: 1px solid var(--accent);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.beneficios-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}

@media (min-width: 768px) {
  .beneficios-list {
    flex-wrap: nowrap;
    flex-direction: row;
  }
}

/* Processo (Passo a Passo) */
.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.processo-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(7, 48, 67, 0.04);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease;
}

.processo-item:hover {
  transform: translateY(-4px);
}

.processo-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(6, 163, 214, 0.15);
}

.processo-item h3 {
  font-size: 1.2rem;
  color: #052b31;
  margin-bottom: 0.5rem;
}

.processo-item p {
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.4;
}

/* Responsividade para o Processo */
@media (max-width: 980px) {
  .processo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .processo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Cards / Serviços */
.section {
  padding: 2.5rem 0;
}
.section.alt {
  background: linear-gradient(180deg, #f8fbfc, #ffffff);
}

.invert {
  background: linear-gradient(0deg, #f8fbfc, #ffffff);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: #052b31;
}
.section-sub {
  color: var(--muted);
  margin-bottom: 1rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: var(--card-bg);
  padding: 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(7, 48, 67, 0.04);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: center;
}
.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-image-wrap {
  overflow: hidden;
  height: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

.about-image {
  width: 100%;
  height: auto;
  max-width: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.project {
  background: #fff;
  border-radius: 8px;
  padding: 0.9rem;
  border: 1px solid rgba(7, 48, 67, 0.04);
  text-align: left;
  box-shadow: var(--shadow);
}
.project.thumb {
  height: 120px;
  border-radius: 6px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

/* Testimonial */
.testimonial {
  margin-top: 1.25rem;
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  background: linear-gradient(90deg, rgba(6, 163, 214, 0.03), transparent);
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: #064048;
  margin-bottom: 0.45rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(7, 48, 67, 0.08);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}
.form-actions {
  display: flex;
  gap: 0.6rem;
}
.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  background: #f5f5f5;
  color: #333;
}
.form-status:empty {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(7, 48, 67, 0.04);
  padding: 1.25rem 0;
  margin-top: 2rem;
  background: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-block {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.footer-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
}

.footer-block img {
  width: 170px;
  height: auto;
}

.footer-info {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
}
.footer-nav li {
  list-style: none;
}

.footer-nav svg {
  width: 24px;
  height: 24px;
  fill: var(--muted);
}
.footer-nav a {
  display: inline-flex;
}

/* Utilities */
.checklist {
  list-style: none;
  margin-top: 0.6rem;
  color: var(--muted);
}
.checklist li {
  margin-bottom: 0.35rem;
}
.checklist li::before {
  content: "✓";
  color: var(--accent-2);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* Menu mobile (controlado via JS: adiciona/remove .open em .nav) */
@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .nav.open {
    display: flex;
    position: absolute;
    right: 1.25rem;
    top: 64px;
    background: #fff;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(7, 48, 67, 0.12);
    flex-direction: column;
    z-index: 60;
  }
}

/* Responsividade geral */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }
  .about-image {
    max-width: 100%;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-block {
    flex-direction: column;
  }
  .footer-nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  .footer-block img {
    width: 300px;
  }
  .site-footer {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    gap: 0.75rem;
  }
}
