/*
Theme Name: Aprimorarte Treinamentos
Theme URI: https://aprimorarte.com.br
Description: Tema profissional para Aprimorarte Treinamentos - Segurança do Trabalho
Version: 1.0
Author: Aprimorarte
Author URI: https://aprimorarte.com.br
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aprimorarte
Domain Path: /languages
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text h1 {
    font-size: 1.125rem;
    color: #1e3a8a;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

nav {
    display: none;
    gap: 2rem;
}

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

    nav a {
        color: #1f2937;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

    nav a:hover {
        color: #1e3a8a;
    }
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-phone, .btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-phone {
    color: #1e3a8a;
}

.btn-phone:hover {
    background: #eff6ff;
}

.btn-phone span {
    display: none;
}

@media (min-width: 640px) {
    .btn-phone span {
        display: inline;
        font-size: 0.875rem;
    }
}

.btn-whatsapp {
    background: #22c55e;
    color: white;
}

.btn-whatsapp:hover {
    background: #16a34a;
}

.btn-whatsapp span {
    display: none;
}

@media (min-width: 640px) {
    .btn-whatsapp span {
        display: inline;
        font-size: 0.875rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663044432148/HcD4T4pd58AoKhP9fEfQ4j/hero-banner-treinamentos-QE5jgVWR6vZjUZjus2GbVA.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: "✓";
    color: #4ade80;
    font-weight: bold;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: #22c55e;
    color: white;
}

.btn-primary:hover {
    background: #16a34a;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
}

.btn-secondary:hover {
    background: #f0f9ff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    color: white;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.875rem;
    color: #dbeafe;
}

/* Section Padding */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

.section-bg-light {
    background: #f9fafb;
}

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

.section-title h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e5e7eb;
}

.service-content {
    padding: 1.5rem;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.service-content h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-content p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.service-link:hover {
    color: #0ea5e9;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-text h2 {
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    color: #10b981;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.5rem;
    border-radius: 0.75rem;
}

.stat-box.green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.stat-box.amber {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.stat-box h4 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.stat-box.green h4 {
    color: #059669;
}

.stat-box.amber h4 {
    color: #b45309;
}

.stat-box p {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-box small {
    color: #4b5563;
    font-size: 0.75rem;
}

/* Socorrista Section */
.socorrista {
    background: linear-gradient(to bottom right, #1e3a8a, #1e40af, #1e3a8a);
    color: white;
    position: relative;
    overflow: hidden;
}

.socorrista-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663044432148/HcD4T4pd58AoKhP9fEfQ4j/abstract-safety-pattern-AD8TE3EP5CK95pn3xe8Gwa.webp');
    background-size: cover;
    z-index: 0;
}

.socorrista-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .socorrista-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.socorrista-image {
    position: relative;
}

.socorrista-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
}

.socorrista-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: #fbbf24;
    color: #1e3a8a;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.socorrista-text h2 {
    margin-bottom: 1.5rem;
}

.socorrista-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.socorrista-text p {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.socorrista-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.socorrista-feature {
    display: flex;
    gap: 1rem;
}

.socorrista-feature-icon {
    color: #4ade80;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.socorrista-feature h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.socorrista-feature p {
    color: #dbeafe;
    font-size: 0.875rem;
    margin: 0;
}

.socorrista-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.socorrista-stat {
    text-align: center;
}

.socorrista-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
}

.socorrista-stat-label {
    font-size: 0.75rem;
    color: #dbeafe;
}

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

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-icon.green {
    background: #dcfce7;
    color: #059669;
}

.contact-icon.blue {
    background: #dbeafe;
    color: #1e3a8a;
}

.contact-icon.amber {
    background: #fef3c7;
    color: #b45309;
}

.contact-card h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-card p {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-card .phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
}

.contact-card.green .phone {
    color: #22c55e;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.form-group label {
    display: block;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

.cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Footer */
footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #1e3a8a;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

/* WordPress Specific */
.wp-block-image {
    margin: 1rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0ea5e9;
}
