/* Olho na Obra — identidade visual alinhada à logo */
:root {
  --navy: #002147;
  --green: #2d7a31;
  --accent: #007bff;
  --slate: #708090;
  --bg: #f6f8fa;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5c6678;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 33, 71, 0.08);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container.header-inner {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

@media (min-width: 480px) {
  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .logo-text strong {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--navy);
  }

  .logo-text span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--green);
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.nav.is-open {
  display: flex;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: transparent;
  }
}

.nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) {
  background: var(--bg);
  color: var(--navy);
  text-decoration: none;
}

.nav a.btn {
  color: #fff;
  text-decoration: none;
}

.nav a.btn:hover {
  color: #fff;
  text-decoration: none;
  background: #1ebe57;
}

.nav .nav-mobile-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
}

@media (min-width: 900px) {
  .nav .nav-mobile-cta {
    display: none;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #003875 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 33, 71, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 33, 71, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--green) 0%, #236b27 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45, 122, 49, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 33, 71, 0.97) 0%, rgba(0, 55, 117, 0.88) 50%, rgba(45, 122, 49, 0.35) 100%),
    url("../assets/photos/hero.jpg") center / cover no-repeat;
  opacity: 1;
}

.hero-inner {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8e6bc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 18ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  max-width: 36rem;
  opacity: 0.92;
}

.hero-quote {
  margin: 0 0 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--green);
  font-style: italic;
  font-size: 1.05rem;
  color: #e8f4ff;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Grid cards */
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-alt .card {
  border-color: transparent;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(45, 122, 49, 0.12));
  border-radius: 12px;
  color: var(--navy);
}

/* Split with image */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* List steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Services page */
.service-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.service-block p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.map-note {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}

.map-note strong {
  color: var(--navy);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #003d7a);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: #0f1729;
  color: #94a3b8;
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--bg);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

/* About profile */
.profile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 720px) {
  .profile {
    flex-direction: row;
    align-items: center;
  }
}

.profile-card {
  flex-shrink: 0;
  width: 100%;
  max-width: 280px;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.profile-card .profile-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.12);
}

.profile-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.profile-card .role {
  margin: 0;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-section {
  margin-bottom: 2rem;
}
