:root {
    --primary: #003366;
    --primary-rgb: 0, 51, 102;
    --secondary: #FF6600;
    --light: #F5F7FA;
    --dark: #333333;
    --white: #FFFFFF;
    --news-bg: #f9f9f9;
    --gold: #CCA351;
    --text-color: #666;
}

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

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

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

.logo {
    max-height: 50px;
}

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

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    color: var(--secondary);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Form Section */
.quote-section {
    padding: 80px 0;
    background-color: var(--white);
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quote-form .btn {
    border: none !important;
    box-shadow: none !important;
    width: auto;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
}

.quote-form .btn:hover {
    background-color: #e65c00 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.quote-form .btn {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
}

.quote-form .btn {
    cursor: pointer !important;
}

.btn {
    cursor: pointer;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Grid de serviços - Cards compactos com ícones */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin: 25px 0;
    width: 100%;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 20px 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    text-align: center;
    min-height: 120px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.service-card h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s ease;
}

.service-card:hover h4 {
    color: var(--primary);
}

/* Centralização dos botões Saiba Mais */
.tab-text > .text-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both;
}

/* Garantir que o botão tenha largura adequada */
.btn-tab {
    min-width: 150px !important;
    text-align: center !important;
    display: inline-block !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Reset de estilos que podem estar afetando a centralização */
.tab-text {
    text-align: center;
}

.tab-text > * {
    text-align: left;
}

.tab-text > .text-center {
    text-align: center !important;
}

nav ul li a i {
    margin-left: 5px;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    cursor: pointer;
    width: auto;
    text-align: center;
}

.btn:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-gold,
.btn-orange,
.btn-white,
.btn-outline {
    padding: 12px 25px;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 30px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
}

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

.btn-gold:hover {
    background-color: var(--white);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-orange:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-white:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-col p {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.footer-col p i {
    margin-right: 8px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

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

.footer-col ul li {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

/* Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary);
}

/* Quem Somos Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

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

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 20px;
    color: #666;
}

/* About New */
.about-integrated {
    padding: 80px 0;
    background-color: var(--light-bg);
}
  
.section-title.left-align {
    text-align: left;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}
  
.about-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}
  
.about-text {
    flex: 1;
}
  
.about-visual {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
  
.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Seção de Valores */
.company-values {
    padding: 10px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Contato Section */
.contato {
    padding: 80px 0 80px;
    background-color: var(--light);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .btn {
    border: none !important;
    box-shadow: none !important;
    width: auto;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    letter-spacing: normal !important;
    cursor: pointer !important;
}

.contact-form .btn:hover {
    background-color: #e65c00 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Lazy Loading for Images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

.about-text p {
    margin-bottom: 10px;
}

/* Estilo para mensagens de sucesso/erro */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.d-none {
    display: none !important;
}

/* Estilo para o botão de envio */
#submitButton {
    position: relative;
}

#submitButton .spinner-border {
    margin-left: 8px;
    vertical-align: text-top;
}

/* Estilos para a barra de cookies */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

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

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif !important;
}

.cookie-buttons {
    display: flex;
    flex-shrink: 0;
    margin-left: 20px;
    font-family: 'Poppins', sans-serif !important;
}

/* Estilos para o modal de cookies */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

.cookie-modal-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 15px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .cookie-slider {
    background-color: var(--secondary);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-slider.round {
    border-radius: 34px;
}

.cookie-slider.round:before {
    border-radius: 50%;
}

.cookie-modal-footer {
    padding: 15px 20px;
    background-color: var(--light);
    text-align: right;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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