/* ============================================
   Rei da Escavadeira – Design System
   HTML Puro + CSS. Zero dependências.
   ============================================ */

/* --- Reset + Variables --- */
:root {
  /* Cores - Paleta Rei da Escavadeira */
  --primary:       #1A1A1A;           /* Escuro neutro (texto / fundos escuros) */
  --primary-hov:   #111111;           /* Escuro hover */
  --secondary:     #2A2A2A;           /* Cinza carvão (hero / footer) */
  --secondary-fg:  #ffffff;
  --accent:        #F5C242;           /* Dourado/amarelo (cor principal da logo) */
  --accent-hov:    #E0B030;           /* Dourado hover mais escuro */
  --yellow:        #F5C242;           /* Dourado/amarelo */
  --orange:        #E87C2E;           /* Laranja para CTAs secundários */
  --orange-hov:    #D06A1E;           /* Laranja hover */
  --bg:            #FAFAF7;           /* Fundo claro quente */
  --bg-muted:      #F0EDE6;           /* Fundo alternado */
  --fg:            #1A1A1A;           /* Texto principal */
  --fg-muted:      #4A4A4A;           /* Texto secundário */
  --fg-dim:        #737373;           /* Texto suave */
  --border:        #E2DFD8;           /* Bordas suaves */
  --green:         #57ab7a;
  --green-hov:     #468c62;
  --card-bg:       #ffffff;
  --card-border:   #E8E5DE;
  --overlay:       rgba(26,26,26,0.88); /* Escuro com transparência */

  /* Tipografia */
  --font-body:     'Source Sans 3', sans-serif;
  --font-heading:  'Oswald', sans-serif;

  /* Espaçamento */
  --section-pad:   5rem 0;
  --section-pad-lg: 6rem 0;
  --section-pad-sm: 3.5rem 0;
  --container-max: 1200px;
  --gap:           2rem;

  /* Bordas */
  --radius-sm:     0.375rem;
  --radius-md:     0.5rem;
  --radius-lg:     0.75rem;
  --radius-xl:     1rem;
  --radius-full:   9999px;

  /* Sombras (tintadas com tom quente, não puro preto) */
  --shadow-sm:     0 1px 3px rgba(26,20,10,0.06);
  --shadow-md:     0 4px 16px rgba(26,20,10,0.08);
  --shadow-lg:     0 12px 40px rgba(26,20,10,0.12);
  --shadow-card:   0 2px 8px rgba(26,20,10,0.04);
  --shadow-hover:  0 16px 40px rgba(26,20,10,0.10);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg);
  background: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

main {
  background: var(--bg);
}

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

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

ul { list-style: none; }
strong { font-weight: 600; }

/* --- Utilitários --- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.text-primary  { color: var(--accent); }
.text-secondary-fg { color: var(--secondary-fg); }
.text-yellow   { color: var(--yellow); }
.text-accent   { color: var(--accent); }
.text-bg       { color: var(--bg); }
.bg-bg         { background: var(--bg); }
.bg-muted      { background: var(--bg-muted); }
.bg-secondary  { background: #1a1a1a; color: var(--secondary-fg); }

.bg-secondary .section__title { color: var(--secondary-fg); }
.bg-secondary .section__subtitle { color: var(--accent); }
.bg-secondary .section__line { background: var(--accent); }

/* --- Section Header --- */
.section { padding: var(--section-pad); }
.section--lg { padding: var(--section-pad-lg); }
.section--sm { padding: var(--section-pad-sm); }

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--fg);
}

.bg-secondary .section__title { color: #fff; }

.section__line {
  width: 4rem;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn--green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 15px rgba(87,171,122,0.25);
}
.btn--green:hover {
  background: var(--green-hov);
  border-color: var(--green-hov);
  box-shadow: 0 8px 25px rgba(87,171,122,0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn--accent {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
  box-shadow: 0 4px 20px rgba(245,194,66,0.4);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  transition: opacity 0.2s;
}

.header__logo:hover { opacity: 0.85; }

.header__menu {
  display: flex;
  gap: 2rem;
}

.header__menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all 0.25s ease;
  position: relative;
}

.header__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.header__menu a:hover { color: #fff; }
.header__menu a:hover::after { width: 100%; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.header__phone svg { color: var(--green); }

.header__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.header__mobile {
  display: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.90) 0%,
    rgba(26,26,26,0.65) 50%,
    rgba(26,26,26,0.40) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 8rem 4rem;
}

.hero__text {
  max-width: 680px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero__desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__fade {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.service-card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-card__img-wrap {
  width: 100%;
  height: 12rem;
  overflow: hidden;
  position: relative;
}

.service-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .service-card__img-wrap::after { opacity: 1; }

.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card__img-wrap img {
  transform: scale(1.1);
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: gap 0.2s, color 0.2s;
}

.service-card:hover .service-card__cta {
  gap: 0.6rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  max-width: 900px;
  margin-inline: auto;
}

.about .section__header {
  margin-bottom: 2rem;
}

.about__text {
  columns: 2;
  column-gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.about__text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--fg-muted);
  break-inside: avoid;
}

.about__cta {
  text-align: center;
}

/* ============================================
   DIFFERENTIALS
   ============================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.diff-card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.diff-card:hover::before { height: 100%; }

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.diff-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-hov));
  border-radius: var(--radius-lg);
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.diff-card:hover .diff-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.diff-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.diff-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* ============================================
   WHY / PORQUE
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-grid__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin: 1.5rem 0 2rem;
}

.why-grid__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-fg);
}

.why-item svg {
  color: var(--green);
  margin-top: 0.25rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
}

.testimonial-card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card__text {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.testimonial-card__author strong {
  color: var(--fg);
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ============================================
   LOCATION
   ============================================ */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.location-text p {
  margin-bottom: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

.location-list {
  margin-bottom: 1.5rem;
}

.location-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  line-height: 1.6;
}

.location-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.location-map iframe {
  display: block;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--gap);
}

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.contact-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

.contact-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: var(--radius-full);
  color: #1a1a1a;
  margin: 0 auto 1rem;
}

.contact-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #fff;
}

.contact-card__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

a.contact-card__link:hover { color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
  margin-top: 0 !important;
}

footer[style],
footer {
  margin-top: 0 !important;
}

main {
  margin-bottom: 0;
  padding-bottom: 0;
}

main + footer,
main + .footer {
  margin-top: 0 !important;
  border-top: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a,
.footer__links p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom a { color: var(--accent); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================
   WHATSAPP FAB
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fab-pulse 2s ease-in-out infinite;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 8px 35px rgba(37,211,102,0.5); }
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 35px rgba(37,211,102,0.5);
  animation: none;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.header__mobile {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.92);
  padding: 1rem 2rem 2rem;
}

.header__mobile[aria-hidden="false"] { display: flex; }

.header__mobile a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header__mobile a:hover { color: var(--accent); }

.header__mobile .header__phone {
  margin-top: 0.5rem;
  border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .header__menu,
  .header__phone { display: none; }

  .header__toggle { display: block; }

  .about__text {
    columns: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .location-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 3rem 0;
    --section-pad-lg: 4rem 0;
    --section-pad-sm: 2.5rem 0;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__desc {
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  /* Touch targets mínimos de 44px */
  .btn {
    min-height: 44px;
    justify-content: center;
  }

  .header__menu a,
  .header__phone {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .whatsapp-fab {
    width: 3rem;
    height: 3rem;
    bottom: 1rem;
    right: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .btn {
    justify-content: center;
  }

  .services-grid,
  .testimonials-grid,
  .diff-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .header, .whatsapp-fab, .hero__fade { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}

body {
  
  
  
}
