/* ===== TKS-style theme for Aigle Assessoria Contábil ===== */
:root {
  --blue: #1e4d7b;
  --blue-dark: #163a5e;
  --blue-light: #2a6ba8;
  --gold: #d4a017;
  --gold-hover: #b8890f;
  --text: #444;
  --text-muted: #777;
  --bg: #fff;
  --bg-gray: #f4f4f4;
  --border: #ddd;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--blue-dark);
  color: #ccc;
  font-size: 12px;
  padding: 6px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar__tagline span {
  display: inline-flex;
  align-items: center;
}
.top-bar__tagline span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--gold); }
.top-bar .sep { margin: 0 8px; opacity: 0.4; }
.top-bar__phones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* Links telefone — toque fácil no celular */
a.tel-link,
a[href^="tel:"] {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(30, 77, 123, 0.2);
  touch-action: manipulation;
}
.top-bar .tel-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
}
.contact-info a[href^="tel:"] {
  display: inline-block;
  padding: 4px 0;
  min-height: 44px;
  line-height: 44px;
  font-weight: 600;
  color: var(--blue);
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 15px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 3px;
}
.logo--footer .logo__img { height: 48px; }

.nav ul { display: flex; gap: 0; }
.nav a {
  display: block;
  padding: 28px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
}
.nav a:hover,
.nav a.active {
  color: var(--blue);
  border-bottom-color: var(--gold);
}

.header__cta {
  text-align: right;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 3px;
  white-space: nowrap;
}
.header__cta:hover { background: var(--blue-dark); color: #fff; }
.header__cta.tel-link:active { transform: scale(0.98); }
.header__cta-label { display: block; font-size: 16px; font-weight: 700; }
.header__cta-text { font-size: 10px; text-transform: uppercase; opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue);
}

/* ===== Hero Slider (Home) ===== */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}
.hero__slider { height: 100%; position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s;
}
.hero__slide--active { opacity: 1; z-index: 1; }
.hero__slide--1 {
  background-image: linear-gradient(rgba(22,58,94,0.55), rgba(22,58,94,0.55)),
    url('../images/hero/slide-1.jpg');
}
.hero__slide--2 {
  background-image: linear-gradient(rgba(22,58,94,0.55), rgba(22,58,94,0.55)),
    url('../images/hero/slide-2.jpg');
}
.hero__content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 2;
}
.hero__tag {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.hero h1, .hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  max-width: 650px;
  line-height: 1.2;
}
.hero__dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
}
.hero__dot--active { background: var(--gold); border-color: var(--gold); }
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.hero__arrow:hover { background: var(--gold); }
.hero__arrow--prev { left: 15px; }
.hero__arrow--next { right: 15px; }

/* ===== Intro strip ===== */
.intro-strip {
  background: var(--bg-gray);
  padding: 45px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.intro-strip h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--blue);
  max-width: 850px;
  margin: 0 auto 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-hover); color: #fff; }
.btn--outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--block { display: block; text-align: center; width: 100%; }

