/* ========================================
   VARIÁVEIS E RESET
   ======================================== */
:root {
    --color-primary: #1a3a6b;
    --color-secondary: #00a651;
    --color-accent: #00d966;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-light: #f5f5f5;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
}

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

/* ========================================
   HEADER/NAVBAR
   ======================================== */
.navbar {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7f 100%);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: 30px;
    flex: 1;
}

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

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

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

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

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* ========================================
   BOTÕES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #00a651 100%);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 166, 81, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1fa953;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-icon {
    height: 24px;
    width: 24px;
    object-fit: contain;
}

/* ========================================
   HERO SECTION COM CAROUSEL
   ======================================== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 107, 0.6);
    z-index: 2;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--color-white);
    animation: fadeInUp 0.8s ease;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SERVIÇOS SECTION
   ======================================== */
.servicos {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    margin-top: 30px;
}

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

.servico-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.servico-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.servico-card:hover .servico-image img {
    transform: scale(1.1);
}

.servico-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.servico-content h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.servico-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
}

/* ========================================
   SOBRE SECTION
   ======================================== */
.sobre {
    padding: 80px 0;
    background: var(--color-white);
}

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

.sobre-text h2 {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.sobre-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

.sobre-text p {
    font-size: 16px;
    color: #666;
    margin: 30px 0;
    line-height: 1.8;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--color-secondary);
    transition: var(--transition);
}

.feature:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: bold;
    min-width: 30px;
}

.feature-text h4 {
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 16px;
}

.feature-text p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.sobre-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sobre-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* ========================================
   CONTATO SECTION
   ======================================== */
.contato {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.contato-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.contato-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--color-secondary);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.contato-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--color-accent);
}

.contato-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contato-card h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.contato-info {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 10px 0;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
}

.contato-info a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.contato-desc {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.contato-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contato-form h3 {
    color: var(--color-primary);
    margin-bottom: 30px;
    font-size: 24px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background-color: white;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.1);
}

.form-group button {
    width: auto;
    padding: 12px 40px;
    margin: 0 auto;
    display: block;
}

.form-instructions {
    margin-top: 20px;
    padding: 15px;
    background: #f0f8f0;
    border-left: 4px solid var(--color-secondary);
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

.form-instructions strong {
    color: var(--color-primary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7f 100%);
    color: var(--color-white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

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

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

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--color-accent);
    opacity: 1;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero {
        height: 400px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .section-header h2 {
        font-size: 32px;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contato-cards {
        grid-template-columns: 1fr;
    }

    .contato-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .navbar-content {
        gap: 10px;
    }

    .logo img {
        height: 50px;
    }

    .nav-menu {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .servico-card {
        margin-bottom: 15px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
