/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6600;
    --secondary-color: #333333;
    --accent-color: #000000;
    --text-light: #ffffff;
    --text-dark: #111111;
    --gray-light: #f5f5f5;
    --gray-medium: #888888;
    --sidebar-width: 280px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Headings use Oswald for strong, technical posture */
h1, h2, h3, .hero-title, .section-header h2, .feature-card h3, .service-card h3 {
    font-family: 'Oswald', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
}

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

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 4px solid var(--primary-color);
    padding: 1rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform .25s ease, opacity .2s ease, visibility .2s;
}
.sidebar.open { transform: translateX(0); visibility: visible; opacity: 1; }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; }
.sidebar-logo h2 { font-family: 'Oswald','Inter',sans-serif; margin: 0; color: #000; }
.sidebar-logo span { color: var(--gray-medium); font-size: .85rem; }
.sidebar-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.sidebar-nav a { text-decoration: none; color: var(--text-dark); font-weight: 600; padding: .6rem .5rem; border-left: 6px solid transparent; }
.sidebar-nav a:hover { border-left-color: var(--primary-color); color: var(--primary-color); }
.sidebar-nav a { display: flex; align-items: center; gap: .6rem; }
.sidebar-nav a .nav-icon { width: 20px; height: 20px; }
.sidebar-social { margin-top: auto; display: flex; gap: .6rem; }
.sidebar-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--gray-light); border-radius: 8px; color: #000; text-decoration: none; }
.sidebar-social a:hover { background: var(--primary-color); color: #fff; }

/* Overlay para sidebar */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1900; opacity: 0; visibility: hidden; transition: var(--transition); }
.sidebar-overlay.open { opacity: 1; visibility: visible; }
body.sidebar-open { overflow: hidden; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 1200;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
}
.logo-img { height: 60px; width: auto; display: inline-block; }
.sidebar-logo-img { height: 60px; width: auto; display: inline-block; }

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--gray-medium);
    font-weight: 400;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Oculta navegação do header: links só no sidebar ao abrir hambúrguer */
.nav { display: none !important; }
.header-icons { display: none !important; }

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

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

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

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

.header-icons {
    display: flex;
    gap: 1rem;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.icon-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-video-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,102,0,0.18) 0%, rgba(255,102,0,0.12) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
}

/* Efeito de túnel de tubulação no banner */
.tunnel-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      radial-gradient(ellipse at center,
        rgba(255,255,255,0) 55%,
        rgba(255,138,43,0.18) 72%,
        rgba(0,0,0,0.35) 100%);
}
.tunnel-overlay::before,
.tunnel-overlay::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 22px;
    background: linear-gradient(90deg, rgba(255,138,43,0.4), rgba(255,204,153,0.35), rgba(255,138,43,0.4));
    opacity: .7;
}
.tunnel-overlay::before { top: 0; box-shadow: inset 0 -6px 12px rgba(0,0,0,.25); }
.tunnel-overlay::after { bottom: 0; box-shadow: inset 0 6px 12px rgba(0,0,0,.25); }

.hero-content {
    text-align: left;
    color: #fff;
    z-index: 1;
    max-width: 460px;
    position: relative;
    left: 50px;
    margin: 0;
}
.hero-title { color: #fff; }
.hero-subtitle { color: var(--primary-color); }

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    margin-bottom: 1.6rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: var(--shadow-light);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Indicador de rolagem abaixo do banner */
.scroll-indicator {
    position: absolute;
    top: 93%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
}
.scroll-indicator .chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: scroll-bounce 1.6s infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
}

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

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-highlight {
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Ripple effect for buttons */
.btn { position: relative; overflow: hidden; }
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}
@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #ffffff;
}

.mission-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

/* Combined Mission + Expertise Card */
.mission-expertise-card {
    background: #ffffff;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border-radius: 12px;
    margin: 3rem 0;
}

.mission-expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mission-card,
.expertise-card {
    background: #ffffff;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mission-card:hover,
.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Remove fixed square ratio when inside combined card */
.mission-expertise-card .mission-card,
.mission-expertise-card .expertise-card {
    box-shadow: none;
    background: transparent;
    padding: 1.5rem;
    aspect-ratio: unset;
}

.mission-icon,
.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
}

