/* ============================================================
   ANTONIO MELO CONSULTORIA — style.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Cores base */
  --background:           #ffffff;
  --foreground:           #111827;
  --foreground-green:     #031B0B;
  --card:                 #ffffff;
  --card-foreground:      #111827;
  --card-foreground-green:#031B0B;
  --border:               #dde3ed;
  --input:                #dde3ed;
  --muted:                #eef1f7;
  --muted-foreground:     #6b7280;

  /* Paleta principal */
  --gold:              #CBA050;
  --gold-light:        #CBA050;
  --navy:              hsl(216, 50%, 16%);
  --navy-green:        #031B0B;
  --navy-light:        hsl(216, 40%, 25%);
  --navy-light-green:  #031B0B;

  /* Tipografia */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Raio de borda padrão */
  --radius: 0.5rem;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground-green);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: 72rem; /* 1152px */
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--sm {
  max-width: 42rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--foreground-green);
}

.section-title--light {
  color: #ffffff;
}

.section-divider {
  display: block;
  width: 4rem;
  height: 4px;
  background-color: var(--gold);
  border-radius: 9999px;
  margin: 1rem auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ---------- Animações ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--navy-green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
}

.navbar__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
}

.navbar__logo span {
  color: var(--gold);
}

/* Desktop links */
.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: var(--gold);
}

.navbar__cta {
  display: inline-block;
  background-color: var(--gold);
  color: var(--navy-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  transition: filter 0.2s;
}

.navbar__cta:hover {
  filter: brightness(1.1);
}

/* Mobile toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}

.navbar__toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.navbar__toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  background-color: var(--navy-green);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}

.navbar__mobile.open {
  display: block;
}

@media (min-width: 768px) {
  .navbar__mobile {
    display: none !important;
  }
}

.navbar__mobile-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar__mobile-link:hover {
  color: var(--gold);
}

.navbar__mobile-cta {
  display: block;
  margin-top: 1rem;
  background-color: var(--gold);
  color: var(--navy-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem;
  border-radius: var(--radius);
  text-align: center;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(16, 41, 15, 0.712); /* navy/80 */
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin-inline: auto;
  padding: 0 1.5rem;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  border: 1px solid rgba(212, 168, 61, 0.3);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero__badge span {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}

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

.btn--gold:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: #ffffff;
  background: transparent;
}

.btn--outline:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

.hero__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 6rem 0;
  background-color: var(--background);
}

.about__description {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

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

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

.about__card {
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.about__card:hover {
  border-color: rgba(212, 168, 61, 0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.about__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--navy-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.about__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
  stroke: var(--gold);
}

.about__card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.about__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 6rem 0;
  background-color: var(--muted);
}

.services__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

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

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

.services__card {
  height: 100%;
  border-radius: 0.75rem;
  background-color: var(--card);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid transparent;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.services__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 61, 0.3);
}

.services__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: var(--navy-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.services__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--gold);
  color: var(--gold);
}

.services__card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.services__card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ============================================================
   DIFFERENTIALS
   ============================================================ */
.differentials {
  padding: 6rem 0;
  background-color: var(--navy-green);
}

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

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

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

.differentials__item {
  text-align: center;
}

.differentials__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  border: 2px solid rgba(212, 168, 61, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.differentials__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--gold);
  color: var(--gold);
}

.differentials__item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.differentials__item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 6rem 0;
  background-color: var(--background);
}

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

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

.testimonials__card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.testimonials__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonials__stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--gold);
  stroke: var(--gold);
}

.testimonials__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonials__author-name {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.testimonials__author-role {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 6rem 0;
  background-color: var(--navy-green);
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 9999px;
  background-color: var(--gold);
  filter: blur(5rem);
  opacity: 0.08;
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  padding: 0 1.5rem;
}

.cta__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
}

.btn--cta {
  font-size: 0.875rem;
  padding: 1.25rem 2.5rem;
}

.btn--cta:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  transform: scale(1.05);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background-color: var(--muted);
}

.contact__form {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--input);
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 61, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.btn--submit {
  width: 100%;
  background-color: var(--navy-green);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background-color 0.2s;
}

.btn--submit:hover {
  background-color: var(--navy-light-green);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--navy-green);
  padding: 4rem 0;
}

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

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

.footer__brand h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer__brand h3 span {
  color: var(--gold);
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer__contact-item svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--gold);
  flex-shrink: 0;
}

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

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #ffffff;
  stroke: none;
}
