/* Definições Gerais e Cores */
:root {
    --bg-dark: #050b11;
    --bg-darker: #02060a;
    --cyan:#54a5a7;
    --cyan-hover: #3cb8ba;
    --accent: #5ec7c9;
    --accent-soft: rgba(94, 199, 201, 0.16);
    --accent-border: rgba(94, 199, 201, 0.35);
    --text-light: #ffffff;
    --text-muted: #a0aab5;
    --text-dark: #11161a;
    --bg-light: #f8f9fa;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Utilitários */
.cyan-text { color: var(--cyan) !important; }
.white-text { color: var(--text-light) !important; }

/* Botões */
.btn-cyan {
    background-color: var(--cyan);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-cyan:hover { background-color: var(--cyan-hover); }

.btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-whatsapp {
    background-color: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.btn-whatsapp:hover { background: var(--cyan); color: var(--bg-dark); }

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 20px 8%;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Vídeo de background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
}

.hero-video-frame {
    border: 0;
    display: none;
    background-color: #000;
}

/* Overlay escuro sobre o vídeo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 3;
}

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

.logo-image {
    width: 300px;
    height: auto;
    margin-left: -35px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 500px;
}

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

/* SECCÇÕES PADRÃO */
.section-subtitle {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 50px;
}

/* O QUE FAZEMOS */
.services-section {
    padding: 80px 8%;
    background-color: #ffffff;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.service-card {
    padding: 20px;
    transition: 0.3s;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), -12px 12px 25px rgba(0, 0, 0, 0.35);
    border-radius: 15px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 15px;
}

.service-icon img{
    width: 60px;    
    height: auto;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* PARA QUEM TRABALHAMOS */
.target-section {
    background-color: var(--bg-darker);
    padding: 80px 8%;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.target-card {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.target-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 11, 17, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    transition: 0.3s;
    padding: 10px;
    text-align: center;
}

.target-overlay span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.target-card:hover .target-overlay {
    background: rgba(84, 165, 167, 0.85);    
    color: var(--text-light);
}

/* PROJECTOS */
.projects-section {
    padding: 80px 8%;
    background-color: var(--bg-light);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-projects-outline {
    border: 1px solid #ccc;
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}
.btn-projects-outline:hover { background: #eee; }

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

.project-card {
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    opacity: 0.8;
    display: block;
    transition: 0.3s;
}

.project-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--text-light);
}

.project-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.project-info p {
    font-size: 0.75rem;
    color: var(--cyan);
}

.project-card:hover img {
    opacity: 0.5;
    transform: scale(1.03);
}

/* CONTACT + CTA UNIFIED SECTION */
.contact-cta-section {
    background-color: var(--bg-dark);
    padding: 80px 8%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-cta-header {
    margin-bottom: 50px;
}

.contact-cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background-color: rgba(63,195,206,0.1);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cta-highlight {
    background: linear-gradient(135deg, rgba(63,195,206,0.1) 0%, rgba(63,195,206,0.05) 100%);
    border: 1px solid rgba(63,195,206,0.2);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.cta-content h3 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-highlight-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.cta-highlight-buttons a {
    text-align: center;
    padding: 12px 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-highlight {
        padding: 30px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* CTA BANNER PRE-FOOTER */
.cta-banner {
    background-color: var(--bg-dark);
    padding: 50px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-text h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 800;
}

.cta-actions {
    text-align: right;
}

.cta-actions p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.btn-outline-white {
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* FOOTER */
footer {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    padding: 60px 8% 20px 8%;
    font-size: 0.85rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    margin-bottom: 15px;
    display: inline-block;
}

.footer-container h3 {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--text-light); }

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--cyan);
    margin-top: 3px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: var(--cyan);
    color: var(--bg-dark);
    border-color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.75rem;
}

/* ========================= */
/* WHATSAPP FLOAT BUTTON */
/* ========================= */
.whatsapp-float{
  position:fixed;
  right:25px;
  bottom:25px;

  width:65px;
  height:65px;

  background:#25D366;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 10px 30px rgba(0,0,0,.15);

  z-index:999;

  transition:.3s;
}

.whatsapp-float img{
  width:34px;
  height:34px;
}

.whatsapp-float:hover{
  transform:translateY(-5px) scale(1.05);

  box-shadow:0 20px 40px rgba(37,211,102,.35);
}

/* ========================= */
/* PORTFOLIO PAGE STYLES */
/* ========================= */

/* Portfolio Full Page */
.portfolio-full-page {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

/* Portfolio Header */
.portfolio-header {
    padding: 100px 8% 80px 8%;
    text-align: center;
}

.portfolio-header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.portfolio-header-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Portfolio List */
.portfolio-list {
    width: 100%;
    padding: 0;
    max-width: none;
    margin: 0 auto;
}

/* Portfolio Item Expanded */
.portfolio-item-expanded {
    border-radius: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(84, 165, 167, 0.1);
    transition: 0.3s;
}

.portfolio-item-expanded:hover {
    border-color: rgba(84, 165, 167, 0.3);
    background: rgba(255,255,255,0.04);
}

.portfolio-item-expanded.active {
    background: linear-gradient(135deg, rgba(94,199,201,0.14), rgba(255,255,255,0.03));
    border-color: rgba(94,199,201,0.35);
    box-shadow: inset 0 0 0 1px rgba(94,199,201,0.12);
}

.portfolio-item-expanded.active .portfolio-item-header {
    background: rgba(94,199,201,0.08);
}

.portfolio-item-expanded.active .portfolio-item-arrow {
    background-color: rgba(94,199,201,0.15);
    border-color: rgba(94,199,201,0.25);
    color: var(--accent);
}

.portfolio-item-expanded.active .portfolio-item-left h3 {
    color: var(--text-light);
}

.portfolio-item-expanded.active .portfolio-item-left .portfolio-services {
    color: rgba(255,255,255,0.9);
}

.portfolio-item-expanded.active .portfolio-item-details {
    background: rgba(255,255,255,0.02);
}

/* Portfolio Item Header */
.portfolio-item-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 40px 60px;
    cursor: pointer;
    transition: 0.3s;
}

.portfolio-item-header:hover {
    background: rgba(84, 165, 167, 0.05);
}

.portfolio-item-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-right: 40px;
    min-width: 50px;
}

.portfolio-item-left {
    flex: 1;
}

.portfolio-item-left h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.portfolio-item-left .portfolio-services {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.portfolio-item-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(84, 165, 167, 0.15);
    border-radius: 50%;
    color: var(--cyan);
    transition: 0.3s;
    margin-left: 20px;
}

.portfolio-item-arrow i {
    font-size: 1.1rem;
    transition: 0.3s transform;
}

.portfolio-item-expanded.active .portfolio-item-arrow i {
    transform: rotate(180deg);
}

/* Portfolio Item Details */
.portfolio-item-details {
    display: none;
    padding: 0 60px 40px 60px;
    border-top: 1px solid rgba(84, 165, 167, 0.1);
    animation: expandItem 0.3s ease-out;
}

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

.portfolio-item-expanded.active .portfolio-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 40px;
}

/* Portfolio Gallery Carousel */
.portfolio-gallery-carousel {
    width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.carousel-wrapper {
    position: relative;
    width: 760px;
    max-width: 100%;
    height: 350px;
    border-radius: 6px;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

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

.carousel-image img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.feedback-card video {
    width: 100%;
    min-height: 240px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    display: block;
    background: #000;
}

.carousel-image video {
    background-color: transparent;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(84, 165, 167, 0.2);
    border: 1px solid rgba(84, 165, 167, 0.4);
    color: var(--cyan);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.carousel-btn:hover {
    background-color: rgba(84, 165, 167, 0.4);
    border-color: var(--cyan);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Portfolio Details Info */
.portfolio-details-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.detail-section h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0;
}

.detail-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Portfolio CTA Section */
.portfolio-cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    padding: 80px 8%;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
    letter-spacing: -1px;
}

.portfolio-cta-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.portfolio-cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Home Float Button */
.home-float {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 998;
    transition: 0.3s;
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
}

.home-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(84, 165, 167, 0.35);
}

/* Responsive Portfolio */
@media (max-width: 1024px) {
    .portfolio-header {
        padding: 80px 6% 60px 6%;
    }

    .portfolio-header-content h1 {
        font-size: 2.8rem;
    }

    .portfolio-list {
        padding: 0 6% 60px 6%;
    }

    .portfolio-item-expanded.active .portfolio-item-details {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .portfolio-cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .portfolio-header {
        padding: 60px 4% 40px 4%;
    }

    .portfolio-item-expanded {
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .portfolio-item-expanded.active {
        background: var(--accent-border);
        border-color: rgba(255,255,255,0.18);
    }

    .portfolio-item-expanded.active .portfolio-item-header {
        background: rgba(255,255,255,0.08);
    }

    .portfolio-item-expanded.active .portfolio-item-left h3,
    .portfolio-item-expanded.active .portfolio-item-left .portfolio-services,
    .portfolio-item-expanded.active .portfolio-item-arrow {
        /* color: var(--bg-dark); */
    }

    .portfolio-item-expanded.active .portfolio-item-details {
        background: rgba(255,255,255,0.15);
        border-top-color: rgba(0,0,0,0.08);
    }

    .portfolio-header-content h1 {
        font-size: 2rem;
    }

    .portfolio-header-content p {
        font-size: 1rem;
    }

    .portfolio-list {
        padding: 0 4% 50px 4%;
    }

    .portfolio-item-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 15px;
    }

    .portfolio-item-number {
        margin-right: 0;
    }

    .portfolio-item-arrow {
        align-self: flex-end;
        margin-left: 0;
    }

    .portfolio-item-left h3 {
        font-size: 1.4rem;
    }

    .portfolio-item-left .portfolio-services {
        font-size: 0.85rem;
    }

    .portfolio-item-expanded.active .portfolio-item-details {
        padding: 25px;
        padding-top: 25px;
    }

    .carousel-wrapper {
        height: 250px;
    }

    .carousel-container {
        gap: 10px;
    }

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

    .portfolio-details-info {
        padding: 0;
    }

    .detail-section {
        margin-bottom: 20px;
    }

    .detail-section h4 {
        font-size: 1.2rem;
    }

    .detail-text {
        font-size: 0.9rem;
    }

    .portfolio-cta-section {
        padding: 60px 4%;
    }

    .portfolio-cta-content h2 {
        font-size: 1.8rem;
    }

    .portfolio-cta-content p {
        font-size: 0.95rem;
    }

    .portfolio-cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-cta-actions a {
        width: 100%;
    }

    .home-float {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

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

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