.mission-icon svg,
.expertise-icon svg {
    width: 40px;
    height: 40px;
}

.mission-card h3,
.expertise-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.mission-card p,
.expertise-card p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* Video Banner */
.about-video-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 4rem;
    border-radius: 20px;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
}

.video-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.video-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.video-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-pill {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-intro { text-align: center; max-width: 900px; margin: 0 auto 1.5rem; }
.highlight { color: var(--primary-color); }

.about-text strong {
    color: var(--primary-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: stretch;
}


.feature-card {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--primary-color);
    box-shadow: none;
    transition: var(--transition);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--text-light);
}
.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-light);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--gray-medium);
}

/* Services Section */
.services {
    background: #ffffff;
}

/* Banner Girante de Serviços */
.services-banner {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.banner-track {
    display: flex;
    animation: scroll 15s linear infinite;
    gap: 2rem;
    padding: 0 1rem;
}

.banner-track:hover {
    animation-play-state: paused;
}

.service-banner-item {
    flex: 0 0 300px;
    background: #ffffff;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-radius: 0;
}

.service-banner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-banner-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
}

.service-banner-icon svg {
    width: 30px;
    height: 30px;
}

.service-banner-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-banner-item p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-bottom: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gray-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background: #ffffff;
}

.gallery-cards {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gallery-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.gallery-card:nth-child(even) .card-image {
    order: -1;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-label {
    font-family: 'Oswald', 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.card-content p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    line-height: 1.6;
}

.card-image {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

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

/* Contact Section */
.contact {
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.contact-details a,
.contact-details address {
    color: var(--gray-medium);
    text-decoration: none;
    font-style: normal;
    line-height: 1.4;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    background: #111;
}
.map-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}
.map-placeholder button {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

/* Footer */
.footer {
    background: #1f1f1f;
    color: #ffffff;
    padding: 2rem 0;
    border-top: 4px solid var(--primary-color);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.footer-col h4 { font-family: 'Oswald','Inter',sans-serif; color: var(--primary-color); margin-bottom: .6rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-col li { margin: .4rem 0; display: flex; align-items: center; gap: .4rem; }
.footer-col a { color: #ffffff; text-decoration: none; }
.footer-col a:hover { color: var(--primary-color); }
.footer address { font-style: normal; opacity: 1; color: #ffffff; }

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.footer-logo p { color: #ffffff; opacity: 0.95; }

.footer-info p { color: #ffffff; opacity: 0.95; }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 72px;
    height: 72px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 70px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    font-size: 1.8rem;
}

/* Ícone PNG do WhatsApp bem centralizado */
.whatsapp-icon-img {
    width: 34px;
    height: 34px;
    display: block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.fade-in-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.fade-in-delay-4 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

.fade-in-delay-5 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s;
}

.fade-in-delay-6 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s;
}

.fade-in.visible,
.fade-in-delay-1.visible,
.fade-in-delay-2.visible,
.fade-in-delay-3.visible,
.fade-in-delay-4.visible,
.fade-in-delay-5.visible,
.fade-in-delay-6.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
.reviews {
    background: #ffffff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .8rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-meta {
    color: var(--gray-medium);
    font-size: .9rem;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #fbbc04;
    margin: .5rem 0 1rem;
}

.review-stars svg {
    width: 18px;
    height: 18px;
}

.review-comment {
    color: var(--gray-medium);
    line-height: 1.6;
}

@media (max-width: 768px) {
  .nav.active { position: fixed; top: 64px; left: 0; right: 0; background: #ffffff; box-shadow: var(--shadow-medium); }
  .nav-list.active { flex-direction: column; padding: 2rem; gap: 1rem; }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-title { font-size: 2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }
    .hero-content { padding-top: 80px; }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-card {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 2rem;
    }
    
    .gallery-card:nth-child(even) .card-image {
        order: 0;
    }
    
    .card-content h3 {
        font-size: 1.5rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .card-image {
         aspect-ratio: 16/9;
     }
     
     .mission-expertise-content { grid-template-columns: 1fr; gap: 0.8rem; }
     
     .mission-card,
     .expertise-card {
         padding: 1rem;
         border-radius: 0;
         width: 100%;
     }

     .mission-expertise-card .mission-card,
     .mission-expertise-card .expertise-card {
         background: #ffffff;
         box-shadow: var(--shadow-light);
         aspect-ratio: unset;
     }

     .mission-expertise-card { padding: 1.2rem; margin: 2rem 0; }
     
     .mission-card h3,
     .expertise-card h3 {
         font-size: 1.3rem;
     }
     
     .mission-card p,
     .expertise-card p {
         font-size: 0.9rem;
     }
     
     .mission-icon,
     .expertise-icon {
         width: 48px;
         height: 48px;
         margin: 0 auto 1rem;
     }
     
      .mission-icon svg,
       .expertise-icon svg {
          width: 26px;
          height: 26px;
      }
      
      /* Banner de vídeo responsivo */
      .about-video-banner {
          height: 400px;
          margin-top: 3rem;
          border-radius: 15px;
      }
      
      .video-content h2 {
          font-size: 2rem;
      }
      
      .video-content p {
          font-size: 1rem;
      }
      
      .video-pills {
          flex-direction: column;
          align-items: center;
          gap: 0.8rem;
      }
      
      .video-pill {
          padding: 0.7rem 1.2rem;
          font-size: 0.9rem;
      }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-icons {
        display: none;
    }
}

@media (max-width: 480px) {
    .header,
    .header .container,
    .header-content { width: 100%; max-width: 100%; }
    .logo, .sidebar-logo { width: auto; max-width: none; }
    .logo-img, .sidebar-logo-img { max-width: 100px; height: auto; }
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-title { font-size: 1.6rem; line-height: 1.2; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-content { padding-top: 0; margin-left: 20px; max-width: 85vw; }

    .scroll-indicator { bottom: 10px; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* High DPI / 4K Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-video {
        filter: brightness(0.7) contrast(1.1);
    }
    
    .gallery-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
/* Removido modo escuro para manter site sempre claro */

/* Desktop overlay nav when active */
@media (min-width: 769px) {
  .nav.active { position: fixed; top: 72px; left: 0; right: 0; background: #ffffff; box-shadow: var(--shadow-medium); }
  .nav-list.active { flex-direction: column; padding: 2rem; gap: 1rem; }
}

/* Blog layout */
.blog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; }
.blog-sidebar h3 { font-family: 'Oswald','Inter',sans-serif; margin-bottom: .8rem; }
.blog-sidebar ul { list-style: none; padding: 0; }
.blog-sidebar li { margin: .4rem 0; }
.blog-sidebar a { color: var(--text-dark); text-decoration: none; }
.blog-sidebar a:hover { color: var(--primary-color); }
.blog-card { background: var(--gray-light); padding: 1.5rem; border-left: 6px solid var(--primary-color); border-radius: 12px; box-shadow: var(--shadow-light); }
.blog-card h3 a { color: var(--text-dark); text-decoration: none; }
.blog-card h3 a:hover { color: var(--primary-color); }

/* Certification list stylized as tube block */
.cert-list { display: flex; gap: 1rem; flex-wrap: wrap; list-style: none; padding: 0; margin-top: 1rem; }
.cert-list li { background: #ffffff; border: 2px solid var(--primary-color); border-radius: 999px; padding: .5rem .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.cert-list i { color: var(--primary-color); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in,
    .fade-in-delay-1,
    .fade-in-delay-2,
    .fade-in-delay-3,
    .fade-in-delay-4,
    .fade-in-delay-5,
    .fade-in-delay-6 {
        transition: none;
    }
}
/* Mobile and tablets up to 768px */
@media (max-width: 768px) {
    .header, .header .container, .header-content { width: 100%; max-width: 100%; }
    .logo, .sidebar-logo { width: auto; max-width: none; }
    .logo-img, .sidebar-logo-img { max-width: 120px; height: auto; }
    .header-content { display: flex; align-items: center; justify-content: space-between; }
}