/* ===== Section titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 35px;
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--blue);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title--light h2 { color: #fff; }

/* ===== Services grid (home + servicos page) ===== */
.section-services {
  padding: 60px 0;
  background: var(--blue-dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.service-box {
  background: #fff;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s;
}
.service-box:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.12); }
.service-box__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-gray);
}
.service-box__img--1 { background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=600&q=80'); }
.service-box__img--2 { background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=600&q=80'); }
.service-box__img--3 { background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=600&q=80'); }
.service-box__img--4 { background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=600&q=80'); }
.service-box__img--5 { background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=600&q=80'); }
.service-box__img--6 { background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=600&q=80'); }
.service-box__img--7 { background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=600&q=80'); }
.service-box__img--8 { background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=600&q=80'); }
.service-box__img--9 { background-image: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=600&q=80'); }
.service-box__body { padding: 20px 18px 25px; }
.service-box h3 {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 700;
  min-height: 40px;
}
.service-box p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}
.service-box__link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1px;
}
.service-box__link:hover { color: var(--blue); }

/* Service list page (servicos.html) */
.service-list-item {
  display: flex;
  gap: 25px;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border);
}
.service-list-item:last-child { border-bottom: none; }
.service-list-item__img {
  flex: 0 0 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
}
.service-list-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.service-list-item h3 a { color: inherit; }
.service-list-item p { color: var(--text-muted); margin-bottom: 12px; }

/* ===== Contact section (home) ===== */
.section-contact {
  padding: 60px 0;
  background: var(--bg-gray);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 15px;
}
.contact-form {
  background: #fff;
  padding: 30px;
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 15px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 10px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-message { margin-top: 10px; padding: 10px; font-size: 13px; }
.form-message--success { background: #dff0d8; color: #3c763d; }

/* ===== Testimonials ===== */
.section-testimonials { padding: 60px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.testimonial {
  display: flex;
  gap: 20px;
  padding: 25px;
  border: 1px solid var(--border);
  background: #fff;
}
.testimonial__avatar {
  flex: 0 0 80px;
  height: 80px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue);
  font-weight: 700;
}
.testimonial blockquote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.testimonial footer strong { color: var(--blue); display: block; }
.testimonial footer span { font-size: 12px; color: var(--text-muted); }

/* ===== News ===== */
.section-news { padding: 60px 0; background: var(--bg-gray); }
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.news-item h3 { font-size: 15px; margin-top: 4px; }
.news-item h3 a { color: var(--blue); }
.news-item time { font-size: 12px; color: var(--gold); font-weight: 600; }

/* Blog listing page */
.blog-list .blog-entry {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.blog-entry h2 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 8px; }
.blog-entry h2 a { color: var(--blue); }
.blog-entry__meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.blog-entry__meta span { margin-right: 15px; }
.blog-entry p { color: var(--text-muted); }

/* ===== Quick access table ===== */
.section-quick {
  padding: 50px 0;
  background: var(--blue-dark);
}
.quick-table-wrap { overflow-x: auto; }
.quick-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.quick-table td {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.quick-table a { color: rgba(255,255,255,0.85); }
.quick-table a:hover { color: var(--gold); }

/* ===== Page banner (inner pages) ===== */
.page-banner {
  background: var(--blue-dark) url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1400&q=80') center/cover;
  position: relative;
  padding: 50px 0;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22,58,94,0.85);
}
.page-banner h1 {
  position: relative;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
}

/* ===== Inner page layout ===== */
.page-content {
  padding: 50px 0;
}
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.main-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 15px;
  font-weight: 400;
}
.main-content h3 {
  font-size: 1.1rem;
  color: var(--blue);
  margin: 25px 0 10px;
}
.main-content p { margin-bottom: 15px; color: var(--text); }
.main-content ul { margin: 10px 0 15px 20px; list-style: disc; }
.main-content li { margin-bottom: 6px; color: var(--text-muted); }

/* Missão, Visão e Valores */
.mvv-block {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}
.mvv-block:first-of-type { margin-top: 30px; }
.mvv-block h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.values-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  list-style: none;
}
.values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== Sidebar widgets ===== */
.sidebar { display: flex; flex-direction: column; gap: 25px; }
.widget {
  border: 1px solid var(--border);
  background: #fff;
  padding: 20px;
}
.widget__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.widget__list li { border-bottom: 1px solid var(--border); }
.widget__list a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
}
.widget__list a:hover,
.widget__list a.active { color: var(--gold); }
.widget--cta blockquote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 13px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.widget--testimonial .widget__quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.widget__author { font-size: 12px; color: var(--text-muted); }

/* Service detail page */
.service-detail h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 25px;
}
.service-detail h2 {
  font-size: 1.1rem;
  color: var(--blue);
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.service-detail p { margin-bottom: 12px; }

/* ===== Footer ===== */
.footer {
  background: #2b2b2b;
  color: #aaa;
  padding-top: 50px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 35px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.footer__brand p { font-size: 13px; line-height: 1.7; margin-top: 18px; }
.footer__news li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
}
.footer__news a { color: #ccc; font-size: 13px; display: block; margin-bottom: 4px; }
.footer__news a:hover { color: var(--gold); }
.footer__news small { font-size: 11px; opacity: 0.6; }
.footer a { color: var(--gold); }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #444;
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
}

/* ===== WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  z-index: 10001;
  pointer-events: auto;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .service-list-item { flex-direction: column; }
  .service-list-item__img { flex: none; width: 100%; }
}

@media (max-width: 768px) {
  .values-list { grid-template-columns: 1fr; }
  .header__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    min-height: 44px;
    min-width: 44px;
    flex-shrink: 0;
  }
  .header__cta-label { font-size: 12px; line-height: 1.2; }
  .header__cta-text { font-size: 9px; }
  .top-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .top-bar__phones {
    justify-content: center;
    width: 100%;
  }
  .top-bar__inner { justify-content: center; text-align: center; }
  .top-bar__tagline { justify-content: center; display: flex; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .nav--open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 20px; border-bottom: 1px solid var(--border); }
  .header { position: relative; }
  .hero { height: 350px; }
  .hero__arrow { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer a[href^="tel:"] {
    display: inline-block;
    padding: 6px 0;
    min-height: 44px;
    line-height: 32px;
  }
}
