/* ===========================
   ADV Assistência — Stylesheet
   =========================== */

:root {
  --navy: #1A2332;
  --navy-deep: #121927;
  --amber: #F0A500;
  --amber-soft: #FFD166;
  --paper: #F7F5F0;
  --slate: #5A6472;
  --line: #E3E0D8;
  --white: #FFFFFF;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-mark {
  color: var(--amber);
  display: flex;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--paper);
  opacity: 0.8;
  transition: opacity 0.15s ease, color 0.15s ease;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  opacity: 1;
  border-bottom-color: var(--amber);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone svg { flex-shrink: 0; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--amber-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(240,165,0,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy { max-width: 560px; }

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(247,245,240,0.78);
  max-width: 540px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Sections ===== */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--navy);
  color: var(--paper);
}

.section-head {
  margin-bottom: 56px;
}

.section-head .eyebrow {
  color: var(--amber);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  letter-spacing: 0.01em;
}

.section-alt .section-head h2,
.section-alt h2 {
  color: var(--white);
}

/* ===== Services ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,35,50,0.10);
}

.service-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.service-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-art-illustrated svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card:hover .service-art img {
  transform: scale(1.04);
}

.service-body {
  padding: 28px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -52px 0 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  border: 2px solid var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--slate);
  font-size: 0.95rem;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--amber);
}

.service-card li:last-child { margin-bottom: 0; }

/* ===== About ===== */

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.about-art {
  display: flex;
  justify-content: center;
}

.about-art img {
  width: 100%;
  max-width: 440px;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.about-text {
  max-width: 680px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 20px;
  color: var(--white);
}

.about-text p {
  color: rgba(247,245,240,0.78);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
}

.point-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:not(.contact-card-static):hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,35,50,0.08);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.contact-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

.contact-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--navy-deep);
  color: rgba(247,245,240,0.6);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(247,245,240,0.6);
  transition: color 0.15s ease;
}

.footer-social a:hover {
  color: var(--amber);
}

/* ===== Responsive ===== */

@media (max-width: 800px) {
  .main-nav { display: none; }

  .header-inner { height: 64px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 64px 24px;
    gap: 40px;
    text-align: left;
  }

  .hero-art { order: -1; }

  .hero-art img { max-width: 320px; }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-art { order: -1; }

  .about-art img { max-width: 320px; }

  .section { padding: 64px 0; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .header-phone span { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
