/* PrimeSolutions - Estilos CSS */

/* Importar fonte Roboto do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Variáveis CSS */
:root {
  --ps-dark: #003B66;
  --ps-mid: #0066A1;
  --ps-light: #0D77E9;
  --ps-accent: #12C4B8;
  --ps-white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --container: 1200px;
  --card-bg: #fafbfc;
  --card-hover-bg: #f0f8ff;
}

/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #15202B;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Seções */
section {
  padding: 72px 0;
}

/* Tipografia */
h1 {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h4 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Links */
a {
  color: var(--ps-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--ps-light);
  color: var(--ps-white);
}

.btn-primary:hover {
  background: var(--ps-mid);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--ps-white);
  border: 1px solid var(--ps-accent);
}

.btn-secondary:hover {
  background: var(--ps-accent);
  color: var(--ps-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Header */
header {
  background: var(--ps-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--ps-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: rgba(13, 119, 233, 0.1);
  text-decoration: none;
}

/* Menu mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ps-dark);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ps-white);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.mobile-menu ul {
  flex-direction: column;
  gap: 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--ps-dark), var(--ps-mid));
  color: var(--ps-white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--ps-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero sections das outras páginas */
.hero-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-icon {
  width: 80px;
  height: 80px;
  opacity: 0.8;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 119, 233, 0.1), transparent);
  transition: left 0.6s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  background: var(--card-hover-bg);
  border-color: var(--ps-accent);
}

.card:hover::before {
  left: 100%;
}

/* Grid de serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--ps-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--ps-white);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
  background: var(--ps-light);
}

/* Grid de portfólio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.3s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card-content {
  padding: 1.5rem;
}

/* Seção sobre */
.about {
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text ul {
  list-style: none;
  margin-top: 2rem;
}

.about-text li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ps-accent);
  font-weight: bold;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--ps-dark), var(--ps-mid));
  color: var(--ps-white);
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  color: var(--ps-white);
  margin-bottom: 2rem;
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* Formulário */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--ps-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ps-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contato */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-block {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-block:hover {
  transform: translateY(-5px);
  background: var(--card-hover-bg);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--ps-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--ps-white);
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: var(--ps-dark);
  color: var(--ps-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--ps-accent);
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--ps-white);
  opacity: 0.8;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--ps-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }
  
  .header-content {
    position: relative;
  }
  
  nav {
    display: none;
  }
  
  .header-content .btn {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-with-icon {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-icon {
    width: 60px;
    height: 60px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 48px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

