/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --primary-yellow: #FFCC00;
    --bg-black: #000000;
    --bg-dark-gray: #0A0A0A;
    --text-gray: #999999;
    --text-white: #FFFFFF;
    --font-titles: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Accessibility & SEO Utilities
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-yellow);
    color: var(--bg-black);
    padding: 10px 15px;
    z-index: 10000;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-yellow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo img { 
    height: 65px; 
    width: auto;
    transition: transform 0.3s;
}

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

nav {
    display: flex;
    gap: 10px;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 2px;
}

nav a:hover,
nav a.active { 
    color: var(--bg-black);
    background: var(--primary-yellow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-yellow);
    transition: 0.3s;
    border-radius: 2px;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */
.hero, .internal-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-top: 4px solid var(--primary-yellow);
    border-bottom: 4px solid var(--primary-yellow);
    line-height: 0;
}

.hero-background {
    width: 100%;
    display: block;
    line-height: 0;
}

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

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    padding: 20px 0;
    line-height: 1.6;
}

.hero h1, .internal-hero h1 {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.internal-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4rem);
}

.hero p, .internal-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-white);
    max-width: 850px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.internal-hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 0 auto 20px;
}

.badge-celesc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 204, 0, 0.1);
    border: 2px solid var(--primary-yellow);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-yellow);
    margin-top: 10px;
}

.badge-celesc::before {
    content: "✓";
    font-size: 1.2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--bg-black);
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    border-radius: 2px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.5);
}

