:root {
  --preto-industrial: #1B1B1B;
  --cinza-chumbo: #2F2F2F;
  --vermelho-ferrugem: #C43E3E;
  --amarelo-tecnico: #E3A637;
  --branco-gelo: #F8F8F8;
  --cinza-leve: #E0E0E0;
  --azul-mecatronico: #1D4D72;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--preto-industrial);
    background-color: var(--branco-gelo);
    scroll-behavior: smooth;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

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

/* Botões */
.btn {
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    padding: 12px 30px;
}

.btn-primary {
    background-color: var(--vermelho-ferrugem);
    color: white;
    box-shadow: 0 4px 15px rgba(196, 62, 62, 0.3);
}

.btn-primary:hover {
    background-color: #a83333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 62, 62, 0.4);
    color: white;
    text-decoration: none;
}

.btn-light {
    background-color: white;
    color: var(--vermelho-ferrugem);
    border: 2px solid white;
}

.btn-light:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

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

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

/* Seções */
section {
    padding: 80px 0;
    position: relative;
}

/* Header/Logo */
.logo {
    height: 60px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--preto-industrial) 0%, var(--cinza-chumbo) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-oficina.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

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

.hero-section h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Diferenciais Section */
.diferenciais-section {
    background-color: var(--cinza-leve);
}

.diferenciais-section .card {
    height: 100%;
    text-align: center;
}

.diferenciais-section i {
    color: var(--vermelho-ferrugem);
    margin-bottom: 1rem;
}

/* Serviços Section */
.servicos-section {
    background-color: white;
}

/* Processo Section */
.processo-section {
    background-color: var(--cinza-leve);
}

.process-step {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.process-step i {
    color: var(--azul-mecatronico);
    margin-bottom: 1rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--azul-mecatronico);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

/* Quem Somos Section */
.quem-somos-section {
    background-color: white;
}

.quem-somos-section img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Antes e Depois Section */
.antes-depois-section {
    background-color: var(--cinza-leve);
}

.antes-depois-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.antes-depois-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.antes-depois-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.antes-depois-item:hover img {
    transform: scale(1.05);
}

/* Orçamento/Agendamento Section */
.orcamento-agendamento-section {
    background: linear-gradient(135deg, var(--azul-mecatronico) 0%, var(--preto-industrial) 100%);
    color: white;
}

.orcamento-agendamento-section .form-control {
    border-radius: 8px;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.orcamento-agendamento-section .form-control:focus {
    box-shadow: 0 0 0 3px rgba(196, 62, 62, 0.3);
    border-color: var(--vermelho-ferrugem);
}

/* FAQ Section */
.faq-section {
    background-color: var(--cinza-leve);
}

.accordion .card {
    border: none;
    margin-bottom: 1rem;
}

.accordion .card-header {
    background-color: white;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    color: var(--preto-industrial);
    text-decoration: none;
    font-weight: 600;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    border-radius: 8px;
}

.accordion .btn-link:hover {
    color: var(--vermelho-ferrugem);
    text-decoration: none;
}

.accordion .card-body {
    background-color: var(--branco-gelo);
    border-top: 1px solid var(--cinza-leve);
}

/* Contato WhatsApp Section */
.contato-whatsapp-section {
    background: linear-gradient(135deg, var(--vermelho-ferrugem) 0%, #a83333 100%);
    color: white;
}

.whatsapp-button {
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 50px;
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Footer */
.footer-section {
    background-color: var(--preto-industrial);
    color: white;
    padding: 60px 0 30px;
}

.footer-section h5 {
    color: var(--amarelo-tecnico);
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--amarelo-tecnico);
    text-decoration: none;
}

.social-icons a {
    margin-right: 15px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--amarelo-tecnico);
}

/* Botões Fixos */
.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--azul-mecatronico);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(29, 77, 114, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    background-color: var(--vermelho-ferrugem);
}

.back-to-top.show {
    display: flex;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade Completa */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .card-body {
        padding: 2.5rem;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) and (max-width: 1399px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .process-step {
        padding: 0 10px;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .process-step::after {
        display: none;
    }
    
    .card-body {
        padding: 2rem;
    }
    
    .antes-depois-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .orcamento-agendamento-section .form-control {
        margin-bottom: 1.5rem;
    }
}

/* Small devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.3rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.7rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 60px 0;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-section::before {
        width: 100%;
        opacity: 0.2;
    }
    
    .logo {
        height: 50px;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .card-body {
        padding: 1.8rem;
    }
    
    .process-step {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .process-step::after {
        display: none;
    }
    
    .process-step i {
        font-size: 2.5rem !important;
    }
    
    .antes-depois-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .antes-depois-item img {
        height: 200px;
    }
    
    .btn-lg {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .whatsapp-button {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
    
    .orcamento-agendamento-section .form-control {
        padding: 15px;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .accordion .btn-link {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .social-icons a {
        margin-right: 10px;
        font-size: 1.3rem;
    }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 {
        font-size: 1.9rem;
        line-height: 1.4;
    }
    
    h2 {
        font-size: 1.7rem;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.3rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-section {
        text-align: center;
        padding: 40px 0;
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-section::before {
        width: 100%;
        opacity: 0.15;
    }
    
    .logo {
        height: 40px;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
        text-align: center;
    }
    
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .card-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .process-step {
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 10px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .process-step i {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .process-step h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    .antes-depois-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .antes-depois-item img {
        height: 180px;
    }
    
    .overlay h5 {
        font-size: 1rem;
    }
    
    .overlay p {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .whatsapp-button {
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 25px;
    }
    
    .whatsapp-fixed {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        left: 15px;
    }
    
    .orcamento-agendamento-section {
        padding: 40px 0;
    }
    
    .orcamento-agendamento-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .orcamento-agendamento-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .orcamento-agendamento-section .form-control {
        padding: 12px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .orcamento-agendamento-section label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .accordion .card {
        margin-bottom: 0.8rem;
    }
    
    .accordion .btn-link {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .accordion .card-body {
        padding: 1rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contato-whatsapp-section {
        padding: 30px 0;
    }
    
    .contato-whatsapp-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contato-whatsapp-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        padding: 30px 0 15px;
    }
    
    .footer-section h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section .list-unstyled li {
        margin-bottom: 0.3rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .social-icons a {
        margin-right: 8px;
        font-size: 1.2rem;
    }
    
    /* Ajustes específicos para formulário em mobile */
    .orcamento-agendamento-section .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .orcamento-agendamento-section .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    /* Ajustes para estatísticas na seção Quem Somos */
    .quem-somos-section .row .col-6 {
        margin-bottom: 1rem;
    }
    
    .quem-somos-section .text-center h4 {
        font-size: 1.5rem;
    }
    
    .quem-somos-section .text-center p {
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    section {
        padding: 30px 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .whatsapp-fixed,
    .back-to-top,
    .preloader {
        display: none !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        page-break-inside: avoid;
    }
}

/* Melhorias de acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states para acessibilidade */
.btn:focus,
.form-control:focus,
a:focus {
    outline: 2px solid var(--amarelo-tecnico);
    outline-offset: 2px;
}

/* Smooth scrolling para navegação */
html {
    scroll-behavior: smooth;
}

/* Preloader (opcional) */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--preto-industrial);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--cinza-leve);
    border-top: 3px solid var(--vermelho-ferrugem);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

