/* ============================================================
   GUINCHOS BRASI — style.css
   1. Reset & Base
   2. Hero
   3. Faixa de Texto
   4. Por que nos escolher
   5. Serviços
   6. CTA Final
   7. Footer
   8. Responsivo
============================================================ */


/* ============================================================
   1. RESET & BASE
============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

section {
  padding: 70px 20px;
  text-align: center;
}

h2 {
  margin-bottom: 30px;
}


/* ============================================================
   2. HERO
============================================================ */

.hero {
  background: linear-gradient(135deg, rgba(10,31,68,0.75), rgba(30,58,138,0.75));
  background-image: url('img/guincho.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  max-width: 800px;
  margin: auto;
  line-height: 1.2;
}

.hero .sub {
  margin-top: 15px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.buttons {
  margin-top: 30px;
}

.btn-primary {
  background: #FBBF24;
  color: #0A1F44;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 10px;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(251,191,36,0.4);
   height: 56px; /* altura fixa */
  min-width: 200px; /* largura mínima igual */
  box-sizing: border-box;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251,191,36,0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #FBBF24;
  color: #FBBF24;
  padding: 16px 32px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  height: 56px; /* altura fixa */
  min-width: 200px; /* largura mínima igual */
  box-sizing: border-box;
}

.btn-secondary:hover {
  background: #FBBF24;
  color: #0A1F44;
  transform: translateY(-2px);
}
.btn-secondary {
  border: 2px solid #FBBF24;
}





.hero .info {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}


/* ============================================================
   3. FAIXA DE TEXTO
============================================================ */

.faixatexto {
  background-color: #0A1F44;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
}

.faixatexto p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
}

.faixatexto__ponto {
  width: 12px;
  height: 12px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: piscar 1.5s ease-in-out infinite;
}

@keyframes piscar {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50%       { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}


/* ============================================================
   4. POR QUE NOS ESCOLHER
============================================================ */

.porque {
  padding: 60px 20px;
  background-color: #f1f5f9;
  color: #1a1a1a;
  text-align: left;
}

.porque__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.porque__texto {
  flex: 1;
}

.porque__texto h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #0f172a;
  line-height: 1.3;
}

.porque__lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.porque__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.porque__icone {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: #0A1F44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FBBF24;
}

.porque__icone svg {
  width: 20px;
  height: 20px;
}

.porque__item-txt {
  border-left: 3px solid #FBBF24;
  padding-left: 12px;
}

.porque__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.porque__item p {
  font-size: 0.92rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

.porque__imagem-wrapper {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  max-width: 520px;
}

.porque__imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.porque__whatsapp-btn {
  position: absolute;
  bottom: 20px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #FBBF24;
  color: #0A1F44;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 40px 0 0 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  animation: shake 3s ease-in-out infinite;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.porque__whatsapp-btn:hover {
  background-color: #0A1F44;
  color: #FBBF24;
  animation: none;
}

.porque__whatsapp-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #0A1F44;
  transition: color 0.2s ease;
}

.porque__whatsapp-btn:hover svg {
  color: #FBBF24;
}

@keyframes shake {
  0%, 85%, 100% { transform: translateX(0); }
  87%            { transform: translateX(-4px); }
  89%            { transform: translateX(4px); }
  91%            { transform: translateX(-3px); }
  93%            { transform: translateX(3px); }
  95%            { transform: translateX(-2px); }
  97%            { transform: translateX(2px); }
}


/* ============================================================
   5. SERVIÇOS
============================================================ */

.servicos {
  background: #f8fafc;
  padding: 70px 20px;
  text-align: center;
}

.servicos__container {
  max-width: 960px;
  margin: 0 auto;
}

.servicos__header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.servicos__header .subtitulo {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 48px;
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.servico-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 20px 28px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: #FBBF24;
  border-bottom: 3px solid #FBBF24;
}

.servico-card__icone {
  width: 52px;
  height: 52px;
  background: #0A1F44;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.servico-card__icone svg {
  width: 24px;
  height: 24px;
  stroke: #FBBF24;
}

.servico-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.servico-card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
}

.servicos__orcamento {
  background: #0A1F44;
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
}

.servicos__orcamento-texto h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.servicos__orcamento-texto p {
  font-size: 0.95rem;
  color: #93c5fd;
}

.servicos__btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}

.servicos__btn-whatsapp:hover {
  background: #128c4e;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

.servicos__btn-whatsapp svg {
  width: 22px;
  height: 22px;
}


/* ============================================================
   6. CTA FINAL
============================================================ */

.cta {
  background: #0A1F44;
  color: white;
  padding: 70px 20px;
  text-align: center;
}

.cta__container {
  max-width: 860px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta__sub {
  color: #93c5fd;
  font-size: 1rem;
  margin-bottom: 36px;
}

.cta__cards {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta__card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 18px 28px;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta__card-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FBBF24;
}

.cta__card-txt {
  font-size: 0.78rem;
  color: #93c5fd;
  line-height: 1.4;
}

.cta__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta__btn-whats,
.cta__btn-ligar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* ============================================================
   7. FOOTER
============================================================ */

footer {
  background: #111;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px 20px 32px;
}

.footer__titulo {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer__texto {
  color: #9ca3af;
  line-height: 1.6;
}

.footer__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #FBBF24;
}

.footer__link svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__social-link {
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer__social-link:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
}

.footer__rodape {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 16px 20px;
  font-size: 0.82rem;
  color: #6b7280;
}


/* ============================================================
   8. RESPONSIVO
============================================================ */

@media (max-width: 768px) {
  .porque__container {
    flex-direction: column;
  }

  .porque__imagem-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

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

  .servicos__orcamento {
    flex-direction: column;
    text-align: center;
  }

  .servicos__btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .cta__btns {
    flex-direction: column;
    align-items: center;
  }

  .cta__btn-whats,
  .cta__btn-ligar {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {

  /* Botões do hero — empilhar verticalmente */
  .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 320px;
    margin-right: 0;       /* remove o margin-right que empurrava o botão */
    text-align: center;
    height: auto;
    padding: 16px 20px;
  }

  /* já existia, mantém: */
  .porque__container {
    flex-direction: column;
  }
  .porque__imagem-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .servicos__grid {
    grid-template-columns: 1fr;
  }
}