.btn-card {
    display: inline-block;
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-card:hover {
    background: var(--primary-yellow);
    color: var(--bg-black);
    transform: translateX(5px);
}

.btn-produto, .btn-servico {
    display: inline-block;
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-servico {
    padding: 10px 25px;
    font-size: 0.8rem;
}

.btn-produto:hover, .btn-servico:hover {
    background: var(--primary-yellow);
    color: var(--bg-black);
}

/* ==========================================================================
   Sections (Segments, Cards, Products, Services)
   ========================================================================== */
.segments, .produtos, .servicos, .diferenciais, .vantagens {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    background: var(--bg-dark-gray);
}

.produtos, .servicos {
    background: var(--bg-dark-gray);
}

.vantagens, .diferenciais {
    background: var(--bg-black);
}

.produtos h2, .servicos h2, .diferenciais h2, .vantagens h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.servicos h2 {
    font-size: 2.8rem;
    margin-bottom: 70px;
}

.card, .produto-card, .tipo-card {
    background: var(--bg-black);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.card:hover, .produto-card:hover, .tipo-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.card-image, .produto-card-img, .tipo-card-img {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image { height: 240px; }
.produto-card-img { height: 280px; }
.tipo-card-img { height: 250px; }

.card-image img, .produto-card-img img, .tipo-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}

.card-image img { opacity: 0.85; }

.card:hover .card-image img, 
.produto-card:hover .produto-card-img img,
.tipo-card:hover .tipo-card-img img { 
    opacity: 1; 
    transform: scale(1.08); 
}

.card-content, .tipo-card-content { 
    padding: 35px 30px; 
}

.produto-card-content {
    padding: 30px;
    text-align: center;
}

.card h2, .produto-card-content h3, .tipo-card-content h3 {
    font-family: var(--font-titles);
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card p, .tipo-card-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 60px;
    line-height: 1.6;
}

/* Service Cards */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.servico-card {
    background: var(--bg-black);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
}

.servico-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.servico-icon {
    margin-bottom: 25px;
}

.servico-icon img {
    width: 250px;
    height: 200px;
    object-fit: contain;
}

.servico-card h3 {
    font-family: var(--font-titles);
    color: var(--primary-yellow);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.3;
}

.servico-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.produto-card-content ul, .servico-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.produto-card-content ul li, .servico-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.produto-card-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.5rem;
}

.servico-card ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Diferenciais & Vantagens */
.diferenciais-grid, .vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.diferencial-item, .vantagem-item {
    text-align: center;
    padding: 35px;
    background: var(--bg-dark-gray);
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    transition: all 0.3s;
}

.diferencial-item:hover, .vantagem-item:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.diferencial-icon, .vantagem-icon {
    font-size: 3.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.vantagem-icon { font-size: 3rem; }

.diferencial-item h3, .vantagem-item h3 {
    font-family: var(--font-titles);
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.diferencial-item p, .vantagem-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Apresentação
   ========================================================================== */
.apresentacao {
    padding: 80px 5%;
    background: var(--bg-black);
}

.apresentacao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.apresentacao-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.apresentacao-grid .apresentacao-content {
    text-align: left;
}

.apresentacao-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 3px solid var(--primary-yellow);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.apresentacao-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apresentacao-content h2 {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    color: var(--primary-yellow);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.apresentacao-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.apresentacao-content ul {
    list-style: none;
    margin: 25px 0;
}

.apresentacao-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

.apresentacao-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ==========================================================================
   Tipos de Postes
   ========================================================================== */
.tipos-postes {
    padding: 80px 5%;
    background: var(--bg-dark-gray);
}

.tipos-postes h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tipo-specs {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 4px solid #222;
}

.tipo-specs strong {
    color: var(--primary-yellow);
    display: block;
    margin-bottom: 5px;
}

/* ==========================================================================
   Galeria
   ========================================================================== */
.galeria, .galeria-obras {
    padding: 80px 5%;
    background: var(--bg-black);
}

.galeria-obras {
    background: var(--bg-dark-gray);
}

.galeria h2, .galeria-obras h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.galeria-item {
    height: 300px;
    background: var(--bg-dark-gray);
    border: 2px solid #1a1a1a;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.galeria-item:hover {
    border-color: var(--primary-yellow);
    transform: scale(1.05);
    z-index: 2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

/* ==========================================================================
   Location & Maps
   ========================================================================== */
.location {
    padding: 100px 5%;
    text-align: center;
    background: var(--bg-black);
}

.location h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--primary-yellow);
}

.location-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    border: 3px solid var(--primary-yellow);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.map-container iframe {
    filter: grayscale(0.3) contrast(1.1);
}

.location-info {
    margin-top: 30px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.location-info strong {
    color: var(--primary-yellow);
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */
.cta-section, .cta-final {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--bg-dark-gray) 0%, var(--bg-black) 100%);
    text-align: center;
    border-top: 4px solid var(--primary-yellow);
    border-bottom: 2px solid var(--primary-yellow);
}

.cta-final {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--bg-black) 0%, var(--bg-dark-gray) 100%);
    border-top: 2px solid var(--primary-yellow);
}

.cta-section h2, .cta-final h2 {
    font-family: var(--font-titles);
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-final h2 {
    font-size: 2.8rem;
}

.cta-section p, .cta-final p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--bg-black);
    padding: 80px 5% 30px;
    border-top: 3px solid var(--primary-yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-col h3 {
    color: var(--primary-yellow);
    font-family: var(--font-titles);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p, .footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col a:hover { 
    color: var(--primary-yellow);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    transition: all 0.3s;
}

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

.social-links img {
    width: 20px;
    filter: invert(0.6);
    transition: 0.3s;
}

.social-links a:hover img { 
    filter: invert(0) brightness(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-bottom img:hover {
    opacity: 1;
}

.btn-webmail {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.btn-webmail:hover {
    background: var(--primary-yellow);
    color: var(--bg-black);
    padding-left: 15px !important;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover { 
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float img {
    width: 35px;
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.8); }
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 968px) {
    nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        width: 100%;
        padding: 40px 5%;
        border-top: 2px solid var(--primary-yellow);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 0;
        border-bottom: 1px solid #222;
    }

    .menu-toggle {
        display: flex;
    }

    .segments {
        padding: 60px 5%;
    }

    .map-container {
        height: 350px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 28px;
    }
}

@media (max-width: 480px) {
    .hero h1, .internal-hero h1 {
        font-size: 1.6rem;
    }

    .hero p, .internal-hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero .btn-primary {
        padding: 13px 28px;
        font-size: 0.8rem;
    }

    .card-content {
        padding: 25px 20px;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Ofertas Especiais
   ========================================================================== */
.offer-box {
    background: var(--primary-yellow);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: var(--bg-black);
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.offer-top {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.offer-price {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.offer-bottom {
    font-size: 0.95rem;
    font-weight: 600;
}
