/* ==========================================================================
   CALHAS AÇOTEK - ESTILOS PRINCIPAIS
   Paleta: 
   - Cinza Chumbo: #2A3B44
   - Laranja Açotek: #FE5000
   - Cinza Aço: #A3A7A8
   - Branco Industrial: #F0F0F1
   - Preto Profundo: #141517
   ========================================================================== */

* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    background-color: #F0F0F1;
    color: #141517;
    line-height: 1.6;
    padding-top: 100px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F0F0F1;
    color: #141517;
    line-height: 1.6;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}
/* --- TEXTOS JUSTIFICADOS --- */
p, li {
    text-align: justify;
}

/* Exceções de Centralização */
.hero-content p, 
footer p, 
.section-title, 
.page-header p,
.card-content h3, 
.text h2, 
.menu-box h3,
.pillar-card h3,
.slideshow-window p,
.clients-section p,
.center-text {
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #2A3B44;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #141517;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #F0F0F1;
    padding: 0 5%;
    height: 100px;
    position: fixed; /* Mudei de sticky para fixed */
    top: 0;
    left: 0;         /* Adicionado */
    width: 100%;     /* Adicionado */
    z-index: 1000;
}

.logo-img {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img img {
    width: auto;
    max-height: 80px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    transition: 0.3s;
    color: #F0F0F1;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: #FE5000;
}

.trabalhe-btn {
    cursor: pointer;
    border: 2px solid #FE5000;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    color: #FE5000 !important;
    transition: all 0.3s ease;
}

.trabalhe-btn:hover {
    background-color: #FE5000;
    color: white !important;
}

/* --- SIDEBAR --- */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: 0.4s ease;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.sidebar.active {
    right: 0;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #A3A7A8;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.close-btn {
    font-size: 2rem;
    cursor: pointer;
    color: #FE5000;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 21, 23, 0.7);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-content-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 3rem;
}

.email-highlight-card {
    background: #FE5000;
    color: white;
    width: 100%;
    padding: 2.5rem 1rem;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(254, 80, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 80, 0, 0.4);
    background: #e04600;
}

.whatsapp-link {
    color: #2A3B44;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.whatsapp-link:hover {
    color: #25D366;
}

/* --- HERO (SEÇÃO PRINCIPAL / VÍDEO / IMAGEM) --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(42, 59, 68, 0.75), rgba(20, 21, 23, 0.85)), url('imagens/hero-acotek.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #2A3B44;
}

.hero-video-container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 21, 23, 0.65);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #FE5000;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #e04600;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #FE5000;
    color: #FE5000;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}

.btn-outline:hover {
    background: #FE5000;
    color: white;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #FE5000;
}

/* --- CARDS E GRID --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border-bottom: 4px solid #FE5000;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: #2A3B44;
}

.page-header {
    background-color: #2A3B44;
    color: white;
    text-align: center;
    padding: 3rem 0;
}

/* --- FLIP CARDS (GIRATÓRIOS 3D) --- */
.flip-cards-section {
    perspective: 1000px;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.flip-card:hover .flip-card-inner,
.flip-card:active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #fff;
    color: #141517;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: #2A3B44;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #FE5000;
}

.flip-card-back h3 {
    color: #FE5000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* --- LOGÍSTICA & PROCESSO --- */
.process-section {
    background-color: #F0F0F1;
}

.process-card {
    background: white;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border-left: 6px solid #FE5000;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateX(10px);
}

.process-icon-box {
    width: 60px;
    height: 60px;
    background-color: #fff0e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.process-icon-box svg {
    width: 30px;
    height: 30px;
    fill: #FE5000;
}

/* --- FORMULÁRIOS & CONTATO --- */
.contact-section {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info-card, .contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-info-card {
    flex: 1;
    min-width: 300px;
    border-top: 4px solid #FE5000;
}

.contact-form-wrapper {
    flex: 1.5;
    min-width: 320px;
}

.form-style-line {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid #A3A7A8;
    background: transparent;
    font-size: 1rem;
    color: #141517;
    transition: border-color 0.3s;
}

.form-style-line:focus {
    outline: none;
    border-bottom-color: #FE5000;
}

.submit-btn {
    width: 100%;
    background-color: #FE5000;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(254, 80, 0, 0.3);
}

.submit-btn:hover {
    background-color: #e04600;
    transform: translateY(-2px);
}

/* --- MAPA E IDENTIFICAÇÃO (GOOGLE MAPS) --- */
.map-container {
    margin-top: 4rem;
    width: 100%;
}

.map-header {
    background-color: #FE5000;
    color: white;
    padding: 15px 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}

.map-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white !important;
}

.map-icon-pin {
    font-size: 1.5rem;
}

.map-frame {
    height: 450px;
    width: 100%;
    border: 2px solid #FE5000;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
footer {
    background: #141517;
    color: #A3A7A8;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    border-top: 3px solid #FE5000;
}

/* --- BOTÃO FLUTUANTE DO WHATSAPP (CORRIGIDO) --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20b857;
    transform: scale(1.1);
}

/* Limita o tamanho exato do SVG dentro da bolinha */
.whatsapp-icon {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    fill: white;
    display: block;
}

/* --- MOBILE & RESPONSIVIDADE --- */
@media screen and (max-width: 900px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: #141517;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 75%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .nav-links li { margin: 1.5rem 0; }
    
    .burger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .burger div {
        width: 25px;
        height: 3px;
        background-color: #F0F0F1;
        margin: 5px;
        transition: all 0.3s ease;
    }

    .nav-active { transform: translateX(0%); }
    .contact-grid { flex-direction: column; }
    .hero-content h1 { font-size: 2.2rem; }

    .whatsapp-float { 
        width: 50px; 
        height: 50px; 
        bottom: 20px; 
        right: 20px; 
    }
    .whatsapp-icon { 
        width: 26px !important; 
        height: 26px !important; 
    }
    
    /* --- CORREÇÃO DE VAZAMENTO NO MOBILE --- */
@media screen and (max-width: 768px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    input, select, textarea, .form-control {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    p, h1, h2, h3, h4, span {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}
}