/* ===============================================
   RESET & BASE STYLES
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #c0392b;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #34495e;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===============================================
   WHATSAPP FLOATING BUTTON
   =============================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #27ae60;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(39, 174, 96, 0.7);
    }

    100% {
        box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    }
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 32px;
}

.nav-list {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image:
        linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
}

.hero-description {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: #27ae60;
    color: var(--white);
    border: 2px solid #27ae60;
}

.btn-secondary:hover {
    background: #229954;
    color: var(--white);
    border: 2px solid #229954;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.4);
}

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

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--white);
    opacity: 0.9;
}

/* ===============================================
   SECTION STYLES
   =============================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.8;
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services {
    padding: 100px 0;
    background: var(--light-color);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-color);
    line-height: 1.8;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--white);
}

.about-text {
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 20px;
}

.about-cta {
    margin-top: 30px;
}

/* ===============================================
   CLIENTS SECTION
   =============================================== */
.clients {
    padding: 80px 0;
    background: var(--light-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.client-card {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-height: 110px;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.client-logo-placeholder {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.client-logo-placeholder span {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-color);
    text-align: center;
    padding: 0 10px;
    z-index: 1;
}

.client-logo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(231, 76, 60, 0.05),
            transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.client-card:hover .client-logo-placeholder::before {
    left: 100%;
}

/* Logos específicas dos clientes (quando adicionar as imagens) */
.client-logo-placeholder[data-client]::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Quando você adicionar as logos, descomente e ajuste:
.client-logo-placeholder[data-client="petrobras"]::after {
    background-image: url('logos/petrobras.png');
    opacity: 1;
}
.client-logo-placeholder[data-client="petrobras"] span {
    opacity: 0;
}
*/

/* Novos estilos para logo + nome */
.client-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 12px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-card:hover .client-logo-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.client-name {
    font-size: 17px;
    font-weight: 600;
    color: #34495e;
    flex: 1;
    transition: color 0.3s ease;
}

.client-card:hover .client-name {
    color: var(--primary-color);
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Contact Form */
.contact-form-container {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-title {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

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

.site-creator {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.7;
}

.site-creator a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-creator a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 40px 20px;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 40px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-slider {
    padding: 40px 60px 60px;
    position: relative;
}

@media (max-width: 768px) {
    .testimonial-slider {
        padding: 40px 20px 60px;
    }
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-info {
    width: 100%;
}

.testimonial-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-role {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.testimonial-card .rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-card .rating i {
    color: var(--accent-color);
}

.testimonial-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
}

/* Navegação do Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Estatísticas de Confiança */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stat {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.trust-stat i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.trust-label {
    display: block;
    font-size: 15px;
    color: #666;
}

/* Responsividade - Testimonials */
@media (min-width: 1280px) {
    .testimonial-slider {
        padding: 40px 0 60px;
    }

    /* Esconde setas em desktop quando todos os 4 depoimentos estão visíveis */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 1279px) {
    .testimonial-slider {
        padding: 30px 50px 50px;
    }
}

@media (max-width: 1024px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-role {
        font-size: 13px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 640px) {
    .testimonial-header {
        text-align: center;
    }
}