/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #000C78; /* Vidraçaria Mariana blue */
    --primary-light: #00179A;
    --accent-color: #0A3EEB;
    --accent-hover: #001EAA;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EBE55;
    
    --bg-color: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-alt: #F3F7FF;
    
    --text-main: #24304A;
    --text-muted: #63708A;
    --text-light: #F8FAFC;
    
    --border-color: #DCE6FA;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn span {
    white-space: nowrap;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--whatsapp-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--primary-color);
}

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

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

.header .btn-outline {
    color: white;
    border-color: white;
}

.header .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
}

.floating-whatsapp {
    position: fixed;
    left: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: min(calc(100% - 2rem), 420px);
    min-height: 3.5rem;
    padding: 0.95rem 1.25rem;
    border-radius: var(--radius-md);
    background-color: var(--whatsapp-color);
    color: white;
    font-size: clamp(0.86rem, 3.8vw, 1rem);
    font-weight: 800;
    line-height: 1.1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
    transform: translateX(-50%);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateX(-50%) translateY(-2px);
}

.floating-whatsapp i {
    font-size: 1.2rem;
    flex: 0 0 auto;
}

.floating-whatsapp span {
    white-space: nowrap;
}

/* ==========================================================================
   1. Cabeçalho (Header)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    z-index: 1000;
    transition: var(--transition);
    height: 88px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 78px;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.header .logo,
.footer-logo {
    color: white;
}

.logo i {
    color: var(--accent-color);
    font-size: 2rem;
}

.logo-image {
    display: block;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.logo-icon {
    width: 4rem;
    height: 4rem;
}

.logo-header-image {
    width: 11.5rem;
    max-width: 32vw;
    height: auto;
}

.footer-logo-image {
    width: 5.5rem;
    max-width: 100%;
    height: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.header .nav-link {
    color: rgba(255,255,255,0.86);
}

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

.header .nav-link:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* ==========================================================================
   2. Hero Principal
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 12, 120, 0.92) 0%, rgba(0, 12, 120, 0.68) 50%, rgba(0, 12, 120, 0.32) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    color: white;
    font-size: clamp(3rem, 5vw, 4.25rem);
    line-height: 1.04;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 38rem;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

/* ==========================================================================
   3. Seção de Serviços
   ========================================================================== */
.services {
    background-color: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 980px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    min-height: 9rem;
    align-items: stretch;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.service-image {
    width: 100%;
    height: 100%;
    min-height: 9rem;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}

.service-content {
    min-width: 0;
    padding: 1rem 1.1rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.18rem 0.5rem;
    border: 1px solid #BFEAF4;
    border-radius: 999px;
    background-color: #E9FBFF;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-title {
    font-size: 1.12rem;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.42;
    margin: 0;
}

/* ==========================================================================
   4. Galeria de Projetos
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,12,120,0.9), transparent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-videos-carousel {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.work-videos-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.work-videos-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-video-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 0 0 100%;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-video-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 12, 120, 0.24);
}

.gallery-video-player {
    position: relative;
    aspect-ratio: 9 / 16;
    background-color: #050816;
    overflow: hidden;
}

.gallery-video-player::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 12, 120, 0.42), transparent 45%);
    pointer-events: none;
    opacity: 1;
    transition: var(--transition);
}

.gallery-video-player.is-playing::after {
    opacity: 0;
}

.gallery-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    background-color: #000;
}

.gallery-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 4.5rem;
    height: 4.5rem;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.75);
    border-radius: 50%;
    background-color: rgba(0, 12, 120, 0.86);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 12, 120, 0.28);
    transition: var(--transition);
}

.gallery-play-btn:hover {
    background-color: var(--whatsapp-color);
    transform: translate(-50%, -50%) scale(1.06);
}

.gallery-play-btn i {
    font-size: 2rem;
    margin-left: 0.15rem;
}

.gallery-video-player.is-playing .gallery-play-btn {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
}

.gallery-video-progress {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    height: 0.28rem;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.28);
    overflow: hidden;
}

.gallery-video-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background-color: var(--whatsapp-color);
    transition: width 0.1s linear;
}

.work-video-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.work-video-nav:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.work-video-nav i {
    font-size: 1.35rem;
}

#work-video-prev {
    left: -4.25rem;
}

#work-video-next {
    right: -4.25rem;
}

.work-video-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 420px;
    margin: 1.25rem auto 0;
}

.work-video-dot {
    width: 0.62rem;
    height: 0.62rem;
    border: none;
    border-radius: 999px;
    background-color: #BFD0F0;
    cursor: pointer;
    transition: var(--transition);
}

.work-video-dot.active {
    width: 1.6rem;
    background-color: var(--primary-color);
}

.gallery-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.gallery-whatsapp-btn {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
}

.gallery-whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
}

/* ==========================================================================
   5. Como Funciona
   ========================================================================== */
.how-it-works {
    background-color: var(--primary-color);
    color: white;
}

.how-it-works .section-title,
.how-it-works .section-subtitle {
    color: white;
}

.how-it-works .section-subtitle {
    opacity: 0.8;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    z-index: 0;
    font-family: var(--font-heading);
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.1);
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.step-line {
    height: 2px;
    background-color: rgba(255,255,255,0.1);
    flex: 0.5;
    margin-top: 2rem;
}

/* ==========================================================================
   6. Diferenciais
   ========================================================================== */
.differentials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.differentials-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.differentials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.differentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
}

