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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #1d1d1f;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Melhorado */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: -0.022em;
    display: flex;
    align-items: center;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e53e3e;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #e53e3e;
}

.btn-admin {
    background-color: #e53e3e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background-color: #c53030;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

/* Hero Section Melhorado */
.hero-modern {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: #e53e3e;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53e3e, #ff6b6b);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    opacity: 0.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #e53e3e;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-banner {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-banner:hover {
    transform: scale(1.02);
}

/* Banner Placeholder melhorado */
.banner-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #666;
    border: 2px dashed #444;
}

.banner-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.banner-placeholder-text {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Cars Section Melhorada */
.cars-section-modern {
    padding: 120px 0;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    font-weight: 300;
}

.cars-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 350px));
    gap: 30px;
    justify-content: center;
    max-width: 100%;
}

/* Quando há apenas um card, limitamos a largura máxima */
.cars-grid-modern:has(.car-card-modern:only-child) {
    max-width: 400px;
    margin: 0 auto;
}

/* Fallback para navegadores que não suportam :has() */
.cars-grid-modern.single-car {
    max-width: 400px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

/* Car Cards Melhorados */
.car-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform: translateY(40px);
    opacity: 0;
}

.car-card-modern.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.car-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.car-card-modern:hover .card-image {
    transform: scale(1.02);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ccc;
}

.card-content {
    padding: 28px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.car-name {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.3;
    flex: 1;
}

.car-year {
    background: #e53e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.car-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.info-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.card-actions {
    margin-top: 16px;
}

.info-button {
    width: 100%;
    background: #1d1d1f;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.info-button:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
}

/* Modal Melhorado */
.modal-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-modern.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-container {
    background: white;
    border-radius: 24px;
    max-width: min(900px, 95vw);
    width: 100%;
    max-height: min(90vh, 800px);
    overflow-y: auto;
    position: relative;
    z-index: 2001;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 20px;
}

.modal-modern.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2002;
    font-size: 24px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e53e3e;
    transform: scale(1.1);
}

.modal-content-modern {
    padding: 0;
}

.modal-header-modern {
    padding: 40px 40px 20px 40px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.modal-title-section {
    flex: 1;
    min-width: 0;
}

.modal-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Modal Gallery Melhorada */
.modal-gallery-modern {
    position: relative;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: clamp(250px, 50vw, 400px);
    overflow: hidden;
}

.main-image-container.placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: #ccc;
}

.main-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #e53e3e;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.image-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.thumbnails-container {
    display: flex;
    gap: 12px;
    padding: 20px 40px;
    overflow-x: auto;
    background: #f9f9f9;
    scrollbar-width: thin;
    scrollbar-color: #e53e3e #f0f0f0;
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: #e53e3e;
    border-radius: 3px;
}

.thumbnail-modern {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumbnail-modern:hover,
.thumbnail-modern.active {
    border-color: #e53e3e;
    transform: scale(1.05);
}

/* Modal Details Melhorados */
.modal-details-modern {
    padding: 40px;
}

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

.detail-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.detail-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.detail-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    color: #1d1d1f;
    font-weight: 600;
    word-break: break-word;
}

