/*
  Chaveiro Siqueira Osasco — Design System
  Mobile-first, sem frameworks externos, otimizado para Core Web Vitals.
*/

:root {
  --navy-900: #10192b;
  --navy-800: #16233c;
  --navy-700: #1f3350;
  --navy-600: #2c4468;
  --gold-500: #f2a91d;
  --gold-600: #d98f0a;
  --gold-700: #955f00;
  --gold-100: #fdf1da;
  --whats-500: #0e7a6e;
  --whats-600: #0b6055;
  --whats-bright: #25d366;
  --bg: #f7f5f1;
  --bg-alt: #ffffff;
  --text: #1c1f27;
  --text-muted: #565f6f;
  --border: #e5e1d8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(16, 25, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 25, 43, 0.12);
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
  color: var(--navy-900);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 12px 18px;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--navy-900);
  color: #d9dee8;
}

.section-dark h2, .section-dark h3 {
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--gold-500);
}

.section-dark .section-head p {
  color: #c3cadb;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 10px;
}

.section-head {
  max-width: 700px;
  margin: 0 0 40px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whats {
  background: var(--whats-500);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-whats:hover {
  background: var(--whats-600);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-800);
}

.btn-outline-dark:hover {
  background: rgba(16, 25, 43, 0.06);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-gold:hover {
  background: var(--gold-600);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand img {
  height: 134px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta-label {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
}

#nav-check:checked ~ .main-nav {
  display: flex;
}

.main-nav a {
  display: block;
  padding: 14px 6px;
  color: #e7eaf0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 48px;
}

#nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .header-cta-label {
    display: inline;
  }
  .main-nav {
    position: static;
    display: flex !important;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    border: none;
    gap: 6px;
  }
  .main-nav a {
    border-bottom: none;
    padding: 10px 16px;
    border-radius: 999px;
  }
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, var(--navy-700), var(--navy-900) 60%);
  color: #fff;
  padding: 32px 0 36px;
}

.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 14px;
}

.hero h1 mark {
  background: none;
  color: var(--gold-500);
}

.hero-lead {
  font-size: 1.05rem;
  color: #cdd4e0;
  max-width: 54ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 20px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}

.hero-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #dfe4ec;
}

.hero-trust svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold-500);
}

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

.hero-visual img {
  width: 190px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.3fr 0.7fr;
  }
  .hero-visual img {
    width: 260px;
  }
  .hero-trust {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Diferenciais */
.diff-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .diff-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.diff-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: left;
}

.diff-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.diff-card .icon svg {
  width: 24px;
  height: 24px;
}

.diff-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.diff-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Quem somos */
.about-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.mvv-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mvv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mvv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mvv-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvv-card ul {
  margin-top: 10px;
}

.mvv-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}

.mvv-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

.quote-banner {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  margin-top: 32px;
}

.quote-banner p {
  font-size: 1.05rem;
  color: #dbe0ea;
  margin-bottom: 18px;
}

/* Serviços */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-700);
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card .btn {
  margin-top: 14px;
  align-self: flex-start;
}

/* Contato */
.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card-full {
  padding: 36px;
}

.contact-card-cols {
  display: grid;
  gap: 36px;
}

@media (min-width: 800px) {
  .contact-card-cols {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.contact-side {
  display: flex;
  flex-direction: column;
}

.contact-side .contact-photo {
  margin-top: 0;
  max-width: none;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list svg {
  width: 24px;
  height: 24px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.95rem;
}

.contact-list span, .contact-list a {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  text-decoration: none;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.contact-photo {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 280px;
  aspect-ratio: 480 / 328;
  border: 1px solid var(--border);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA final */
.cta-final {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500));
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  margin: 0 auto;
}

.cta-final h2 {
  color: var(--navy-900);
}

.cta-final .btn-whats {
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #b9c0cf;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.05rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #b9c0cf;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8b93a5;
}

.footer-bottom a {
  color: #8b93a5;
  text-decoration: underline;
}

.footer-bottom a.credit {
  color: var(--gold-500);
  text-decoration: none;
  font-weight: 600;
}

/* WhatsApp flutuante */
.whats-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whats-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  animation: pulse-whats 2.4s infinite;
}

.whats-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse-whats {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whats-float {
    animation: none;
  }
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 700px) {
  .section {
    padding: 84px 0;
  }
}