.differentials-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.differentials-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   7. Área Atendida
   ========================================================================== */
.service-area {
    background-color: var(--accent-color);
    color: white;
    padding: 2rem 0;
}

.service-area-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.service-area-icon i {
    font-size: 2rem;
}

.service-area-text {
    font-size: 1.125rem;
}

/* ==========================================================================
   8. Prova Social (Testimonials)
   ========================================================================== */
.testimonials {
    background-color: var(--bg-alt);
    overflow: hidden;
}

.testimonials-carousel {
    overflow: hidden;
    padding: 0.25rem;
    width: 100%;
    transition: height 0.25s ease;
}

.testimonials-track {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: transform 0.55s ease;
    will-change: transform;
    width: 100%;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 4rem) / 3);
    min-height: 0;
}

.stars {
    color: #FBBF24; /* Amber 400 */
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.testimonial-photos img {
    width: 100%;
    height: 9rem;
    object-fit: contain;
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.testimonial-photos img:only-child {
    grid-column: 1 / -1;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    flex-grow: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    overflow: hidden;
    flex: 0 0 3rem;
}

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

.author-info strong {
    display: block;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 100%;
}

.testimonial-nav {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-nav:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.testimonial-nav i {
    font-size: 1.25rem;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: none;
    background-color: #BFD0F0;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    width: 1.6rem;
    border-radius: 999px;
    background-color: var(--primary-color);
}

.testimonial-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ==========================================================================
   9. CTA Intermediário
   ========================================================================== */
.cta-mid {
    background-color: var(--primary-color);
    padding: 4rem 0;
    text-align: center;
}

.cta-mid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-mid-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.cta-mid-btn {
    align-self: center;
}

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Arbitrary large enough height */
}

/* ==========================================================================
   11. CTA Final
   ========================================================================== */
.cta-final {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--bg-alt);
}

.cta-final-container {
    max-width: 700px;
}

.cta-final-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-security {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ==========================================================================
   12. Rodapé (Footer)
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: white;
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differentials-container {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        justify-content: center;
    }

    .logo-header {
        justify-content: center;
    }

    .logo-header-image {
        width: 10rem;
        max-width: 56vw;
    }

    .nav {
        display: none; /* Hide default nav */
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.16);
    }
    
    .nav.active {
        display: flex;
    }

    #header-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
        align-items: flex-start;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 12, 120, 0.94) 0%, rgba(0, 12, 120, 0.82) 52%, rgba(0, 12, 120, 0.72) 100%);
    }

    .hero-content {
        max-width: 100%;
    }

    .badge {
        padding: 0.4rem 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .hero-title {
        max-width: 22rem;
        font-size: clamp(2.35rem, 10vw, 3rem);
        line-height: 1.03;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        max-width: 21rem;
        margin-bottom: 1.75rem;
        font-size: 1rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.88);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 3.25rem;
        padding: 0.9rem 1.1rem;
        font-size: 1rem;
    }

    .btn-xl {
        width: 100%;
        padding: 1.1rem 1.25rem;
        font-size: clamp(0.95rem, 4.2vw, 1.12rem);
    }

    .cta-mid-btn {
        width: min(100%, 22rem);
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .step-line {
        display: none;
    }
    
    .step-card {
        max-width: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services .section-header {
        margin-bottom: 2rem;
    }

    .services-grid {
        gap: 0.85rem;
    }

    .service-card {
        grid-template-columns: 6rem minmax(0, 1fr);
        min-height: 8.6rem;
    }

    .service-image {
        min-height: 8.6rem;
    }

    .service-content {
        padding: 0.85rem 0.8rem;
    }

    .service-tag {
        margin-bottom: 0.55rem;
        padding: 0.16rem 0.45rem;
        font-size: 0.66rem;
    }

    .service-title {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .service-desc {
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .work-videos-carousel,
    .work-video-dots {
        max-width: 390px;
    }

    .work-video-nav {
        width: 2.75rem;
        height: 2.75rem;
        background-color: rgba(255,255,255,0.94);
    }

    #work-video-prev {
        left: 0.75rem;
    }

    #work-video-next {
        right: 0.75rem;
    }

    .gallery-play-btn {
        width: 4rem;
        height: 4rem;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-photos {
        grid-template-columns: 1fr;
    }

    .testimonial-photos img {
        height: 13rem;
    }
    
    .differentials-list {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
