/* ============================================
   VARIÁVEIS DE TEMA — troque aqui para mudar
   a paleta de cores de toda a página
   ============================================ */
:root {
  --color-primary: #0A1325;
  --color-primary-light: #1E385A;
  --color-accent: #C9A66B;
  --color-accent-dark: #8A6A35;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F6F9;
  --color-text: #1A1A1A;
  --color-text-muted: #5B6470;
  --color-border: #E2E6EC;

  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Raleway', sans-serif;

  --radius: 10px;
  --max-width: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 8px;
}
.eyebrow.center { text-align: center; }

/* ============ HEADER ============ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 26px;
}
.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--color-accent-dark); }
/* CTA do header: escondido no mobile/tablet, aparece só no desktop.
   Selector com .site-header pra ter especificidade maior que .btn */
.site-header .header-cta { display: none; }
@media (max-width: 767px) {
  .header-inner { flex-direction: column; gap: 12px; padding: 14px 24px; }
  .logo img { height: 40px; }
  .site-nav { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .site-nav a { font-size: 0.82rem; }
}
@media (min-width: 992px) {
  .site-header .header-cta { display: inline-block; }
}

/* ancora sob header fixo */
[id] { scroll-margin-top: 100px; }
@media (max-width: 767px) {
  [id] { scroll-margin-top: 140px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  font-size: 0.95rem;
}
.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}
.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ============ HERO ============ */
.hero {
  background: var(--color-primary) url('assets/bg-pattern.png') repeat;
  background-size: 340px;
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.hero .eyebrow { color: var(--color-accent); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 8px;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}
.hero .btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.hero .btn-primary:hover { background: #ddc189; }

.hero-picker {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 600px) {
  .hero-picker { flex-direction: row; justify-content: center; }
}
.hero .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--color-accent);
}
.hero .btn-outline:hover {
  background: rgba(201, 166, 107, 0.15);
}

/* ============ HERO BRAND LINE ============ */
.hero-brand {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

/* ============ CREDENTIALS BAR ============ */
.credentials {
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.credentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  align-items: stretch;
}
.credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
}
.credential-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.credential-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}
.credential-divider { display: none; }

/* ============ SECTION TITLES ============ */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ============ SOBRE ============ */
.about { padding: 80px 0; }
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(10,19,37,0.18);
}
.about-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text {
  margin-top: 18px;
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.about-text strong { color: var(--color-primary); font-weight: 600; }

/* ============ ÁREAS (CARDS -> PÁGINAS) ============ */
.areas { padding: 72px 0; background: var(--color-bg-alt); }
.areas-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10,19,37,0.12);
}
.area-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
}
.area-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.area-card p { color: var(--color-text-muted); font-size: 0.96rem; margin-bottom: 20px; }
.area-link {
  margin-top: auto;
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.area-card:hover .area-link { color: var(--color-primary); }

/* ============ SERVICES ============ */
.services { padding: 72px 0; }
.services-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--color-border);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.center-cta {
  text-align: center;
  margin-top: 44px;
}

/* ============ WHY ============ */
.why {
  background: var(--color-bg-alt);
  padding: 72px 0;
}
.why-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--color-border);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
}
.why-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ============ TEAM (LAYOUT DIAGONAL) ============ */
.team-alt { padding: 80px 0; }
.team-alt-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 860px) {
  .team-alt-inner { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
}
.team-alt-photos {
  position: relative;
  max-width: 460px;
  width: 100%;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
}
/* respiro extra abaixo das fotos quando empilha no mobile (a foto da frente transborda a base) */
@media (max-width: 859px) {
  .team-alt-photos { margin-bottom: 40px; }
}
.team-alt-accent {
  position: absolute;
  top: -6%;
  left: 42%;
  width: 16%;
  height: 130%;
  background: linear-gradient(180deg, var(--color-accent), var(--color-primary-light));
  transform: rotate(14deg);
  border-radius: 40px;
  z-index: 0;
}
.team-alt-photo {
  position: absolute;
  width: 52%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  box-shadow: 0 20px 40px rgba(10,19,37,0.22);
}
.team-alt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}
.team-alt-photo:hover img { transform: scale(1.08); }
.team-alt-photo-back { top: 0; left: 0; z-index: 1; }
.team-alt-photo-front {
  top: 20%;
  right: 0;
  z-index: 2;
  border: 6px solid var(--color-bg);
}
.team-alt-text .section-title { text-align: left; margin-bottom: 24px; }
.team-alt-text p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  margin-bottom: 24px;
}
.team-alt-text p strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ============ CONTACT ============ */
.contact { padding: 72px 0; }
.contact-inner {
  display: grid;
  gap: 40px;
}
@media (min-width: 860px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.contact-info .section-title { text-align: left; }
.contact-list {
  list-style: none;
  margin-bottom: 32px;
}
.contact-list li { margin-bottom: 10px; color: var(--color-text-muted); }
.contact-list a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-map iframe {
  border-radius: var(--radius);
  width: 100%;
  display: block;
}

/* ============ FOOTER ============ */
.site-footer {
  background: #0A1F38;
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
  font-size: 0.85rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: left;
}
@media (min-width: 640px) {
  .footer-grid { flex-direction: row; justify-content: space-between; }
}
.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}
.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-cross-link { margin-top: -4px; }
.footer-cross-link a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}
.footer-cross-link a:hover { color: #fff; text-decoration: underline; }
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
@media (min-width: 640px) {
  .footer-contact-list { max-width: 320px; }
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.footer-contact-list svg { flex-shrink: 0; margin-top: 1px; color: var(--color-accent); }
.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  min-width: 0;
}
.footer-contact-list a:hover { color: #fff; }

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
