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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --surface: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

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

section, div {
    max-width: 100vw;
}
  
/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.top-bar {
    background: var(--primary-color);
    padding: 0.35rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-start;
    margin-left: 5px;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-item {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-contact {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-contact i {
    font-size: 1.1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
    color: white;
}

/* Animation for the floating button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    left: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 18px;
    }
}

.navbar {
    padding: 7px 0;
    background-color: white;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.brand-link:hover {
    opacity: 0.9;
}

.logo {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a:active::after,
.nav-menu a:focus::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 0.5rem 1rem;
    display: block;
    color: var(--text-light);
}

.dropdown-menu a:hover {
    background: var(--surface);
    color: var(--primary-color);
}

.quote-btn {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 2rem !important;
}

.quote-btn:hover {
    background: var(--secondary-color) !important;
    box-shadow: var(--shadow);
}

.quote-btn::after {
    display: none !important;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
}
/* Menu toggle animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
.menu-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}
  
/* ===== Hero ===== */
.hero {
    margin-top: 120px;
    padding: 120px 0;
    background: url('img/logistica.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    padding: 3rem 2rem;
    border-radius: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero p {
    font-size: 30px;
    margin-bottom: 24px;
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    margin-top: 50px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-around;
    flex-wrap: wrap;
}
  
/* ===== Botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}
  
/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* ===== Screen Reader Only ===== */
.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;
}

/* ===== Welcome Section ===== */
.welcome {
    background: white;
}

.welcome-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.welcome h2 {
    color: var(--text-dark);
    font-size: 2.75rem;
    margin-bottom: 2rem;
    padding: 2rem 0 1rem 0;
}

.welcome > .container > .welcome-content > p {
    color: var(--text-light);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

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

.service-item {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    padding: 10px 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-item.animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-item.animate:nth-child(1) { animation-delay: 0.1s; }
.service-item.animate:nth-child(2) { animation-delay: 0.2s; }
.service-item.animate:nth-child(3) { animation-delay: 0.3s; }
.service-item.animate:nth-child(4) { animation-delay: 0.4s; }

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

.service-item .service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: block;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== Special Services ===== */
.special-services {
    background: var(--surface);
    padding: 96px 0;
}

.special-services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2.75rem;
    padding: 2rem 0 1rem 0;
}

.special-services p {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.special-services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 10px;
}

.special-services .service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    will-change: box-shadow, border-color;
}

.special-services .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.special-services .service-card .service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}


.special-services .service-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.special-services .service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

.special-services .service-card .service-features li {
    color: var(--text-light);
    margin: 0.35rem 0;
    position: relative;
    list-style: none;
    padding-left: 1.25rem;
}

.special-services .service-card .service-features li::before {
    content: '\f00c'; /* fa-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0.05rem;
}

/* Card actions */
.special-services .service-card .card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Hover suave sem elevação - apenas mudanças de cor e sombra */
.special-services .service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(30,58,138,0.2);
}

/* Focus states para acessibilidade */
.special-services .service-card:focus,
.special-services .service-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Garantir que as animações funcionem mesmo com preferências de movimento reduzido */
@media (prefers-reduced-motion: no-preference) {
    .special-services .service-card {
        transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }
}

/* ===== Why Choose Us ===== */
.why-choose {
    background: white;
    padding: 40px 0;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2.75rem;
    padding: 2rem 0 1rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
}

.feature-item {
    background: white;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.feature-item {
    background: white;
    padding: 10px;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}



.feature-item .feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}


.feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== Services ===== */
.services-cards {
    background: var(--surface);
    padding: 6rem 0;
}

.services-cards .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-cards .card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.services-cards .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.services-cards .card:hover::after {
    left: 100%;
}

.services-cards .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.services-cards .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.services-cards .card-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
}

.services-cards .card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.services-cards .card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.services-cards .card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.services-cards .card-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.services-cards .card-link:hover {
    background: var(--secondary-color);
    color: white;
}
 
/* ===== Stats ===== */
.stats {
    background: var(--primary-color);
    color: white;
    position: relative;
}

.stats-with-bg {
    background-image: url('img/caixas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.8);
    z-index: 1;
}

.stats-with-bg .container {
    position: relative;
    z-index: 2;
}

.stats h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    padding: 45px 0 45px 0;
    font-size: 44px;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 500;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%231e3a8a" opacity="0.02" width="100" height="100"/><circle cx="50" cy="50" r="40" fill="none" stroke="%231e3a8a" opacity="0.03"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.testimonials-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.testimonials-header h2 {
    color: var(--text-dark);
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-description {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 10px;
    position: relative;
}

.testimonial-item {
    background: white;
    padding: 1.75rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
    display: none;
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

.testimonial-item:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
    z-index: 0;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.rating-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-content {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    padding: 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
}

/* Carousel controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
}

.testimonial-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 30px rgba(30, 58, 138, 0.25);
}

.testimonial-btn i {
    font-size: 1.125rem;
}

.testimonial-btn:active {
    transform: scale(0.98);
}

/* Dots indicator */
.testimonial-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.testimonial-dot:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .testimonial-quote-icon {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.875rem;
        padding: 0;
    }
    
    .testimonial-controls {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .testimonial-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .testimonials-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.25rem;
    }
    
    .testimonials-header h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-description {
        font-size: 1rem;
    }
    
    .testimonial-item {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
    }
    
    .author-role {
        font-size: 0.75rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .testimonial-controls {
        gap: 0.75rem;
    }
}

/* ===== Quote Section ===== */
.quote-section {
    padding: 4rem 0;
    position: relative;
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.quote-header h2 {
    color: var(--text-dark);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding: 2rem 0 1rem 0;
    position: relative;
}

.quote-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quote-form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 150px;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
    transition: color 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: #cbd5e1;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.quote-form .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.quote-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-color) 100%);
}

.quote-form .btn:active {
    transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 767px) {
    .quote-section {
        padding: 2rem 0;
    }
    
    .quote-header h2 {
        font-size: 2rem;
    }
    
    .quote-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-row {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}
  
/* ===== Footer ===== */
.footer {
    background-image: url('img/fila-caminhao.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding:32px 32px 16px;
    margin-top: 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section .contact-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.footer-section .contact-item i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

/* Footer Social Subtitle */
.footer-social-subtitle {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.footer-social-items {
    margin-top: 0;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Social Media */
.footer-social-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-section h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.footer-social-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.footer-social-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.footer-social-card.whatsapp .footer-social-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.footer-social-card.facebook .footer-social-icon {
    background: linear-gradient(135deg, #1877F2, #0C5DAF);
}

.footer-social-card.instagram .footer-social-icon {
    background: linear-gradient(135deg, #E4405F, #833AB4);
}

.footer-social-card.email .footer-social-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-social-info h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.footer-social-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-color);
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
}

.footer-section .social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.developed-by {
    font-size: 0.75rem !important;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.developed-by a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.developed-by a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


/* ===== Responsividade ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .navbar {
        padding: 6px 0;
    }
    
    .top-bar {
        padding: 0.3rem 0;
        font-size: 0.8rem;
    }
    
    .hero {
        margin-top: 100px;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1.125rem;
        opacity: 1;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 1rem;
        z-index: 9999;
        border-top: 1px solid #e5e7eb;
    }
    /* Make dropdowns usable on mobile */
    .nav-menu .dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        padding: 0.25rem 0;
        display: none; /* collapsed by default */
    }
    .nav-menu .dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-menu .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .nav-menu.active a {
        padding: 0.5rem 0.25rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section p {
        margin-bottom: 1rem;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-section .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-header h2 {
        font-size: 2.25rem;
    }
    
    /* New responsive styles for added sections */
    .services-cards .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-cards .card {
        padding: 2rem 1.5rem;
    }
    
    .services-cards .card-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-cards .card-link {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .special-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer responsive styles */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-social-card {
        padding: 1rem;
    }
    
    .footer-social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .footer-social-info h4 {
        font-size: 1rem;
    }
    
    .footer-social-info p {
        font-size: 0.8rem;
    }
    
    .welcome h2 {
        font-size: 2.25rem;
    }
    
    .special-services h2 {
        font-size: 2.25rem;
    }
    
    .why-choose h2 {
        font-size: 2.25rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }
    
    .navbar {
        padding: 4px 0;
    }
    
    .navbar .container {
        gap: 8px;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1rem;
        opacity: 1;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .testimonials-header h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-subtitle {
        font-size: 0.875rem;
    }
    
    /* New mobile styles for added sections */
    .services-cards .card {
        padding: 1.5rem 1rem;
    }
    
    .services-cards .card h3 {
        font-size: 1.25rem;
    }
    
    .services-cards .card-icon {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .special-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }
    
    .service-item h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-item .service-icon {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Footer mobile responsive styles */
    .footer {
        padding: 2rem 1.5rem 1rem;
        background-attachment: scroll;
        position: relative;
    }
    
    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }
    
    .footer > * {
        position: relative;
        z-index: 2;
    }
    
    .footer-section p {
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 500;
    }
    
    .footer-section .contact-item {
        color: rgba(255, 255, 255, 1) !important;
        font-weight: 500;
    }
    
    .footer-bottom p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 500;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section .social-links {
        justify-content: center;
    }
    
    .footer-social-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-social-section h3 {
        font-size: 1.25rem;
    }
    
    .special-services .service-card {
        padding: 1.5rem 1rem;
    }
    
    .special-services .service-card h4 {
        font-size: 1.125rem;
    }
    
    .special-services .service-card .service-icon {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item h4 {
        font-size: 1.125rem;
    }
    
    .feature-item .feature-icon {
        font-size: 2.5rem;
    }
    
    .welcome h2 {
        font-size: 1.75rem;
    }
    
    .special-services h2 {
        font-size: 1.75rem;
    }
    
    .why-choose h2 {
        font-size: 1.75rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

html {
    scroll-behavior: smooth;
}

/* ===== Focus states para acessibilidade ===== */
.btn:focus,
.nav-menu a:focus {
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Additional clean touches ===== */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

/* ===== Selection styles ===== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
  