@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

/* =========================
   Estilos base e utilitários
   ========================= */

/* Fonte principal */
body {
    background-color: #111827; /* bg-gray-900 */
    color: #e5e7eb;           /* text-gray-200 */
    font-family: 'Inter', sans-serif;
    line-height: 1.625;       /* leading-relaxed */
}

/* =========================
   Header e navegação
   ========================= */

/* Header fixo com blur */
header {
    background-color: rgba(17, 24, 39, 0.8); /* bg-gray-900/80 */
    backdrop-filter: blur(4px);              /* backdrop-blur-sm */
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover, .hover\:text-cyan-400:hover {
    color: #22d3ee; /* text-cyan-400 */
}

.bg-cyan-500 {
    background-color: #06b6d4;
}
.bg-cyan-600 {
    background-color: #0891b2;
}
.text-cyan-400 {
    color: #22d3ee;
}
.text-white {
    color: #fff;
}
.text-gray-400 {
    color: #9ca3af;
}
.text-gray-300 {
    color: #d1d5db;
}
.text-gray-200 {
    color: #e5e7eb;
}
.bg-gray-900 {
    background-color: #111827;
}
.bg-gray-800 {
    background-color: #1f2937;
}
.bg-gray-700 {
    background-color: #374151;
}
.border-cyan-500 {
    border-color: #06b6d4;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-full {
    border-radius: 9999px;
}
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}
.font-bold {
    font-weight: 700;
}
.font-black {
    font-weight: 900;
}
.font-light {
    font-weight: 300;
}
.font-medium {
    font-weight: 500;
}
.font-extrabold {
    font-weight: 800;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.transition {
    transition: all 0.3s;
}
.duration-300 {
    transition-duration: 0.3s;
}
.transform {
    transform: translateZ(0);
}
.hover\:scale-105:hover {
    transform: scale(1.05);
}
.hover\:bg-cyan-600:hover {
    background-color: #0891b2;
}
.hover\:text-cyan-300:hover {
    color: #67e8f9;
}
.hover\:bg-gray-700:hover {
    background-color: #374151;
}
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-62 { width: 15.5rem; } /* 248px */
.h-62 { height: 15.5rem; }
.md\:w-\[332px\] { width: 332px; }
.md\:h-\[332px\] { height: 332px; }
.aspect-square { aspect-ratio: 1 / 1; }
.object-cover { object-fit: cover; }
.border-4 { border-width: 4px; }
/* .md\:mb-0 is handled by media query below */
/* .md\:text-left is handled by media query below */
/* .md\:w-1\/2 is handled by media query below */
/* .md\:grid-cols-2 is handled by media query below */
/* .lg\:grid-cols-3 is handled by media query below */
/* .md\:text-2xl is handled by media query below */
/* .md\:text-7xl is handled by media query below */

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:text-left { text-align: left; }
    .md\:w-1\/2 { width: 50%; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:w-\[332px\] { width: 332px; }
    .md\:h-\[332px\] { height: 332px; }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-7xl { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================
   Hero Section
   ========================= */

/* Hero com imagem de fundo e alinhamento central */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 1)), url('https://placehold.co/1920x1080/111827/334155?text=Background');
}

/* =========================
   Botões e links
   ========================= */

/* Botão principal estilizado */
.btn-primary, .bg-cyan-500 {
    background-color: #06b6d4;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover, .hover\:bg-cyan-600:hover {
    background-color: #0891b2;
    transform: scale(1.05);
}

/* =========================
   Animações (exemplo)
   ========================= */

@keyframes fade-in-down {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
.animate-fade-in-down {
    animation: fade-in-down 1s ease-out;
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.animate-fade-in-up {
    animation: fade-in-up 1s ease-out;
}

/* Animação de rotação contínua para engrenagem */
@keyframes gear-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Garante que o SVG da engrenagem sempre ocupe todo o círculo, inclusive em telas pequenas */
.gear-spin {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: block;
    animation: gear-spin 2.5s linear infinite;
    /* Gira mais rápido ao rolar */
    will-change: transform;
    transition: animation-duration 0.2s;
}

/* =========================
   Cards de serviço
   ========================= */

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: all 0.3s;
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* =========================
   Formulário
   ========================= */

input, textarea {
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    color: #fff;
    padding: 0.5rem 0.75rem;
    width: 100%;
    margin-top: 0.25rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
input:focus, textarea:focus {
    border-color: #06b6d4;
    box-shadow: 0 0 0 2px #06b6d4;
}

/* =========================
   Footer
   ========================= */

footer {
    background-color: #111827;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    color: #9ca3af;
}
