/* styles.css */

/* Modern CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

img, picture, video, canvas, svg, iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* Remove default list styles */
ol, ul {
    list-style: none;
}

/* Remove default table borders */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Improve focus visibility */
:focus {
    outline: 2px solid var(--red-metallic, #ff7f00);
    outline-offset: 2px;
}

/* Prevent text overflow */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #4a4a4a;
    --light-gray: #8a8a8a;
    --silver: #c0c0c0;
    --white: #ffffff;
    --red-metallic: #ff7f00;
    --red-metallic-hover: #e66f00;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--red-metallic);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--silver);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-primary {
    display: inline-block;
    background: var(--red-metallic);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 127, 0, 0.3);
}

.btn-primary:hover {
    background: var(--red-metallic-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h2 {
    color: var(--white);
    font-size: 1.8rem;
}

.logo h2 span {
    color: var(--red-metallic);
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-metallic);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover:after {
    width: 100%;
}

.nav-menu ul li a:hover {
    color: var(--silver);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('img/car1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--silver);
    animation: fadeInUp 1s ease 0.3s both;
}

/* Sobre Nós */
.sobre {
    padding: 100px 0;
    background: var(--secondary-black);
    text-align: center;
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-text h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--silver);
}

.sobre-stats {
    display: flex;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--red-metallic);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    margin: 0;
    color: var(--silver);
}

.sobre-image {
    display: flex;
    justify-content: center;
}

.sobre-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.sobre-image img:hover {
    transform: scale(1.03);
}

/* Serviços */
.servicos {
    padding: 100px 0;
    background: var(--primary-black);
}

.servicos h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servico-card {
    background: var(--secondary-black);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 127, 0, 0.2);
}

.servico-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red-metallic);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.servico-card:hover:before {
    transform: scaleX(1);
}

.servico-icon {
    font-size: 3rem;
    color: var(--red-metallic);
    margin-bottom: 20px;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.servico-card p {
    color: var(--silver);
    margin-bottom: 20px;
}

.servico-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--silver);
}

.servico-card.active .servico-details {
    max-height: 200px;
}

/* Galeria */
.galeria {
    padding: 100px 0;
    background: var(--secondary-black);
}

.galeria h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.galeria-container {
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.galeria-item {
    display: none;
}

.galeria-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.galeria-before-after {
    display: flex;
    gap: 20px;
    position: relative;
}

.galeria-before, .galeria-after {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.galeria-before img, .galeria-after img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-before:hover img, .galeria-after:hover img {
    transform: scale(1.05);
}

.galeria-before span, .galeria-after span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 127, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.galeria-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.galeria-prev, .galeria-next {
    background: var(--red-metallic);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-prev:hover, .galeria-next:hover {
    background: var(--red-metallic-hover);
    transform: scale(1.1);
}

/* Depoimentos */
.depoimentos {
    padding: 100px 0;
    background: var(--primary-black);
}

.depoimentos h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.depoimentos-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-item {
    background: var(--secondary-black);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.depoimento-item:before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    color: rgba(255, 127, 0, 0.1);
    font-family: serif;
    line-height: 1;
}

.depoimento-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--silver);
    position: relative;
    z-index: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 5px;
}

.rating {
    color: #FFD700;
}

/* Agendamento */
.agendamento {
    padding: 100px 0;
    background: var(--secondary-black);
}

.agendamento h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.agendamento-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.agendamento-form {
    background: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid var(--medium-gray);
    background: var(--secondary-black);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-metallic);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.2);
}

.agendamento-info h3 {
    margin-bottom: 20px;
}

.agendamento-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.agendamento-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.agendamento-info ul li i {
    color: var(--red-metallic);
    margin-right: 10px;
    margin-top: 5px;
}

.agendamento-contato {
    margin-top: 30px;
}

.agendamento-contato h4 {
    margin-bottom: 15px;
}

/* Contato */
.contato {
    padding: 100px 0;
    background: var(--primary-black);
}

.contato h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contato-info .info-item {
    display: flex;
    margin-bottom: 30px;
}

.contato-info .info-item i {
    font-size: 1.5rem;
    color: var(--red-metallic);
    margin-right: 20px;
    min-width: 30px;
}

.contato-info .info-item h4 {
    margin-bottom: 5px;
}

.contato-info .info-item p {
    color: var(--silver);
    margin: 0;
}

.contato-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--secondary-black);
    padding: 70px 0 0;
}

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

.footer-logo h2 {
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--silver);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-social h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--red-metallic);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--silver);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--red-metallic);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-gray);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--red-metallic);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--dark-gray);
    color: var(--light-gray);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sobre-stats {
        justify-content: center;
    }
    
    .agendamento-content {
        grid-template-columns: 1fr;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .contato-map iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .logo h2 {
        font-size: 1.44rem; /* 20% redução de 1.8rem */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-black);
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .galeria-before-after {
        flex-direction: column;
    }
    
    .galeria-before, .galeria-after {
        width: 100%;
    }
    
    .galeria-before img, .galeria-after img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .sobre-image img {
        max-width: 350px;
    }
    
    .sobre-stats {
        flex-direction: column;
        gap: 20px;
        max-width: 300px;
        margin: 30px auto 0;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-container {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}