/* AGT Comercial — identidade visual da logo */
:root {
  --agt-navy: #0a3f6c;
  --agt-navy-deep: #043b6a;
  --agt-navy-mid: #134673;
  --agt-blue: #25557d;
  --agt-gray: #9da4a9;
  --agt-gray-light: #aab1b5;
  --agt-text: #2c3a45;
  --agt-muted: #6b757d;
  --agt-bg: #f4f6f8;
  --agt-white: #ffffff;
  --agt-border: #dde2e6;
  --header-height: 80px;
  --font-sans: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--agt-text);
  background: var(--agt-white);
  line-height: 1.65;
}

a {
  color: var(--agt-navy-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--agt-navy);
}

a.email {
  color:#FFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.email:hover {
  color:#000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--agt-navy-deep);
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 997;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--agt-border);
  transition: box-shadow 0.25s ease;
}

#header.scrolled {
  box-shadow: 0 4px 24px rgba(10, 63, 108, 0.12);
}

#header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

.logo img {
  max-height: 56px;
  width: auto;
}

.logo {
  margin-right: auto;
}

/* ---------- Nav ---------- */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.15rem;
}

.navbar a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--agt-text);
  border-radius: 4px;
}

.navbar a:hover,
.navbar a.active {
  color: var(--agt-navy);
  background: rgba(10, 63, 108, 0.06);
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
}

.header-social-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--agt-gray);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.header-social-links a:hover {
  background: var(--agt-navy);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--agt-navy);
  margin-left: 0.5rem;
}

/* ---------- Hero ---------- */
#hero {
  width: 100%;
  min-height: 72vh;
  margin-top: var(--header-height);
  background: url("../img/hero-bg.jpg") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(4, 59, 106, 0.82) 0%,
    rgba(19, 70, 115, 0.68) 55%,
    rgba(37, 85, 125, 0.55) 100%
  );
}

#hero .container {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 4rem 1rem;
}

#hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

#hero h1 span {
  border-bottom: 4px solid var(--agt-gray-light);
  padding-bottom: 0.15rem;
}

#hero p {
  font-size: 1.15rem;
  max-width: 36rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.btn-get-started {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--agt-navy);
  color: #fff !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-get-started:hover {
  background: var(--agt-navy-deep);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 1.85rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--agt-navy-mid);
}

.section-title p {
  color: var(--agt-muted);
  max-width: 40rem;
  margin: 0 auto;
}

.what-we-do {
  background: var(--agt-bg);
}

.about img {
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(10, 63, 108, 0.15);
}

.about h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.about p {
  color: var(--agt-muted);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  margin-top: var(--header-height);
  padding: 1.25rem 0;
  background: linear-gradient(90deg, var(--agt-navy-deep), var(--agt-blue));
  color: #fff;
}

.breadcrumbs h2 {
  color: #fff;
  margin: 0;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumbs ol li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.7;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: #fff;
}

/* ---------- Content pages ---------- */
.page-content {
  padding: 3.5rem 0 4rem;
}

.page-content p {
  font-size: 1.05rem;
  color: var(--agt-muted);
  margin-bottom: 1.15rem;
}

.page-content strong {
  color: var(--agt-navy);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: var(--agt-bg);
  border-left: 3px solid var(--agt-navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--agt-navy-deep);
}

.services-list li i {
  color: var(--agt-navy-mid);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ---------- Contact form ---------- */
.php-email-form .form-control {
  border: 1px solid var(--agt-border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.php-email-form .form-control:focus {
  border-color: var(--agt-navy-mid);
  box-shadow: 0 0 0 3px rgba(19, 70, 115, 0.15);
  outline: none;
}

.php-email-form .btn-submit {
  background: var(--agt-navy);
  color: #fff;
  border: none;
  padding: 0.75rem 2.25rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.php-email-form .btn-submit:hover {
  background: var(--agt-navy-deep);
  transform: translateY(-1px);
}

.alert-form {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
}

.alert-form.show {
  display: block;
}

.alert-form.success {
  background: #e8f5e9;
  color: #1b5e20;
}

.alert-form.error {
  background: #fdecea;
  color: #b71c1c;
}

/* ---------- Footer ---------- */
#footer {
  background: var(--agt-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

#footer .footer-top {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer h3,
#footer h4 {
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

#footer h3 {
  font-size: 1.25rem;
}

#footer p {
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

#footer hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1rem 0;
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links li {
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

#footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

#footer .footer-links a:hover {
  color: #fff;
}

#footer .footer-links i {
  color: var(--agt-gray-light);
  margin-top: 0.2rem;
}

#footer .copyright-bar {
  padding: 1.25rem 0;
}

#footer .copyright {
  color: rgba(255, 255, 255, 0.7);
}

#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-left: 0.35rem;
  transition: background 0.2s;
}

#footer .social-links a:hover {
  background: var(--agt-blue);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px;
  height: 42px;
  background: var(--agt-navy);
  color: #fff;
  border-radius: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(10, 63, 108, 0.3);
}

.back-to-top.active {
  display: flex;
}

.back-to-top:hover {
  background: var(--agt-navy-deep);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--agt-border);
  }

  .navbar.navbar-mobile ul {
    display: flex;
  }

  .navbar a {
    padding: 0.85rem 1rem;
  }

  .header-social-links {
    display: none;
  }

  #hero {
    min-height: 55vh;
  }
}

@media (max-width: 575px) {
  .logo img {
    max-height: 44px;
  }

  #hero h1 {
    font-size: 1.65rem;
  }
}
