/* ========= RESET e ESTILOS BASE ========= */
@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  vertical-align: baseline;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

html {
  min-height: 100%;
  min-width: 100%;
  -ms-text-size-adjust: none;
}

body {
  margin: 0;
  text-align: left;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  appearance: button;
}

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* ========= ESTILOS GLOBAIS ========= */
body {
  font-family: Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

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

/* ========= CONTAINER GERAL ========= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========= HEADER & NAVEGAÇÃO ========= */
header {
  background: #f8f8f8;
  padding: 10px 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo fixo (300x60) à esquerda */
.logo img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  float: left;
}

/* Navegação Desktop */
.nav-desktop ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-desktop a {
  padding: 5px 10px;
  font-weight: bold;
  transition: background 0.3s;
}

.nav-desktop a:hover {
  background: #e0e0e0;
  border-radius: 4px;
}

/* Navegação Mobile (Ícones) */
.nav-mobile {
  display: none;
}

.nav-mobile ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-mobile a {
  color: #333;
}

/* ========= HERO SECTION ========= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  color: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgb(0 0 0);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgb(0 0 0);
}

/* Botão de Call-to-Action */
.btn-cta {
  background: #47ca28;
  width: 90%;
  max-width: 320px;
  margin: 15px auto;
  display: block;
  padding: 15px 30px;
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-cta:hover {
  background: #e64a19;
}

/* ========= FEATURES SECTION ========= */
.features {
  padding: 60px 0;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-item {
  padding: 20px;
  background: #fafafa;
  border-radius: 5px;
}

.feature-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* ========= TESTIMONIALS SECTION ========= */
.testimonials {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  gap: 20px;
}

/* Grid: 2 colunas até 1024px, 4 colunas em desktops */
@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
}

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

.testimonial-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #555;
}

.testimonial-name {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

/* ========= FOOTER ========= */
footer {
    width: 100%;
    display: block;
    border-top: 1px dotted #ccc;
    background: #fff;
    margin: 15px auto;
    padding: 35px 0px;
    text-align: center;
}

footer nav ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.9rem;
}

/* ========= MEDIA QUERIES ========= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-cta {
    padding: 12px 25px;
    font-size: 1.4rem;
  }
  
  /* Exibe navegação mobile e oculta desktop */
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile {
    display: block;
  }
  
  /* Grid de Features: 1 coluna */
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Grid de Features: 2 colunas */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  /* Grid de Features: 3 colunas */
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}