.modal-description-modern {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.modal-description-modern h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.modal-description-modern p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

.modal-actions-modern {
    text-align: center;
}

.whatsapp-btn-large {
    background: linear-gradient(135deg, #25d366, #20b954);
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-large:hover {
    background: linear-gradient(135deg, #20b954, #25d366);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-text {
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: white;
    color: #e53e3e;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #e53e3e;
}

/* Footer Melhorado */
.footer-modern {
    background: #1d1d1f;
    color: white;
    padding: 80px 0 40px 0;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e53e3e;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    color: #999;
}

.empty-state-modern {
    text-align: center;
    padding: 120px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    opacity: 0.5;
}

.empty-state-modern h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.empty-state-modern p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Admin Styles Melhorados */
.admin-container {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.admin-title {
    font-size: clamp(1.8rem, 4vw, 2rem);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 30px;
    letter-spacing: -0.003em;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1d1d1f;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 17px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: #c53030;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: #ff3b30;
    color: white;
    padding: 8px 16px;
    font-size: 15px;
}

.btn-danger:hover {
    background-color: #ff453a;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}

.btn-secondary:hover {
    background-color: #e8e8ed;
}

/* Table Responsiva */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 700px;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f2f2f7;
    white-space: nowrap;
}

.admin-table th {
    background-color: #f5f5f7;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 15px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table tr:hover {
    background-color: #f9f9fb;
}

.admin-table .actions-col {
    white-space: nowrap;
}

.admin-table .actions-col .btn {
    margin: 0 4px 4px 0;
    padding: 6px 12px;
    font-size: 14px;
}

/* Login Page Melhorada */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    padding: 20px;
}

.login-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 60px 50px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 420px;
}

/* Banner Preview Melhorado */
.banner-preview-container {
    margin-top: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.banner-preview-container img {
    transition: transform 0.3s ease;
}

.banner-preview-container:hover img {
    transform: scale(1.02);
}

/* Alert Messages Melhoradas */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: #d1f2eb;
    color: #00784a;
    border-color: #b3e6d1;
}

.alert-success::before {
    content: '✅';
    font-size: 1.2rem;
}

.alert-error {
    background-color: #ffe6e6;
    color: #d32f2f;
    border-color: #ffb3b3;
}

.alert-error::before {
    content: '❌';
    font-size: 1.2rem;
}

/* Animações */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    animation: bounce 2s infinite;
}

.whatsapp-float-btn {
    background: linear-gradient(135deg, #25d366, #20b954);
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    min-width: 60px;
    justify-content: center;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #20b954, #25d366);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.whatsapp-text {
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Responsive Design Melhorado */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-banner {
        height: 300px;
    }
    
    .cars-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(320px, 320px));
        gap: 25px;
        justify-content: center;
    }
    
    /* Card único em tablet */
    .cars-grid-modern.single-car {
        max-width: 360px;
        margin: 0 auto;
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .thumbnails-container {
        padding: 16px 20px;
    }
    
    .modal-header-modern {
        padding: 30px 30px 16px 30px;
    }
    
    .modal-details-modern {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 15px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
    
    .hero-modern {
        padding: 80px 0 40px 0;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 30px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-banner {
        height: 250px;
    }
    
    .cars-section-modern {
        padding: 60px 0;
    }
    
    .cars-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        justify-content: center;
    }
    
    /* Card único em mobile */
    .cars-grid-modern.single-car {
        max-width: 320px;
        margin: 0 auto;
        grid-template-columns: 1fr;
    }
    
    .card-image-container {
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 16px;
    }
    
    .car-year {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .car-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .info-item {
        font-size: 0.85rem;
    }
    
    .info-button {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .modal-container {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header-modern {
        padding: 20px 20px 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .main-image-container {
        height: 200px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .thumbnails-container {
        padding: 12px 20px;
        gap: 8px;
    }
    
    .thumbnail-modern {
        width: 60px;
        height: 45px;
    }
    
    .modal-details-modern {
        padding: 20px;
    }
    
    .details-columns {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .detail-card {
        padding: 16px;
    }
    
    .modal-description-modern {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .whatsapp-btn-large {
        padding: 16px 28px;
        font-size: 1rem;
        flex-direction: column;
        gap: 4px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .footer-modern {
        padding: 60px 0 30px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-float-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
    }
    
    /* Admin responsive */
    .admin-container {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .login-card {
        padding: 40px 30px;
        margin: 10px;
    }
    
    .table-responsive {
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .admin-table .actions-col .btn {
        padding: 4px 8px;
        font-size: 12px;
        margin: 0 2px 2px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .hero-banner {
        height: 200px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .card-image-container {
        height: 180px;
    }
    
    .info-button {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .modal-container {
        margin: 5px;
    }
    
    .modal-header-modern {
        padding: 16px 16px 12px 16px;
    }
    
    .main-image-container {
        height: 180px;
    }
    
    .modal-details-modern {
        padding: 16px;
    }
    
    .detail-card {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        font-size: 1.2rem;
    }
    
    /* Admin mobile */
    .admin-container {
        padding: 20px 15px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
        font-size: 13px;
    }
}